Class SSLCertificateLoader
java.lang.Object
eu.europa.esig.dss.service.http.commons.SSLCertificateLoader
- All Implemented Interfaces:
Serializable
The data loader which includes server webpage certificates to the response context
Use the method getCertificates(url) to extract the data
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCertificates
(String urlString) The method to extract SSL-certificates from the given web pagevoid
setCommonsDataLoader
(CommonsDataLoader commonsDataLoader) Allows to set a pre-configured CommonsDataLoader
-
Constructor Details
-
SSLCertificateLoader
public SSLCertificateLoader()Default constructor with null CommonsDataLoader
-
-
Method Details
-
setCommonsDataLoader
Allows to set a pre-configured CommonsDataLoader- Parameters:
commonsDataLoader
-CommonsDataLoader
to use
-
getCertificates
The method to extract SSL-certificates from the given web page- Parameters:
urlString
-String
representing a URL of a webpage with a secure connection (HTTPS)- Returns:
- a
CertificateToken
chain of the secure webpage
-