/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 105 String algName = (String)algNames.get(sigAlgId.getAlgorithm()); in getSignatureName() local 106 if (algName != null) in getSignatureName() 108 return algName; in getSignatureName() 138 String algName = lookupAlg(prov, algOid); in findAlgName() local 139 if (algName != null) in findAlgName() 141 return algName; in findAlgName() 151 String algName = lookupAlg(provs[i], algOid); in findAlgName() local 152 if (algName != null) in findAlgName() 154 return algName; in findAlgName() 164 String algName = prov.getProperty("Alg.Alias.Signature." + algOid); in lookupAlg() local [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseSecretKeyFactory.java | 18 protected String algName; field in BaseSecretKeyFactory 22 String algName, in BaseSecretKeyFactory() argument 25 this.algName = algName; in BaseSecretKeyFactory() 35 return new SecretKeySpec(((SecretKeySpec)keySpec).getEncoded(), algName); in engineGenerateSecret() 57 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 86 if (!key.getAlgorithm().equalsIgnoreCase(algName)) in engineTranslateKey() 88 throw new InvalidKeyException("Key not of type " + algName + "."); in engineTranslateKey() 91 return new SecretKeySpec(key.getEncoded(), algName); in engineTranslateKey()
|
D | BaseKeyGenerator.java | 19 protected String algName; field in BaseKeyGenerator 27 String algName, in BaseKeyGenerator() argument 31 this.algName = algName; in BaseKeyGenerator() 81 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
|
D | PBESecretKeyFactory.java | 51 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 63 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseSecretKeyFactory.java | 22 protected String algName; field in BaseSecretKeyFactory 26 String algName, in BaseSecretKeyFactory() argument 29 this.algName = algName; in BaseSecretKeyFactory() 39 return new SecretKeySpec(((SecretKeySpec)keySpec).getEncoded(), algName); in engineGenerateSecret() 61 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 90 if (!key.getAlgorithm().equalsIgnoreCase(algName)) in engineTranslateKey() 92 throw new InvalidKeyException("Key not of type " + algName + "."); in engineTranslateKey() 95 return new SecretKeySpec(key.getEncoded(), algName); in engineTranslateKey()
|
D | BaseKeyGenerator.java | 23 protected String algName; field in BaseKeyGenerator 31 String algName, in BaseKeyGenerator() argument 35 this.algName = algName; in BaseKeyGenerator() 85 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
|
D | PBESecretKeyFactory.java | 55 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 67 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseSecretKeyFactory.java | 22 protected String algName; field in BaseSecretKeyFactory 26 String algName, in BaseSecretKeyFactory() argument 29 this.algName = algName; in BaseSecretKeyFactory() 39 return new SecretKeySpec(((SecretKeySpec)keySpec).getEncoded(), algName); in engineGenerateSecret() 61 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 90 if (!key.getAlgorithm().equalsIgnoreCase(algName)) in engineTranslateKey() 92 throw new InvalidKeyException("Key not of type " + algName + "."); in engineTranslateKey() 95 return new SecretKeySpec(key.getEncoded(), algName); in engineTranslateKey()
|
D | BaseKeyGenerator.java | 23 protected String algName; field in BaseKeyGenerator 31 String algName, in BaseKeyGenerator() argument 35 this.algName = algName; in BaseKeyGenerator() 85 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
|
D | PBESecretKeyFactory.java | 55 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 67 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 106 String algName = (String)algNames.get(sigAlgId.getAlgorithm()); in getSignatureName() local 107 if (algName != null) in getSignatureName() 109 return algName; in getSignatureName() 139 String algName = lookupAlg(prov, algOid); in findAlgName() local 140 if (algName != null) in findAlgName() 142 return algName; in findAlgName() 152 String algName = lookupAlg(provs[i], algOid); in findAlgName() local 153 if (algName != null) in findAlgName() 155 return algName; in findAlgName() 165 String algName = prov.getProperty("Alg.Alias.Signature." + algOid); in lookupAlg() local [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 106 String algName = (String)algNames.get(sigAlgId.getAlgorithm()); in getSignatureName() local 107 if (algName != null) in getSignatureName() 109 return algName; in getSignatureName() 139 String algName = lookupAlg(prov, algOid); in findAlgName() local 140 if (algName != null) in findAlgName() 142 return algName; in findAlgName() 152 String algName = lookupAlg(provs[i], algOid); in findAlgName() local 153 if (algName != null) in findAlgName() 155 return algName; in findAlgName() 165 String algName = prov.getProperty("Alg.Alias.Signature." + algOid); in lookupAlg() local [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | DefaultCMSSignatureAlgorithmNameGenerator.java | 169 String algName = (String)digestAlgs.get(digestAlgOID); in getDigestAlgName() local 171 if (algName != null) in getDigestAlgName() 173 return algName; in getDigestAlgName() 187 String algName = (String)encryptionAlgs.get(encryptionAlgOID); in getEncryptionAlgName() local 189 if (algName != null) in getEncryptionAlgName() 191 return algName; in getEncryptionAlgName()
|
D | CMSSignedHelper.java | 145 String algName = (String)encryptionAlgs.get(encryptionAlgOID); in getEncryptionAlgName() local 147 if (algName != null) in getEncryptionAlgName() 149 return algName; in getEncryptionAlgName()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLX509CRL.java | 358 String algName = OidData.oidToAlgorithmName(oid); in getSigAlgName() local 359 if (algName != null) { in getSigAlgName() 360 return algName; in getSigAlgName() 362 algName = Platform.oidToAlgorithmName(oid); in getSigAlgName() 363 if (algName != null) { in getSigAlgName() 364 return algName; in getSigAlgName()
|
D | OpenSSLX509Certificate.java | 316 String algName = OidData.oidToAlgorithmName(oid); in getSigAlgName() local 317 if (algName != null) { in getSigAlgName() 318 return algName; in getSigAlgName() 320 algName = Platform.oidToAlgorithmName(oid); in getSigAlgName() 321 if (algName != null) { in getSigAlgName() 322 return algName; in getSigAlgName()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLX509CRL.java | 356 String algName = OidData.oidToAlgorithmName(oid); in getSigAlgName() local 357 if (algName != null) { in getSigAlgName() 358 return algName; in getSigAlgName() 360 algName = Platform.oidToAlgorithmName(oid); in getSigAlgName() 361 if (algName != null) { in getSigAlgName() 362 return algName; in getSigAlgName()
|
D | OpenSSLX509Certificate.java | 315 String algName = OidData.oidToAlgorithmName(oid); in getSigAlgName() local 316 if (algName != null) { in getSigAlgName() 317 return algName; in getSigAlgName() 319 algName = Platform.oidToAlgorithmName(oid); in getSigAlgName() 320 if (algName != null) { in getSigAlgName() 321 return algName; in getSigAlgName()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | DES.java | 238 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey() 266 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 348 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 375 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
D | DESede.java | 194 return new SecretKeySpec(k, algName); in engineGenerateKey() 198 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey() 329 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/ |
D | DES.java | 254 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey() 285 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 370 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 397 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
D | DESede.java | 213 return new SecretKeySpec(k, algName); in engineGenerateKey() 217 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey() 356 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/ |
D | DES.java | 254 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey() 285 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec() 370 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 397 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
D | DESede.java | 213 return new SecretKeySpec(k, algName); in engineGenerateKey() 217 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey() 356 return new SecretKeySpec(key.getEncoded(), algName); in engineGetKeySpec()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | OperatorHelper.java | 456 String algName = getSignatureName(algorithm); in createRawSignature() local 458 algName = "NONE" + algName.substring(algName.indexOf("WITH")); in createRawSignature() 460 sig = helper.createSignature(algName); in createRawSignature() 467 AlgorithmParameters params = helper.createAlgorithmParameters(algName); in createRawSignature()
|