org.mozilla.jss.pkix.cmmf

Class CertResponse

public class CertResponse extends Object implements ASN1Value

Field Summary
static TagTAG
Constructor Summary
CertResponse(INTEGER certReqId, PKIStatusInfo status)
CertResponse(INTEGER certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair)
Method Summary
voidencode(OutputStream ostream)
voidencode(Tag implicitTag, OutputStream ostream)
CertifiedKeyPairgetCertifiedKeyPair()
Returns the optional certified key pair.
INTEGERgetCertReqId()
PKIStatusInfogetPKIStatusInfo()
TaggetTag()
booleanhasCertifiedKeyPair()
Returns true if the certifiedKeyPair field is present.

Field Detail

TAG

public static final Tag TAG

Constructor Detail

CertResponse

public CertResponse(INTEGER certReqId, PKIStatusInfo status)

CertResponse

public CertResponse(INTEGER certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair)

Method Detail

encode

public void encode(OutputStream ostream)

encode

public void encode(Tag implicitTag, OutputStream ostream)

getCertifiedKeyPair

public CertifiedKeyPair getCertifiedKeyPair()
Returns the optional certified key pair. Should only be called if the certifiedKeyPair field is present.

getCertReqId

public INTEGER getCertReqId()

getPKIStatusInfo

public PKIStatusInfo getPKIStatusInfo()

getTag

public Tag getTag()

hasCertifiedKeyPair

public boolean hasCertifiedKeyPair()
Returns true if the certifiedKeyPair field is present.