public class OcspRequestBuilder
extends java.lang.Object
OCSPReqBuilder
.OCSPReqBuilder
构造器和说明 |
---|
OcspRequestBuilder() |
限定符和类型 | 方法和说明 |
---|---|
OCSPReq |
build()
ATTENTION: The returned
OCSPReq is not re-usable/cacheable! |
OcspRequestBuilder |
calculator(DigestCalculator calculator) |
OcspRequestBuilder |
certificate(java.security.cert.X509Certificate certificate) |
OcspRequestBuilder |
generator(java.security.SecureRandom generator) |
OcspRequestBuilder |
issuer(java.security.cert.X509Certificate issuer) |
public OcspRequestBuilder generator(java.security.SecureRandom generator)
public OcspRequestBuilder calculator(DigestCalculator calculator)
public OcspRequestBuilder certificate(java.security.cert.X509Certificate certificate)
public OcspRequestBuilder issuer(java.security.cert.X509Certificate issuer)
public OCSPReq build() throws OCSPException, java.io.IOException, java.security.cert.CertificateEncodingException
OCSPReq
is not re-usable/cacheable! It contains a one-time nonce
and CA's will (should) reject subsequent requests that have the same nonce value.OCSPException
java.io.IOException
java.security.cert.CertificateEncodingException