Package org.bouncycastle.asn1.cmp
Class OOBCertHash
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.OOBCertHash
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
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 Summary
ConstructorsConstructorDescriptionOOBCertHash
(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal) OOBCertHash
(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg, CertId certId, org.bouncycastle.asn1.DERBitString hashVal) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.AlgorithmIdentifier
org.bouncycastle.asn1.ASN1BitString
static OOBCertHash
org.bouncycastle.asn1.ASN1Primitive
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.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
Method Details
-
getInstance
-
getHashAlg
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlg() -
getCertId
-
getHashVal
public org.bouncycastle.asn1.ASN1BitString getHashVal() -
toASN1Primitive
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. }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- a basic ASN.1 object representation.
-