public class OtherCertID extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private IssuerSerial |
issuerSerial |
private ASN1Encodable |
otherCertHash |
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(java.lang.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
private ASN1Encodable otherCertHash
private IssuerSerial issuerSerial
public OtherCertID(ASN1Sequence seq)
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 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 © 1998-2014 Gamma Technologies. All Rights Reserved.