Interface
IOfficeAesCryptographyProvider
OfficeIMO.Security
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[]
- initializationVector byte[]
- ciphertext byte[]
- padding OfficeIMO.Security.OfficeAesPadding
Returns
byte[]public abstract byte[] EncryptCbc(byte[] key, byte[] initializationVector, byte[] plaintext, OfficeAesPadding padding) #Encrypts the supplied plaintext using AES-CBC.
Parameters
- key byte[]
- initializationVector byte[]
- plaintext byte[]
- padding OfficeIMO.Security.OfficeAesPadding
Returns
byte[]Properties
public abstract string Name { get; } #Gets a stable provider name for diagnostics.