Class OCSPResponseStatus

  • All Implemented Interfaces:
    org.mozilla.jss.asn1.ASN1Value

    public class OCSPResponseStatus
    extends java.lang.Object
    implements org.mozilla.jss.asn1.ASN1Value
    RFC 2560:
     OCSPResponseStatus ::= ENUMERATED {
         successful            (0),  --Response has valid confirmations
         malformedRequest      (1),  --Illegal confirmation request
         internalError         (2),  --Internal error in issuer
         tryLater              (3),  --Try again later
                                     --(4) is not used
         sigRequired           (5),  --Must sign the request
         unauthorized          (6)   --Request unauthorized
     }
     
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • OCSPResponseStatus

        public OCSPResponseStatus​(long val)
    • Method Detail

      • getValue

        public long getValue()
      • getTag

        public org.mozilla.jss.asn1.Tag getTag()
        Specified by:
        getTag in interface org.mozilla.jss.asn1.ASN1Value
      • encode

        public void encode​(java.io.OutputStream ostream)
                    throws java.io.IOException
        Specified by:
        encode in interface org.mozilla.jss.asn1.ASN1Value
        Throws:
        java.io.IOException
      • encode

        public void encode​(org.mozilla.jss.asn1.Tag implicitTag,
                           java.io.OutputStream ostream)
                    throws java.io.IOException
        Specified by:
        encode in interface org.mozilla.jss.asn1.ASN1Value
        Throws:
        java.io.IOException