SqlColumnEncryptionCspProvider.DecryptColumnEncryptionKey Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Déchiffre la valeur chiffrée donnée à l’aide d’une clé asymétrique spécifiée par le chemin d’accès et l’algorithme de clé. Le chemin de la clé est au format [ProviderName]/KeyIdentifier et doit être une clé asymétrique stockée dans le fournisseur CSP spécifié. L’algorithme valide utilisé pour chiffrer/déchiffrer le CEK est « RSA_OAEP ».
public:
override cli::array <System::Byte> ^ DecryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ encryptedColumnEncryptionKey);
public override byte[] DecryptColumnEncryptionKey(string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey);
override this.DecryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public Overrides Function DecryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte()) As Byte()
Paramètres
- masterKeyPath
- String
Chemin de la clé principale.
- encryptionAlgorithm
- String
Algorithme de chiffrement.
- encryptedColumnEncryptionKey
- Byte[]
Clé de chiffrement de colonne chiffrée.
Retours
Clé de chiffrement de colonne déchiffrée.