API Reference
Class
OfficeManagedAesCryptographyProvider
Provides a portable managed AES-CBC implementation for hosts where the platform AES factory is unavailable.
Inheritance
- Object
- OfficeManagedAesCryptographyProvider
Remarks
The implementation supports 128-bit, 192-bit, and 256-bit AES keys with no padding or PKCS#7 padding. It is intended for compatibility hosts such as browser WebAssembly. Applications running on a platform with native AES support can leave the PDF provider unset and use the platform implementation.
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
Constructors
public OfficeManagedAesCryptographyProvider() #Methods
public virtual Byte[] DecryptCbc(Byte[] key, Byte[] iv, Byte[] input, OfficeAesPadding padding) #Returns:
Byte[]Parameters
- key System.Byte[]
- iv System.Byte[]
- input System.Byte[]
- padding OfficeIMO.Security.OfficeAesPadding
public virtual Byte[] EncryptCbc(Byte[] key, Byte[] iv, Byte[] input, OfficeAesPadding padding) #Returns:
Byte[]Parameters
- key System.Byte[]
- iv System.Byte[]
- input System.Byte[]
- padding OfficeIMO.Security.OfficeAesPadding
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object