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
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Challenge Challenge Challenge Challenge

Gets the smart card's challenge value.

public : IBuffer Challenge { get; }public IBuffer Challenge { get; }Public ReadOnly Property Challenge As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The smart card's challenge value.

See Also

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.
Parameters
response
IBuffer IBuffer IBuffer IBuffer

The response to a smart card authentication challenge/response operation.

newAdministrativeKey
IBuffer IBuffer IBuffer IBuffer

The new smart card admin key.

Returns

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.
Parameters
response
IBuffer IBuffer IBuffer IBuffer

The new response to a smart card authentication challenge/response operation.

formatCard
bool Boolean Boolean Boolean

True to format the smart card; otherwise false.

Returns

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.
Parameters
response
IBuffer IBuffer IBuffer IBuffer

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.

Returns

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.
Parameters
response
IBuffer IBuffer IBuffer IBuffer

The response to the smart card challenge request.

Returns

After the verification attempt is done, true if the response was successfully verified; otherwise false.

See Also

See Also