public class OOBCertHash extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private CertId |
certId |
private AlgorithmIdentifier |
hashAlg |
private DERBitString |
hashVal |
Modifier | Constructor and Description |
---|---|
|
OOBCertHash(AlgorithmIdentifier hashAlg,
CertId certId,
byte[] hashVal) |
|
OOBCertHash(AlgorithmIdentifier hashAlg,
CertId certId,
DERBitString hashVal) |
private |
OOBCertHash(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
private void |
addOptional(ASN1EncodableVector v,
int tagNo,
ASN1Encodable obj) |
CertId |
getCertId() |
AlgorithmIdentifier |
getHashAlg() |
DERBitString |
getHashVal() |
static OOBCertHash |
getInstance(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
private AlgorithmIdentifier hashAlg
private DERBitString hashVal
private OOBCertHash(ASN1Sequence seq)
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, byte[] hashVal)
public OOBCertHash(AlgorithmIdentifier hashAlg, CertId certId, DERBitString hashVal)
public static OOBCertHash getInstance(Object o)
public AlgorithmIdentifier getHashAlg()
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
private void addOptional(ASN1EncodableVector v, int tagNo, ASN1Encodable obj)