org.apache.geronimo.util.asn1.x509
Class ObjectDigestInfo

java.lang.Object
  extended by org.apache.geronimo.util.asn1.ASN1Encodable
      extended by org.apache.geronimo.util.asn1.x509.ObjectDigestInfo
All Implemented Interfaces:
DEREncodable

public class ObjectDigestInfo
extends ASN1Encodable


Constructor Summary
ObjectDigestInfo(ASN1Sequence seq)
           
 
Method Summary
 AlgorithmIdentifier getDigestAlgorithm()
           
 DEREnumerated getDigestedObjectType()
           
static ObjectDigestInfo getInstance(ASN1TaggedObject obj, boolean explicit)
           
static ObjectDigestInfo getInstance(Object obj)
           
 DERBitString getObjectDigest()
           
 DERObjectIdentifier getOtherObjectTypeID()
           
 DERObject toASN1Object()
          Produce an object suitable for an ASN1OutputStream.
 
Methods inherited from class org.apache.geronimo.util.asn1.ASN1Encodable
equals, getDERObject, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDigestInfo

public ObjectDigestInfo(ASN1Sequence seq)
Method Detail

getInstance

public static ObjectDigestInfo getInstance(Object obj)

getInstance

public static ObjectDigestInfo getInstance(ASN1TaggedObject obj,
                                           boolean explicit)

getDigestedObjectType

public DEREnumerated getDigestedObjectType()

getOtherObjectTypeID

public DERObjectIdentifier getOtherObjectTypeID()

getDigestAlgorithm

public AlgorithmIdentifier getDigestAlgorithm()

getObjectDigest

public DERBitString getObjectDigest()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.

   ObjectDigestInfo ::= SEQUENCE {
        digestedObjectType  ENUMERATED {
                publicKey            (0),
                publicKeyCert        (1),
                otherObjectTypes     (2) },
                        -- otherObjectTypes MUST NOT
                        -- be used in this profile
        otherObjectTypeID   OBJECT IDENTIFIER OPTIONAL,
        digestAlgorithm     AlgorithmIdentifier,
        objectDigest        BIT STRING
   }

 

Specified by:
toASN1Object in class ASN1Encodable


Copyright © 2006 Apache Software Foundation. All Rights Reserved.