org.apache.directory.shared.ldap.extras.extended.ads_impl
Class CertGenerationDecoder
java.lang.Object
org.apache.directory.shared.asn1.ber.Asn1Decoder
org.apache.directory.shared.ldap.extras.extended.ads_impl.CertGenerationDecoder
- All Implemented Interfaces:
- TLVBerDecoderMBean
public class CertGenerationDecoder
- extends Asn1Decoder
A decoder for CertGenerationObject.
- Author:
- Apache Directory Project
|
Method Summary |
Asn1Object |
decode(byte[] stream)
Decode a PDU which must contain a CertGenRequest extended operation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CertGenerationDecoder
public CertGenerationDecoder()
decode
public Asn1Object decode(byte[] stream)
throws DecoderException
- Decode a PDU which must contain a CertGenRequest 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 CertGenerationObject object
- Throws:
DecoderException - If the decoding failed
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.