com.ibm.security.krb5.internal
Class EncKDCRepPart
- java.lang.Object
com.ibm.security.krb5.internal.EncKDCRepPart
Direct known subclasses:
- public class EncKDCRepPart
- extends java.lang.Object
This definition reflects the Network Working Group RFC 1510 specifications dated September 1993 and available at http://www.ietf.org/rfc/rfc1510.txt.
Field Summary
Modifier and Type | Field and Description |
---|---|
authtime
|
|
caddr
|
|
endtime
|
|
flags
|
|
key
|
|
keyExpiration
|
|
lastReq
|
|
|
msgType
|
|
nonce
|
renewTill
|
|
sname
|
|
srealm
|
|
starttime
|
Constructor Summary
Constructor and Description |
---|
EncKDCRepPart()
|
EncKDCRepPart(byte[] data,int rep_type)
|
EncKDCRepPart(com.ibm.security.util.DerValue encoding,int rep_type)
|
EncKDCRepPart(EncryptionKey new_key,LastReq new_lastReq,int new_nonce,KerberosTime new_keyExpiration,TicketFlags new_flags,KerberosTime new_authtime,KerberosTime new_starttime,KerberosTime new_endtime,KerberosTime new_renewTill,Realm new_srealm,PrincipalName new_sname,HostAddresses new_caddr,int new_msgType)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode(int rep_type)
Encodes an EncKDCRepPart object.
|
|
init(com.ibm.security.util.DerValue encoding,int rep_type)
Initializes an EncKDCRepPart object.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
key
- public EncryptionKey key
lastReq
- public LastReq lastReq
nonce
- public int nonce
keyExpiration
- public KerberosTime keyExpiration
flags
- public TicketFlags flags
authtime
- public KerberosTime authtime
starttime
- public KerberosTime starttime
endtime
- public KerberosTime endtime
renewTill
- public KerberosTime renewTill
srealm
- public Realm srealm
sname
- public PrincipalName sname
caddr
- public HostAddresses caddr
msgType
- public int msgType
Constructor Detail
EncKDCRepPart
- public EncKDCRepPart(EncryptionKey new_key,
- LastReq new_lastReq,
- int new_nonce,
- KerberosTime new_keyExpiration,
- TicketFlags new_flags,
- KerberosTime new_authtime,
- KerberosTime new_starttime,
- KerberosTime new_endtime,
- KerberosTime new_renewTill,
- Realm new_srealm,
- PrincipalName new_sname,
- HostAddresses new_caddr,
- int new_msgType)
EncKDCRepPart
- public EncKDCRepPart()
EncKDCRepPart
- public EncKDCRepPart(byte[] data,
- int rep_type)
- throws Asn1Exception
- java.io.IOException
- RealmException
EncKDCRepPart
- public EncKDCRepPart(com.ibm.security.util.DerValue encoding,
- int rep_type)
- throws Asn1Exception
- java.io.IOException
- RealmException
Method Detail
init
- protected void init(com.ibm.security.util.DerValue encoding,
- int rep_type)
- throws Asn1Exception
- java.io.IOException
- RealmException
Initializes an EncKDCRepPart object.
Parameters:
encoding
- a single DER-encoded value. rep_type
- type of the encrypted reply message. Throws:
Asn1Exception
- if an error occurs while decoding an ASN1 encoded data. java.io.IOException
- if an I/O error occurs while reading encoded data. RealmException
- if an error occurs while decoding an Realm object. asn1Encode
- public byte[] asn1Encode(int rep_type)
- throws Asn1Exception
- java.io.IOException
Encodes an EncKDCRepPart object.
Parameters:
rep_type
- type of encrypted reply message. Returns:
byte array of encoded EncKDCRepPart object.
Throws:
Asn1Exception
- if an error occurs while decoding an ASN1 encoded data. java.io.IOException
- if an I/O error occurs while reading encoded data.