Jaa


KeySize Enum

Definition

Specifies commonly used RSA algorithm key sizes. This enumeration type can be used in the KeySize property of a CertificateRequestProperties object.

public enum class KeySize
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class KeySize
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum KeySize
var value = Windows.Security.Cryptography.Certificates.KeySize.invalid
Public Enum KeySize
Inheritance
KeySize
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Invalid 0

No size is specified.

Rsa2048 2048

The key length is 2048 bits.

Rsa4096 4096

The key length is 4096 bits.

Applies to

See also