ASN1Encodable
, Encodable
public class OOBCertHash extends ASN1Object
Constructor | Description |
---|---|
OOBCertHash(AlgorithmIdentifier hashAlg,
CertId certId,
byte[] hashVal) |
|
OOBCertHash(AlgorithmIdentifier hashAlg,
CertId certId,
DERBitString hashVal) |
Modifier and Type | Method | Description |
---|---|---|
CertId |
getCertId() |
|
AlgorithmIdentifier |
getHashAlg() |
|
DERBitString |
getHashVal() |
|
static OOBCertHash |
getInstance(java.lang.Object o) |
|
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.
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal)
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, DERBitString hashVal)
public static OOBCertHash getInstance(java.lang.Object o)
public AlgorithmIdentifier getHashAlg()
public CertId getCertId()
public DERBitString getHashVal()
public 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 ASN1Encodable
toASN1Primitive
in class ASN1Object