Method RevealBytes
- Namespace
- MailFathom.Infrastructure.Secrets.Resolution
- Assembly
- MailFathom.Infrastructure.dll
RevealBytes()
Reveals the material unchanged.
public ReadOnlySpan<byte> RevealBytes()
Returns
- ReadOnlySpan<byte>
The material, including any trailing newline the source carried.
Remarks
This is the primary accessor. A PKCS#12 bundle or DER-encoded certificate survives it byte for byte.
Exceptions
- ObjectDisposedException
Thrown when the material has already been erased.