Package | Description |
---|---|
old.org.bouncycastle.ocsp |
Modifier and Type | Method and Description |
---|---|
OCSPReq |
OCSPReqGenerator.generate()
Generate an unsigned request
|
OCSPResp |
OCSPRespGenerator.generate(int status,
Object response) |
BasicOCSPResp |
BasicOCSPRespGenerator.generate(String signingAlgorithm,
PrivateKey key,
X509Certificate[] chain,
Date thisUpdate,
String provider) |
BasicOCSPResp |
BasicOCSPRespGenerator.generate(String signingAlgorithm,
PrivateKey key,
X509Certificate[] chain,
Date producedAt,
String provider,
SecureRandom random) |
OCSPReq |
OCSPReqGenerator.generate(String signingAlgorithm,
PrivateKey key,
X509Certificate[] chain,
String provider) |
OCSPReq |
OCSPReqGenerator.generate(String signingAlgorithm,
PrivateKey key,
X509Certificate[] chain,
String provider,
SecureRandom random) |
CertStore |
OCSPReq.getCertificates(String type,
String provider)
If the request is signed return a possibly empty CertStore containing the certificates in the
request.
|
CertStore |
BasicOCSPResp.getCertificates(String type,
String provider)
Return the certificates, if any associated with the response.
|
X509Certificate[] |
OCSPReq.getCerts(String provider) |
X509Certificate[] |
BasicOCSPResp.getCerts(String provider) |
Object |
OCSPResp.getResponseObject() |
byte[] |
OCSPReq.getTBSRequest()
Return the DER encoding of the tbsRequest field.
|
byte[] |
BasicOCSPResp.getTBSResponseData()
Return the DER encoding of the tbsResponseData field.
|
boolean |
CertificateID.matchesIssuer(X509Certificate issuerCert,
String provider) |
boolean |
OCSPReq.verify(PublicKey key,
String sigProvider)
verify the signature against the TBSRequest object we contain.
|
boolean |
BasicOCSPResp.verify(PublicKey key,
String sigProvider)
verify the signature against the tbsResponseData object we contain.
|
Constructor and Description |
---|
BasicOCSPRespGenerator(PublicKey key)
construct with the responderID to be the SHA-1 keyHash of the passed in public key.
|
CertificateID(String hashAlgorithm,
X509Certificate issuerCert,
BigInteger number)
create using the BC provider
|
CertificateID(String hashAlgorithm,
X509Certificate issuerCert,
BigInteger number,
String provider)
create from an issuer certificate and the serial number of the
certificate it signed.
|
RespID(PublicKey key) |
Copyright © 2015. All rights reserved.