/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
DefaultCMSSignatureAlgorithmNameGenerator.java | 118 String algName = (String)digestAlgs.get(digestAlgOID); 120 if (algName != null) 122 return algName; 136 String algName = (String)encryptionAlgs.get(encryptionAlgOID); 138 if (algName != null) 140 return algName;
|
CMSSignedHelper.java | 160 String algName = (String)digestAlgs.get(digestAlgOID); 162 if (algName != null) 164 return algName; 178 String algName = (String)encryptionAlgs.get(encryptionAlgOID); 180 if (algName != null) 182 return algName;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseKeyGenerator.java | 18 protected String algName; 26 String algName, 30 this.algName = algName; 80 return new SecretKeySpec(engine.generateKey(), algName);
|
BaseSecretKeyFactory.java | 18 protected String algName; 22 String algName, 25 this.algName = algName; 57 return new SecretKeySpec(key.getEncoded(), algName); 86 if (!key.getAlgorithm().equalsIgnoreCase(algName)) 88 throw new InvalidKeyException("Key not of type " + algName + "."); 91 return new SecretKeySpec(key.getEncoded(), algName);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/ |
AlgNameMapperTest.java | 90 String algName = AlgNameMapper.map2AlgName(NON_HARDCODED_ALIASES[i][0]); 91 assertNotNull(algName); 93 algName.toUpperCase(Locale.US)); 95 String oid = AlgNameMapper.map2OID(algName);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAPrivateKeyImpl.java | 105 String alg, algName; 142 algName = AlgNameMapper.map2AlgName(alg); 143 setAlgorithm(algName == null ? alg : algName);
|
DSAPublicKeyImpl.java | 111 String alg, algName; 146 algName = AlgNameMapper.map2AlgName(alg); 147 setAlgorithm(algName == null ? alg : algName);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
SubjectPublicKeyInfo.java | 115 final String algName = algorithmID.getAlgorithmName(); 116 publicKey = generateKeyForAlgorithm(keySpec, algName); 123 if (publicKey == null && !algOid.equals(algName)) {
|
/libcore/luni/src/main/java/javax/crypto/ |
EncryptedPrivateKeyInfo.java | 60 private String algName; 93 algName = aId.getAlgorithm(); 94 // algName == oid now 96 // algName == name from map oid->name if mapping exists, or 97 // algName == oid if mapping does not exist 103 aParams = AlgorithmParameters.getInstance(algName); 106 algName = aParams.getAlgorithm(); 141 this.algName = encryptionAlgorithmName; 143 throw new NoSuchAlgorithmException("Unsupported algorithm: " + this.algName); 187 this.algName = this.algParameters.getAlgorithm() [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
TestThread.java | 21 public String algName = null; 37 algName = getNextAlgorithmName(); 71 return algName;
|
CipherThread.java | 32 private String algName = null; 41 algName = name; 118 return algName; 138 return "Alg name:" + algName + " Key:" + keyLength + " Mode:" + mode + 147 return algName;
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
OperatorHelper.java | 260 String algName = getSignatureName(algorithm); 262 algName = "NONE" + algName.substring(algName.indexOf("WITH")); 264 sig = helper.createSignature(algName); 271 AlgorithmParameters params = helper.createAlgorithmParameters(algName);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
ConnectionStateSSLv3.java | 73 String algName = cipherSuite.getBulkEncryptionAlgorithm(); 79 logger.println(" encryption alg name: " + algName); 177 if (algName == null) { 181 encCipher = Cipher.getInstance(algName); 182 decCipher = Cipher.getInstance(algName); 185 new SecretKeySpec(client_key, 0, key_size, algName), 188 new SecretKeySpec(server_key, 0, key_size, algName), 192 new SecretKeySpec(server_key, 0, key_size, algName), 195 new SecretKeySpec(client_key, 0, key_size, algName),
|
ConnectionStateTLS.java | 95 String algName = cipherSuite.getBulkEncryptionAlgorithm(); 101 logger.println(" encryption alg name: " + algName); 195 if (algName == null) { 199 encCipher = Cipher.getInstance(algName); 200 decCipher = Cipher.getInstance(algName); 203 new SecretKeySpec(client_key, algName), clientIV); 205 new SecretKeySpec(server_key, algName), serverIV); 208 new SecretKeySpec(server_key, algName), serverIV); 210 new SecretKeySpec(client_key, algName), clientIV);
|
/packages/apps/Settings/src/com/android/settings/ |
CredentialStorage.java | 199 String algName = AlgNameMapper.map2AlgName(algId); 201 return KeyChain.isBoundKeyAlgorithm(algName);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
EncryptedPrivateKeyInfoTest.java | 68 private static final String[][] algName = { [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CRLImplTest.java | 74 private static String algName = "SHA1withDSA"; 441 algName, crl.getSigAlgName());
|
X509CertFactoryPerfTest.java | 69 static String algName = "SHA1withDSA"; 570 algName, certificate.getSigAlgName());
|
X509CertImplTest.java | 94 String algName = "SHA1withDSA"; 500 algName, certificate.getSigAlgName());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
X509CertificateObject.java | 252 String algName = prov.getProperty("Alg.Alias.Signature." + this.getSigAlgOID()); 254 if (algName != null) 256 return algName; 267 String algName = provs[i].getProperty("Alg.Alias.Signature." + this.getSigAlgOID()); 268 if (algName != null) 270 return algName;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
X509CertificateObject.java | 250 String algName = prov.getProperty("Alg.Alias.Signature." + this.getSigAlgOID()); 252 if (algName != null) 254 return algName; 265 String algName = provs[i].getProperty("Alg.Alias.Signature." + this.getSigAlgOID()); 266 if (algName != null) 268 return algName;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
EncryptedPrivateKeyInfoTest.java | 71 private static final String[][] algName = { 199 for (int i = 0; i < algName.length; i++) { 202 TestDataGenerator g = new TestDataGenerator(algName[i][0], 203 algName[i][1], privateKeyInfoDamaged, null); 208 epki = new EncryptedPrivateKeyInfo(algName[i][0], g.ct()); 214 if (algName[i].length == 3) { 215 assertEquals(algName[i][2], epki.getAlgName()); [all...] |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |