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

Org.BouncyCastle.Crypto.Operators.RsaOaepWrapper

namespace Org.BouncyCastle.Crypto.Operators { internal class RsaOaepWrapper : IKeyWrapper, IKeyUnwrapper { public object AlgorithmDetails { get; } public RsaOaepWrapper(bool forWrapping, ICipherParameters parameters, DerObjectIdentifier digestOid); public RsaOaepWrapper(bool forWrapping, ICipherParameters parameters, DerObjectIdentifier digestOid, DerObjectIdentifier mgfOid); public IBlockResult Unwrap(byte[] cipherText, int offset, int length); public IBlockResult Wrap(byte[] keyData); } }