Package org.bouncycastle.asn1.ess
Class OtherCertID
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ess.OtherCertID
- All Implemented Interfaces:
ASN1Encodable,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionOtherCertID(AlgorithmIdentifier algId, byte[] digest) OtherCertID(AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]static OtherCertIDOtherCertID ::= SEQUENCE { otherCertHash OtherHash, issuerSerial IssuerSerial OPTIONAL } OtherHash ::= CHOICE { sha1Hash OCTET STRING, otherHash OtherHashAlgAndValue } OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OCTET STRING }Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
OtherCertID
-
OtherCertID
-
-
Method Details
-
getInstance
-
getAlgorithmHash
-
getCertHash
public byte[] getCertHash() -
getIssuerSerial
-
toASN1Primitive
OtherCertID ::= SEQUENCE { otherCertHash OtherHash, issuerSerial IssuerSerial OPTIONAL } OtherHash ::= CHOICE { sha1Hash OCTET STRING, otherHash OtherHashAlgAndValue } OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OCTET STRING }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-