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