CryptographicKey.ExportPublicKey 方法

定义

重载

ExportPublicKey()

将公钥导出到缓冲区。

ExportPublicKey(CryptographicPublicKeyBlobType)

在给定指定格式的情况下,将公钥导出到缓冲区。

ExportPublicKey()

将公钥导出到缓冲区。

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

返回

包含公钥的缓冲区。

属性

另请参阅

适用于

ExportPublicKey(CryptographicPublicKeyBlobType)

在给定指定格式的情况下,将公钥导出到缓冲区。

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

参数

BlobType
CryptographicPublicKeyBlobType

一个 CryptographicPublicKeyBlobType 枚举值,该值指定缓冲区中密钥的格式。 默认值为 X509SubjectPublicKeyInfo

返回

包含公钥的缓冲区。

属性

另请参阅

适用于