CryptographicPublicKeyBlobType enumeration

CryptographicPublicKeyBlobType enumeration

Specifies the type of the public key contained in a buffer.

Syntax


var value = Windows.Security.Cryptography.Core.CryptographicPublicKeyBlobType.x509SubjectPublicKeyInfo;

Members

The CryptographicPublicKeyBlobType enumeration has these members.

MemberValueDescription
X509SubjectPublicKeyInfo | x509SubjectPublicKeyInfo0

This is the default value. The public key is encoded as an ASN.1 SubjectPublicKeyInfo type defined in RFC 5280 and RFC 3280.

SubjectPublicKeyInfo  ::=  SEQUENCE  {
    algorithm            AlgorithmIdentifier,
    subjectPublicKey     BIT STRING  }

Pkcs1RsaPublicKey | pkcs1RsaPublicKey1

The key is an RSA public key defined in the PKCS #1 standard. For more information, see the RSA Cryptography Specification in RFC 3347.

BCryptPublicKey | bCryptPublicKey2

Microsoft public key format defined by Cryptography API: Next Generation (CNG). For examples, see the following CNG structures:

Capi1PublicKey | capi1PublicKey3

Microsoft public key format defined by the legacy Cryptography API (CAPI). For more information, see Base Provider Key BLOBs.

BCryptEccFullPublicKey | bCryptEccFullPublicKey4

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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.Core
Windows::Security::Cryptography::Core [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

 

 

Show:
© 2016 Microsoft