Enum
OdfEncryptionFailureReason
OfficeIMO.OpenDocument
Classifies why an encrypted OpenDocument package could not be processed.
Inheritance
- Enum
- OdfEncryptionFailureReason
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Property OdfEncryptedPackageException.Reason
- Field OdfEncryptionFailureReason.IncorrectPassword
- Field OdfEncryptionFailureReason.InvalidEncryptedPackage
- Field OdfEncryptionFailureReason.PasswordRequired
- Field OdfEncryptionFailureReason.PreservationRequired
- Field OdfEncryptionFailureReason.ResourceLimitExceeded
- Field OdfEncryptionFailureReason.UnsupportedProfile
Accepted by parameters 1
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const OdfEncryptionFailureReason IncorrectPassword #The supplied password did not match the package checksum.
Value:
1public const OdfEncryptionFailureReason UnsupportedProfile #The package uses an encryption profile that this version does not implement.
Value:
2public const OdfEncryptionFailureReason InvalidEncryptedPackage #The encryption metadata or encrypted payload is malformed.
Value:
3public const OdfEncryptionFailureReason ResourceLimitExceeded #Decrypted content would exceed the configured resource budget.
Value:
4public const OdfEncryptionFailureReason PreservationRequired #Saving would remove source encryption without explicit authorization.
Value:
5