Class PKCS7SignatureHandler.OCSPResponse

    • Field Detail

      • STATUS_SUCCESSFUL

        public static final int STATUS_SUCCESSFUL
        A return value from getStatus() indicating that the OCSP check was successful.
      • STATUS_MALFORMED_REQUEST

        public static final int STATUS_MALFORMED_REQUEST
        A return value from getStatus() indicating that the OCSP check failed due to client error.
      • STATUS_INTERNAL_ERROR

        public static final int STATUS_INTERNAL_ERROR
        A return value from getStatus() indicating that the OCSP check failed due to server error.
      • STATUS_TRY_LATER

        public static final int STATUS_TRY_LATER
        A return value from getStatus() indicating that the OCSP check could not be performed at the specified time.
      • STATUS_SIG_REQUIRED

        public static final int STATUS_SIG_REQUIRED
        A return value from getStatus() indicating that the OCSP check required missing signature information.
      • STATUS_UNAUTHORIZED

        public static final int STATUS_UNAUTHORIZED
        A return value from getStatus() indicates that the client was not authorized to perform this check.
    • Method Detail

      • getEncoded

        public byte[] getEncoded()
        Return the DER encoded version of this object
      • getStatus

        public int getStatus()
        Returns the response status.
      • getSignature

        public byte[] getSignature()
        Returns the raw bytes of the digital signature.
      • getProducedAt

        public Calendar getProducedAt()
        Returns the time at which this OCSP response was emitted.