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

System.IdentityModel.Tokens.AsymmetricSecurityKey

public abstract class AsymmetricSecurityKey : SecurityKey
namespace System.IdentityModel.Tokens { public abstract class AsymmetricSecurityKey : SecurityKey { public abstract AsymmetricAlgorithm GetAsymmetricAlgorithm(string algorithm, bool privateKey); public abstract HashAlgorithm GetHashAlgorithmForSignature(string algorithm); public abstract AsymmetricSignatureDeformatter GetSignatureDeformatter(string algorithm); public abstract AsymmetricSignatureFormatter GetSignatureFormatter(string algorithm); public abstract bool HasPrivateKey(); protected AsymmetricSecurityKey(); } }