public class OOBCertHash
extends org.bouncycastle.asn1.ASN1Object
OOBCertHash ::= SEQUENCE { hashAlg [0] AlgorithmIdentifier OPTIONAL, certId [1] CertId OPTIONAL, hashVal BIT STRING -- hashVal is calculated over the DER encoding of the -- self-signed certificate with the identifier certID. }
Constructor and Description |
---|
OOBCertHash(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg,
CertId certId,
byte[] hashVal) |
OOBCertHash(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg,
CertId certId,
org.bouncycastle.asn1.DERBitString hashVal) |
Modifier and Type | Method and Description |
---|---|
CertId |
getCertId() |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getHashAlg() |
org.bouncycastle.asn1.ASN1BitString |
getHashVal() |
static OOBCertHash |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
OOBCertHash ::= SEQUENCE {
hashAlg [0] AlgorithmIdentifier OPTIONAL,
certId [1] CertId OPTIONAL,
hashVal BIT STRING
-- hashVal is calculated over the DER encoding of the
-- self-signed certificate with the identifier certID.
}
|
public OOBCertHash(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal)
public OOBCertHash(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg, CertId certId, org.bouncycastle.asn1.DERBitString hashVal)
public static OOBCertHash getInstance(java.lang.Object o)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlg()
public CertId getCertId()
public org.bouncycastle.asn1.ASN1BitString getHashVal()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
OOBCertHash ::= SEQUENCE { hashAlg [0] AlgorithmIdentifier OPTIONAL, certId [1] CertId OPTIONAL, hashVal BIT STRING -- hashVal is calculated over the DER encoding of the -- self-signed certificate with the identifier certID. }
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object