SqlColumnEncryptionKeyStoreProvider.EncryptColumnEncryptionKey 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.
Chiffre une clé de chiffrement de colonne à l’aide de la clé principale de colonne avec le chemin de clé spécifié et l’algorithme spécifié.
public:
abstract cli::array <System::Byte> ^ EncryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ columnEncryptionKey);
public abstract byte[] EncryptColumnEncryptionKey(string masterKeyPath, string encryptionAlgorithm, byte[] columnEncryptionKey);
abstract member EncryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public MustOverride Function EncryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, columnEncryptionKey As Byte()) As Byte()
Paramètres
- masterKeyPath
- String
Chemin de la clé principale de colonne. Le format de chemin est spécifique à l’implémentation du fournisseur de magasin de clés (par exemple, une empreinte numérique pour le magasin de certificats ou une URL d’identificateur de clé pour Azure Key Vault).
- encryptionAlgorithm
- String
Nom de l’algorithme de chiffrement. Par exemple : RSA_OAEP.
- columnEncryptionKey
- Byte[]
Clé de chiffrement de colonne à chiffrer.
Retours
Retourne un Byte tableau représentant la clé de chiffrement de colonne chiffrée.