Method TryRead
- Namespace
- MailFathom.Application.Access.Credentials
- Assembly
- MailFathom.Application.dll
TryRead(string?, out ClientPublicKey?)
Reads a written public key into what is stored and what it is resolved by.
bool TryRead(string? written, out ClientPublicKey? publicKey)
Parameters
writtenstringThe key as the operator supplied it, in the encoding the deployment publishes.
publicKeyClientPublicKeyThe key when the written form is usable; otherwise null.
Returns
Remarks
It answers rather than raising because its caller is an operator provisioning a credential, who is answered with what to supply instead.