KeyCredentialManager 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含用于基本管理密钥凭据的方法。
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
- 继承
- 属性
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, ChallengeResponseKind, AttestationChallengeHandler) |
包含用于基本管理密钥凭据的方法。 |
| OpenAsync(String) |
检索当前用户和应用程序的密钥凭据。 |
| RenewAttestationAsync() |
续订密钥凭据的证明。 |
| RequestCreateAsync(String, KeyCredentialCreationOption, String, String, KeyCredentialCacheConfiguration, WindowId, ChallengeResponseKind, AttestationChallengeHandler) |
包含用于基本管理密钥凭据的方法。 |
| RequestCreateAsync(String, KeyCredentialCreationOption) |
为当前用户和应用程序创建新的密钥凭据。 |