KDC-REQ-BODY ::= SEQUENCE {
kdc-options [0] KDCOptions,
cname [1] PrincipalName OPTIONAL
-- Used only in AS-REQ --,
realm [2] Realm
-- Server's realm
-- Also client's in AS-REQ --,
sname [3] PrincipalName OPTIONAL,
from [4] KerberosTime OPTIONAL,
till [5] KerberosTime,
rtime [6] KerberosTime OPTIONAL,
nonce [7] UInt32,
etype [8] SEQUENCE OF Int32 -- EncryptionType
-- in preference order --,
addresses [9] HostAddresses OPTIONAL,
enc-authorization-data [10] EncryptedData OPTIONAL
-- AuthorizationData --,
additional-tickets [11] SEQUENCE OF Ticket OPTIONAL
-- NOTE: not empty
}
This definition reflects the Network Working Group RFC 4120 specification available at http://www.ietf.org/rfc/rfc4120.txt.
| Modifier and Type | Field and Description |
|---|---|
| private Ticket[] | |
| public HostAddresses | |
| public PrincipalName | |
| private EncryptedData | |
| private int[] | |
| public KerberosTime | |
| public KDCOptions | |
| private int | |
| public KerberosTime | |
| public PrincipalName | |
| public KerberosTime |
| Access | Constructor and Description |
|---|---|
| public | KDCReqBody(KDCOptions new_kdcOptions, PrincipalName new_cname, PrincipalName new_sname, KerberosTime new_from, KerberosTime new_till, KerberosTime new_rtime, int new_nonce, int[] new_eType, HostAddresses new_addresses, EncryptedData new_encAuthorizationData, Ticket[] new_additionalTickets)
|
| public | KDCReqBody(DerValue
a DER-encoded data. encoding, int an int indicating whether it's KRB_AS_REQ or KRB_TGS_REQ type. msgType)Constructs a KDCReqBody object. |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: an byte array of encoded data.Encodes this object to an OutputStream. |
| public int |
| additionalTickets | back to summary |
|---|---|
| private Ticket[] additionalTickets | |
| addresses | back to summary |
|---|---|
| public HostAddresses addresses | |
| cname | back to summary |
|---|---|
| public PrincipalName cname | |
| encAuthorizationData | back to summary |
|---|---|
| private EncryptedData encAuthorizationData | |
| eType | back to summary |
|---|---|
| private int[] eType | |
| from | back to summary |
|---|---|
| public KerberosTime from | |
| kdcOptions | back to summary |
|---|---|
| public KDCOptions kdcOptions | |
| nonce | back to summary |
|---|---|
| private int nonce | |
| rtime | back to summary |
|---|---|
| public KerberosTime rtime | |
| sname | back to summary |
|---|---|
| public PrincipalName sname | |
| till | back to summary |
|---|---|
| public KerberosTime till | |
| KDCReqBody | back to summary |
|---|---|
| public KDCReqBody(KDCOptions new_kdcOptions, PrincipalName new_cname, PrincipalName new_sname, KerberosTime new_from, KerberosTime new_till, KerberosTime new_rtime, int new_nonce, int[] new_eType, HostAddresses new_addresses, EncryptedData new_encAuthorizationData, Ticket[] new_additionalTickets) throws IOException | |
| KDCReqBody | back to summary |
|---|---|
| public KDCReqBody(DerValue encoding, int msgType) throws Asn1Exception, RealmException, KrbException, IOException Constructs a KDCReqBody object.
| |
| asn1Encode | back to summary |
|---|---|
| public byte[] asn1Encode(int msgType) throws Asn1Exception, IOException Encodes this object to an OutputStream.
| |
| getNonce | back to summary |
|---|---|
| public int getNonce() | |