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 voidencode(java.io.OutputStream ostream)Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, java.io.OutputStream ostream)Write this value's DER encoding to an output stream using an implicit tag.CertifiedKeyPairgetCertifiedKeyPair()Returns the optional certified key pair.INTEGERgetCertReqId()PKIStatusInfogetPKIStatusInfo()TaggetTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.booleanhasCertifiedKeyPair()Returnstrueif 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()
Returnstrueif 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:ASN1ValueReturns 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.IOExceptionDescription copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.
-
-