Table of Contents

Method IdentifyScheme

Namespace
DocWright.Cryptography
Assembly
DocWright.Cryptography.dll

IdentifyScheme(byte[])

Identifies the scheme a legacy encryption header names, without deriving any key.

public static OfficeEncryptionScheme IdentifyScheme(byte[] header)

Parameters

header byte[]

The encryption header from the start of the table stream.

Returns

OfficeEncryptionScheme

The scheme, or Unknown when the header is too short or names a version pair that is not a legacy binary scheme.

Exceptions

ArgumentNullException

header is null.