Package org.mozilla.jss.pkix.cmmf
Class CertResponse
- java.lang.Object
-
- org.mozilla.jss.pkix.cmmf.CertResponse
-
-
Constructor Summary
Constructors Constructor Description CertResponse(INTEGER certReqId, PKIStatusInfo status)
CertResponse(INTEGER certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using its own base tag.void
encode(Tag implicitTag, java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using an implicit tag.CertifiedKeyPair
getCertifiedKeyPair()
Returns the optional certified key pair.INTEGER
getCertReqId()
PKIStatusInfo
getPKIStatusInfo()
Tag
getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.boolean
hasCertifiedKeyPair()
Returnstrue
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
-
getCertReqId
public INTEGER getCertReqId()
-
getPKIStatusInfo
public PKIStatusInfo getPKIStatusInfo()
-
hasCertifiedKeyPair
public boolean hasCertifiedKeyPair()
Returnstrue
if the certifiedKeyPair field is present.
-
getCertifiedKeyPair
public CertifiedKeyPair getCertifiedKeyPair()
Returns the optional certified key pair. Should only be called if the certifiedKeyPair field is present.
-
getTag
public Tag getTag()
Description copied from interface:ASN1Value
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
-
encode
public void encode(java.io.OutputStream ostream) throws java.io.IOException
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.
-
-