KeySize enumeration

Applies to Windows and Windows Phone

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

Syntax


public enum KeySize

Attributes

[Version(0x06020000)]

Members

The KeySize enumeration has these members.

MemberValueDescription
Invalid | invalid0

No size is specified.

Rsa2048 | rsa20482048

The key length is 2048 bits.

Rsa4096 | rsa40964096

The key length is 4096 bits.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

See also

CertificateRequestProperties
KeySize
Windows.Security.Cryptography.Certificates

 

 

Show:
© 2014 Microsoft