Package | Description |
---|---|
org.dataone.client.auth | |
org.dataone.client.rest | |
org.dataone.client.utils |
Modifier and Type | Method and Description |
---|---|
static X509Session |
X509Session.create(String certificateLabel) |
static X509Session |
X509Session.create(X509Certificate certificate,
PrivateKey key) |
static X509Session |
X509Session.create(X509Certificate certificate,
PrivateKey key,
Session session) |
X509Session |
CertificateManager.selectSession(String subjectString)
Select the X509Session using the provided subjectString to search among
the registered certificates.
|
Modifier and Type | Method and Description |
---|---|
org.apache.http.conn.ssl.SSLConnectionSocketFactory |
CertificateManager.getSSLConnectionSocketFactory(X509Session x509Session) |
org.apache.http.conn.ssl.SSLSocketFactory |
CertificateManager.getSSLSocketFactory(X509Session x509Session) |
Modifier and Type | Field and Description |
---|---|
protected X509Session |
HttpMultipartRestClient.x509Session |
Modifier and Type | Method and Description |
---|---|
X509Session |
HttpMultipartRestClient.getSession() |
X509Session |
MultipartRestClient.getSession() |
Constructor and Description |
---|
HttpMultipartRestClient(org.apache.http.impl.client.HttpClientBuilder httpClientBuilder,
X509Session x509session)
This constructor is used to give users flexibility in creating the HttpClient,
but takes care of configuring the ConnectionManager with the X509Session
parameter.
|
HttpMultipartRestClient(org.apache.http.client.HttpClient httpClient,
X509Session x509session)
The basic constructor to implement the MultipartRestClient interface
using apache HttpClient and X509Certificate.
|
HttpMultipartRestClient(X509Session x509Session)
creates an HttpMultipartRestClient configured with the certificate
contained in the X509Session.
|
Modifier and Type | Method and Description |
---|---|
static X509Session |
HttpUtils.selectSession(String subjectString) |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.config.Registry<org.apache.http.conn.socket.ConnectionSocketFactory> |
HttpUtils.buildConnectionRegistry(X509Session x509Session) |
static org.apache.http.client.HttpClient |
HttpUtils.createHttpClient(X509Session x509session)
Creates an HttpClient configured with the X509 credentials.
|
static org.apache.http.impl.client.HttpClientBuilder |
HttpUtils.getHttpClientBuilder(X509Session x509session)
Returns an HttpClientBuilder with the DataONE-standard ConnectionManager configuration
specified.
|
static org.apache.http.impl.client.HttpClientBuilder |
HttpUtils.getHttpClientBuilder(X509Session x509session,
Boolean monitorStaleConnections)
Returns an HttpClientBuilder with the DataONE-standard ConnectionManager configuration
specified.
|
static void |
HttpUtils.setupSSL_v4_1(org.apache.http.impl.client.AbstractHttpClient httpClient,
X509Session x509Session)
Provided to assist with backwards compatibility with v4.1.x era DefaultHttpClient
(now deprecated).
|
Copyright © 2020. All Rights Reserved.