KeyNumber Enumeration

KeyNumber Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies whether to create an asymmetric signature key or an asymmetric exchange key.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public enum KeyNumber

Member nameDescription
ExchangeAn exchange key pair used to encrypt session keys so that they can be safely stored and exchanged with other users.

This value corresponds to the AT_KEYEXCHANGE value used in the unmanaged Microsoft Cryptographic API (CAPI).

SignatureA signature key pair used for authenticating digitally signed messages or files.

This value corresponds to the AT_SIGNATURE value used in the unmanaged Microsoft Cryptographic API (CAPI).

Use the KeyNumber enumeration with the KeyNumber property to inspect a key type or with the KeyNumber field to specify a key type.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft