com.ibm.security.krb5.internal
Class KrbCredInfo
- java.lang.Object
com.ibm.security.krb5.internal.KrbCredInfo
- public class KrbCredInfo
- 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
|
|
pname
|
|
prealm
|
|
renewTill
|
|
sname
|
|
srealm
|
|
starttime
|
Constructor Summary
Constructor and Description |
---|
KrbCredInfo(com.ibm.security.util.DerValue encoding)
Constructs a KrbCredInfo object.
|
KrbCredInfo(EncryptionKey new_key,Realm new_prealm,PrincipalName new_pname,TicketFlags new_flags,KerberosTime new_authtime,KerberosTime new_starttime,KerberosTime new_endtime,KerberosTime new_renewTill,Realm new_srealm,PrincipalName new_sname,HostAddresses new_caddr)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
Encodes an KrbCredInfo object.
|
|
clone()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
key
- public EncryptionKey key
prealm
- public Realm prealm
pname
- public PrincipalName pname
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
Constructor Detail
KrbCredInfo
- public KrbCredInfo(EncryptionKey new_key,
- Realm new_prealm,
- PrincipalName new_pname,
- TicketFlags new_flags,
- KerberosTime new_authtime,
- KerberosTime new_starttime,
- KerberosTime new_endtime,
- KerberosTime new_renewTill,
- Realm new_srealm,
- PrincipalName new_sname,
- HostAddresses new_caddr)
KrbCredInfo
- public KrbCredInfo(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- java.io.IOException
- RealmException
Constructs a KrbCredInfo object.
Parameters:
encoding
- a Der-encoded data. 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 parsing a Realm object. Method Detail
asn1Encode
- public byte[] asn1Encode()
- throws Asn1Exception
- java.io.IOException
Encodes an KrbCredInfo object.
Returns:
the byte array of encoded KrbCredInfo 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. clone
- public java.lang.Object clone()
Overrides:
clone
in class java.lang.Object