API Reference
Enum
OdfEncryptionFailureReason
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.
Returned or exposed by
- Property OdfEncryptedPackageException.Reason
- Field OdfEncryptionFailureReason.IncorrectPassword
- Field OdfEncryptionFailureReason.InvalidEncryptedPackage
- Field OdfEncryptionFailureReason.PasswordRequired
- Field OdfEncryptionFailureReason.PreservationRequired
- Field OdfEncryptionFailureReason.ResourceLimitExceeded
- Field OdfEncryptionFailureReason.UnsupportedProfile
Accepted by parameters
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
ToString 4 overloads
public override sealed String ToString(IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
- provider IFormatProvider
Values
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