Constructor and Description |
---|
CertResponse(INTEGER certReqId,
PKIStatusInfo status) |
CertResponse(INTEGER certReqId,
PKIStatusInfo status,
CertifiedKeyPair certifiedKeyPair) |
Modifier and Type | Method and 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()
Returns
true if the certifiedKeyPair field is present. |
public static final Tag TAG
public CertResponse(INTEGER certReqId, PKIStatusInfo status)
public CertResponse(INTEGER certReqId, PKIStatusInfo status, CertifiedKeyPair certifiedKeyPair)
public INTEGER getCertReqId()
public PKIStatusInfo getPKIStatusInfo()
public boolean hasCertifiedKeyPair()
true
if the certifiedKeyPair field is present.public CertifiedKeyPair getCertifiedKeyPair()
public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value