Class ErrorMsgContent

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.ErrorMsgContent
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class ErrorMsgContent extends org.bouncycastle.asn1.ASN1Object
      ErrorMsgContent ::= SEQUENCE {
          pKIStatusInfo          PKIStatusInfo,
          errorCode              INTEGER           OPTIONAL,
          -- implementation-specific error codes
          errorDetails           PKIFreeText       OPTIONAL
          -- implementation-specific error details
      }
 
  • Constructor Details Link icon

    • ErrorMsgContent Link icon

      public ErrorMsgContent(PKIStatusInfo pkiStatusInfo)
    • ErrorMsgContent Link icon

      public ErrorMsgContent(PKIStatusInfo pkiStatusInfo, org.bouncycastle.asn1.ASN1Integer errorCode, PKIFreeText errorDetails)
  • Method Details Link icon

    • getInstance Link icon

      public static ErrorMsgContent getInstance(Object o)
    • getPKIStatusInfo Link icon

      public PKIStatusInfo getPKIStatusInfo()
    • getErrorCode Link icon

      public org.bouncycastle.asn1.ASN1Integer getErrorCode()
    • getErrorDetails Link icon

      public PKIFreeText getErrorDetails()
    • toASN1Primitive Link icon

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
       ErrorMsgContent ::= SEQUENCE {
                              pKIStatusInfo          PKIStatusInfo,
                              errorCode              INTEGER           OPTIONAL,
                              -- implementation-specific error codes
                              errorDetails           PKIFreeText       OPTIONAL
                              -- implementation-specific error details
       }
       
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
      Returns:
      a basic ASN.1 object representation.