/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECKeyFactory.java | 45 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePublic() argument 46 if (keySpec == null) { in engineGeneratePublic() 50 if (keySpec instanceof ECPublicKeySpec) { in engineGeneratePublic() 51 return new OpenSSLECPublicKey((ECPublicKeySpec) keySpec); in engineGeneratePublic() 52 } else if (keySpec instanceof X509EncodedKeySpec) { in engineGeneratePublic() 53 … return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_EC); in engineGeneratePublic() 56 + keySpec.getClass().getName()); in engineGeneratePublic() 60 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePrivate() argument 61 if (keySpec == null) { in engineGeneratePrivate() 65 if (keySpec instanceof ECPrivateKeySpec) { in engineGeneratePrivate() [all …]
|
D | OpenSSLRSAKeyFactory.java | 46 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePublic() argument 47 if (keySpec == null) { in engineGeneratePublic() 51 if (keySpec instanceof RSAPublicKeySpec) { in engineGeneratePublic() 52 return new OpenSSLRSAPublicKey((RSAPublicKeySpec) keySpec); in engineGeneratePublic() 53 } else if (keySpec instanceof X509EncodedKeySpec) { in engineGeneratePublic() 54 … return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_RSA); in engineGeneratePublic() 57 + keySpec.getClass().getName()); in engineGeneratePublic() 61 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException { in engineGeneratePrivate() argument 62 if (keySpec == null) { in engineGeneratePrivate() 66 if (keySpec instanceof RSAPrivateCrtKeySpec) { in engineGeneratePrivate() [all …]
|
D | OpenSSLKey.java | 267 static PublicKey getPublicKey(X509EncodedKeySpec keySpec, int type) in getPublicKey() argument 269 X509EncodedKeySpec x509KeySpec = keySpec; in getPublicKey() 300 static PrivateKey getPrivateKey(PKCS8EncodedKeySpec keySpec, int type) in getPrivateKey() argument 302 PKCS8EncodedKeySpec pkcs8KeySpec = keySpec; in getPrivateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | KeyFactory.java | 22 KeySpec keySpec) in engineGeneratePrivate() argument 25 if (keySpec instanceof PKCS8EncodedKeySpec) in engineGeneratePrivate() 29 … PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePrivate() 45 throw new InvalidKeySpecException("Unknown KeySpec type: " + keySpec.getClass().getName()); in engineGeneratePrivate() 49 KeySpec keySpec) in engineGeneratePublic() argument 52 if (keySpec instanceof X509EncodedKeySpec) in engineGeneratePublic() 56 …tPublicKeyInfo info = SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded()); in engineGeneratePublic() 72 throw new InvalidKeySpecException("Unknown KeySpec type: " + keySpec.getClass().getName()); in engineGeneratePublic() 75 protected KeySpec engineGetKeySpec(Key key, Class keySpec) in engineGetKeySpec() argument 78 if (keySpec.isAssignableFrom(PKCS8EncodedKeySpec.class) && key.getFormat().equals("PKCS#8")) in engineGetKeySpec() [all …]
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd_parser.y | 200 KeySpec * keySpec; variable 202 keySpec = ( KeySpec* ) malloc( sizeof( KeySpec ) ); 204 if ( !keySpec ) 210 strncpy( keySpec->name, $2, sizeof( keySpec->name ) ); 211 strncpy( keySpec->secret, $5, sizeof( keySpec->secret ) ); 213 keySpec->next = g_keys; 214 g_keys = keySpec; 402 KeySpec * keySpec; in ParseConfig() local 478 for ( keySpec = g_keys; keySpec; keySpec = keySpec->next ) in ParseConfig() 480 if ( strcmp( elem->string, keySpec->name ) == 0 ) in ParseConfig() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | KeyFactorySpi.java | 84 KeySpec keySpec) in engineGeneratePrivate() argument 87 if (keySpec instanceof PKCS8EncodedKeySpec) in engineGeneratePrivate() 91 … return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate() 101 RSAPrivateKey.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate() 109 else if (keySpec instanceof RSAPrivateCrtKeySpec) in engineGeneratePrivate() 111 return new BCRSAPrivateCrtKey((RSAPrivateCrtKeySpec)keySpec); in engineGeneratePrivate() 113 else if (keySpec instanceof RSAPrivateKeySpec) in engineGeneratePrivate() 115 return new BCRSAPrivateKey((RSAPrivateKeySpec)keySpec); in engineGeneratePrivate() 118 throw new InvalidKeySpecException("Unknown KeySpec type: " + keySpec.getClass().getName()); in engineGeneratePrivate() 122 KeySpec keySpec) in engineGeneratePublic() argument [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseSecretKeyFactory.java | 30 KeySpec keySpec) in engineGenerateSecret() argument 33 if (keySpec instanceof SecretKeySpec) in engineGenerateSecret() 35 return new SecretKeySpec(((SecretKeySpec)keySpec).getEncoded(), algName); in engineGenerateSecret() 43 Class keySpec) in engineGetKeySpec() argument 46 if (keySpec == null) in engineGetKeySpec() 55 if (SecretKeySpec.class.isAssignableFrom(keySpec)) in engineGetKeySpec() 64 Constructor c = keySpec.getConstructor(parameters); in engineGetKeySpec()
|
D | PBE.java | 379 PBEKeySpec keySpec, in makePBEMacParameters() argument 388 key = convertPassword(type, keySpec); in makePBEMacParameters() 390 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); in makePBEMacParameters() 407 PBEKeySpec keySpec, in makePBEParameters() argument 417 key = convertPassword(type, keySpec); in makePBEParameters() 419 generator.init(key, keySpec.getSalt(), keySpec.getIterationCount()); in makePBEParameters() 489 private static byte[] convertPassword(int type, PBEKeySpec keySpec) in convertPassword() argument 495 key = PBEParametersGenerator.PKCS12PasswordToBytes(keySpec.getPassword()); in convertPassword() 499 key = PBEParametersGenerator.PKCS5PasswordToUTF8Bytes(keySpec.getPassword()); in convertPassword() 503 key = PBEParametersGenerator.PKCS5PasswordToBytes(keySpec.getPassword()); in convertPassword()
|
D | PBESecretKeyFactory.java | 41 KeySpec keySpec) in engineGenerateSecret() argument 44 if (keySpec instanceof PBEKeySpec) in engineGenerateSecret() 46 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; in engineGenerateSecret()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
D | KeyFactorySpi.java | 95 KeySpec keySpec) in engineGeneratePrivate() argument 98 if (keySpec instanceof DSAPrivateKeySpec) in engineGeneratePrivate() 100 return new BCDSAPrivateKey((DSAPrivateKeySpec)keySpec); in engineGeneratePrivate() 103 return super.engineGeneratePrivate(keySpec); in engineGeneratePrivate() 107 KeySpec keySpec) in engineGeneratePublic() argument 110 if (keySpec instanceof DSAPublicKeySpec) in engineGeneratePublic() 114 return new BCDSAPublicKey((DSAPublicKeySpec)keySpec); in engineGeneratePublic() 128 return super.engineGeneratePublic(keySpec); in engineGeneratePublic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyFactorySpi.java | 125 KeySpec keySpec) in engineGeneratePrivate() argument 128 if (keySpec instanceof ECPrivateKeySpec) in engineGeneratePrivate() 130 return new BCECPrivateKey(algorithm, (ECPrivateKeySpec)keySpec, configuration); in engineGeneratePrivate() 132 else if (keySpec instanceof java.security.spec.ECPrivateKeySpec) in engineGeneratePrivate() 134 … return new BCECPrivateKey(algorithm, (java.security.spec.ECPrivateKeySpec)keySpec, configuration); in engineGeneratePrivate() 137 return super.engineGeneratePrivate(keySpec); in engineGeneratePrivate() 141 KeySpec keySpec) in engineGeneratePublic() argument 146 if (keySpec instanceof ECPublicKeySpec) in engineGeneratePublic() 148 return new BCECPublicKey(algorithm, (ECPublicKeySpec)keySpec, configuration); in engineGeneratePublic() 150 else if (keySpec instanceof java.security.spec.ECPublicKeySpec) in engineGeneratePublic() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyFactorySpi.java | 69 KeySpec keySpec) in engineGeneratePrivate() argument 72 if (keySpec instanceof DHPrivateKeySpec) in engineGeneratePrivate() 74 return new BCDHPrivateKey((DHPrivateKeySpec)keySpec); in engineGeneratePrivate() 77 return super.engineGeneratePrivate(keySpec); in engineGeneratePrivate() 81 KeySpec keySpec) in engineGeneratePublic() argument 84 if (keySpec instanceof DHPublicKeySpec) in engineGeneratePublic() 88 return new BCDHPublicKey((DHPublicKeySpec)keySpec); in engineGeneratePublic() 96 return super.engineGeneratePublic(keySpec); in engineGeneratePublic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseKeyFactorySpi.java | 20 KeySpec keySpec) in engineGeneratePrivate() argument 23 if (keySpec instanceof PKCS8EncodedKeySpec) in engineGeneratePrivate() 27 … return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded())); in engineGeneratePrivate() 41 KeySpec keySpec) in engineGeneratePublic() argument 44 if (keySpec instanceof X509EncodedKeySpec) in engineGeneratePublic() 48 …return generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)keySpec).getEncoded())… in engineGeneratePublic()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | DES.java | 245 Class keySpec) in engineGetKeySpec() argument 248 if (keySpec == null) in engineGetKeySpec() 257 if (SecretKeySpec.class.isAssignableFrom(keySpec)) in engineGetKeySpec() 261 else if (DESKeySpec.class.isAssignableFrom(keySpec)) in engineGetKeySpec() 279 KeySpec keySpec) in engineGenerateSecret() argument 282 if (keySpec instanceof DESKeySpec) in engineGenerateSecret() 284 DESKeySpec desKeySpec = (DESKeySpec)keySpec; in engineGenerateSecret() 288 return super.engineGenerateSecret(keySpec); in engineGenerateSecret() 320 KeySpec keySpec) in engineGenerateSecret() argument 323 if (keySpec instanceof PBEKeySpec) in engineGenerateSecret() [all …]
|
D | DESede.java | 312 Class keySpec) in engineGetKeySpec() argument 315 if (keySpec == null) in engineGetKeySpec() 324 if (SecretKeySpec.class.isAssignableFrom(keySpec)) in engineGetKeySpec() 328 else if (DESedeKeySpec.class.isAssignableFrom(keySpec)) in engineGetKeySpec() 358 KeySpec keySpec) in engineGenerateSecret() argument 361 if (keySpec instanceof DESedeKeySpec) in engineGenerateSecret() 363 DESedeKeySpec desKeySpec = (DESedeKeySpec)keySpec; in engineGenerateSecret() 367 return super.engineGenerateSecret(keySpec); in engineGenerateSecret()
|
D | PBEPBKDF2.java | 160 KeySpec keySpec) in engineGenerateSecret() argument 163 if (keySpec instanceof PBEKeySpec) in engineGenerateSecret() 165 PBEKeySpec pbeSpec = (PBEKeySpec)keySpec; in engineGenerateSecret()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiManagerFacade.java | 464 PKCS8EncodedKeySpec keySpec = new PKCS8EncodedKeySpec(keyBytes); in strToPrivateKey() local 466 PrivateKey priv = fact.generatePrivate(keySpec); in strToPrivateKey() 473 X509EncodedKeySpec keySpec = new X509EncodedKeySpec(keyBytes); in strToPublicKey() local 475 PublicKey pub = fact.generatePublic(keySpec); in strToPublicKey()
|
/external/robolectric/v3/runtime/ |
D | android-all-4.3_r2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/robolectric/v1/lib/main/ |
D | android.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |