org.apache.directory.shared.ldap.codec.extended.operations.certGeneration
Class CertGenerationDecoder

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.Asn1Decoder
      extended by org.apache.directory.shared.ldap.codec.extended.operations.certGeneration.CertGenerationDecoder
All Implemented Interfaces:
ITLVBerDecoderMBean

public class CertGenerationDecoder
extends Asn1Decoder

A decoder for CertGenerationObject.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
CertGenerationDecoder()
           
 
Method Summary
 Asn1Object decode(byte[] stream)
          Decode a PDU which must contain a CertGenRequest extended operation.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.Asn1Decoder
allowIndefiniteLength, decode, disallowIndefiniteLength, getMaxLengthLength, getMaxTagLength, isIndefiniteLengthAllowed, setMaxLengthLength, setMaxTagLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertGenerationDecoder

public CertGenerationDecoder()
Method Detail

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 Apache Software Foundation. All Rights Reserved.