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