Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IOfficeAesCryptographyProvider

Namespace OfficeIMO.Security
Assembly OfficeIMO.Core
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) #
Returns: Byte[]

Decrypts the supplied ciphertext using AES-CBC.

Parameters

key System.Byte[] requiredposition: 0
initializationVector System.Byte[] requiredposition: 1
ciphertext System.Byte[] requiredposition: 2
padding OfficeIMO.Security.OfficeAesPadding requiredposition: 3
public abstract Byte[] EncryptCbc(Byte[] key, Byte[] initializationVector, Byte[] plaintext, OfficeAesPadding padding) #
Returns: Byte[]

Encrypts the supplied plaintext using AES-CBC.

Parameters

key System.Byte[] requiredposition: 0
initializationVector System.Byte[] requiredposition: 1
plaintext System.Byte[] requiredposition: 2
padding OfficeIMO.Security.OfficeAesPadding requiredposition: 3

Properties

public abstract String Name { get; } #

Gets a stable provider name for diagnostics.