public class KrbPriv extends KerberosMessage
KRB-PRIV ::= [APPLICATION 21] SEQUENCE { pvno [0] INTEGER (5), msg-type [1] INTEGER (21), -- NOTE: there is no [2] tag enc-part [3] EncryptedData -- EncKrbPrivPart }
Constructor and Description |
---|
KrbPriv()
Creates a new instance of KrbPriv.
|
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the KRB-PRIV length
|
ByteBuffer |
encode(ByteBuffer buffer) |
EncryptedData |
getEncPart() |
void |
setEncPart(EncryptedData encPart) |
String |
toString() |
getMessageType, getProtocolVersionNumber, setMessageType, setProtocolVersionNumber
public KrbPriv()
public EncryptedData getEncPart()
public void setEncPart(EncryptedData encPart)
encPart
- the encPart to setpublic int computeLength()
KRB-PRIV : 0x75 L1 KRB-PRIV APPLICATION[21] | +--> 0x30 L2 KRB-PRIV sequence | +--> 0xA0 0x03 pvno tag | | | +--> 0x02 0x01 0x05 pvno (5) | +--> 0xA1 0x03 msg-type tag | | | +--> 0x02 0x01 0x15 msg-type (21) | +--> 0xA3 L3 enc-part (EncryptedData -- EncKrbPrivPart)
public ByteBuffer encode(ByteBuffer buffer) throws org.apache.directory.api.asn1.EncoderException
org.apache.directory.api.asn1.EncoderException
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.