SqlColumnEncryptionCertificateStoreProvider.EncryptColumnEncryptionKey Metódus

Definíció

Az oszloptitkosítási kulcsot a megadott kulcs elérési útjával és a megadott algoritmus használatával titkosítja a tanúsítvány használatával. A kulcsútvonal formátumának a következőnek kell lennie: "Local Machine/My/<certificate_thumbprint>" vagy "Current User/My/<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()

Paraméterek

masterKeyPath
String

A főkulcs elérési útja.

encryptionAlgorithm
String

A titkosítási algoritmus. Jelenleg az egyetlen érvényes érték: RSA_OAEP.

columnEncryptionKey
Byte[]

A titkosított oszloptitkosítási kulcs.

Válaszok

Byte[]

Visszatér Byte. A titkosított oszloptitkosítási kulcs.

A következőre érvényes: