共用方式為


PersistedKeyProvider 類別

定義

Certificate 物件擷取保存的金鑰。

public ref class PersistedKeyProvider abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PersistedKeyProvider final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class PersistedKeyProvider
Public Class PersistedKeyProvider
繼承
Object Platform::Object IInspectable PersistedKeyProvider
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

方法

OpenKeyPairFromCertificateAsync(Certificate, String, CryptographicPadding)

從指定的 Certificate 物件開啟保存的私密金鑰。

OpenPublicKeyFromCertificate(Certificate, String, CryptographicPadding)

從指定的 Certificate 物件開啟保存的公開金鑰。

適用於