public class OtherCertID extends ASN1Encodable
BER, DER
Constructor and Description |
---|
OtherCertID(AlgorithmIdentifier algId,
byte[] digest) |
OtherCertID(AlgorithmIdentifier algId,
byte[] digest,
IssuerSerial issuerSerial) |
OtherCertID(ASN1Sequence seq)
constructor
|
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getAlgorithmHash() |
byte[] |
getCertHash() |
static OtherCertID |
getInstance(Object o) |
IssuerSerial |
getIssuerSerial() |
DERObject |
toASN1Object()
OtherCertID ::= SEQUENCE {
otherCertHash OtherHash,
issuerSerial IssuerSerial OPTIONAL }
OtherHash ::= CHOICE {
sha1Hash OCTET STRING,
otherHash OtherHashAlgAndValue }
OtherHashAlgAndValue ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashValue OCTET STRING }
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public OtherCertID(ASN1Sequence seq)
public OtherCertID(AlgorithmIdentifier algId, byte[] digest)
public OtherCertID(AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial)
public static OtherCertID getInstance(Object o)
public AlgorithmIdentifier getAlgorithmHash()
public byte[] getCertHash()
public IssuerSerial getIssuerSerial()
public DERObject toASN1Object()
OtherCertID ::= SEQUENCE { otherCertHash OtherHash, issuerSerial IssuerSerial OPTIONAL } OtherHash ::= CHOICE { sha1Hash OCTET STRING, otherHash OtherHashAlgAndValue } OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OCTET STRING }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.