<PackageReference Include="System.ServiceModel.Primitives" Version="10.0.652802" />

System.IdentityModel.Tokens.SecurityKey

public abstract class SecurityKey
namespace System.IdentityModel.Tokens { public abstract class SecurityKey { public abstract int KeySize { get; } public abstract byte[] DecryptKey(string algorithm, byte[] keyData); public abstract byte[] EncryptKey(string algorithm, byte[] keyData); public abstract bool IsAsymmetricAlgorithm(string algorithm); public abstract bool IsSupportedAlgorithm(string algorithm); public abstract bool IsSymmetricAlgorithm(string algorithm); protected SecurityKey(); } }