public class X509CombinedCredentials extends X509TLSCredentials
Credentials combining TLS and another string based credential model (extraCredentials)| Constructor and Description |
|---|
X509CombinedCredentials(Credentials extraCredentials) |
X509CombinedCredentials(Credentials extraCredentials,
String certFile,
String keyFile,
char[] keyPassword,
String trustDir,
String trustExt) |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeCredentials()
Disposes the credentials making them unusable
|
String |
getAuthenticationString()
Gets the raw credentialS String if exists, a String representiation of the credentials used otherwise
|
String |
getAuthenticationType()
Returns "X509TLS"
|
String |
getHeaderString()
Gets the credential string to be set in the header of the message
|
void |
prepareCredentials()
Prepares the credentials to be sent with the message: if the credentials are
string based and should be set in an header, they are returned as a String object
|
isPrepared, mainpublic X509CombinedCredentials(Credentials extraCredentials)
public X509CombinedCredentials(Credentials extraCredentials, String certFile, String keyFile, char[] keyPassword, String trustDir, String trustExt)
public String getAuthenticationType()
getAuthenticationType in interface CredentialsgetAuthenticationType in class X509TLSCredentialspublic void prepareCredentials()
prepareCredentials in interface CredentialsprepareCredentials in class X509TLSCredentialspublic String getAuthenticationString()
getAuthenticationString in interface CredentialsgetAuthenticationString in class X509TLSCredentialspublic String getHeaderString()
getHeaderString in interface CredentialsgetHeaderString in class X509TLSCredentialspublic void disposeCredentials()
CredentialsdisposeCredentials in interface CredentialsdisposeCredentials in class X509TLSCredentialsCopyright © 2017. All Rights Reserved.