In general, a cryptographic Key should only be used for a single purpose. In the MultiApplication BasicCard, each Key has a Key Usage Mask that specifies what the key can be used for.

Namespace: BasicCard.BasicCards.Components
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
[SerializableAttribute]
[FlagsAttribute]
[CLSCompliantAttribute(true)]
public enum KeyUsageMask
Visual Basic
<SerializableAttribute>
<FlagsAttribute>
<CLSCompliantAttribute(true)>
Public Enumeration KeyUsageMask
Visual C++
[SerializableAttribute]
[FlagsAttribute]
[CLSCompliantAttribute(true)]
public enum class KeyUsageMask
F#
[<SerializableAttribute>]
[<FlagsAttribute>]
[<CLSCompliantAttribute(true)>]
type KeyUsageMask

Members

Member nameValueDescription
None0 No usage specified
Verify1 Usage: VERIFY command
ExtAuth2 Usage: EXTERNAL AUTHENTICATE command
SMEnc4 Usage: START ENCRYPTION with Encryption algorithm
SMMac8 Usage: START ENCRYPTION with Authentication algorithm
Sign16 Usage: AUTHENTICATE FILE
IntAuth32 Usage: INTERNAL AUTHENTICATE command
SecTrans64 Usage: SECURE TRANSPORT command

See Also