public class ChangePasswordReply extends AbstractPasswordMessage
| Modifier and Type | Field and Description |
|---|---|
private ApRep |
applicationReply |
private short |
applicationReplyLen |
private short |
messageLength |
private KrbPriv |
privateMessage |
private short |
privateMessageLen |
HEADER_LENGTH, OLD_PVNO, PVNO| Constructor and Description |
|---|
ChangePasswordReply(ApRep applicationReply,
KrbPriv privateMessage) |
ChangePasswordReply(short versionNumber,
ApRep applicationReply,
KrbPriv privateMessage)
Creates a new instance of ChangePasswordReply.
|
| Modifier and Type | Method and Description |
|---|---|
short |
computeLength() |
static ChangePasswordReply |
decode(java.nio.ByteBuffer buf)
Decodes a
ByteBuffer into a ChangePasswordReply. |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buf) |
ApRep |
getApplicationReply()
Returns the
ApplicationReply. |
KrbPriv |
getPrivateMessage()
Returns the
PrivateMessage. |
getVersionNumberprivate ApRep applicationReply
private KrbPriv privateMessage
private short applicationReplyLen
private short privateMessageLen
private short messageLength
public ApRep getApplicationReply()
ApplicationReply.ApplicationReply.public KrbPriv getPrivateMessage()
PrivateMessage.PrivateMessage.public short computeLength()
computeLength in class AbstractPasswordMessagepublic java.nio.ByteBuffer encode(java.nio.ByteBuffer buf)
throws org.apache.directory.api.asn1.EncoderException
encode in class AbstractPasswordMessageorg.apache.directory.api.asn1.EncoderExceptionpublic static ChangePasswordReply decode(java.nio.ByteBuffer buf) throws ChangePasswordException
ByteBuffer into a ChangePasswordReply.buf - ChangePasswordReply.KerberosExceptionChangePasswordException