Bewerken

Delen via


RSAOpenSsl.KeySize Property

Definition

Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.

public:
 virtual property int KeySize {  void set(int value); };
public override int KeySize { set; }
member this.KeySize : int
Public Overrides Property KeySize As Integer

Property Value

The size, in bits, of the key modulus used by the asymmetric algorithm.

Exceptions

value is not permitted by LegalKeySizes.

Remarks

Setting this property to its current value has no visible effect. Setting this property to a new legal value discards the current key, but defers creation of a new key until one is needed.

Applies to