MasterKey.Create MasterKey.Create MasterKey.Create Method

Definition

Creates a master key that has the specified password.

Overloads

Create(String) Create(String) Create(String)

Creates a master key that has the specified password.

Create(String, String, String) Create(String, String, String) Create(String, String, String)

Creates a master key from the specified file and that has the specified encryption and decryption passwords.

Create(String) Create(String) Create(String)

Creates a master key that has the specified password.

public:
 void Create(System::String ^ encryptionPassword);
public void Create (string encryptionPassword);
Public Sub Create (encryptionPassword As String)
Parameters
encryptionPassword
String String String

A String value that specifies the password with which to encrypt the master key.

Examples

Calling Methods

Create(String, String, String) Create(String, String, String) Create(String, String, String)

Creates a master key from the specified file and that has the specified encryption and decryption passwords.

public:
 void Create(System::String ^ path, System::String ^ decryptionPassword, System::String ^ encryptionPassword);
public void Create (string path, string decryptionPassword, string encryptionPassword);
Public Sub Create (path As String, decryptionPassword As String, encryptionPassword As String)
Parameters
path
String String String

A String value that specifies the system path location of the file from which to load the master key.

decryptionPassword
String String String

A String value that specifies the password with which to decrypt the master key.

encryptionPassword
String String String

A String value that specifies the password with which to encrypt the master key.

Examples

Calling Methods

Applies to