KeyCredential.RetrievePublicKey Method

Definition

Overloads

RetrievePublicKey()

Gets the public portion of the asymmetric KeyCredential.

RetrievePublicKey(CryptographicPublicKeyBlobType)

Gets the public portion of the asymmetric KeyCredential.

RetrievePublicKey()

Gets the public portion of the asymmetric KeyCredential.

public:
 virtual IBuffer ^ RetrievePublicKey() = RetrievePublicKey;
IBuffer RetrievePublicKey();
/// [Windows.Foundation.Metadata.Overload("RetrievePublicKeyWithDefaultBlobType")]
IBuffer RetrievePublicKey();
public IBuffer RetrievePublicKey();
[Windows.Foundation.Metadata.Overload("RetrievePublicKeyWithDefaultBlobType")]
public IBuffer RetrievePublicKey();
function retrievePublicKey()
Public Function RetrievePublicKey () As IBuffer

Returns

The public portion of the asymmetric key credential.

Attributes

See also

Applies to

RetrievePublicKey(CryptographicPublicKeyBlobType)

Gets the public portion of the asymmetric KeyCredential.

public:
 virtual IBuffer ^ RetrievePublicKey(CryptographicPublicKeyBlobType blobType) = RetrievePublicKey;
/// [Windows.Foundation.Metadata.Overload("RetrievePublicKeyWithBlobType")]
IBuffer RetrievePublicKey(CryptographicPublicKeyBlobType const& blobType);
[Windows.Foundation.Metadata.Overload("RetrievePublicKeyWithBlobType")]
public IBuffer RetrievePublicKey(CryptographicPublicKeyBlobType blobType);
function retrievePublicKey(blobType)
Public Function RetrievePublicKey (blobType As CryptographicPublicKeyBlobType) As IBuffer

Parameters

blobType
CryptographicPublicKeyBlobType

The blob type of the public key to retrieve.

Returns

The public portion of the asymmetric key credential.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

See also

Applies to