Table of Contents

Method ForDigest

Namespace
MailFathom.Domain.Access
Assembly
MailFathom.Domain.dll

ForDigest(string)

Reads the value a minted key or a client's public key is resolved by.

public static UserCredentialLookup ForDigest(string digest)

Parameters

digest string

The key's digest, or the public key's fingerprint, as the base64url text the deployment computed.

Returns

UserCredentialLookup

The lookup.

Remarks

Named for what it is rather than for which of the two methods produced it, because a digest and a fingerprint are the same shape and are compared the same way; what differs is what was digested, which is the authenticator's question rather than this type's.

Exceptions

ArgumentException

Thrown when digest is not a value this type can hold.