org.apache.directory.api.ldap.extras.extended.ads_impl.certGeneration
Class CertGenerationObject

java.lang.Object
  extended by org.apache.directory.api.asn1.AbstractAsn1Object
      extended by org.apache.directory.api.ldap.extras.extended.ads_impl.certGeneration.CertGenerationObject
All Implemented Interfaces:
Asn1Object

public class CertGenerationObject
extends AbstractAsn1Object

An extended operation for generating a public key Certificate.

   CertGenerateObject ::= SEQUENCE
   {
      targetDN        IA5String,
      issuerDN        IA5String,
      subjectDN       IA5String,
      keyAlgorithm    IA5String
   }
 

Author:
Apache Directory Project

Constructor Summary
CertGenerationObject(CertGenerationRequest request)
           
 
Method Summary
 int computeLength()
          Compute the object length, which is the sum of all inner length.
 ByteBuffer encode()
           
 
Methods inherited from class org.apache.directory.api.asn1.AbstractAsn1Object
addLength, encode, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertGenerationObject

public CertGenerationObject(CertGenerationRequest request)
Method Detail

computeLength

public int computeLength()
Compute the object length, which is the sum of all inner length.

Returns:
The object's computed length

encode

public ByteBuffer encode()
                  throws EncoderException
Throws:
EncoderException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.