Table of Contents

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

written string

The key as the operator supplied it, in the encoding the deployment publishes.

publicKey ClientPublicKey

The key when the written form is usable; otherwise null.

Returns

bool

true when the written form is a public key of a kind this deployment accepts.

Remarks

It answers rather than raising because its caller is an operator provisioning a credential, who is answered with what to supply instead.