HomeSort by relevance Sort by last modified time
    Searched defs:keyFactory (Results 1 - 13 of 13) sorted by null

  /external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
DigitalSignatureTest.java 21 import java.security.KeyFactory;
78 KeyFactory keyFactory = KeyFactory.getInstance("RSA");
79 PrivateKey privateKey = keyFactory
82 final PublicKey publicKey = keyFactory
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
CryptoProviderTest.java 20 import java.security.KeyFactory;
66 KeyFactory keyFactory;
79 keyFactory = KeyFactory.getInstance(keyFactoryNames[i], providerName);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLCipherRSA.java 24 import java.security.KeyFactory;
326 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm);
327 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded));
329 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm);
330 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded));
OpenSSLCipher.java 24 import java.security.KeyFactory;
479 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm);
480 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded));
482 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm);
483 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded));
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactory_ImplTest.java 25 import java.security.KeyFactory;
217 KeyFactory keyFactory =
218 KeyFactory.getInstance(publicKeyAlgorithm);
219 publicKey = keyFactory.generatePublic(publicKeySpec);
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/updates/
CertPinInstallReceiverTest.java 41 import java.security.KeyFactory;
142 KeyFactory keyFactory = KeyFactory.getInstance("RSA");
143 return (PrivateKey) keyFactory.generatePrivate(keySpec);
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 29 import java.security.KeyFactory;
383 Provider[] providers = Security.getProviders("KeyFactory.EC");
394 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider);
395 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey));
400 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider);
401 return (ECPublicKey) keyFactory.generatePublic(new X509EncodedKeySpec(x509EncodedKey))
    [all...]
  /packages/apps/CertInstaller/src/com/android/certinstaller/
CredentialHelper.java 35 import java.security.KeyFactory;
201 KeyFactory keyFactory = KeyFactory.getInstance("RSA");
202 mUserKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(bytes));
  /libcore/luni/src/test/java/libcore/java/security/
SignatureTest.java 25 import java.security.KeyFactory;
146 KeyFactory kf = KeyFactory.getInstance("RSA", p);
263 KeyFactory keyFactory = KeyFactory.getInstance("RSA");
264 PublicKey pk = keyFactory.generatePublic(keySpec);
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
CertPathValidatorUtilities.java 7 import java.security.KeyFactory;
    [all...]
  /frameworks/base/core/java/android/content/pm/
PackageParser.java 43 import java.security.KeyFactory;
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.security_1.0.200.v20100503.jar 
  /frameworks/base/services/java/com/android/server/
BackupManagerService.java     [all...]

Completed in 734 milliseconds