kz.gamma.asn1.cmp
Class OOBCertHash

java.lang.Object
  extended by kz.gamma.asn1.ASN1Encodable
      extended by kz.gamma.asn1.cmp.OOBCertHash
All Implemented Interfaces:
kz.gamma.asn1.DEREncodable

public class OOBCertHash
extends kz.gamma.asn1.ASN1Encodable


Field Summary
private  CertId certId
           
private  kz.gamma.asn1.x509.AlgorithmIdentifier hashAlg
           
private  kz.gamma.asn1.DERBitString hashVal
           
 
Fields inherited from class kz.gamma.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
private OOBCertHash(kz.gamma.asn1.ASN1Sequence seq)
           
 
Method Summary
private  void addOptional(kz.gamma.asn1.ASN1EncodableVector v, int tagNo, kz.gamma.asn1.ASN1Encodable obj)
           
 CertId getCertId()
           
 kz.gamma.asn1.x509.AlgorithmIdentifier getHashAlg()
           
static OOBCertHash getInstance(java.lang.Object o)
           
 kz.gamma.asn1.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. }
 
Methods inherited from class kz.gamma.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashAlg

private kz.gamma.asn1.x509.AlgorithmIdentifier hashAlg

certId

private CertId certId

hashVal

private kz.gamma.asn1.DERBitString hashVal
Constructor Detail

OOBCertHash

private OOBCertHash(kz.gamma.asn1.ASN1Sequence seq)
Method Detail

getInstance

public static OOBCertHash getInstance(java.lang.Object o)

getHashAlg

public kz.gamma.asn1.x509.AlgorithmIdentifier getHashAlg()

getCertId

public CertId getCertId()

toASN1Object

public kz.gamma.asn1.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.
       }
 

Specified by:
toASN1Object in class kz.gamma.asn1.ASN1Encodable
Returns:
a basic ASN.1 object representation.

addOptional

private void addOptional(kz.gamma.asn1.ASN1EncodableVector v,
                         int tagNo,
                         kz.gamma.asn1.ASN1Encodable obj)


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.