/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAPublicKeyImpl.java | 26 * in the below "DSAPublicKeyImpl(X509EncodedKeySpec keySpec)" constructor. 64 * @param keySpec - a DSAPublicKeySpec object 66 public DSAPublicKeyImpl(DSAPublicKeySpec keySpec) { 72 p = keySpec.getP(); 73 q = keySpec.getQ(); 74 g = keySpec.getG(); 83 y = keySpec.getY(); 95 * @param keySpec - a X509EncodedKeySpec object 99 public DSAPublicKeyImpl(X509EncodedKeySpec keySpec) 109 byte[] encoding = keySpec.getEncoded() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
DES.java | 8 import java.security.spec.KeySpec; 244 protected KeySpec engineGetKeySpec( 246 Class keySpec) 249 if (keySpec == null) 251 throw new InvalidKeySpecException("keySpec parameter is null"); 258 if (SecretKeySpec.class.isAssignableFrom(keySpec)) 262 else if (DESKeySpec.class.isAssignableFrom(keySpec)) 276 throw new InvalidKeySpecException("Invalid KeySpec"); 280 KeySpec keySpec) [all...] |
DESede.java | 12 import java.security.spec.KeySpec; 310 protected KeySpec engineGetKeySpec( 312 Class keySpec) 315 if (keySpec == null) 317 throw new InvalidKeySpecException("keySpec parameter is null"); 324 if (SecretKeySpec.class.isAssignableFrom(keySpec)) 328 else if (DESedeKeySpec.class.isAssignableFrom(keySpec)) 354 throw new InvalidKeySpecException("Invalid KeySpec"); 358 KeySpec keySpec) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
CipherPBEThread.java | 42 PBEKeySpec keySpec = new PBEKeySpec("top sicret password".toCharArray()); 44 SecretKey key = skf.generateSecret(keySpec);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/ |
SubjectPublicKeyInfoTest.java | 38 import java.security.spec.KeySpec; 114 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { 115 if (!(keySpec instanceof X509EncodedKeySpec)) { 119 X509EncodedKeySpec x509ks = (X509EncodedKeySpec) keySpec; 124 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { 129 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec)
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLKey.java | 93 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) 95 X509EncodedKeySpec x509KeySpec = (X509EncodedKeySpec) keySpec; 128 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) 130 PKCS8EncodedKeySpec pkcs8KeySpec = (PKCS8EncodedKeySpec) keySpec;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
SHA1.java | 4 import java.security.spec.KeySpec; 109 KeySpec keySpec) 112 if (keySpec instanceof PBEKeySpec) 114 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; 146 throw new InvalidKeySpecException("Invalid KeySpec");
|
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 185 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(PK_BYTES); 187 PublicKey pk = keyFactory.generatePublic(keySpec); [all...] |
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactory_ImplTest.java | 30 import java.security.spec.KeySpec; 83 KeySpec keySpec; 88 keySpec = skf.getKeySpec(null, null); 89 assertNull("getKeySpec method must return null", keySpec);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 264 DESedeKeySpec keySpec = new DESedeKeySpec(keyMaterial); 266 Key k = skf.generateSecret(keySpec); 313 DESedeKeySpec keySpec = new DESedeKeySpec(keyMaterial); 315 Key k = skf.generateSecret(keySpec);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 141 PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(derKey); 143 return (PrivateKey) keyFactory.generatePrivate(keySpec);
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherTest.java | 251 RSAPrivateKeySpec keySpec = new RSAPrivateKeySpec(RSA_2048_modulus, 253 key = kf.generatePrivate(keySpec); 273 RSAPublicKeySpec keySpec = new RSAPublicKeySpec(RSA_2048_modulus, 275 key = kf.generatePublic(keySpec); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyFactory2Test.java | 34 import java.security.spec.KeySpec; 109 // java.security.KeyFactory.generatePrivate(java.security.spec.KeySpec) 122 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), 137 // java.security.KeyFactory.generatePublic(java.security.spec.KeySpec) 151 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), 226 // Test for method java.security.spec.KeySpec 243 KeySpec privateKeySpec = fact.getKeySpec(keys.getPrivate(), 245 KeySpec publicKeySpec = fact.getKeySpec(keys.getPublic(), 261 KeySpec encodedSpec = fact.getKeySpec(keys.getPublic(), 351 public PrivateKey engineGeneratePrivate(KeySpec keySpec) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
DSAKeyFactoryImplTest.java | 37 import java.security.spec.KeySpec; 77 static KeySpec x509KeySpec; 92 static KeySpec pkcs8KeySpec; 125 x509KeySpec = (KeySpec) new X509EncodedKeySpec(publicEncoding); 140 pkcs8KeySpec = (KeySpec) new PKCS8EncodedKeySpec(privateEncoding); 257 * A test against the "generatePublic(KeySpec)" method. 276 * A test against the "generatePublic(KeySpec)" method. 287 * A test against the "generatePublic(KeySpec)" method. 293 KeySpec keySpec = (KeySpec) new DSAPublicKeySpec(publicY, publicP, publicQ, publicG) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 328 DESedeKeySpec keySpec = new DESedeKeySpec(keyMaterial); 330 Key k = skf.generateSecret(keySpec); 386 DESedeKeySpec keySpec = new DESedeKeySpec(keyMaterial); 388 Key k = skf.generateSecret(keySpec); [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | [all...] |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |