< prev index next >

test/sun/security/krb5/RFC396xTest.java

Print this page




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 /*
  24  * @test
  25  * @bug 6862679



  26  * @run main/othervm RFC396xTest
  27  * @summary ESC: AD Authentication with user with umlauts fails
  28  */
  29 
  30 import java.lang.reflect.Array;
  31 import java.lang.reflect.Method;
  32 import sun.security.krb5.EncryptedData;
  33 import sun.security.krb5.internal.crypto.Des;
  34 import sun.security.krb5.internal.crypto.EType;
  35 import sun.security.krb5.internal.crypto.crc32;
  36 import sun.security.krb5.internal.crypto.dk.AesDkCrypto;
  37 import sun.security.krb5.internal.crypto.dk.Des3DkCrypto;
  38 import sun.security.krb5.internal.crypto.dk.DkCrypto;
  39 import java.nio.*;
  40 import javax.crypto.*;
  41 import javax.crypto.spec.*;
  42 
  43 public class RFC396xTest {
  44 
  45     static final String gclef = new String(Character.toChars(0x1d11e));




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 /*
  24  * @test
  25  * @bug 6862679
  26  * @modules java.security.jgss/sun.security.krb5
  27  *          java.security.jgss/sun.security.krb5.internal.crypto
  28  *          java.security.jgss/sun.security.krb5.internal.crypto.dk
  29  * @run main/othervm RFC396xTest
  30  * @summary ESC: AD Authentication with user with umlauts fails
  31  */
  32 
  33 import java.lang.reflect.Array;
  34 import java.lang.reflect.Method;
  35 import sun.security.krb5.EncryptedData;
  36 import sun.security.krb5.internal.crypto.Des;
  37 import sun.security.krb5.internal.crypto.EType;
  38 import sun.security.krb5.internal.crypto.crc32;
  39 import sun.security.krb5.internal.crypto.dk.AesDkCrypto;
  40 import sun.security.krb5.internal.crypto.dk.Des3DkCrypto;
  41 import sun.security.krb5.internal.crypto.dk.DkCrypto;
  42 import java.nio.*;
  43 import javax.crypto.*;
  44 import javax.crypto.spec.*;
  45 
  46 public class RFC396xTest {
  47 
  48     static final String gclef = new String(Character.toChars(0x1d11e));


< prev index next >