Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AsymmetricKeyAlgorithmProvider.ImportPublicKey(IBuffer) | importPublicKey(IBuffer) method

Applies to Windows and Windows Phone

Imports a public key into a buffer.

Syntax


var cryptographicKey = asymmetricKeyAlgorithmProvider.importPublicKey(keyBlob);

Parameters

keyBlob

Type: IBuffer

Buffer that contains the key to import.

Return value

Type: CryptographicKey

Represents the imported key.

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

Metadata

Windows.winmd

See also

AsymmetricKeyAlgorithmProvider
ImportPublicKey(IBuffer, CryptographicPublicKeyBlobType)

 

 

Show:
© 2014 Microsoft