DataReference.cs 803 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // DataReference.cs - DataReference implementation for XML Encryption
  3. // http://www.w3.org/2001/04/xmlenc#sec-ReferenceList
  4. //
  5. // Author:
  6. // Tim Coleman ([email protected])
  7. //
  8. // Copyright (C) Tim Coleman, 2004
  9. #if NET_1_2
  10. using System.Xml;
  11. namespace System.Security.Cryptography.Xml {
  12. public sealed class DataReference : EncryptedReference {
  13. #region Constructors
  14. public DataReference ()
  15. : base ()
  16. {
  17. ReferenceType = XmlEncryption.ElementNames.DataReference;
  18. }
  19. public DataReference (string uri)
  20. : base (uri)
  21. {
  22. ReferenceType = XmlEncryption.ElementNames.DataReference;
  23. }
  24. public DataReference (string uri, TransformChain tc)
  25. : base (uri, tc)
  26. {
  27. ReferenceType = XmlEncryption.ElementNames.DataReference;
  28. }
  29. #endregion // Constructors
  30. }
  31. }
  32. #endif