AsymmetricKey.Create 方法

定義

多載

名稱 Description
Create(AsymmetricKeyEncryptionAlgorithm)

根據提供的加密演算法建立非對稱金鑰。

Create(AsymmetricKeyEncryptionAlgorithm, String)

根據提供的加密演算法建立非對稱金鑰。 密碼指定了金鑰所加密的密碼。

Create(String, AsymmetricKeySourceType)

從指定的來源載入金鑰。

Create(String, AsymmetricKeySourceType, String)

從指定的來源載入金鑰。 密碼指定了金鑰所加密的密碼。

Create(String, String, CreateDispositionType, AsymmetricKeySourceType)

Create(AsymmetricKeyEncryptionAlgorithm)

根據提供的加密演算法建立非對稱金鑰。

public void Create(Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm);
member this.Create : Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm -> unit
Public Sub Create (encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm)

參數

encryptionAlgorithm
AsymmetricKeyEncryptionAlgorithm

適用於

Create(AsymmetricKeyEncryptionAlgorithm, String)

根據提供的加密演算法建立非對稱金鑰。 密碼指定了金鑰所加密的密碼。

public void Create(Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm, string password);
member this.Create : Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm * string -> unit
Public Sub Create (encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm, password As String)

參數

encryptionAlgorithm
AsymmetricKeyEncryptionAlgorithm
password
String

適用於

Create(String, AsymmetricKeySourceType)

從指定的來源載入金鑰。

public void Create(string keySource, Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType sourceType);
member this.Create : string * Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType -> unit
Public Sub Create (keySource As String, sourceType As AsymmetricKeySourceType)

參數

keySource
String

適用於

Create(String, AsymmetricKeySourceType, String)

從指定的來源載入金鑰。 密碼指定了金鑰所加密的密碼。

public void Create(string keySource, Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType sourceType, string password);
member this.Create : string * Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType * string -> unit
Public Sub Create (keySource As String, sourceType As AsymmetricKeySourceType, password As String)

參數

keySource
String
password
String

適用於

Create(String, String, CreateDispositionType, AsymmetricKeySourceType)

public void Create(string providerAlgorithm, string providerKeyName, Microsoft.SqlServer.Management.Smo.CreateDispositionType createDispositionType, Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType sourceType);
member this.Create : string * string * Microsoft.SqlServer.Management.Smo.CreateDispositionType * Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType -> unit
Public Sub Create (providerAlgorithm As String, providerKeyName As String, createDispositionType As CreateDispositionType, sourceType As AsymmetricKeySourceType)

參數

providerAlgorithm
String
providerKeyName
String
createDispositionType
CreateDispositionType

適用於