com.entrust.toolkit.asn1.structures
Class AlgorithmIdentifier

java.lang.Object
  |
  +--iaik.asn1.structures.AlgorithmID
        |
        +--com.entrust.toolkit.asn1.structures.AlgorithmIdentifier

public class AlgorithmIdentifier
extends AlgorithmID

This class represents a PKIX full certificate template, which basically contains an (incomplete) X.509 certificate, and then a series of optional information related to it, such as archiving options and proof of possession of private keys. This class does not provide access to the full range of options in the full certificate template, but only to those which need to vary within Entrust profile creation requests. For a more complete specification of the full certificate template, see draft-ietf-pkix-ipki3cmp-04.txt by C. Adams and S. Farrell.


Fields inherited from class iaik.asn1.structures.AlgorithmID
cast5_CBC, des_CBC, des_EDE3_CBC, dhKeyAgreement, dsa, dsaWithSHA, dsaWithSHA1, dsaX957, idea_CBC, implementations, md2, md2WithRSAEncryption, md4, md4WithRSAEncryption, md5, md5WithRSAEncryption, mgf1, pbeWithMD5AndDES_CBC, pbeWithSHAAnd128BitRC2_CBC, pbeWithSHAAnd128BitRC4, pbeWithSHAAnd2_KeyTripleDES_CBC, pbeWithSHAAnd3_KeyTripleDES_CBC, pbeWithSHAAnd40BitRC2_CBC, pbeWithSHAAnd40BitRC4, rc2_CBC, rc4, rc5_CBC, rsa, rsaEncryption, rsaESOAEP, sha, sha1, sha1WithRSAEncryption
 
Constructor Summary
AlgorithmIdentifier()
           
AlgorithmIdentifier(AlgorithmID algorithmID)
           
AlgorithmIdentifier(ASN1Object algorithmID)
           
AlgorithmIdentifier(DerInputStream is)
           
AlgorithmIdentifier(ObjectID algorithm)
           
AlgorithmIdentifier(ObjectID algorithm, ASN1Object parameter)
           
AlgorithmIdentifier(java.lang.String objectID, java.lang.String name)
           
AlgorithmIdentifier(java.lang.String objectID, java.lang.String name, java.lang.String implementationName)
           
 
Method Summary
 void setNoParameters(boolean noParameters)
           
 ASN1Object toASN1Object()
          Returns the AlgorithmID as an (SEQUENCE) ASN1Object.
 
Methods inherited from class iaik.asn1.structures.AlgorithmID
changeObjectID, changeOIDString, clone, decode, equals, getAlgorithm, getAlgorithmParameters, getCipherInstance, getImplementationName, getInstance, getKeyAgreementInstance, getKeyFactoryInstance, getMessageDigestInstance, getName, getParameter, getSignatureInstance, setAlgorithmParameters, setParameter, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlgorithmIdentifier

public AlgorithmIdentifier()

AlgorithmIdentifier

public AlgorithmIdentifier(AlgorithmID algorithmID)

AlgorithmIdentifier

public AlgorithmIdentifier(java.lang.String objectID,
                           java.lang.String name)

AlgorithmIdentifier

public AlgorithmIdentifier(java.lang.String objectID,
                           java.lang.String name,
                           java.lang.String implementationName)

AlgorithmIdentifier

public AlgorithmIdentifier(ObjectID algorithm)

AlgorithmIdentifier

public AlgorithmIdentifier(ObjectID algorithm,
                           ASN1Object parameter)

AlgorithmIdentifier

public AlgorithmIdentifier(ASN1Object algorithmID)
                    throws CodingException

AlgorithmIdentifier

public AlgorithmIdentifier(DerInputStream is)
                    throws java.io.IOException
Method Detail

setNoParameters

public void setNoParameters(boolean noParameters)

toASN1Object

public ASN1Object toASN1Object()
Description copied from class: AlgorithmID
Returns the AlgorithmID as an (SEQUENCE) ASN1Object.
Overrides:
toASN1Object in class AlgorithmID
Tags copied from class: AlgorithmID
Returns:
the AlgorithmID as ASN1Object
See Also:
SEQUENCE