e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
|
|
namespace System.IdentityModel
|
|
{
|
|
using System.Xml;
|
|
|
|
abstract class Transform
|
|
{
|
|
protected Transform()
|
|
{
|
|
}
|
|
|
|
public abstract string Algorithm
|
|
{
|
|
get;
|
|
}
|
|
|
|
public virtual bool NeedsInclusiveContext
|
|
{
|
|
get { return false; }
|
|
}
|
|
|
|
public abstract object Process(object input, SignatureResourcePool resourcePool, DictionaryManager dictionaryManager);
|
|
|
|
public abstract byte[] ProcessAndDigest(object input, SignatureResourcePool resourcePool, string digestAlgorithm, DictionaryManager dictionaryManager);
|
|
|
|
public abstract void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager, bool preserveComments);
|
|
|
|
public abstract void WriteTo(XmlDictionaryWriter writer, DictionaryManager dictionaryManager);
|
|
}
|
|
}
|