Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeManagedAesCryptographyProvider

OfficeIMO.Security

Namespace
OfficeIMO.Security
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Explore 1 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 1

Constructors

public OfficeManagedAesCryptographyProvider() #

Methods

public byte[] DecryptCbc(byte[] key, byte[] iv, byte[] input, OfficeAesPadding padding) #

Decrypts the supplied ciphertext using AES-CBC.

Parameters

key byte[] required
iv byte[] required
input byte[] required
padding OfficeIMO.Security.OfficeAesPadding required

Returns

byte[]
public byte[] EncryptCbc(byte[] key, byte[] iv, byte[] input, OfficeAesPadding padding) #

Encrypts the supplied plaintext using AES-CBC.

Parameters

key byte[] required
iv byte[] required
input byte[] required
padding OfficeIMO.Security.OfficeAesPadding required

Returns

byte[]

Properties

public static OfficeManagedAesCryptographyProvider Default { get; } #

Gets the shared stateless provider instance.

public string Name { get; } #

Gets a stable provider name for diagnostics.