org.apache.geronimo.util.asn1.x509
Class ObjectDigestInfo
java.lang.Object
org.apache.geronimo.util.asn1.ASN1Encodable
org.apache.geronimo.util.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 © 2006 Apache Software Foundation. All Rights Reserved.