SmartCardChallengeContext
SmartCardChallengeContext
SmartCardChallengeContext
SmartCardChallengeContext
Class
Definition
Represents a smart card authentication challenge/response operation.
public : sealed class SmartCardChallengeContext : ISmartCardChallengeContext, IClosablepublic sealed class SmartCardChallengeContext : ISmartCardChallengeContext, IDisposablePublic NotInheritable Class SmartCardChallengeContext Implements ISmartCardChallengeContext, IDisposable// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
Methods
ChangeAdministrativeKeyAsync(IBuffer, IBuffer) ChangeAdministrativeKeyAsync(IBuffer, IBuffer) ChangeAdministrativeKeyAsync(IBuffer, IBuffer) ChangeAdministrativeKeyAsync(IBuffer, IBuffer)
Changes the smart card's admin key (also known as an administrator PIN or unblock PIN).
public : IAsyncAction ChangeAdministrativeKeyAsync(IBuffer response, IBuffer newAdministrativeKey)public IAsyncAction ChangeAdministrativeKeyAsync(IBuffer response, IBuffer newAdministrativeKey)Public Function ChangeAdministrativeKeyAsync(response As IBuffer, newAdministrativeKey As IBuffer) As IAsyncAction// You can use this method in JavaScript.
The response to a smart card authentication challenge/response operation.
An asynchronous action that completes after the admin key change attempt is done.
- See Also
Close() Close() Close() Close()
Completes the smart card authentication challenge/response operation and frees associated system resources.
public : void Close()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- See Also
Dispose() Dispose() Dispose() Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
This member is not implemented in C++void Dispose()Sub Disposevoid Dispose()
ProvisionAsync(IBuffer, Boolean) ProvisionAsync(IBuffer, Boolean) ProvisionAsync(IBuffer, Boolean) ProvisionAsync(IBuffer, Boolean)
Reconfigures an existing, configured smart card with a new response. Optionally, formats the smart card.
public : IAsyncAction ProvisionAsync(IBuffer response, bool formatCard)public IAsyncAction ProvisionAsync(IBuffer response, Boolean formatCard)Public Function ProvisionAsync(response As IBuffer, formatCard As Boolean) As IAsyncAction// You can use this method in JavaScript.
The new response to a smart card authentication challenge/response operation.
- formatCard
- bool Boolean Boolean Boolean
True to format the smart card; otherwise false.
An asynchronous action that completes after the smart card reconfiguration attempt is done.
- See Also
ProvisionAsync(IBuffer, Boolean, Guid) ProvisionAsync(IBuffer, Boolean, Guid) ProvisionAsync(IBuffer, Boolean, Guid) ProvisionAsync(IBuffer, Boolean, Guid)
Reconfigures an existing, configured smart card with a new response and ID. Optionally, formats the smart card.
public : IAsyncAction ProvisionAsync(IBuffer response, bool formatCard, PlatForm::Guid newCardId)public IAsyncAction ProvisionAsync(IBuffer response, Boolean formatCard, Guid newCardId)Public Function ProvisionAsync(response As IBuffer, formatCard As Boolean, newCardId As Guid) As IAsyncAction// You can use this method in JavaScript.
The new response to a smart card authentication challenge/response operation.
- formatCard
- bool Boolean Boolean Boolean
True to format the smart card; otherwise false.
- newCardId
- PlatForm::Guid Guid Guid Guid
The new smart card ID.
An asynchronous action that completes after the smart card reconfiguration attempt is done.
- See Also
VerifyResponseAsync(IBuffer) VerifyResponseAsync(IBuffer) VerifyResponseAsync(IBuffer) VerifyResponseAsync(IBuffer)
Verifies the response to the smart card challenge request.
public : IAsyncOperation<PlatForm::Boolean> VerifyResponseAsync(IBuffer response)public IAsyncOperation<bool> VerifyResponseAsync(IBuffer response)Public Function VerifyResponseAsync(response As IBuffer) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
After the verification attempt is done, true if the response was successfully verified; otherwise false.
- See Also