Class RespID

  • Direct Known Subclasses:
    JcaRespID

    public class RespID
    extends Object
    Carrier for a ResponderID.
    • Field Detail

      • HASH_SHA1

        public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier HASH_SHA1
    • Constructor Detail

      • RespID

        public RespID​(org.bouncycastle.asn1.ocsp.ResponderID id)
      • RespID

        public RespID​(org.bouncycastle.asn1.x500.X500Name name)
      • RespID

        public RespID​(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo,
                      DigestCalculator digCalc)
               throws OCSPException
        Calculate a RespID based on the public key of the responder.
        Parameters:
        subjectPublicKeyInfo - the info structure for the responder public key.
        digCalc - a SHA-1 digest calculator.
        Throws:
        OCSPException - on exception creating ID.
    • Method Detail

      • toASN1Primitive

        public org.bouncycastle.asn1.ocsp.ResponderID toASN1Primitive()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object