java.lang.Object | ||
↳ | org.bouncycastle.asn1.ASN1Encodable | |
↳ | org.bouncycastle.asn1.x509.ObjectDigestInfo |
ObjectDigestInfo ASN.1 structure used in v2 attribute certificates.
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 }
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | otherObjectDigest | An other object is hashed. | |||||||||
int | publicKey | The public key is hashed. | |||||||||
int | publicKeyCert | The public key certificate is hashed. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor from given details.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Produce an object suitable for an ASN1OutputStream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.asn1.ASN1Encodable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.asn1.DEREncodable
|
An other object is hashed.
The public key is hashed.
The public key certificate is hashed.
Constructor from given details.
If digestedObjectType
is not publicKeyCert
or
publicKey
otherObjectTypeID
must be given,
otherwise it is ignored.
digestedObjectType | The digest object type. |
---|---|
otherObjectTypeID | The object type ID for
otherObjectDigest . |
digestAlgorithm | The algorithm identifier for the hash. |
objectDigest | The hash value. |
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 }