Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IOfficeAesCryptographyProvider

OfficeIMO.Security

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

Supplies synchronous AES-CBC operations for hosts where the platform cryptography implementation is unavailable. Implementations are expected to return a new byte array and must not mutate caller-owned inputs.

Methods

public abstract byte[] DecryptCbc(byte[] key, byte[] initializationVector, byte[] ciphertext, OfficeAesPadding padding) #

Decrypts the supplied ciphertext using AES-CBC.

Parameters

key byte[] required
initializationVector byte[] required
ciphertext byte[] required
padding OfficeIMO.Security.OfficeAesPadding required

Returns

byte[]
public abstract byte[] EncryptCbc(byte[] key, byte[] initializationVector, byte[] plaintext, OfficeAesPadding padding) #

Encrypts the supplied plaintext using AES-CBC.

Parameters

key byte[] required
initializationVector byte[] required
plaintext byte[] required
padding OfficeIMO.Security.OfficeAesPadding required

Returns

byte[]

Properties

public abstract string Name { get; } #

Gets a stable provider name for diagnostics.