Class CertificateStatus


  • public class CertificateStatus
    extends java.lang.Object
    • Field Detail

      • statusType

        protected short statusType
      • response

        protected java.lang.Object response
    • Constructor Detail

      • CertificateStatus

        public CertificateStatus​(short statusType,
                                 java.lang.Object response)
    • Method Detail

      • getStatusType

        public short getStatusType()
      • getResponse

        public java.lang.Object getResponse()
      • getOCSPResponse

        public org.bouncycastle.asn1.ocsp.OCSPResponse getOCSPResponse()
      • getOCSPResponseList

        public java.util.Vector getOCSPResponseList()
        Returns:
        a Vector of (possibly null) OCSPResponse.
      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Encode this CertificateStatus to an OutputStream.
        Parameters:
        output - the OutputStream to encode to.
        Throws:
        java.io.IOException
      • isCorrectType

        protected static boolean isCorrectType​(short statusType,
                                               java.lang.Object response)
      • isOCSPResponseList

        protected static boolean isOCSPResponseList​(java.lang.Object response)
      • parseOCSPResponse

        protected static org.bouncycastle.asn1.ocsp.OCSPResponse parseOCSPResponse​(byte[] derEncoding)
                                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • requireStatusRequestVersion

        protected static void requireStatusRequestVersion​(int minVersion,
                                                          int statusRequestVersion)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException