Plugin, RegistryPlugin, URLConnectionHandler, aQute.service.reporter.Report, aQute.service.reporter.Reporterpublic class HttpsVerification extends DefaultURLConnectionHandler
registryMATCH| Constructor | Description |
|---|---|
HttpsVerification() |
|
HttpsVerification(java.lang.String certificates,
boolean hostnameVerify,
aQute.service.reporter.Reporter reporter) |
|
HttpsVerification(java.security.cert.X509Certificate[] certificateChain,
boolean b,
aQute.service.reporter.Reporter hc) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handle(java.net.URLConnection connection) |
Ensure Https verification is disabled or matches given certificates
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> map) |
Set the properties
|
java.lang.String |
toString() |
error, exception, getErrors, getLocation, getWarnings, isOk, isPedantic, matches, matches, progress, setRegistry, setReporter, trace, warningpublic HttpsVerification()
public HttpsVerification(java.lang.String certificates,
boolean hostnameVerify,
aQute.service.reporter.Reporter reporter)
public HttpsVerification(java.security.cert.X509Certificate[] certificateChain,
boolean b,
aQute.service.reporter.Reporter hc)
public void handle(java.net.URLConnection connection)
throws java.lang.Exception
handle in interface URLConnectionHandlerhandle in class DefaultURLConnectionHandlerconnection - The connection to modifyjava.lang.Exceptionpublic void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
throws java.lang.Exception
setProperties in interface PluginsetProperties in class DefaultURLConnectionHandlermap - attributes and directives for this plugin's clausejava.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.Object