public class ApRep extends KerberosMessage
AP-REP ::= [APPLICATION 15] SEQUENCE {
pvno [0] INTEGER (5),
msg-type [1] INTEGER (15),
enc-part [2] -- EncAPRepPart
}
| Constructor and Description |
|---|
ApRep()
Creates a new instance of AP-REP.
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the AP-REP length
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the AP-REP component
|
EncryptedData |
getEncPart()
Returns the
EncryptedData. |
void |
setEncPart(EncryptedData encPart)
Sets the
EncryptedData. |
String |
toString() |
getMessageType, getProtocolVersionNumber, setMessageType, setProtocolVersionNumberpublic EncryptedData getEncPart()
EncryptedData.EncryptedData.public void setEncPart(EncryptedData encPart)
EncryptedData.encPart - The encrypted partpublic int computeLength()
AP-REP :
0x6F L1 AP-REP message
|
+--> 0x30 L2
|
+--> 0xA0 0x03
| |
| +--> 0x02 0x01 0x05 pvno
|
+--> 0xA1 0x03
| |
| +--> 0x02 0x01 0x0E msg-type
|
+--> 0xA2 L3
|
+--> 0x30 L3-1 enc-part
public ByteBuffer encode(ByteBuffer buffer) throws org.apache.directory.api.asn1.EncoderException
buffer - The buffer containing the encoded resultorg.apache.directory.api.asn1.EncoderException - If the encoding failedpublic String toString()
toString in class ObjectObject.toString()Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.