<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />

AesWrapEngine

public AesWrapEngine()

Create a regular AesWrapEngine specifying the encrypt for wrapping, decrypt for unwrapping.

public AesWrapEngine(bool useReverseDirection)

Create an AESWrapEngine where the underlying cipher is (optionally) set to decrypt for wrapping, encrypt for unwrapping.