com.ibm.security.krb5.internal
Class KRBCred
- java.lang.Object
com.ibm.security.krb5.internal.KRBCred
- public class KRBCred
- 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 |
---|---|
encPart
|
|
|
msgType
|
|
pvno
|
|
tickets
|
Constructor Summary
Constructor and Description |
---|
KRBCred(byte[] data)
|
KRBCred(com.ibm.security.util.DerValue encoding)
|
KRBCred(Ticket[] new_tickets,EncryptedData new_encPart)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
asn1Encode()
Encodes an KRBCred object.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
pvno
- public int pvno
msgType
- public int msgType
tickets
- public Ticket[] tickets
encPart
- public EncryptedData encPart
Constructor Detail
KRBCred
- public KRBCred(Ticket[] new_tickets,
- EncryptedData new_encPart)
KRBCred
- public KRBCred(byte[] data)
- throws Asn1Exception
- RealmException
- KrbApErrException
- java.io.IOException
KRBCred
- public KRBCred(com.ibm.security.util.DerValue encoding)
- throws Asn1Exception
- RealmException
- KrbApErrException
- java.io.IOException
Method Detail
asn1Encode
- public byte[] asn1Encode()
- throws Asn1Exception
- java.io.IOException
Encodes an KRBCred object.
Returns:
the data of encoded EncAPRepPart 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.