public final class SQLServerColumnEncryptionCertificateStoreProvider extends SQLServerColumnEncryptionKeyStoreProvider
| Constructor and Description |
|---|
SQLServerColumnEncryptionCertificateStoreProvider() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decryptColumnEncryptionKey(String masterKeyPath,
String encryptionAlgorithm,
byte[] encryptedColumnEncryptionKey)
Base class method for decrypting the specified encrypted value of a column encryption key.
|
byte[] |
encryptColumnEncryptionKey(String masterKeyPath,
String encryptionAlgorithm,
byte[] plainTextColumnEncryptionKey)
Base class method for encrypting a column encryption key using the column master key with the specified key path and using the specified
algorithm.
|
String |
getName()
Retrieves the name of this key store provider.
|
void |
setName(String name)
Sets the name of this key store provider.
|
public SQLServerColumnEncryptionCertificateStoreProvider()
public void setName(String name)
SQLServerColumnEncryptionKeyStoreProvidersetName in class SQLServerColumnEncryptionKeyStoreProvidername - value to be set for the key store provider.public String getName()
SQLServerColumnEncryptionKeyStoreProvidergetName in class SQLServerColumnEncryptionKeyStoreProviderpublic byte[] encryptColumnEncryptionKey(String masterKeyPath, String encryptionAlgorithm, byte[] plainTextColumnEncryptionKey) throws SQLServerException
SQLServerColumnEncryptionKeyStoreProviderencryptColumnEncryptionKey in class SQLServerColumnEncryptionKeyStoreProvidermasterKeyPath - The column master key path.encryptionAlgorithm - the specific encryption algorithm.plainTextColumnEncryptionKey - column encryption key to be encrypted.SQLServerException - when an error occurs while encrypting the CEKpublic byte[] decryptColumnEncryptionKey(String masterKeyPath, String encryptionAlgorithm, byte[] encryptedColumnEncryptionKey) throws SQLServerException
SQLServerColumnEncryptionKeyStoreProviderdecryptColumnEncryptionKey in class SQLServerColumnEncryptionKeyStoreProvidermasterKeyPath - The column master key path.encryptionAlgorithm - the specific encryption algorithm.encryptedColumnEncryptionKey - the encrypted column encryption keySQLServerException - when an error occurs while decrypting the CEKCopyright © 2017 Microsoft Corporation. All rights reserved.