sun.security.mule.krb5.internal
Class KRBCred
java.lang.Object
sun.security.mule.krb5.internal.KRBCred
public class KRBCred
- extends Object
Implements the ASN.1 Authenticator type.
KRB-CRED ::= [APPLICATION 22] SEQUENCE {
pvno [0] INTEGER (5),
msg-type [1] INTEGER (22),
tickets [2] SEQUENCE OF Ticket,
enc-part [3] EncryptedData -- EncKrbCredPart
}
This definition reflects the Network Working Group RFC 4120
specification available at
http://www.ietf.org/rfc/rfc4120.txt.
|
Method Summary |
byte[] |
asn1Encode()
Encodes an KRBCred object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tickets
public Ticket[] tickets
encPart
public EncryptedData encPart
KRBCred
public KRBCred(Ticket[] new_tickets,
EncryptedData new_encPart)
throws IOException
- Throws:
IOException
KRBCred
public KRBCred(byte[] data)
throws Asn1Exception,
RealmException,
KrbApErrException,
IOException
- Throws:
Asn1Exception
RealmException
KrbApErrException
IOException
KRBCred
public KRBCred(sun.security.util.DerValue encoding)
throws Asn1Exception,
RealmException,
KrbApErrException,
IOException
- Throws:
Asn1Exception
RealmException
KrbApErrException
IOException
asn1Encode
public byte[] asn1Encode()
throws Asn1Exception,
IOException
- Encodes an KRBCred object.
- Returns:
- the data of encoded EncAPRepPart object.
- Throws:
Asn1Exception - if an error occurs while decoding an ASN1 encoded data.
IOException - if an I/O error occurs while reading encoded data.
Copyright © 2013. All Rights Reserved.