/openjdk7/jdk/test/sun/security/pkcs11/ec/ |
H A D | TestECDSA.java | 83 private static void verify(Provider provider, String alg, PublicKey key, byte[] data, byte[] sig, boolean result) throws Exception { argument 84 Signature s = Signature.getInstance(alg, provider); 100 private static void sign(Provider provider, String alg, PrivateKey key, byte[] data) throws Exception { argument 101 Signature s = Signature.getInstance(alg, provider);
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | Cipher.java | 347 Transform(String alg, String suffix, String mode, String pad) { argument 348 this.transform = alg + suffix; 414 String alg = parts[0]; 426 Transform tr = new Transform(alg, "", null, null); 431 list.add(new Transform(alg, "/" + mode + "/" + pad, null, null)); 432 list.add(new Transform(alg, "/" + mode, null, pad)); 433 list.add(new Transform(alg, "//" + pad, mode, null)); 434 list.add(new Transform(alg, "", mode, pad)); 441 String alg = s.getAlgorithm().toUpperCase(Locale.ENGLISH); 444 if (alg [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | TemplateManager.java | 115 CK_ATTRIBUTE[] getAttributes(String op, long type, long alg, argument 117 TemplateKey key = new TemplateKey(op, type, alg);
|
H A D | Token.java | 279 CK_ATTRIBUTE[] getAttributes(String op, long type, long alg, argument 282 templateManager.getAttributes(op, type, alg, attrs);
|
H A D | P11KeyStore.java | 1911 String alg = privateKey.getAlgorithm(); 1912 if (id && alg.equals("RSA") && (publicKey instanceof RSAPublicKey)) { 1916 } else if (alg.equals("DSA") && (publicKey instanceof DSAPublicKey)) { 1924 } else if (alg.equals("DH") && (publicKey instanceof DHPublicKey)) { 1932 } else if (alg.equals("EC") && (publicKey instanceof ECPublicKey)) { 1944 throw new RuntimeException("Unknown key algorithm " + alg);
|
/openjdk7/jdk/test/sun/security/provider/DSA/ |
H A D | TestDSA.java | 85 private static void verify(Provider provider, String alg, PublicKey key, byte[] data, byte[] sig, boolean result) throws Exception { argument 86 Signature s = Signature.getInstance(alg, provider);
|
/openjdk7/jdk/test/sun/security/pkcs11/Signature/ |
H A D | TestDSA.java | 86 private static void verify(Provider provider, String alg, PublicKey key, byte[] data, byte[] sig, boolean result) throws Exception { argument 87 Signature s = Signature.getInstance(alg, provider);
|
/openjdk7/jdk/src/share/classes/sun/security/jca/ |
H A D | ProviderList.java | 360 for (String alg : algorithms) { 361 ids.add(new ServiceId(type, alg));
|
/openjdk7/jdk/test/sun/security/pkcs11/KeyStore/ |
H A D | Basic.java | 95 String alg; field in class:Basic.P11SecretKey 97 public P11SecretKey(String alg, int length) { argument 98 this.alg = alg; 101 public String getAlgorithm() { return alg; }
|
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/ |
H A D | SSLSecurity.java | 61 private static Service getService(String type, String alg) { argument 64 Service s = p.getService(type, alg);
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | Provider.java | 584 String alg = key.substring(i + 1); 585 return new String[] {type, alg}; 589 private final static String ALIAS_PREFIX_LOWER = "alg.alias.";
|
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | CipherHelper.java | 142 byte[] calculateChecksum(int alg, byte[] header, byte[] trailer, argument 145 switch (alg) {
|