e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
18 lines
773 B
C#
18 lines
773 B
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
|
|
namespace System.IdentityModel.Tokens
|
|
{
|
|
using System.Security.Cryptography;
|
|
|
|
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();
|
|
}
|
|
}
|