Package org.bouncycastle.cert.ocsp
Class RespID
- java.lang.Object
-
- org.bouncycastle.cert.ocsp.RespID
-
- Direct Known Subclasses:
JcaRespID
public class RespID extends java.lang.ObjectCarrier for a ResponderID.
-
-
Field Summary
Fields Modifier and Type Field Description static org.bouncycastle.asn1.x509.AlgorithmIdentifierHASH_SHA1
-
Constructor Summary
Constructors Constructor Description RespID(org.bouncycastle.asn1.ocsp.ResponderID id)RespID(org.bouncycastle.asn1.x500.X500Name name)RespID(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo, DigestCalculator digCalc)Calculate a RespID based on the public key of the responder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()org.bouncycastle.asn1.ocsp.ResponderIDtoASN1Primitive()
-
-
-
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 OCSPExceptionCalculate 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.
-
-