<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0-beta.98" />

ParameterUtilities

public static class ParameterUtilities
public static KeyParameter CreateKeyParameter(DerObjectIdentifier algOid, byte[] keyBytes)

public static KeyParameter CreateKeyParameter(string algorithm, byte[] keyBytes)

public static KeyParameter CreateKeyParameter(DerObjectIdentifier algOid, byte[] keyBytes, int offset, int length)

public static KeyParameter CreateKeyParameter(string algorithm, byte[] keyBytes, int offset, int length)

public static Asn1Encodable GenerateParameters(string algorithm, SecureRandom random)

public static string GetCanonicalAlgorithmName(string algorithm)

public static ICipherParameters GetCipherParameters(string algorithm, ICipherParameters key, Asn1Object asn1Params)

public static ICipherParameters GetContext(ICipherParameters cipherParameters, int minLen, int maxLen, out byte context)

public static ICipherParameters GetRandom(ICipherParameters cipherParameters, out SecureRandom random)

public static ICipherParameters IgnoreRandom(ICipherParameters cipherParameters)

public static ICipherParameters WithContext(ICipherParameters cp, byte[] context)