public class

OtherCertID

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.ess.OtherCertID

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
OtherCertID(ASN1Sequence seq)
constructor
OtherCertID(AlgorithmIdentifier algId, byte[] digest)
OtherCertID(AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial)
Public Methods
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 }

 
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public OtherCertID (ASN1Sequence seq)

constructor

public OtherCertID (AlgorithmIdentifier algId, byte[] digest)

public OtherCertID (AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial)

Public Methods

public AlgorithmIdentifier getAlgorithmHash ()

public byte[] getCertHash ()

public static OtherCertID getInstance (Object o)

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 }