SqlColumnEncryptionCertificateStoreProvider.EncryptColumnEncryptionKey Metoda

Definicja

Szyfruje klucz szyfrowania kolumny przy użyciu certyfikatu z określoną ścieżką klucza i przy użyciu określonego algorytmu. Format ścieżki klucza powinien mieć wartość "Maszyna lokalna/Moja/<certificate_thumbprint>" lub "Bieżący użytkownik/Mój/<certificate_thumbprint>".

public:
 override cli::array <System::Byte> ^ EncryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ columnEncryptionKey);
public override byte[] EncryptColumnEncryptionKey (string masterKeyPath, string encryptionAlgorithm, byte[] columnEncryptionKey);
override this.EncryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public Overrides Function EncryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, columnEncryptionKey As Byte()) As Byte()

Parametry

masterKeyPath
String

Ścieżka klucza głównego.

encryptionAlgorithm
String

Algorytm szyfrowania. Obecnie jedyną prawidłową wartością jest: RSA_OAEP.

columnEncryptionKey
Byte[]

Zaszyfrowany klucz szyfrowania kolumny.

Zwraca

Byte[]

Zwraca wartość Byte.
Zaszyfrowany klucz szyfrowania kolumny.

Dotyczy