共用方式為


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

PasswordPublicKeyBlobType列舉值,指定緩衝區中索引鍵的格式。 預設值為 X509SubjectPublicKeyInfo

傳回

包含公開金鑰的緩衝區。

屬性

另請參閱

適用於