public class HTTPSSLProvider
extends java.lang.Object
implements org.apache.http.client.CredentialsProvider, org.apache.http.auth.Credentials, java.io.Serializable
| Constructor and Description |
|---|
HTTPSSLProvider() |
HTTPSSLProvider(java.lang.String keystore,
java.lang.String keypass) |
HTTPSSLProvider(java.lang.String keystore,
java.lang.String keypass,
java.lang.String truststore,
java.lang.String trustpass) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope scope) |
java.lang.String |
getKeypassword() |
java.lang.String |
getKeystore() |
java.lang.String |
getPassword() |
java.lang.String |
getTrustpassword() |
java.lang.String |
getTruststore() |
java.security.Principal |
getUserPrincipal() |
void |
setCredentials(org.apache.http.auth.AuthScope scope,
org.apache.http.auth.Credentials creds) |
public HTTPSSLProvider()
public HTTPSSLProvider(java.lang.String keystore,
java.lang.String keypass,
java.lang.String truststore,
java.lang.String trustpass)
public HTTPSSLProvider(java.lang.String keystore,
java.lang.String keypass)
public java.lang.String getKeystore()
public java.lang.String getKeypassword()
public java.lang.String getTruststore()
public java.lang.String getTrustpassword()
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope scope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void setCredentials(org.apache.http.auth.AuthScope scope,
org.apache.http.auth.Credentials creds)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProviderpublic java.security.Principal getUserPrincipal()
getUserPrincipal in interface org.apache.http.auth.Credentialspublic java.lang.String getPassword()
getPassword in interface org.apache.http.auth.Credentials