API Reference

Enum

OdfEncryptionFailureReason

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Classifies why an encrypted OpenDocument package could not be processed.

Inheritance

  • Enum
  • OdfEncryptionFailureReason

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const OdfEncryptionFailureReason PasswordRequired #

No password was supplied.

Value: 0
public const OdfEncryptionFailureReason IncorrectPassword #

The supplied password did not match the package checksum.

Value: 1
public const OdfEncryptionFailureReason UnsupportedProfile #

The package uses an encryption profile that this version does not implement.

Value: 2
public const OdfEncryptionFailureReason InvalidEncryptedPackage #

The encryption metadata or encrypted payload is malformed.

Value: 3
public const OdfEncryptionFailureReason ResourceLimitExceeded #

Decrypted content would exceed the configured resource budget.

Value: 4
public const OdfEncryptionFailureReason PreservationRequired #

Saving would remove source encryption without explicit authorization.

Value: 5