| java.lang.Object |
| ↳ |
sun.security.mule.krb5.internal.KDCRep |
Known Direct Subclasses
|
Class Overview
Implements the ASN.1 KDC-REP type.
KDC-REP ::= SEQUENCE {
pvno [0] INTEGER (5),
msg-type [1] INTEGER (11 -- AS -- | 13 -- TGS --),
padata [2] SEQUENCE OF PA-DATA OPTIONAL
-- NOTE: not empty --,
crealm [3] Realm,
cname [4] PrincipalName,
ticket [5] Ticket,
enc-part [6] EncryptedData
-- EncASRepPart or EncTGSRepPart,
-- as appropriate
}
This definition reflects the Network Working Group RFC 4120
specification available at
http://www.ietf.org/rfc/rfc4120.txt.
Summary
| Public Methods |
|
byte[]
|
asn1Encode()
Encodes this object to a byte array.
|
| Protected Methods |
|
void
|
init(DerValue encoding, int req_type)
Initializes an KDCRep object.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
Public Constructors
public
KDCRep
(byte[] data, int req_type)
public
KDCRep
(DerValue encoding, int req_type)
Public Methods
public
byte[]
asn1Encode
()
Encodes this object to a byte array.
Returns
- byte array of encoded APReq object.
Throws
| Asn1Exception
| if an error occurs while decoding an ASN1 encoded data. |
| IOException
| if an I/O error occurs while reading encoded data.
|
Protected Methods
protected
void
init
(DerValue encoding, int req_type)
Initializes an KDCRep object.
Parameters
| encoding
| A single DER-encoded value. |
| req_type
| Reply message type. |
Throws
| Asn1Exception
| if an error occurs while decoding an ASN1 encoded data. |
| IOException
| if an I/O error occurs while reading encoded data. |
| RealmException
| if an error occurs while constructing a Realm object from DER-encoded data. |
| KrbApErrException
| if the value read from the DER-encoded data stream does not match the pre-defined value.
|