public static final class SchemeConfiguration.Builder
extends java.lang.Object
SchemeConfiguration.| Modifier and Type | Method and Description |
|---|---|
SchemeConfiguration |
build()
Builds the
SchemeConfiguration. |
SchemeConfiguration.Builder |
encryptionPublicKey(java.lang.String encryptionPublicKey)
Sets the scheme encryption public key.
|
SchemeConfiguration.Builder |
encryptionPublicKeyFromAssetCertificate(AssetManager assetManager,
java.lang.String certificatePath)
Sets the scheme encryption public key.
|
SchemeConfiguration.Builder |
ids(java.util.List<java.lang.String> schemeIds)
Sets the the DS id of the scheme.
|
SchemeConfiguration.Builder |
logo(java.lang.String schemeLogo)
Sets the value of Drawable Resource ID.
|
SchemeConfiguration.Builder |
logoDark(java.lang.String schemeLogoDark)
Sets the value of Drawable Resource ID.
|
SchemeConfiguration.Builder |
rootPublicKey(java.lang.String rootPublicKey)
Sets the scheme public root key.
|
SchemeConfiguration.Builder |
rootPublicKeyFromAssetCertificate(AssetManager assetManager,
java.lang.String certificatePath)
Sets the scheme public root key.
|
public SchemeConfiguration.Builder ids(java.util.List<java.lang.String> schemeIds)
schemeIds - String DS id of the scheme.SchemeConfiguration.Builderpublic SchemeConfiguration.Builder logo(java.lang.String schemeLogo)
schemeLogo - String value of Drawable Resource ID.SchemeConfiguration.Builderpublic SchemeConfiguration.Builder logoDark(java.lang.String schemeLogoDark)
schemeLogoDark - String value of the Dark Drawable Resource ID.SchemeConfiguration.Builderpublic SchemeConfiguration.Builder encryptionPublicKey(java.lang.String encryptionPublicKey)
encryptionPublicKey - String representing the ASN.1 encoding of the encryption public key.SchemeConfiguration.Builderpublic SchemeConfiguration.Builder encryptionPublicKeyFromAssetCertificate(AssetManager assetManager, java.lang.String certificatePath)
assetManager - AssetManagercertificatePath - String path of the certificate (DER/PEM) in Base64 encoded format placed in the
"assets" directory.SchemeConfiguration.Builderpublic SchemeConfiguration.Builder rootPublicKey(java.lang.String rootPublicKey)
rootPublicKey - String representing the ASN.1 encoding of the public root key.SchemeConfiguration.Builderpublic SchemeConfiguration.Builder rootPublicKeyFromAssetCertificate(AssetManager assetManager, java.lang.String certificatePath)
certificatePath - String path of the certificate (DER/PEM) in Base64 encoded format placed in the
"assets" directory.SchemeConfiguration.Builderpublic SchemeConfiguration build() throws InvalidInputException
SchemeConfiguration.SchemeConfigurationInvalidInputException - if a parameter is null.