/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | OpenSSLECKeyFactory.java | 39 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { argument 40 if (keySpec == null) { 41 throw new InvalidKeySpecException("keySpec == null"); 44 if (keySpec instanceof ECPublicKeySpec) { 45 return new OpenSSLECPublicKey((ECPublicKeySpec) keySpec); 46 } else if (keySpec instanceof X509EncodedKeySpec) { 47 return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_EC); 50 + keySpec.getClass().getName()); 54 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { argument 55 if (keySpec 70 engineGetKeySpec(Key key, Class<T> keySpec) argument [all...] |
H A D | OpenSSLRSAKeyFactory.java | 39 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { argument 40 if (keySpec == null) { 41 throw new InvalidKeySpecException("keySpec == null"); 44 if (keySpec instanceof RSAPublicKeySpec) { 45 return new OpenSSLRSAPublicKey((RSAPublicKeySpec) keySpec); 46 } else if (keySpec instanceof X509EncodedKeySpec) { 47 return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_RSA); 50 + keySpec.getClass().getName()); 54 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { argument 55 if (keySpec 72 engineGetKeySpec(Key key, Class<T> keySpec) argument [all...] |
H A D | OpenSSLKey.java | 287 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) argument 289 X509EncodedKeySpec x509KeySpec = keySpec; 320 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) argument 322 PKCS8EncodedKeySpec pkcs8KeySpec = keySpec;
|
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/ |
H A D | MySecretKeyFactorySpi.java | 38 protected SecretKey engineGenerateSecret(KeySpec keySpec) argument 45 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
H A D | BaseKeyFactorySpi.java | 20 KeySpec keySpec) 23 if (keySpec instanceof PKCS8EncodedKeySpec) 27 return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); 41 KeySpec keySpec) 44 if (keySpec instanceof X509EncodedKeySpec) 48 return generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded())); 19 engineGeneratePrivate( KeySpec keySpec) argument 40 engineGeneratePublic( KeySpec keySpec) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
H A D | KeyFactory.java | 22 KeySpec keySpec) 25 if (keySpec instanceof PKCS8EncodedKeySpec) 29 PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); 45 throw new InvalidKeySpecException("Unknown KeySpec type: " + keySpec.getClass().getName()); 49 KeySpec keySpec) 52 if (keySpec instanceof X509EncodedKeySpec) 56 SubjectPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded()); 72 throw new InvalidKeySpecException("Unknown KeySpec type: " + keySpec.getClass().getName()); 75 protected KeySpec engineGetKeySpec(Key key, Class keySpec) argument 78 if (keySpec 21 engineGeneratePrivate( KeySpec keySpec) argument 48 engineGeneratePublic( KeySpec keySpec) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
H A D | BaseSecretKeyFactory.java | 30 KeySpec keySpec) 33 if (keySpec instanceof SecretKeySpec) 35 return (SecretKey)keySpec; 43 Class keySpec) 46 if (keySpec == null) 48 throw new InvalidKeySpecException("keySpec parameter is null"); 55 if (SecretKeySpec.class.isAssignableFrom(keySpec)) 64 Constructor c = keySpec.getConstructor(parameters); 29 engineGenerateSecret( KeySpec keySpec) argument 41 engineGetKeySpec( SecretKey key, Class keySpec) argument
|
H A D | PBESecretKeyFactory.java | 41 KeySpec keySpec) 44 if (keySpec instanceof PBEKeySpec) 46 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; 40 engineGenerateSecret( KeySpec keySpec) argument
|
H A D | PBE.java | 340 PBEKeySpec keySpec, 349 key = convertPassword(type, keySpec); 351 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); 368 PBEKeySpec keySpec, 378 key = convertPassword(type, keySpec); 380 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); 428 private static byte[] convertPassword(int type, PBEKeySpec keySpec) argument 434 key = PBEParametersGenerator.PKCS12PasswordToBytes(keySpec 339 makePBEMacParameters( PBEKeySpec keySpec, int type, int hash, int keySize) argument 367 makePBEParameters( PBEKeySpec keySpec, int type, int hash, int keySize, int ivSize) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
H A D | KeyFactorySpi.java | 68 KeySpec keySpec) 71 if (keySpec instanceof DHPrivateKeySpec) 73 return new BCDHPrivateKey((DHPrivateKeySpec)keySpec); 76 return super.engineGeneratePrivate(keySpec); 80 KeySpec keySpec) 83 if (keySpec instanceof DHPublicKeySpec) 85 return new BCDHPublicKey((DHPublicKeySpec)keySpec); 88 return super.engineGeneratePublic(keySpec); 67 engineGeneratePrivate( KeySpec keySpec) argument 79 engineGeneratePublic( KeySpec keySpec) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
H A D | KeyFactorySpi.java | 95 KeySpec keySpec) 98 if (keySpec instanceof DSAPrivateKeySpec) 100 return new BCDSAPrivateKey((DSAPrivateKeySpec)keySpec); 103 return super.engineGeneratePrivate(keySpec); 107 KeySpec keySpec) 110 if (keySpec instanceof DSAPublicKeySpec) 112 return new BCDSAPublicKey((DSAPublicKeySpec)keySpec); 115 return super.engineGeneratePublic(keySpec); 94 engineGeneratePrivate( KeySpec keySpec) argument 106 engineGeneratePublic( KeySpec keySpec) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
H A D | KeyFactorySpi.java | 84 KeySpec keySpec) 87 if (keySpec instanceof PKCS8EncodedKeySpec) 91 return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); 101 RSAPrivateKey.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); 109 else if (keySpec instanceof RSAPrivateCrtKeySpec) 111 return new BCRSAPrivateCrtKey((RSAPrivateCrtKeySpec)keySpec); 113 else if (keySpec instanceof RSAPrivateKeySpec) 115 return new BCRSAPrivateKey((RSAPrivateKeySpec)keySpec); 118 throw new InvalidKeySpecException("Unknown KeySpec type: " + keySpec.getClass().getName()); 122 KeySpec keySpec) 83 engineGeneratePrivate( KeySpec keySpec) argument 121 engineGeneratePublic( KeySpec keySpec) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
H A D | KeyFactorySpi.java | 125 KeySpec keySpec) 128 if (keySpec instanceof ECPrivateKeySpec) 130 return new BCECPrivateKey(algorithm, (ECPrivateKeySpec)keySpec, configuration); 132 else if (keySpec instanceof java.security.spec.ECPrivateKeySpec) 134 return new BCECPrivateKey(algorithm, (java.security.spec.ECPrivateKeySpec)keySpec, configuration); 137 return super.engineGeneratePrivate(keySpec); 141 KeySpec keySpec) 144 if (keySpec instanceof ECPublicKeySpec) 146 return new BCECPublicKey(algorithm, (ECPublicKeySpec)keySpec, configuration); 148 else if (keySpec instanceo 124 engineGeneratePrivate( KeySpec keySpec) argument 140 engineGeneratePublic( KeySpec keySpec) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
H A D | SHA1.java | 109 KeySpec keySpec) 112 if (keySpec instanceof PBEKeySpec) 114 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; 108 engineGenerateSecret( KeySpec keySpec) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
H A D | DESede.java | 311 Class keySpec) 314 if (keySpec == null) 316 throw new InvalidKeySpecException("keySpec parameter is null"); 323 if (SecretKeySpec.class.isAssignableFrom(keySpec)) 327 else if (DESedeKeySpec.class.isAssignableFrom(keySpec)) 357 KeySpec keySpec) 360 if (keySpec instanceof DESedeKeySpec) 362 DESedeKeySpec desKeySpec = (DESedeKeySpec)keySpec; 366 return super.engineGenerateSecret(keySpec); 309 engineGetKeySpec( SecretKey key, Class keySpec) argument 356 engineGenerateSecret( KeySpec keySpec) argument
|
H A D | DES.java | 245 Class keySpec) 248 if (keySpec == null) 250 throw new InvalidKeySpecException("keySpec parameter is null"); 257 if (SecretKeySpec.class.isAssignableFrom(keySpec)) 261 else if (DESKeySpec.class.isAssignableFrom(keySpec)) 279 KeySpec keySpec) 282 if (keySpec instanceof DESKeySpec) 284 DESKeySpec desKeySpec = (DESKeySpec)keySpec; 288 return super.engineGenerateSecret(keySpec); 320 KeySpec keySpec) 243 engineGetKeySpec( SecretKey key, Class keySpec) argument 278 engineGenerateSecret( KeySpec keySpec) argument 319 engineGenerateSecret( KeySpec keySpec) argument [all...] |
/external/robolectric/v3/runtime/ |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
/external/robolectric/v1/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |