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 D1Taskbuild()AD1Taskderived from the configuration.D1Task.BuilderenableSecureLog(boolean isEnabled)Enable or disable Secure Logs, enabled by default.D1Task.BuildersetAttestationKey(String attestationKey)Set attestationKey for D1 SDKD1Task.BuildersetContext(Context context)Sets the application context for D1 SDK.D1Task.BuildersetD1ServiceRSAExponent(byte[] rsaExponent)Set D1 Service RSA Exponent value.D1Task.BuildersetD1ServiceRSAModulus(byte[] rsaModulus)Set D1 Service RSA Modulus value.D1Task.BuildersetD1ServiceURL(String urlString)Set D1 Service Server URLD1Task.BuildersetDigitalCardURL(String urlString)Set Server URL for Digital Card management.D1Task.BuildersetIssuerID(String issuerID)Set 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)
Set D1 Service Server URL- Parameters:
urlString- URL String for D1 Service- Returns:
- The builder object
-
setIssuerID
@NonNull public D1Task.Builder setIssuerID(@NonNull String issuerID)
Set Issuer Identifier- Parameters:
issuerID- Issuer Identifier provided by On-boarding Team- Returns:
- The builder object
-
setD1ServiceRSAExponent
@NonNull public D1Task.Builder setD1ServiceRSAExponent(@NonNull byte[] rsaExponent)
Set D1 Service RSA Exponent value.It is used to secure communication between Server and Client
- Parameters:
rsaExponent- RSA Exponent value.- Returns:
- The builder object
-
setD1ServiceRSAModulus
@NonNull public D1Task.Builder setD1ServiceRSAModulus(@NonNull byte[] rsaModulus)
Set D1 Service RSA Modulus value.It is used to secure communication between 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
-
-