@API(status=STABLE)
public class BdkAuthenticationConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BdkCertificateConfig |
certificate |
protected byte[] |
certificateContent
Deprecated.
|
protected java.lang.String |
certificatePassword
Deprecated.
|
protected java.lang.String |
certificatePath
Deprecated.
|
protected BdkRsaKeyConfig |
privateKey |
protected byte[] |
privateKeyContent
Deprecated.
|
protected java.lang.String |
privateKeyPath
Deprecated.
|
Constructor and Description |
---|
BdkAuthenticationConfig() |
Modifier and Type | Method and Description |
---|---|
BdkCertificateConfig |
getCertificateConfig()
Returns a
BdkCertificateConfig instance equals to certificate if specified
or a new instance containing deprecated fields certificatePath , certificateContent
and certificatePassword |
boolean |
isBothCertificateAndRsaConfigured()
Check if both of certificate and RSA authentication is configured.
|
boolean |
isCertificateAuthenticationConfigured()
Check if the certificate authentication is configured or not
|
boolean |
isCertificateConfigurationValid()
Check if the certificate configuration is valid.
|
boolean |
isRsaAuthenticationConfigured()
Check if the RSA authentication is configured or not
|
boolean |
isRsaConfigurationValid()
Check if the RSA configuration is valid.
|
@Deprecated protected java.lang.String privateKeyPath
@Deprecated protected byte[] privateKeyContent
@Deprecated protected java.lang.String certificatePath
@Deprecated protected byte[] certificateContent
@Deprecated protected java.lang.String certificatePassword
protected BdkRsaKeyConfig privateKey
protected BdkCertificateConfig certificate
public boolean isRsaAuthenticationConfigured()
public boolean isRsaConfigurationValid()
public boolean isCertificateAuthenticationConfigured()
public boolean isCertificateConfigurationValid()
public boolean isBothCertificateAndRsaConfigured()
public BdkCertificateConfig getCertificateConfig()
BdkCertificateConfig
instance equals to certificate
if specified
or a new instance containing deprecated fields certificatePath
, certificateContent
and certificatePassword
BdkCertificateConfig
instance containing certificate authentication information.