Lines Matching refs:ske

412         // set good ske 1
416 // set good ske 2
420 // getEntry good ske 1
421 KeyStore.SecretKeyEntry ske =
423 if ("DES".equals(ske.getSecretKey().getAlgorithm())) {
427 ("expected DES, got " + ske.getSecretKey().getAlgorithm());
430 // getEntry good ske 2
431 ske = (KeyStore.SecretKeyEntry)ks.getEntry("sk2", null);
432 if ("DESede".equals(ske.getSecretKey().getAlgorithm())) {
436 ("expected DESede, got " + ske.getSecretKey().getAlgorithm());
439 // getKey good ske 1
448 // getKey good ske 2
484 throw new SecurityException("expected ske");
491 throw new SecurityException("expected ske");
498 throw new SecurityException("expected ske");
904 // set good ske 1
908 // set good ske 2
912 // set good ske 3
918 // set good ske 4
924 // getEntry good ske 1
925 KeyStore.SecretKeyEntry ske =
927 if ("DES".equals(ske.getSecretKey().getAlgorithm())) {
931 ("expected DES, got " + ske.getSecretKey().getAlgorithm());
934 // getEntry good ske 2
935 ske = (KeyStore.SecretKeyEntry)ks.getEntry("sk2", null);
936 if ("DESede".equals(ske.getSecretKey().getAlgorithm())) {
940 ("expected DESede, got " + ske.getSecretKey().getAlgorithm());
943 // getEntry good ske 3
944 ske = (KeyStore.SecretKeyEntry)ks.getEntry("sk3", null);
945 if ("AES".equals(ske.getSecretKey().getAlgorithm())) {
949 ("expected AES, got " + ske.getSecretKey().getAlgorithm());
952 // getEntry good ske 4
953 ske = (KeyStore.SecretKeyEntry)ks.getEntry("sk4", null);
954 if ("ARCFOUR".equals(ske.getSecretKey().getAlgorithm())) {
958 ("expected ARCFOUR, got " + ske.getSecretKey().getAlgorithm());
961 // getKey good ske 1
970 // getKey good ske 2
979 // getKey good ske 3
988 // getKey good ske 4
1169 // getKey good ske 1
1178 // getKey good ske 4
1249 throw new SecurityException("expected ske");
1256 throw new SecurityException("expected ske");
1277 throw new SecurityException("expected ske");
1284 throw new SecurityException("expected ske");
1365 throw new SecurityException("expected ske");
1372 throw new SecurityException("expected ske");
1379 throw new SecurityException("expected ske");
1386 throw new SecurityException("expected ske");