1 /* 2 * reserved comment block 3 * DO NOT REMOVE OR ALTER! 4 */ 5 /* 6 * Copyright 2004 The Apache Software Foundation. 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 * 20 */ 21 22 package com.sun.org.apache.xml.internal.security.encryption; 23 24 25 /** 26 * Constants 27 */ 28 public interface XMLCipherParameters { 29 30 /** */ 31 public static final String AES_128 = 32 "http://www.w3.org/2001/04/xmlenc#aes128-cbc"; 33 34 /** */ 35 public static final String AES_256 = 36 "http://www.w3.org/2001/04/xmlenc#aes256-cbc"; 37 38 /** */ 39 public static final String AES_192 = 40 "http://www.w3.org/2001/04/xmlenc#aes192-cbc"; 41 42 /** */ 43 public static final String RSA_1_5 = 44 "http://www.w3.org/2001/04/xmlenc#rsa-1_5"; 45 46 /** */ 47 public static final String RSA_OAEP = 48 "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"; 49 50 /** */ 51 public static final String DIFFIE_HELLMAN = 52 "http://www.w3.org/2001/04/xmlenc#dh"; 53 54 /** */ 55 public static final String TRIPLEDES_KEYWRAP = 56 "http://www.w3.org/2001/04/xmlenc#kw-tripledes"; 57 58 /** */ 59 public static final String AES_128_KEYWRAP = 60 "http://www.w3.org/2001/04/xmlenc#kw-aes128"; 61 62 /** */ 63 public static final String AES_256_KEYWRAP = 64 "http://www.w3.org/2001/04/xmlenc#kw-aes256"; 65 66 /** */ 67 public static final String AES_192_KEYWRAP = 68 "http://www.w3.org/2001/04/xmlenc#kw-aes192"; 69 70 /** */ 71 public static final String SHA1 = 72 "http://www.w3.org/2000/09/xmldsig#sha1"; 73 74 /** */ 75 public static final String SHA256 = 76 "http://www.w3.org/2001/04/xmlenc#sha256"; 77 78 /** */ 79 public static final String SHA512 = 80 "http://www.w3.org/2001/04/xmlenc#sha512"; 81 82 /** */ 83 public static final String RIPEMD_160 = 84 "http://www.w3.org/2001/04/xmlenc#ripemd160"; 85 86 /** */ 87 public static final String XML_DSIG = 88 "http://www.w3.org/2000/09/xmldsig#"; 89 90 /** */ 91 public static final String N14C_XML = 92 "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; 93 94 /** */ 95 public static final String N14C_XML_CMMNTS = 96 "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; 97 98 /** */ 99 public static final String EXCL_XML_N14C = 100 "http://www.w3.org/2001/10/xml-exc-c14n#"; 101 102 /** */ 103 public static final String EXCL_XML_N14C_CMMNTS = 104 "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"; 105 }