KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xml > internal > security > encryption > XMLCipherParameters


1 /*
2  * Copyright 2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */

17
18 package com.sun.org.apache.xml.internal.security.encryption;
19
20
21 /**
22  * Constants
23  */

24 public interface XMLCipherParameters {
25
26     /** */
27     public static final String JavaDoc AES_128 =
28         "http://www.w3.org/2001/04/xmlenc#aes128-cbc";
29
30     /** */
31     public static final String JavaDoc AES_256 =
32         "http://www.w3.org/2001/04/xmlenc#aes256-cbc";
33
34     /** */
35     public static final String JavaDoc AES_192 =
36         "http://www.w3.org/2001/04/xmlenc#aes192-cbc";
37
38     /** */
39     public static final String JavaDoc RSA_1_5 =
40         "http://www.w3.org/2001/04/xmlenc#rsa-1_5";
41
42     /** */
43     public static final String JavaDoc RSA_OAEP =
44         "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p";
45
46     /** */
47     public static final String JavaDoc DIFFIE_HELLMAN =
48         "http://www.w3.org/2001/04/xmlenc#dh";
49
50     /** */
51     public static final String JavaDoc TRIPLEDES_KEYWRAP =
52         "http://www.w3.org/2001/04/xmlenc#kw-tripledes";
53
54     /** */
55     public static final String JavaDoc AES_128_KEYWRAP =
56         "http://www.w3.org/2001/04/xmlenc#kw-aes128";
57
58     /** */
59     public static final String JavaDoc AES_256_KEYWRAP =
60         "http://www.w3.org/2001/04/xmlenc#kw-aes256";
61
62     /** */
63     public static final String JavaDoc AES_192_KEYWRAP =
64         "http://www.w3.org/2001/04/xmlenc#kw-aes192";
65
66     /** */
67     public static final String JavaDoc SHA1 =
68         "http://www.w3.org/2000/09/xmldsig#sha1";
69
70     /** */
71     public static final String JavaDoc SHA256 =
72         "http://www.w3.org/2001/04/xmlenc#sha256";
73
74     /** */
75     public static final String JavaDoc SHA512 =
76         "http://www.w3.org/2001/04/xmlenc#sha512";
77
78     /** */
79     public static final String JavaDoc RIPEMD_160 =
80         "http://www.w3.org/2001/04/xmlenc#ripemd160";
81
82     /** */
83     public static final String JavaDoc XML_DSIG =
84         "http://www.w3.org/2000/09/xmldsig#";
85
86     /** */
87     public static final String JavaDoc N14C_XML =
88         "http://www.w3.org/TR/2001/REC-xml-c14n-20010315";
89
90     /** */
91     public static final String JavaDoc N14C_XML_CMMNTS =
92         "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments";
93
94     /** */
95     public static final String JavaDoc EXCL_XML_N14C =
96         "http://www.w3.org/2001/10/xml-exc-c14n#";
97
98     /** */
99     public static final String JavaDoc EXCL_XML_N14C_CMMNTS =
100         "http://www.w3.org/2001/10/xml-exc-c14n#WithComments";
101 }
102
Popular Tags