CryptographicKey.ExportPublicKey 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
ExportPublicKey() |
Exports a public key to a buffer. |
ExportPublicKey(CryptographicPublicKeyBlobType) |
Exports a public key to a buffer given a specified format. |
ExportPublicKey()
Exports a public key to a buffer.
public:
virtual IBuffer ^ ExportPublicKey() = ExportPublicKey;
/// [Windows.Foundation.Metadata.Overload("ExportDefaultPublicKeyBlobType")]
IBuffer ExportPublicKey();
[Windows.Foundation.Metadata.Overload("ExportDefaultPublicKeyBlobType")]
public IBuffer ExportPublicKey();
function exportPublicKey()
Public Function ExportPublicKey () As IBuffer
Returns
Buffer that contains the public key.
- Attributes
See also
Applies to
ExportPublicKey(CryptographicPublicKeyBlobType)
Exports a public key to a buffer given a specified format.
public:
virtual IBuffer ^ ExportPublicKey(CryptographicPublicKeyBlobType BlobType) = ExportPublicKey;
/// [Windows.Foundation.Metadata.Overload("ExportPublicKeyWithBlobType")]
IBuffer ExportPublicKey(CryptographicPublicKeyBlobType const& BlobType);
[Windows.Foundation.Metadata.Overload("ExportPublicKeyWithBlobType")]
public IBuffer ExportPublicKey(CryptographicPublicKeyBlobType BlobType);
function exportPublicKey(BlobType)
Public Function ExportPublicKey (BlobType As CryptographicPublicKeyBlobType) As IBuffer
Parameters
- BlobType
- CryptographicPublicKeyBlobType
A CryptographicPublicKeyBlobType enumeration value that specifies the format of the key in the buffer. The default value is X509SubjectPublicKeyInfo.
Returns
Buffer that contains the public key.
- Attributes