public class OtherCertID
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
byte[] digest) |
OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
byte[] digest,
org.bouncycastle.asn1.x509.IssuerSerial issuerSerial) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getAlgorithmHash() |
byte[] |
getCertHash() |
static OtherCertID |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.x509.IssuerSerial |
getIssuerSerial() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
OtherCertID ::= SEQUENCE {
otherCertHash OtherHash,
issuerSerial IssuerSerial OPTIONAL }
OtherHash ::= CHOICE {
sha1Hash OCTET STRING,
otherHash OtherHashAlgAndValue }
OtherHashAlgAndValue ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashValue OCTET STRING }
|
public OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, byte[] digest)
public OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, byte[] digest, org.bouncycastle.asn1.x509.IssuerSerial issuerSerial)
public static OtherCertID getInstance(java.lang.Object o)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmHash()
public byte[] getCertHash()
public org.bouncycastle.asn1.x509.IssuerSerial getIssuerSerial()
public org.bouncycastle.asn1.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 org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object