kz.gamma.asn1.cmp
Class CertResponse

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

public class CertResponse
extends kz.gamma.asn1.ASN1Encodable


Field Summary
private  CertifiedKeyPair certifiedKeyPair
           
private  kz.gamma.asn1.DERInteger certReqId
           
private  kz.gamma.asn1.ASN1OctetString rspInfo
           
private  PKIStatusInfo status
           
 
Fields inherited from class kz.gamma.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
private CertResponse(kz.gamma.asn1.ASN1Sequence seq)
           
 
Method Summary
 CertifiedKeyPair getCertifiedKeyPair()
           
 kz.gamma.asn1.DERInteger getCertReqId()
           
static CertResponse getInstance(java.lang.Object o)
           
 PKIStatusInfo getStatus()
           
 kz.gamma.asn1.DERObject toASN1Object()
           CertResponse ::= SEQUENCE { certReqId INTEGER, -- to match this response with corresponding request (a value -- of -1 is to be used if certReqId is not specified in the -- corresponding request) status PKIStatusInfo, certifiedKeyPair CertifiedKeyPair OPTIONAL, rspInfo OCTET STRING OPTIONAL -- analogous to the id-regInfo-utf8Pairs string defined -- for regInfo in CertReqMsg [CRMF] }
 
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

certReqId

private kz.gamma.asn1.DERInteger certReqId

status

private PKIStatusInfo status

certifiedKeyPair

private CertifiedKeyPair certifiedKeyPair

rspInfo

private kz.gamma.asn1.ASN1OctetString rspInfo
Constructor Detail

CertResponse

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

getInstance

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

getCertReqId

public kz.gamma.asn1.DERInteger getCertReqId()

getStatus

public PKIStatusInfo getStatus()

getCertifiedKeyPair

public CertifiedKeyPair getCertifiedKeyPair()

toASN1Object

public kz.gamma.asn1.DERObject toASN1Object()
 CertResponse ::= SEQUENCE {
                            certReqId           INTEGER,
                            -- to match this response with corresponding request (a value
                            -- of -1 is to be used if certReqId is not specified in the
                            -- corresponding request)
                            status              PKIStatusInfo,
                            certifiedKeyPair    CertifiedKeyPair    OPTIONAL,
                            rspInfo             OCTET STRING        OPTIONAL
                            -- analogous to the id-regInfo-utf8Pairs string defined
                            -- for regInfo in CertReqMsg [CRMF]
             }
 

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


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