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

java.lang.Object
  extended by org.apache.directory.shared.asn1.AbstractAsn1Object
      extended by org.apache.directory.shared.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()
           
 ByteBuffer encode()
           
 
Methods inherited from class org.apache.directory.shared.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()
Specified by:
computeLength in interface Asn1Object
Specified by:
computeLength in class AbstractAsn1Object

encode

public ByteBuffer encode()
                  throws EncoderException
Throws:
EncoderException


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