Home
last modified time | relevance | path

Searched refs:keyFact (Results 1 – 6 of 6) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
DRSA.java89 AsymmetricKeyInfoConverter keyFact = new KeyFactorySpi(); in configure() local
91 registerOid(provider, PKCSObjectIdentifiers.rsaEncryption, "RSA", keyFact); in configure()
92 registerOid(provider, X509ObjectIdentifiers.id_ea_rsa, "RSA", keyFact); in configure()
93 registerOid(provider, PKCSObjectIdentifiers.id_RSAES_OAEP, "RSA", keyFact); in configure()
DDSA.java91 AsymmetricKeyInfoConverter keyFact = new KeyFactorySpi(); in configure() local
99 registerOid(provider, DSAUtil.dsaOids[i], "DSA", keyFact); in configure()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java440 … KeyFactory keyFact = helper.createKeyFactory(publicKeyInfo.getAlgorithm().getAlgorithm().getId()); in convertPublicKey() local
442 return keyFact.generatePublic(new X509EncodedKeySpec(publicKeyInfo.getEncoded())); in convertPublicKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java662 SecretKeyFactory keyFact = helper.createSecretKeyFactory(algorithm); in wrapKey() local
669 cipher.init(Cipher.WRAP_MODE, keyFact.generateSecret(pbeSpec), defParams); in wrapKey()
740 …SecretKeyFactory keyFact = helper.createSecretKeyFactory(alg.getKeyDerivationFunc().getAlgorithm()… in createCipher() local
745 …key = keyFact.generateSecret(new PBEKeySpec(password, func.getSalt(), func.getIterationCount().int… in createCipher()
749 …key = keyFact.generateSecret(new PBKDF2KeySpec(password, func.getSalt(), func.getIterationCount().… in createCipher()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java471 SecretKeyFactory keyFact = helper.createSecretKeyFactory(algorithm); in makePBECipher() local
476 cipher.init(mode, keyFact.generateSecret(pbeSpec), defParams); in makePBECipher()
/external/bouncycastle/patches/
Dbcprov.patch1371 AsymmetricKeyInfoConverter keyFact = new KeyFactorySpi();
1380 registerOid(provider, DSAUtil.dsaOids[i], "DSA", keyFact);
1652 registerOid(provider, PKCSObjectIdentifiers.rsaEncryption, "RSA", keyFact);
1653 registerOid(provider, X509ObjectIdentifiers.id_ea_rsa, "RSA", keyFact);
1654 registerOid(provider, PKCSObjectIdentifiers.id_RSAES_OAEP, "RSA", keyFact);
1655 - registerOid(provider, PKCSObjectIdentifiers.id_RSASSA_PSS, "RSA", keyFact);
1703 + // registerOid(provider, PKCSObjectIdentifiers.id_RSASSA_PSS, "RSA", keyFact);