mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* DataReference.cs EncryptedKey.cs EncryptedXml.cs
* KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
* X509IssuerSerial.cs XmlDecryptionTransform.cs:
Add new classes for Xml Encryption in 1.2
* CipherData.cs CipherReference.cs EncryptedData.cs
* EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
Change NamespaceURI reference to EncryptedXml class.
Make compliant with 1.2
* XmlEncryption.cs:
Add new entity names.
svn path=/trunk/mcs/; revision=22962
42 lines
803 B
C#
42 lines
803 B
C#
//
|
|
// DataReference.cs - DataReference implementation for XML Encryption
|
|
// http://www.w3.org/2001/04/xmlenc#sec-ReferenceList
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2004
|
|
|
|
#if NET_1_2
|
|
|
|
using System.Xml;
|
|
|
|
namespace System.Security.Cryptography.Xml {
|
|
public sealed class DataReference : EncryptedReference {
|
|
|
|
#region Constructors
|
|
|
|
public DataReference ()
|
|
: base ()
|
|
{
|
|
ReferenceType = XmlEncryption.ElementNames.DataReference;
|
|
}
|
|
|
|
public DataReference (string uri)
|
|
: base (uri)
|
|
{
|
|
ReferenceType = XmlEncryption.ElementNames.DataReference;
|
|
}
|
|
|
|
public DataReference (string uri, TransformChain tc)
|
|
: base (uri, tc)
|
|
{
|
|
ReferenceType = XmlEncryption.ElementNames.DataReference;
|
|
}
|
|
|
|
#endregion // Constructors
|
|
}
|
|
}
|
|
|
|
#endif
|