Package org.bouncycastle.asn1.cmp
Class OOBCertHash
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.OOBCertHash
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionOOBCertHash
(AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal) OOBCertHash
(AlgorithmIdentifier hashAlg, CertId certId, DERBitString hashVal) -
Method Summary
Modifier and TypeMethodDescriptionstatic OOBCertHash
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
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
OOBCertHash
-
OOBCertHash
-
-
Method Details
-
getInstance
-
getHashAlg
-
getCertId
-
getHashVal
-
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 interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a basic ASN.1 object representation.
-