DeleteCredentialCommand Constructor
DeleteCredentialCommand(ReadOnlyMemory<Byte>)
Constructs an instance of the DeleteCredentialCommand class.
public DeleteCredentialCommand(ReadOnlyMemory<byte> managementKey)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Byte> | managementKey | The secret used to authenticate to the application prior to adding or removing credentials. See ValidManagementKeyLength for its required length. The application has a default management key of all zeros. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
Remarks
The Label will need to be set before calling CreateCommandApdu().
DeleteCredentialCommand(ReadOnlyMemory<Byte>, String)
Constructs an instance of the DeleteCredentialCommand class.
public DeleteCredentialCommand(ReadOnlyMemory<byte> managementKey, string label)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Byte> | managementKey | The secret used to authenticate to the application prior to adding or removing credentials. See ValidManagementKeyLength for its required length. The application has a default management key of all zeros. |
System.String | label | The label of the credential to be deleted. The string must meet the same requirements as Label. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|