2362N/A * Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * @bug 5008159 5008156 0N/A * @run main XMLEncKAT 0N/A * @summary Verify that the two key wrap ciphers, i.e. "DESedeWrap" 0N/A * and "AESWrap", work as expected. 0N/A * @author Valerie Peng 0N/A // should never happen 0N/A (
"yI+J1f3puYAERjIcT6vfg6RitmKX8nD0");
0N/A (
"01+yuQ2huPS1+Qv0LH+zaQ==");
0N/A (
"IlfuS40LvStVU0Mj8ePrrGHVhAb48y++");
0N/A (
"ZhZ4v3RlwTlCEOpIrHfLKVyJOBDtEJOOQDat/4xR1bA=");
0N/A // should never happen 0N/A "/PZvvn42E9dmMUZ8KCY6B5XtLaaIaG4X5YNDwgV5Vlo=",
0N/A "HgVuHoXxBQWD9fvi0gt9TanywZ5lJokM/12fcMG6gRoMjsCPulH+4A==" 0N/A "dV45TUpJbidb9iKa34xj1WVtTZ036cnqvym2TBJWR5c=",
0N/A "IbjZH7Mq564oMybpvCHWYM/5ER3eFsAV",
0N/A "19D633XVohP6UJvaVRAhJek+ahtM3gOiVs6nZyAasDEb+WCUQOcWZw==" 0N/A "iuZvvGBWScikHld9TtNIOz0Sm7Srg5AcxOBMA8qIvQY=",
0N/A "PeDwjnCsg6xWzs3SmzUtc2nyUz28nGu7" 0N/A "tPCC89jQShB+WDINCdRfKgf8wTlAx8xRXD73RmEHPBfix8zS1N82KQ==",
0N/A "bsL63D0hPN6EOyzdgfEmKsAAvoJiGM+Wp9a9KZM92IKdl7s3YSntRg==" 0N/A "IbnoS1cvuIFIGB46jj1V1FGftc92irrCwcC7BoBvxwQ=",
0N/A "ic+Om6/3ZKcThVN3iv9lUEankNkDv3Et",
0N/A "jOvQe4SxDqEMvAHcmb3Z+/Uedj23pvL6BRQsl2sjJlQ=",
0N/A // first test UNWRAP with known values 0N/A // then test WRAP and compare with the known values 0N/A // only run the tests on longer key lengths if unlimited version 0N/A // of JCE jurisdiction policy files are installed