Method ReadPrivateKey
- Namespace
- MailFathom.Common.ClientAssertions
- Assembly
- MailFathom.Common.dll
ReadPrivateKey(ReadOnlySpan<char>, out ClientAssertionKeyFault)
Reads the private half a client signs an assertion with.
public static AsymmetricAlgorithm? ReadPrivateKey(ReadOnlySpan<char> material, out ClientAssertionKeyFault fault)
Parameters
materialReadOnlySpan<char>The operator's PEM.
faultClientAssertionKeyFaultWhy the material is unusable, when it is.
Returns
- AsymmetricAlgorithm
The key, which the caller owns and disposes, or null when the material carries none.