KeyCredentialManager 类

定义

包含用于基本管理密钥凭据的方法。

public ref class KeyCredentialManager 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 KeyCredentialManager 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 KeyCredentialManager
Public Class KeyCredentialManager
继承
Object Platform::Object IInspectable KeyCredentialManager
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

方法

DeleteAsync(String)

删除以前为当前用户和应用程序预配的用户标识密钥。

IsSupportedAsync()

确定当前设备和用户是否能够预配密钥凭据。

OpenAsync(String)

检索当前用户和应用程序的密钥凭据。

RenewAttestationAsync()

续订密钥凭据的证明。

RequestCreateAsync(String, KeyCredentialCreationOption)

为当前用户和应用程序创建新的密钥凭据。

适用于

另请参阅