org.apache.geronimo.crypto.asn1.x509
Class ObjectDigestInfo
java.lang.Object
org.apache.geronimo.crypto.asn1.ASN1Encodable
org.apache.geronimo.crypto.asn1.x509.ObjectDigestInfo
- All Implemented Interfaces:
- DEREncodable
public class ObjectDigestInfo
- extends ASN1Encodable
ObjectDigestInfo
public ObjectDigestInfo(ASN1Sequence seq)
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 © 2003-2008 The Apache Geronimo development community. All Rights Reserved.