CredentialWithSecrets Constructor
CredentialWithSecrets(ReadOnlyMemory<Byte>, CryptographicKeyType, String, Boolean)
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 |
---|---|---|
System.ReadOnlyMemory<System.Byte> | credentialPassword | Sets CredentialPassword. |
CryptographicKeyType | keyType | Sets KeyType. |
System.String | label | Sets Label. |
System.Boolean | touchRequired | Sets TouchRequired. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The credential password does not meet the length requirements. |