Class PasswordModifyResponseDecoder
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.Asn1Decoder
-
- org.apache.directory.api.ldap.extras.extended.ads_impl.pwdModify.PasswordModifyResponseDecoder
-
- All Implemented Interfaces:
TLVBerDecoderMBean
public class PasswordModifyResponseDecoder extends Asn1Decoder
A decoder for PasswordModifyRequest.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description PasswordModifyResponseDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordModifyResponse
decode(byte[] stream)
Decode a PDU which must contain a PwdModifyRequest extended operation.-
Methods inherited from class org.apache.directory.api.asn1.ber.Asn1Decoder
allowIndefiniteLength, decode, disallowIndefiniteLength, getMaxLengthLength, getMaxTagLength, isIndefiniteLengthAllowed, setMaxLengthLength, setMaxTagLength
-
-
-
-
Constructor Detail
-
PasswordModifyResponseDecoder
public PasswordModifyResponseDecoder()
-
-
Method Detail
-
decode
public PasswordModifyResponse decode(byte[] stream) throws DecoderException
Decode a PDU which must contain a PwdModifyRequest extended operation. Note that the stream of bytes much contain a full PDU, not a partial one.- Parameters:
stream
- The bytes to be decoded- Returns:
- a PwdModifyRequest object
- Throws:
DecoderException
- If the decoding failed
-
-