Class SchemeConfiguration.Builder
java.lang.Object
com.netcetera.threeds.sdk.api.configparameters.builder.SchemeConfiguration.Builder
- Enclosing class:
- SchemeConfiguration
Builder for
SchemeConfiguration.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theSchemeConfiguration.encryptionPublicKey(String encryptionPublicKey) Sets the scheme encryption public key.encryptionPublicKey(String encryptionPublicKey, String encryptionPublicKeyId) Sets the scheme encryption Public Key and Public Key ID.encryptionPublicKeyFromAssetCertificate(android.content.res.AssetManager assetManager, String certificatePath) Sets the scheme encryption public key.encryptionPublicKeyFromAssetCertificate(android.content.res.AssetManager assetManager, String certificatePath, String encryptionPublicKeyId) Sets the scheme encryption public key.Sets the the DS id of the scheme.Sets the value of Drawable Resource ID.Sets the value of Drawable Resource ID.rootPublicKey(String... rootPublicKeys) Sets the scheme public root keys.rootPublicKeyFromAssetCertificate(android.content.res.AssetManager assetManager, String... certificatePaths) Sets the scheme public root keys.
-
Method Details
-
ids
Sets the the DS id of the scheme.- Parameters:
schemeIds-StringDS id of the scheme.- Returns:
SchemeConfiguration.Builder
-
logo
Sets the value of Drawable Resource ID.- Parameters:
schemeLogo-Stringvalue of Drawable Resource ID.- Returns:
SchemeConfiguration.Builder
-
logoDark
Sets the value of Drawable Resource ID.- Parameters:
schemeLogoDark-Stringvalue of the Dark Drawable Resource ID.- Returns:
SchemeConfiguration.Builder
-
encryptionPublicKey
Sets the scheme encryption public key.- Parameters:
encryptionPublicKey-Stringrepresenting the ASN.1 encoding of the encryption public key.- Returns:
SchemeConfiguration.Builder
-
encryptionPublicKey
public SchemeConfiguration.Builder encryptionPublicKey(String encryptionPublicKey, String encryptionPublicKeyId) Sets the scheme encryption Public Key and Public Key ID.- Parameters:
encryptionPublicKey-Stringrepresenting the ASN.1 encoding of the encryption public key.encryptionPublicKeyId-Stringthe ID representing theencryptionPublicKey- Returns:
SchemeConfiguration.Builder
-
encryptionPublicKeyFromAssetCertificate
public SchemeConfiguration.Builder encryptionPublicKeyFromAssetCertificate(android.content.res.AssetManager assetManager, String certificatePath) Sets the scheme encryption public key.- Parameters:
assetManager-AssetManagercertificatePath-Stringpath of the certificate (DER/PEM) in Base64 encoded format placed in the "assets" directory.- Returns:
SchemeConfiguration.Builder
-
encryptionPublicKeyFromAssetCertificate
public SchemeConfiguration.Builder encryptionPublicKeyFromAssetCertificate(android.content.res.AssetManager assetManager, String certificatePath, String encryptionPublicKeyId) Sets the scheme encryption public key.- Parameters:
assetManager-AssetManagercertificatePath-Stringpath of the certificate (DER/PEM) in Base64 encoded format placed in the "assets" directory.encryptionPublicKeyId-Stringthe ID representing theencryptionPublicKey- Returns:
SchemeConfiguration.Builder
-
rootPublicKey
Sets the scheme public root keys.- Parameters:
rootPublicKeys-Stringrepresenting the ASN.1 encoding of the public root key.- Returns:
SchemeConfiguration.Builder
-
rootPublicKeyFromAssetCertificate
public SchemeConfiguration.Builder rootPublicKeyFromAssetCertificate(android.content.res.AssetManager assetManager, String... certificatePaths) Sets the scheme public root keys.- Parameters:
assetManager- theAssetManager.certificatePaths-Stringpaths of the certificates (DER/PEM) in Base64 encoded format placed in the "assets" directory.- Returns:
SchemeConfiguration.Builder
-
build
Builds theSchemeConfiguration.- Returns:
SchemeConfiguration- Throws:
InvalidInputException- if a parameter isnull.
-