Bouncy Castle Cryptography Library 1.79

org.bouncycastle.asn1.ess
Class OtherCertID

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.bouncycastle.asn1.ess.OtherCertID
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class OtherCertID
extends org.bouncycastle.asn1.ASN1Object


Constructor Summary
OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, byte[] digest)
           
OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, byte[] digest, org.bouncycastle.asn1.x509.IssuerSerial issuerSerial)
           
 
Method Summary
 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 }
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherCertID

public OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
                   byte[] digest)

OtherCertID

public OtherCertID(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
                   byte[] digest,
                   org.bouncycastle.asn1.x509.IssuerSerial issuerSerial)
Method Detail

getInstance

public static OtherCertID getInstance(java.lang.Object o)

getAlgorithmHash

public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmHash()

getCertHash

public byte[] getCertHash()

getIssuerSerial

public org.bouncycastle.asn1.x509.IssuerSerial getIssuerSerial()

toASN1Primitive

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 }


Bouncy Castle Cryptography Library 1.79