Method Read
- Namespace
- DocWright.Cryptography
- Assembly
- DocWright.Cryptography.dll
Read(Stream)
Parses an EncryptionInfo stream's header and captures the scheme-specific
remainder.
public static EncryptionInfoDescriptor Read(Stream stream)
Parameters
streamStreamThe
EncryptionInfostream, positioned at its start.
Returns
- EncryptionInfoDescriptor
The parsed descriptor.
Exceptions
- ArgumentNullException
streamis null.- InvalidDocumentException
The stream is truncated or implausibly large.