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

java.lang.Object
  extended by org.apache.directory.shared.asn1.AbstractAsn1Object
      extended by org.apache.directory.shared.ldap.extras.extended.ads_impl.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()
           
 
Method Summary
 int computeLength()
           
 ByteBuffer encode()
           
 String getIssuerDN()
           
 String getKeyAlgorithm()
           
 String getSubjectDN()
           
 String getTargetDN()
           
 void setIssuerDN(String issuerDN)
           
 void setKeyAlgorithm(String keyAlgorithm)
           
 void setSubjectDN(String subjectDN)
           
 void setTargetDN(String targetDN)
           
 String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

CertGenerationObject

public CertGenerationObject()
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

getTargetDN

public String getTargetDN()

setTargetDN

public void setTargetDN(String targetDN)

getIssuerDN

public String getIssuerDN()

setIssuerDN

public void setIssuerDN(String issuerDN)

getSubjectDN

public String getSubjectDN()

setSubjectDN

public void setSubjectDN(String subjectDN)

getKeyAlgorithm

public String getKeyAlgorithm()

setKeyAlgorithm

public void setKeyAlgorithm(String keyAlgorithm)

toString

public String toString()
Overrides:
toString in class Object


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