/libcore/support/src/test/java/libcore/javax/net/ssl/ |
RandomPrivateKeyX509ExtendedKeyManager.java | 21 import java.security.KeyFactory; 53 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); 56 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); 69 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class);
|
/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);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
AsymmetricAlgorithmProvider.java | 29 protected void registerOid(ConfigurableProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory) 31 provider.addAlgorithm("Alg.Alias.KeyFactory." + oid, name); 34 provider.addKeyInfoConverter(oid, keyFactory);
|
/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
|
/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...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLCipherRSA.java | 24 import java.security.KeyFactory; 327 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); 328 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); 330 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); 331 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded));
|
OpenSSLCipher.java | 25 import java.security.KeyFactory; 501 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); 502 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); 504 KeyFactory keyFactory = KeyFactory.getInstance(wrappedKeyAlgorithm); 505 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded));
|
/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);
|
/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));
|
/cts/tests/tests/security/src/android/security/cts/ |
OpenSSLEarlyCCSTest.java | 38 import java.security.KeyFactory; 264 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); 265 PrivateKey privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(
|
OpenSSLHeartbleedTest.java | 34 import java.security.KeyFactory; 266 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); 267 PrivateKey privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec( [all...] |
/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/wifi/java/android/net/wifi/ |
WifiEnterpriseConfig.java | 29 import java.security.KeyFactory; 181 KeyFactory keyFactory = KeyFactory.getInstance(algorithm); 182 userKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(bytes));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertPathValidatorUtilities.java | 7 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 | |
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 21 import java.security.KeyFactory; 186 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); 187 PublicKey pk = keyFactory.generatePublic(keySpec); [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 44 import java.security.KeyFactory; [all...] |
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | [all...] |