Class OCSPResp


  • public class OCSPResp
    extends java.lang.Object
    • Constructor Detail

      • OCSPResp

        public OCSPResp​(org.bouncycastle.asn1.ocsp.OCSPResponse resp)
      • OCSPResp

        public OCSPResp​(byte[] resp)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • OCSPResp

        public OCSPResp​(java.io.InputStream resp)
                 throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getStatus

        public int getStatus()
      • getEncoded

        public byte[] getEncoded()
                          throws java.io.IOException
        return the ASN.1 encoded representation of this object.
        Throws:
        java.io.IOException
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toASN1Structure

        public org.bouncycastle.asn1.ocsp.OCSPResponse toASN1Structure()