e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
17 lines
688 B
C#
17 lines
688 B
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
|
|
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);
|
|
}
|
|
}
|