class StatusResponseManager.OCSPFetchCall extends Object implements Callable<StatusResponseManager.StatusInfo>
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) List<Extension> |
extensions |
(专用程序包) CertStatusExtension.OCSPStatusRequest |
ocspRequest |
(专用程序包) List<sun.security.provider.certpath.ResponderId> |
responderIds |
(专用程序包) StatusResponseManager.StatusInfo |
statInfo |
| 构造器和说明 |
|---|
OCSPFetchCall(StatusResponseManager.StatusInfo info,
CertStatusExtension.OCSPStatusRequest request)
A constructor that builds the OCSPFetchCall from the provided
StatusInfo and information from the status_request[_v2]
extension.
|
| 限定符和类型 | 方法和说明 |
|---|---|
private void |
addToCache(sun.security.provider.certpath.CertId certId,
StatusResponseManager.ResponseCacheEntry entry)
Add a response to the cache.
|
StatusResponseManager.StatusInfo |
call()
Get an OCSP response, either from the cache or from a responder.
|
private long |
getNextTaskDelay(Date nextUpdate)
Determine the delay to use when scheduling the task that will
update the OCSP response.
|
StatusResponseManager.StatusInfo statInfo
CertStatusExtension.OCSPStatusRequest ocspRequest
List<sun.security.provider.certpath.ResponderId> responderIds
public OCSPFetchCall(StatusResponseManager.StatusInfo info, CertStatusExtension.OCSPStatusRequest request)
info - the StatusInfo containing the subject
certificate, CertId, and other supplemental info.request - the OCSPStatusRequest containing any
responder IDs and extensions.public StatusResponseManager.StatusInfo call()
call 在接口中 Callable<StatusResponseManager.StatusInfo>OCSPFetchCall constructor, with the
responseData field filled in with the response
or null if no response can be obtained.private void addToCache(sun.security.provider.certpath.CertId certId,
StatusResponseManager.ResponseCacheEntry entry)
certId - The CertId for the OCSP responseentry - A cache entry containing the response bytes and
the OCSPResponse built from those bytes.private long getNextTaskDelay(Date nextUpdate)
nextUpdate - a Date object corresponding to the
next update time from a SingleResponse.Copyright © 2023. All rights reserved.