public class ScepClient extends Client
caCaps, caId, DEFAULT_SIGNINGTIME_BIAS, REQ_CONTENT_TYPE| Constructor and Description |
|---|
ScepClient(CaIdentifier caId,
CaCertValidator caCertValidator) |
ScepClient(CaIdentifier caId,
CaCertValidator caCertValidator,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier) |
| Modifier and Type | Method and Description |
|---|---|
protected ScepHttpResponse |
httpGet(String url)
Send request via HTTP GET.
|
protected ScepHttpResponse |
httpPost(String url,
String requestContentType,
byte[] request)
Send request via HTTP POST.
|
destroy, getAuthorityCertStore, getCaCaps, getCaCert, getCaCertValidator, getCaId, getMaxSigningTimeBiasInMs, init, isHttpGetOnly, refresh, scepCertPoll, scepCertPoll, scepEnrol, scepGetCert, scepGetCrl, scepNextCaCert, scepPkcsReq, scepRenewalReq, setHttpGetOnly, setMaxSigningTimeBiasInMspublic ScepClient(CaIdentifier caId, CaCertValidator caCertValidator)
public ScepClient(CaIdentifier caId, CaCertValidator caCertValidator, SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier)
protected ScepHttpResponse httpGet(String url) throws ScepClientException
ClienthttpGet in class Clienturl - URL. Must not be null.ScepClientException - If error occurs.protected ScepHttpResponse httpPost(String url, String requestContentType, byte[] request) throws ScepClientException
ClienthttpPost in class Clienturl - SCEP server URL. Must not be null.requestContentType - Content type of the HTTP request. Must not be null.request - HTTP request. Must not be null.ScepClientException - If error happensCopyright © 2023. All rights reserved.