Class SSLCertificateLoader
java.lang.Object
eu.europa.esig.dss.service.http.commons.SSLCertificateLoader
- All Implemented Interfaces:
Serializable
public class SSLCertificateLoader extends Object implements Serializable
The data loader which includes server webpage certificates to the response context
Use the method getCertificates(url) to extract the data
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SSLCertificateLoader()
-
Method Summary
Modifier and Type Method Description List<CertificateToken>
getCertificates(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()
-
-
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 - Throws:
DSSException
- in case if an exception occurs
-