/libcore/ojluni/src/main/java/javax/crypto/ |
D | CryptoPermission.java | 40 CryptoPermission(String alg) { super(""); } in CryptoPermission() argument 42 CryptoPermission(String alg, int maxKeySize) { super(""); } in CryptoPermission() argument 44 CryptoPermission(String alg, in CryptoPermission() argument 48 CryptoPermission(String alg, in CryptoPermission() argument 51 CryptoPermission(String alg, in CryptoPermission() argument 55 CryptoPermission(String alg, in CryptoPermission() argument
|
D | JceSecurityManager.java | 43 CryptoPermission getCryptoPermission(String alg) { return null; } in getCryptoPermission() argument
|
D | CryptoPermissions.java | 59 PermissionCollection getPermissionCollection(String alg) { return null; } in getPermissionCollection() argument
|
D | Cipher.java | 2452 String alg = params.getAlgorithm().toUpperCase(Locale.ENGLISH); in getAlgorithmParameterSpec() local 2454 if (alg.equalsIgnoreCase("RC2")) { in getAlgorithmParameterSpec() 2458 if (alg.equalsIgnoreCase("RC5")) { in getAlgorithmParameterSpec() 2462 if (alg.startsWith("PBE")) { in getAlgorithmParameterSpec() 2466 if (alg.startsWith("DES")) { in getAlgorithmParameterSpec()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyExemptionMechanismSpi.java | 108 private String alg; field in MyExemptionMechanismSpi.tmpKey 110 public tmpKey(String alg, byte[] enc) { in tmpKey() argument 111 this.alg = alg; in tmpKey() 118 return alg; in getAlgorithm() 127 public tmp1Key(String alg, byte[] enc) { in tmp1Key() argument
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairGenerator2Test.java | 202 String alg = validValues[i].concat(post); in GetInstance01() local 203 kpG = KeyPairGenerator.getInstance(alg); in GetInstance01() 205 .toUpperCase(), (mode <= 2 ? resAlg : alg).toUpperCase()); in GetInstance01() 241 String alg = validValues[i].concat(post); in GetInstance02() local 243 KeyPairGenerator.getInstance(alg, prov); in GetInstance02() 245 .concat(alg).concat(")")); in GetInstance02() 250 String alg = validValues[i].concat(post); in GetInstance02() local 253 KeyPairGenerator.getInstance(alg, invalidValues[j]); in GetInstance02() 255 .concat(alg).concat(" provider: ").concat( in GetInstance02() 263 String alg = validValues[i].concat(post); in GetInstance02() local [all …]
|
D | KeyPairGenerator3Test.java | 140 String[] alg = {null, "", "AsDfGh!#$*", "DSA", "RSA"}; in testKeyPairGeneratorConst() local 143 for (int i = 0; i < alg.length; i++) { in testKeyPairGeneratorConst() 145 kpg = new MykeyPGen(alg[i]); in testKeyPairGeneratorConst() 158 public MykeyPGen(String alg) { in MykeyPGen() argument 159 super(alg); in MykeyPGen()
|
D | AlgorithmParametersTest.java | 197 String[] alg = {"", "qwertyu", "!@#$%^&*()"}; in test_getInstanceLjava_lang_StringLjava_lang_String() local 209 for (int i = 0; i < alg.length; i++) { in test_getInstanceLjava_lang_StringLjava_lang_String() 211 AlgorithmParameters ap = AlgorithmParameters.getInstance(alg[i], "MyProvider"); in test_getInstanceLjava_lang_StringLjava_lang_String() 212 fail("NoSuchAlgorithmException was not thrown for parameter " + alg[i]); in test_getInstanceLjava_lang_StringLjava_lang_String() 216 fail("Incorrect exception " + e + " was thrown for " + alg[i]); in test_getInstanceLjava_lang_StringLjava_lang_String() 305 String[] alg = {"", "qwertyu", "!@#$%^&*()"}; in test_getInstanceLjava_lang_StringLjava_security_Provider() local 317 for (int i = 0; i < alg.length; i++) { in test_getInstanceLjava_lang_StringLjava_security_Provider() 319 AlgorithmParameters ap = AlgorithmParameters.getInstance(alg[i], p); in test_getInstanceLjava_lang_StringLjava_security_Provider() 320 fail("NoSuchAlgorithmException was not thrown for parameter " + alg[i]); in test_getInstanceLjava_lang_StringLjava_security_Provider() 324 fail("Incorrect exception " + e + " was thrown for " + alg[i]); in test_getInstanceLjava_lang_StringLjava_security_Provider() [all …]
|
D | KSPrivateKeyEntryTest.java | 234 private String alg = "My algorithm"; field in KSPrivateKeyEntryTest.tmpPrivateKey 237 return alg; in getAlgorithm() 253 alg = algorithm; in tmpPrivateKey()
|
D | KeyPairGenerator4Test.java | 43 String alg = KeyPairGenerator.getInstance("DSA").getAlgorithm(); in test_getAlgorithm() local 44 assertEquals("getAlgorithm returned unexpected value", "DSA", alg); in test_getAlgorithm()
|
D | AlgorithmParameterGenerator1Test.java | 388 public myAlgPG(AlgorithmParameterGeneratorSpi spi, Provider prov, String alg) { in myAlgPG() argument 389 super(spi, prov, alg); in myAlgPG()
|
D | Signature2Test.java | 90 String alg = Signature.getInstance("DSA").getAlgorithm(); in test_getAlgorithm() local 91 assertTrue("getAlgorithm did not get DSA (" + alg + ")", alg in test_getAlgorithm()
|
D | KeyFactory2Test.java | 72 private KeepAlive createKeepAlive(String alg) { in createKeepAlive() argument 73 if (alg.equals("RSA")) { in createKeepAlive()
|
/libcore/tools/docs/crypto/ |
D | update_crypto_support.py | 196 for alg in alg_union: 197 prev_alg = find_by_normalized_name(prev_category['algorithms'], alg) 200 elif alg in name_dict: 201 new_algorithm = {'name': name_dict[alg]} 203 new_algorithm = {'name': alg} 207 if alg in current_category and alg in prev_algorithms: 214 elif alg in prev_algorithms: 229 if alg in prev_algorithms and 'note' in prev_alg:
|
/libcore/ojluni/src/main/java/java/security/ |
D | SecureRandom.java | 648 String alg = m.group(1); in getInstanceStrong() local 653 return SecureRandom.getInstance(alg); in getInstanceStrong() 655 return SecureRandom.getInstance(alg, prov); in getInstanceStrong()
|
D | Provider.java | 971 String alg = key.substring(i + 1); in getTypeAndAlgorithm() local 972 return new String[] {type, alg}; in getTypeAndAlgorithm()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | KeyAgreementThread.java | 50 public byte[] getSecretKey(String alg, byte[] publicKey) throws Exception { in getSecretKey() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | TrustManagerFactory1Test.java | 516 String alg) { in myTrustManagerFactory() argument 517 super(spi, prov, alg); in myTrustManagerFactory()
|
D | KeyManagerFactory1Test.java | 525 String alg) { in myKeyManagerFactory() argument 526 super(spi, prov, alg); in myKeyManagerFactory()
|
D | SSLContext1Test.java | 596 public MySslContext(SSLContextSpi spi, Provider prov, String alg) { in MySslContext() argument 597 super(spi, prov, alg); in MySslContext()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | ProviderList.java | 361 for (String alg : algorithms) { 362 ids.add(new ServiceId(type, alg));
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | SecretKeyFactoryTest.java | 480 public mySecretKeyFactory(SecretKeyFactorySpi spi, Provider prov, String alg) { in mySecretKeyFactory() argument 481 super(spi, prov, alg); in mySecretKeyFactory()
|