public class SecureApiClientConfiguration extends Soap12ClientConfiguration
Constructor and Description |
---|
SecureApiClientConfiguration() |
Modifier and Type | Method and Description |
---|---|
SigningAlgorithms |
getSigningAlgorithm()
Gets the signing algorithm used for certificate-based authentication.
|
java.security.KeyPair |
getSigningKeyPair()
Gets the key pair containing the public and private keys for the certificate-based authentication.
|
java.lang.String |
getUserName()
Gets the user name set for the certificate-based authentication.
|
void |
setSigningAlgorithm(SigningAlgorithms signingAlgorithm)
Sets the signing algorithm used for certificate-based authentication.
|
void |
setSigningKeyPair(java.security.KeyPair signingKeyPair)
Sets a key pair used to digitally sign API requests.
|
void |
setUserName(java.lang.String userName)
Sets the user name for the certificate-based authentication.
|
getServiceURL, getSite, setServiceURL, setSite, setUseSSL, useSSL
public java.lang.String getUserName()
public void setUserName(java.lang.String userName)
This property is mandatory for for the certificate-based authentication.
userName
- The user account id.public java.security.KeyPair getSigningKeyPair()
public void setSigningKeyPair(java.security.KeyPair signingKeyPair)
This property is mandatory for for the certificate-based authentication.
signingKeyPair
- The KeyPair
object containing the public and private keys.public SigningAlgorithms getSigningAlgorithm()
public void setSigningAlgorithm(SigningAlgorithms signingAlgorithm)
signingAlgorithm
-