Table of Contents

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

stream Stream

The EncryptionInfo stream, positioned at its start.

Returns

EncryptionInfoDescriptor

The parsed descriptor.

Exceptions

ArgumentNullException

stream is null.

InvalidDocumentException

The stream is truncated or implausibly large.