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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCertificates(String urlString) The method to extract SSL-certificates from the given web pagevoidsetCommonsDataLoader(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-CommonsDataLoaderto use
-
getCertificates
The method to extract SSL-certificates from the given web page- Parameters:
urlString-Stringrepresenting a URL of a webpage with a secure connection (HTTPS)- Returns:
- a
CertificateTokenchain of the secure webpage
-