| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | StatusResponseManager.
Inner Callable class that does the actual work of looking up OCSP responses, first looking at the cache and doing OCSP requests if a cache miss occurs. |
| pack-priv static class | StatusResponseManager.
Static nested class used as the data kept in the response cache. |
| pack-priv static class | StatusResponseManager.
Inner class used to hold stapling parameters needed by the handshaker when stapling is active. |
| pack-priv class | StatusResponseManager.
Inner class used to group request and response data. |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final URI | |
| private final boolean | |
| private final Cache | |
| private final boolean | |
| private final ScheduledThreadPoolExecutor |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Map | Returns: an unmodifiableMap containing the certificate and
its usuallythe type of request being made of the
type,StatusResponseManagerthe request,CertStatusRequest from the
status_request or status_request_v2 ClientHello extension.
A value of null is interpreted as providing no
responder IDs or extensions.an array of 2 or more certificates. Each certificate
must be issued by the next certificate in the chain. chain, long the number of time units to delay before returning
responses. delay, TimeUnit the unit of time applied to the unit)delay parameterGet a list of responses for a chain of certificates. |
| private StatusResponseManager. | Returns: theResponseCacheEntry for a specific CertId, or
null if it is not found or a nonce extension has been
requested by the caller.the CertId of the response to look up cid, CertStatusExtension.the OCSP request structure sent by the client
in the TLS status_request[_v2] hello extension. ocspRequestCheck the cache for a given |
| pack-priv URI | Returns: aURI containing the address to the OCSP responder,
or null if no AIA extension exists in the certificate
and no default responder has been configured.the subject to get the responder URI from cert)Obtain the URI use by the |
| pack-priv static StatusResponseManager. | |
| public String |
| cacheCapacity | back to summary |
|---|---|
| private final int cacheCapacity | |
| cacheLifetime | back to summary |
|---|---|
| private final int cacheLifetime | |
| DEFAULT_CACHE_LIFETIME | back to summary |
|---|---|
| private static final int DEFAULT_CACHE_LIFETIME | |
| DEFAULT_CACHE_SIZE | back to summary |
|---|---|
| private static final int DEFAULT_CACHE_SIZE | |
| DEFAULT_CORE_THREADS | back to summary |
|---|---|
| private static final int DEFAULT_CORE_THREADS | |
| defaultResponder | back to summary |
|---|---|
| private final URI defaultResponder | |
| ignoreExtensions | back to summary |
|---|---|
| private final boolean ignoreExtensions | |
| responseCache | back to summary |
|---|---|
| private final Cache<CertId, StatusResponseManager. | |
| respOverride | back to summary |
|---|---|
| private final boolean respOverride | |
| threadMgr | back to summary |
|---|---|
| private final ScheduledThreadPoolExecutor threadMgr | |
| StatusResponseManager | back to summary |
|---|---|
| pack-priv StatusResponseManager() Create a StatusResponseManager with default parameters. | |
| get | back to summary |
|---|---|
| pack-priv Map Get a list of responses for a chain of certificates. This will find OCSP responses from the cache, or failing that, directly contact the OCSP responder. It is assumed that the certificates in the provided chain are in their proper order (from end-entity to trust anchor).
| |
| getFromCache | back to summary |
|---|---|
| private StatusResponseManager. Check the cache for a given
| |
| getURI | back to summary |
|---|---|
| pack-priv URI getURI(X509Certificate cert) Obtain the URI use by the
| |
| processStapling | back to summary |
|---|---|
| pack-priv static StatusResponseManager. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv List | |
| pack-priv CertStatusExtension. | |
| pack-priv List | |
| pack-priv StatusResponseManager. |
| Access | Constructor and Description |
|---|---|
| public | OCSPFetchCall(StatusResponseManager.
the info,StatusInfo containing the subject
certificate, CertId, and other supplemental info.the requestOCSPStatusRequest containing any
responder IDs and extensions.A constructor that builds the OCSPFetchCall from the provided StatusInfo and information from the status_request[_v2] extension. |
| Modifier and Type | Method and Description |
|---|---|
| private void | addToCache(CertId
The certId, StatusResponseManager.CertId for the OCSP responseA cache entry containing the response bytes and
the entryOCSPResponse built from those bytes.Add a response to the cache. |
| public StatusResponseManager. | Returns: The StatusInfo object passed into theOCSPFetchCall constructor, with the
responseData field filled in with the response
or null if no response can be obtained.Implements java. Get an OCSP response, either from the cache or from a responder. |
| extensions | back to summary |
|---|---|
| pack-priv List<Extension> extensions | |
| ocspRequest | back to summary |
|---|---|
| pack-priv CertStatusExtension. | |
| responderIds | back to summary |
|---|---|
| pack-priv List<ResponderId> responderIds | |
| statInfo | back to summary |
|---|---|
| pack-priv StatusResponseManager. | |
| OCSPFetchCall | back to summary |
|---|---|
| public OCSPFetchCall(StatusResponseManager. A constructor that builds the OCSPFetchCall from the provided StatusInfo and information from the status_request[_v2] extension.
| |
| addToCache | back to summary |
|---|---|
| private void addToCache(CertId certId, StatusResponseManager. Add a response to the cache.
| |
| call | back to summary |
|---|---|
| public StatusResponseManager. Implements java. Get an OCSP response, either from the cache or from a responder.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Date | |
| pack-priv final byte[] | |
| pack-priv final ResponderId | |
| pack-priv final OCSPResponse. | |
| pack-priv final OCSPResponse. |
| Access | Constructor and Description |
|---|---|
| pack-priv | ResponseCacheEntry(byte[]
the DER encoding for the OCSP response responseBytes, CertId cid)Create a new cache entry from the raw bytes of the response |
| nextUpdate | back to summary |
|---|---|
| pack-priv final Date nextUpdate | |
| ocspBytes | back to summary |
|---|---|
| pack-priv final byte[] ocspBytes | |
| respId | back to summary |
|---|---|
| pack-priv final ResponderId respId | |
| singleResp | back to summary |
|---|---|
| pack-priv final OCSPResponse. | |
| status | back to summary |
|---|---|
| pack-priv final OCSPResponse. | |
| ResponseCacheEntry | back to summary |
|---|---|
| pack-priv ResponseCacheEntry(byte[] responseBytes, CertId cid) throws IOException Create a new cache entry from the raw bytes of the response
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Map | |
| pack-priv final CertStatusExtension. | |
| pack-priv final CertStatusExtension. | |
| pack-priv final SSLExtension |
| Access | Constructor and Description |
|---|---|
| pack-priv | StaplingParameters(SSLExtension ext, CertStatusExtension.
|
| responseMap | back to summary |
|---|---|
| pack-priv final Map<X509Certificate, byte[]> responseMap | |
| statReqData | back to summary |
|---|---|
| pack-priv final CertStatusExtension. | |
| statReqType | back to summary |
|---|---|
| pack-priv final CertStatusExtension. | |
| statusRespExt | back to summary |
|---|---|
| pack-priv final SSLExtension statusRespExt | |
| StaplingParameters | back to summary |
|---|---|
| pack-priv StaplingParameters(SSLExtension ext, CertStatusExtension. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final X509Certificate | |
| pack-priv final CertId | |
| pack-priv final URI | |
| pack-priv StatusResponseManager. |
| Access | Constructor and Description |
|---|---|
| pack-priv | StatusInfo(X509Certificate
the certificate to be checked for revocation subjectCert, CertId the CertId for certId)subjectCertCreate a StatusInfo object from an existing subject certificate and its corresponding CertId. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: aString representation of this objectOverrides java. Return a String representation of the |
| cert | back to summary |
|---|---|
| pack-priv final X509Certificate cert | |
| cid | back to summary |
|---|---|
| pack-priv final CertId cid | |
| responder | back to summary |
|---|---|
| pack-priv final URI responder | |
| responseData | back to summary |
|---|---|
| pack-priv StatusResponseManager. | |
| StatusInfo | back to summary |
|---|---|
| pack-priv StatusInfo(X509Certificate subjectCert, CertId certId) Create a StatusInfo object from an existing subject certificate and its corresponding CertId.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a String representation of the | |