RsaProtectedConfigurationProvider.AddKey(Int32, Boolean) 方法

定义

将密钥添加到 RSA 密钥容器。

public:
 void AddKey(int keySize, bool exportable);
public void AddKey(int keySize, bool exportable);
member this.AddKey : int * bool -> unit
Public Sub AddKey (keySize As Integer, exportable As Boolean)

参数

keySize
Int32

要添加的键的大小。

exportable
Boolean

true 指示密钥可导出;否则,为 false.

适用于