Class SQLServerColumnEncryptionCertificateStoreProvider

java.lang.Object
com.microsoft.sqlserver.jdbc.SQLServerColumnEncryptionKeyStoreProvider
com.microsoft.sqlserver.jdbc.SQLServerColumnEncryptionCertificateStoreProvider

public final class SQLServerColumnEncryptionCertificateStoreProvider
extends SQLServerColumnEncryptionKeyStoreProvider
Provides the implementation of the key store provider for the Windows Certificate Store. This class enables using keys stored in the Windows Certificate Store as column master keys.
  • Constructor Summary

    Constructors 
    Constructor Description
    SQLServerColumnEncryptionCertificateStoreProvider()
    Constructs a SQLServerColumnEncryptionCertificateStoreProvider.
  • Method Summary

    Modifier and Type Method Description
    byte[] decryptColumnEncryptionKey​(java.lang.String masterKeyPath, java.lang.String encryptionAlgorithm, byte[] encryptedColumnEncryptionKey)
    Decrypts the specified encrypted value of a column encryption key.
    byte[] encryptColumnEncryptionKey​(java.lang.String masterKeyPath, java.lang.String encryptionAlgorithm, byte[] plainTextColumnEncryptionKey)
    Encrypts a column encryption key using the column master key with the specified key path and using the specified algorithm.
    java.lang.String getName()
    Returns the name of this key store provider.
    void setName​(java.lang.String name)
    Sets the name of this key store provider.
    boolean verifyColumnMasterKeyMetadata​(java.lang.String masterKeyPath, boolean allowEnclaveComputations, byte[] signature)
    Verify the signature is valid for the column master key

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait