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

Org.BouncyCastle.Cms.CmsPbeKey

public abstract class CmsPbeKey : ICipherParameters
namespace Org.BouncyCastle.Cms { public abstract class CmsPbeKey : ICipherParameters { public byte[] Salt { get; } public int IterationCount { get; } public string Algorithm { get; } public string Format { get; } public CmsPbeKey(char[] password, byte[] salt, int iterationCount); public CmsPbeKey(char[] password, AlgorithmIdentifier keyDerivationAlgorithm); public byte[] GetEncoded(); } }