Share via


RSAKeyVault.KeySize Property

Definition

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

public override int KeySize { get; set; }
member this.KeySize : int with get, set
Public Overrides Property KeySize As Integer

Property Value

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

Exceptions

The key modulus size is invalid.

The key could not be downloaded so key size is unavailable.

Changing the key size on this read-only provider is not supported.

Applies to