Package com.thalesgroup.gemalto.d1
Class D1Task.Builder
- java.lang.Object
-
- com.thalesgroup.gemalto.d1.D1Task.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description D1Task
build()
AD1Task
derived from the configuration.D1Task.Builder
enableSecureLog(boolean isEnabled)
Enable or disable Secure Logs, enabled by default.D1Task.Builder
setAttestationKey(String attestationKey)
Set attestationKey for D1 SDKD1Task.Builder
setContext(Context context)
Sets the application context for D1 SDK.D1Task.Builder
setD1ServiceRSAExponent(byte[] rsaExponent)
Sets the D1 Service RSA Exponent value.D1Task.Builder
setD1ServiceRSAModulus(byte[] rsaModulus)
Sets the D1 Service RSA Modulus value.D1Task.Builder
setD1ServiceURL(String urlString)
Sets the D1 Service Server URL.D1Task.Builder
setDigitalCardURL(String urlString)
Set Server URL for Digital Card management.D1Task.Builder
setIssuerID(String issuerID)
Sets the Issuer identifier.
-
-
-
Method Detail
-
setContext
@NonNull public D1Task.Builder setContext(@NonNull Context context)
Sets the application context for D1 SDK.- Parameters:
context
- The application context.
-
setD1ServiceURL
@NonNull public D1Task.Builder setD1ServiceURL(@NonNull String urlString)
Sets the D1 Service Server URL.- Parameters:
urlString
- The URL String for D1 Service.- Returns:
- The builder object.
-
setIssuerID
@NonNull public D1Task.Builder setIssuerID(@NonNull String issuerID)
Sets the Issuer identifier.- Parameters:
issuerID
- Issuer Identifier provided by On-boarding Team.- Returns:
- The builder object
-
setD1ServiceRSAExponent
@NonNull public D1Task.Builder setD1ServiceRSAExponent(@NonNull byte[] rsaExponent)
Sets the D1 Service RSA Exponent value.It is used to secure communication between the server and client.
- Parameters:
rsaExponent
- RSA Exponent value.- Returns:
- The builder object
-
setD1ServiceRSAModulus
@NonNull public D1Task.Builder setD1ServiceRSAModulus(@NonNull byte[] rsaModulus)
Sets the D1 Service RSA Modulus value.It is used to secure communication between the server and client.
- Parameters:
rsaModulus
- RSA Modulus value.- Returns:
- The builder object
-
enableSecureLog
@NonNull public D1Task.Builder enableSecureLog(@NonNull boolean isEnabled)
Enable or disable Secure Logs, enabled by default.It is used to enable or disable generation of secure logs for D1 SDK.
- Parameters:
isEnabled
- True to enable Secure Logs or false to disable Secure Logs.- Returns:
- The builder object
-
setDigitalCardURL
@NonNull public D1Task.Builder setDigitalCardURL(@NonNull String urlString)
Set Server URL for Digital Card management.- Parameters:
urlString
- URL for Digital Card Server.- Returns:
- The builder object
-
setAttestationKey
@NonNull public D1Task.Builder setAttestationKey(String attestationKey)
Set attestationKey for D1 SDK- Parameters:
attestationKey
- Attestation Key
-
-