KeyCredential.RetrievePublicKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|