CredentialWithSecrets Constructor
CredentialWithSecrets(ReadOnlyMemory<byte>, CryptographicKeyType, string, bool)
Create a credential with the secrets to be stored in the application.
C#
protected CredentialWithSecrets(ReadOnlyMemory<byte> credentialPassword, CryptographicKeyType keyType, string label, bool touchRequired)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyMemory<byte> | credentialPassword | Sets CredentialPassword. |
CryptographicKeyType | keyType | Sets KeyType. |
string | label | Sets Label. |
bool | touchRequired | Sets TouchRequired. |
Exceptions
Type | Condition |
---|---|
ArgumentException | The credential password does not meet the length requirements. |