Class SchemeConfiguration.Builder

    • Method Detail

      • encryptionPublicKey

        public SchemeConfiguration.Builder encryptionPublicKey​(java.lang.String encryptionPublicKey)
        Sets the scheme encryption public key.
        Parameters:
        encryptionPublicKey - String representing the ASN.1 encoding of the encryption public key.
        Returns:
        SchemeConfiguration.Builder
      • encryptionPublicKey

        public SchemeConfiguration.Builder encryptionPublicKey​(java.lang.String encryptionPublicKey,
                                                               java.lang.String encryptionPublicKeyId)
        Sets the scheme encryption Public Key and Public Key ID.
        Parameters:
        encryptionPublicKey - String representing the ASN.1 encoding of the encryption public key.
        encryptionPublicKeyId - String the ID representing the encryptionPublicKey
        Returns:
        SchemeConfiguration.Builder
      • encryptionPublicKeyFromAssetCertificate

        public SchemeConfiguration.Builder encryptionPublicKeyFromAssetCertificate​(android.content.res.AssetManager assetManager,
                                                                                   java.lang.String certificatePath)
        Sets the scheme encryption public key.
        Parameters:
        assetManager - AssetManager
        certificatePath - String path 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,
                                                                                   java.lang.String certificatePath,
                                                                                   java.lang.String encryptionPublicKeyId)
        Sets the scheme encryption public key.
        Parameters:
        assetManager - AssetManager
        certificatePath - String path of the certificate (DER/PEM) in Base64 encoded format placed in the "assets" directory.
        encryptionPublicKeyId - String the ID representing the encryptionPublicKey
        Returns:
        SchemeConfiguration.Builder
      • rootPublicKeyFromAssetCertificate

        public SchemeConfiguration.Builder rootPublicKeyFromAssetCertificate​(android.content.res.AssetManager assetManager,
                                                                             java.lang.String... certificatePaths)
        Sets the scheme public root keys.
        Parameters:
        assetManager - the AssetManager.
        certificatePaths - String paths of the certificates (DER/PEM) in Base64 encoded format placed in the "assets" directory.
        Returns:
        SchemeConfiguration.Builder