public class OOBCertHash extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
private CertId |
certId |
private AlgorithmIdentifier |
hashAlg |
private DERBitString |
hashVal |
BER, DER
Modifier | Constructor and Description |
---|---|
private |
OOBCertHash(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
private void |
addOptional(ASN1EncodableVector v,
int tagNo,
ASN1Encodable obj) |
CertId |
getCertId() |
AlgorithmIdentifier |
getHashAlg() |
static OOBCertHash |
getInstance(java.lang.Object o) |
DERObject |
toASN1Object()
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, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
private AlgorithmIdentifier hashAlg
private CertId certId
private DERBitString hashVal
private OOBCertHash(ASN1Sequence seq)
public static OOBCertHash getInstance(java.lang.Object o)
public AlgorithmIdentifier getHashAlg()
public CertId getCertId()
public DERObject toASN1Object()
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. }
toASN1Object
in class ASN1Encodable
private void addOptional(ASN1EncodableVector v, int tagNo, ASN1Encodable obj)
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.