public class ChangePasswordReply extends AbstractPasswordMessage
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(ByteBuffer buf)
Decodes a
ByteBuffer into a ChangePasswordReply . |
ByteBuffer |
encode(ByteBuffer buf) |
ApRep |
getApplicationReply()
Returns the
ApRep instance. |
KrbPriv |
getPrivateMessage()
Returns the
KrbPriv instance. |
getVersionNumber
public ChangePasswordReply(ApRep applicationReply, KrbPriv privateMessage)
public ChangePasswordReply(short versionNumber, ApRep applicationReply, KrbPriv privateMessage)
versionNumber
- The version numberapplicationReply
- The application replyprivateMessage
- The private partpublic ApRep getApplicationReply()
ApRep
instance.ApRep
instance.public KrbPriv getPrivateMessage()
KrbPriv
instance.KrbPriv
instance.public short computeLength()
computeLength
in class AbstractPasswordMessage
public ByteBuffer encode(ByteBuffer buf) throws org.apache.directory.api.asn1.EncoderException
encode
in class AbstractPasswordMessage
org.apache.directory.api.asn1.EncoderException
public static ChangePasswordReply decode(ByteBuffer buf) throws ChangePasswordException
ByteBuffer
into a ChangePasswordReply
.buf
- ChangePasswordReply
.ChangePasswordException
- If teh decoding failedCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.