2004-02-10 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / XmlEncryption.cs
1 //
2 // XmlEncryption.cs: Handles Xml Encryption
3 //
4 // Author:
5 //      Tim Coleman (tim@timcoleman.com)
6 //      Sebastien Pouliot (spouliot@motus.com)
7 //
8 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
9 // Copyright (C) Tim Coleman, 2004
10 //
11
12 #if NET_1_2
13
14 using System;
15
16 namespace System.Security.Cryptography.Xml {
17
18         // following the design of WSE
19         internal class XmlEncryption {
20
21                 public class ElementNames {
22
23                         public const string CarriedKeyName = "CarriedKeyName";
24                         public const string CipherData = "CipherData";
25                         public const string CipherReference = "CipherReference";
26                         public const string CipherValue = "CipherValue";
27                         public const string DataReference = "DataReference";
28                         public const string EncryptedData = "EncryptedData";
29                         public const string EncryptedKey = "EncryptedKey";
30                         public const string EncryptionMethod = "EncryptionMethod";
31                         public const string EncryptionProperties = "EncryptionProperties";
32                         public const string EncryptionProperty = "EncryptionProperty";
33                         public const string KeyReference = "KeyReference";
34                         public const string KeySize = "KeySize";
35                         public const string ReferenceList = "ReferenceList";
36                         public const string Transforms = "Transforms";
37
38                         public ElementNames () {}
39                 }
40
41                 public class AttributeNames {
42
43                         public const string Algorithm = "Algorithm";
44                         public const string Encoding = "Encoding";
45                         public const string Id = "Id";
46                         public const string MimeType = "MimeType";
47                         public const string Recipient = "Recipient";
48                         public const string Target = "Target";
49                         public const string Type = "Type";
50                         public const string URI = "URI";
51
52                         public AttributeNames () {}
53                 }
54
55                 public const string Prefix = "xenc";
56
57                 public XmlEncryption () {}
58         }
59 }
60
61 #endif