Lines Matching defs:sk1
72 private static SecretKey sk1;
158 sk1 = new P11SecretKey("DES", 64);
413 ks.setKeyEntry("sk1", sk1, null, null);
422 (KeyStore.SecretKeyEntry)ks.getEntry("sk1", null);
440 SecretKey skey = (SecretKey)ks.getKey("sk1", null);
480 // isCertificateEntry sk1
481 if (!ks.isCertificateEntry("sk1")) {
487 // isKeyEntry sk1
488 if (ks.isKeyEntry("sk1")) {
905 ks.setKeyEntry("sk1", sk1, null, null);
926 (KeyStore.SecretKeyEntry)ks.getEntry("sk1", null);
962 SecretKey skey = (SecretKey)ks.getKey("sk1", null);
1170 skey = (SecretKey)ks.getKey("sk1", null);
1209 !ks.containsAlias("sk1") ||
1245 // isCertificateEntry sk1
1246 if (!ks.isCertificateEntry("sk1")) {
1273 // isKeyEntry sk1
1274 if (ks.isKeyEntry("sk1")) {
1317 // entryInstanceOf sk1
1319 ("sk1", KeyStore.TrustedCertificateEntry.class)) {
1347 // entryInstanceOf sk1
1348 if (!ks.entryInstanceOf("sk1", KeyStore.PrivateKeyEntry.class)) {
1361 // entryInstanceOf sk1
1362 if (ks.entryInstanceOf("sk1", KeyStore.SecretKeyEntry.class)) {
1426 // entryInstanceOf sk1
1427 if (!ks.entryInstanceOf("sk1", KeyStore.PrivateKeyEntry.class)) {