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 对象中的持久公钥。

适用于