KeySize KeySize KeySize KeySize 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
enum class winrt::Windows::Security::Cryptography::Certificates::KeySize : int32_t
public enum KeySize
Public Enum KeySize
var value = Windows.Security.Cryptography.Certificates.KeySize.invalid;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Invalid Invalid Invalid Invalid Invalid 0

No size is specified.

Rsa2048 Rsa2048 Rsa2048 Rsa2048 Rsa2048 2048

The key length is 2048 bits.

Rsa4096 Rsa4096 Rsa4096 Rsa4096 Rsa4096 4096

The key length is 4096 bits.

See Also