public class ErrorMsgContent extends ASN1Object
Modifier and Type | Field and Description |
---|---|
private ASN1Integer |
errorCode |
private PKIFreeText |
errorDetails |
private PKIStatusInfo |
pkiStatusInfo |
Modifier | Constructor and Description |
---|---|
private |
ErrorMsgContent(ASN1Sequence seq) |
|
ErrorMsgContent(PKIStatusInfo pkiStatusInfo) |
|
ErrorMsgContent(PKIStatusInfo pkiStatusInfo,
ASN1Integer errorCode,
PKIFreeText errorDetails) |
Modifier and Type | Method and Description |
---|---|
private void |
addOptional(ASN1EncodableVector v,
ASN1Encodable obj) |
ASN1Integer |
getErrorCode() |
PKIFreeText |
getErrorDetails() |
static ErrorMsgContent |
getInstance(Object o) |
PKIStatusInfo |
getPKIStatusInfo() |
ASN1Primitive |
toASN1Primitive()
ErrorMsgContent ::= SEQUENCE {
pKIStatusInfo PKIStatusInfo,
errorCode INTEGER OPTIONAL,
-- implementation-specific error codes
errorDetails PKIFreeText OPTIONAL
-- implementation-specific error details
}
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
private PKIStatusInfo pkiStatusInfo
private ASN1Integer errorCode
private PKIFreeText errorDetails
private ErrorMsgContent(ASN1Sequence seq)
public ErrorMsgContent(PKIStatusInfo pkiStatusInfo)
public ErrorMsgContent(PKIStatusInfo pkiStatusInfo, ASN1Integer errorCode, PKIFreeText errorDetails)
public static ErrorMsgContent getInstance(Object o)
public PKIStatusInfo getPKIStatusInfo()
public ASN1Integer getErrorCode()
public PKIFreeText getErrorDetails()
public ASN1Primitive toASN1Primitive()
ErrorMsgContent ::= SEQUENCE { pKIStatusInfo PKIStatusInfo, errorCode INTEGER OPTIONAL, -- implementation-specific error codes errorDetails PKIFreeText OPTIONAL -- implementation-specific error details }
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
private void addOptional(ASN1EncodableVector v, ASN1Encodable obj)