public class OtherCertID extends ASN1Object
Constructor and Description |
---|
OtherCertID(AlgorithmIdentifier algId,
byte[] digest) |
OtherCertID(AlgorithmIdentifier algId,
byte[] digest,
IssuerSerial issuerSerial) |
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getAlgorithmHash() |
byte[] |
getCertHash() |
static OtherCertID |
getInstance(java.lang.Object o) |
IssuerSerial |
getIssuerSerial() |
ASN1Primitive |
toASN1Primitive()
OtherCertID ::= SEQUENCE {
otherCertHash OtherHash,
issuerSerial IssuerSerial OPTIONAL }
OtherHash ::= CHOICE {
sha1Hash OCTET STRING,
otherHash OtherHashAlgAndValue }
OtherHashAlgAndValue ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashValue OCTET STRING }
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public OtherCertID(AlgorithmIdentifier algId, byte[] digest)
public OtherCertID(AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial)
public static OtherCertID getInstance(java.lang.Object o)
public AlgorithmIdentifier getAlgorithmHash()
public byte[] getCertHash()
public IssuerSerial getIssuerSerial()
public ASN1Primitive toASN1Primitive()
OtherCertID ::= SEQUENCE { otherCertHash OtherHash, issuerSerial IssuerSerial OPTIONAL } OtherHash ::= CHOICE { sha1Hash OCTET STRING, otherHash OtherHashAlgAndValue } OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OCTET STRING }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object