Class PKCS7SignatureHandler.OCSPResponse.SingleResponse

  • Enclosing class:
    PKCS7SignatureHandler.OCSPResponse

    public static class PKCS7SignatureHandler.OCSPResponse.SingleResponse
    extends java.lang.Object
    Represents a SingleResponse item from the OCSP response
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCertHashAlgorithm()
      Return the OID of the CertID hash algorithm
      byte[] getCertIssuerKeyHash()
      Return the hash of the Certificate Issuer public key
      byte[] getCertIssuerNameHash()
      Return the hash of the Certificate Issuer DN
      java.math.BigInteger getCertSerialNumber()
      Return the certificate SerialNumber this response refers to
      byte[] getEncoded()
      Return the DER encoded version of this object
      java.util.Calendar getNextUpdate()
      Return the next update if specified, or null otherwise
      java.util.Calendar getRevocationTime()
      If the certificate was revoked, return the revocation time, otherwise return null
      int getStatus()
      Return the response status - one of STATUS_GOOD, STATUS_REVOKED or STATUS_UNKNOWN
      java.util.Calendar getThisUpdate()
      Return the "this update" field
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • STATUS_GOOD

        public static final int STATUS_GOOD
      • STATUS_REVOKED

        public static final int STATUS_REVOKED
      • STATUS_UNKNOWN

        public static final int STATUS_UNKNOWN
    • Method Detail

      • getEncoded

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

        public java.lang.String getCertHashAlgorithm()
        Return the OID of the CertID hash algorithm
      • getCertIssuerNameHash

        public byte[] getCertIssuerNameHash()
        Return the hash of the Certificate Issuer DN
      • getCertIssuerKeyHash

        public byte[] getCertIssuerKeyHash()
        Return the hash of the Certificate Issuer public key
      • getCertSerialNumber

        public java.math.BigInteger getCertSerialNumber()
        Return the certificate SerialNumber this response refers to
      • getStatus

        public int getStatus()
        Return the response status - one of STATUS_GOOD, STATUS_REVOKED or STATUS_UNKNOWN
      • getRevocationTime

        public java.util.Calendar getRevocationTime()
        If the certificate was revoked, return the revocation time, otherwise return null
      • getThisUpdate

        public java.util.Calendar getThisUpdate()
        Return the "this update" field
      • getNextUpdate

        public java.util.Calendar getNextUpdate()
        Return the next update if specified, or null otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object