다음을 통해 공유


Certificate.AddPrivateKey Method

Definition

Overloads

AddPrivateKey(String, String)

Adds a private key to the certificate. The privateKeyPath parameter specifies the full path to the certificate. The decryption password is the password that is needed to access the private key. The private key will be encrypted by the database master key.

AddPrivateKey(String, String, String)

Adds a private key to the certificate. The privateKeyPath parameter specifies the full path to the certificate. The decryption password is the password that is needed to access the private key. The encryption password is the password with which the private key is stored

AddPrivateKey(String, String)

Adds a private key to the certificate. The privateKeyPath parameter specifies the full path to the certificate. The decryption password is the password that is needed to access the private key. The private key will be encrypted by the database master key.

public void AddPrivateKey (string privateKeyPath, string decryptionPassword);
member this.AddPrivateKey : string * string -> unit
Public Sub AddPrivateKey (privateKeyPath As String, decryptionPassword As String)

Parameters

privateKeyPath
String
decryptionPassword
String

Applies to

AddPrivateKey(String, String, String)

Adds a private key to the certificate. The privateKeyPath parameter specifies the full path to the certificate. The decryption password is the password that is needed to access the private key. The encryption password is the password with which the private key is stored

public void AddPrivateKey (string privateKeyPath, string decryptionPassword, string encryptionPassword);
member this.AddPrivateKey : string * string * string -> unit
Public Sub AddPrivateKey (privateKeyPath As String, decryptionPassword As String, encryptionPassword As String)

Parameters

privateKeyPath
String
decryptionPassword
String
encryptionPassword
String

Applies to