Home
last modified time | relevance | path

Searched refs:KeyFactory (Results 1 – 25 of 97) sorted by relevance

1234

/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/
DSignatureTest.java36 import java.security.KeyFactory;
286 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in test18566_AlgorithmOid_MissingNull_Failure()
1603 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSA_Key_Success()
1613 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA256withRSA_Key_Success()
1623 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA384withRSA_Key_Success()
1633 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA512withRSA_Key_Success()
1643 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_MD5withRSA_Key_Success()
1653 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSAPSS_Key_Success()
1669 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSAPSS_NoSalt_Key_Success()
1684 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSAPSS_MaxSalt_Key_Success()
[all …]
DKeyFactoryTestRSA.java21 import java.security.KeyFactory;
70 KeyFactory.getInstance("RSA").generatePrivate(new PKCS8EncodedKeySpec(longBuffer)); in testExtraBufferSpace_Private()
79 KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(longBuffer)); in testExtraBufferSpace_Public()
85 final KeyFactory factory = KeyFactory.getInstance("RSA", p); in testInvalidKeySpec()
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/
DSignatureTest.java31 import java.security.KeyFactory;
281 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in test18566_AlgorithmOid_MissingNull_Failure()
1598 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSA_Key_Success()
1608 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA256withRSA_Key_Success()
1618 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA384withRSA_Key_Success()
1628 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA512withRSA_Key_Success()
1638 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_MD5withRSA_Key_Success()
1648 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSAPSS_Key_Success()
1664 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSAPSS_NoSalt_Key_Success()
1679 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVerify_SHA1withRSAPSS_MaxSalt_Key_Success()
[all …]
DKeyFactoryTestRSA.java20 import java.security.KeyFactory;
67 KeyFactory.getInstance("RSA").generatePrivate(new PKCS8EncodedKeySpec(longBuffer)); in testExtraBufferSpace_Private()
76 KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(longBuffer)); in testExtraBufferSpace_Public()
82 final KeyFactory factory = KeyFactory.getInstance("RSA", p); in testInvalidKeySpec()
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DDefaultKeys.java18 import java.security.KeyFactory;
226 KeyFactory factory = KeyFactory.getInstance(algorithmName); in getPrivateKey()
232 KeyFactory factory = KeyFactory.getInstance(algorithmName); in getPublicKey()
DAbstractKeyFactoryTest.java18 import java.security.KeyFactory;
58 final KeyFactory factory = KeyFactory.getInstance(algorithm, p); in testKeyFactory()
79 KeyFactory factory2 = KeyFactory.getInstance(algorithm, p2); in testKeyFactory()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DDefaultKeys.java20 import java.security.KeyFactory;
310 KeyFactory factory = KeyFactory.getInstance(algorithmName); in getPrivateKey()
316 KeyFactory factory = KeyFactory.getInstance(algorithmName); in getPublicKey()
DAbstractKeyFactoryTest.java19 import java.security.KeyFactory;
62 final KeyFactory factory = KeyFactory.getInstance(algorithm, p); in testKeyFactory()
84 KeyFactory factory2 = in testKeyFactory()
85 KeyFactory.getInstance(algorithm, p2); in testKeyFactory()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DKeyEncoding.java20 import java.security.KeyFactory;
165 static KeyFactory getEcKeyFactory() { in getEcKeyFactory()
167 return KeyFactory.getInstance("EC"); in getEcKeyFactory()
173 static KeyFactory getRsaKeyFactory() { in getRsaKeyFactory()
175 return KeyFactory.getInstance("RSA"); in getRsaKeyFactory()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DEcdhTest.java24 import java.security.KeyFactory;
109 KeyFactory kf = KeyFactory.getInstance("EC"); in getPublicKey()
115 KeyFactory kf = KeyFactory.getInstance("EC"); in getPrivateKey()
874 KeyFactory kf = KeyFactory.getInstance("EC"); in testDecode()
904 KeyFactory kf = KeyFactory.getInstance("EC"); in testModifiedPublic()
949 KeyFactory kf = KeyFactory.getInstance("EC"); in testModifiedPublicSpec()
1086 KeyFactory kf = KeyFactory.getInstance("EC"); in testWrongOrder()
DEcKeyTest.java28 import java.security.KeyFactory;
136 KeyFactory kf = KeyFactory.getInstance("EC"); in testEncodedPublicKey()
161 KeyFactory kf = KeyFactory.getInstance("EC"); in testEncodedPrivateKey()
DRsaSignatureTest.java22 import java.security.KeyFactory;
1136 KeyFactory kf = KeyFactory.getInstance("RSA"); in testVectors()
1206 KeyFactory kf = KeyFactory.getInstance("RSA"); in testLegacySignatures()
DRsaKeyTest.java22 import java.security.KeyFactory;
1478 KeyFactory kf = KeyFactory.getInstance("RSA"); in testEncodeDecodePublic()
1498 KeyFactory kf = KeyFactory.getInstance("RSA"); in testModifiedPublicKeyDecoding()
/external/oauth/core/src/main/java/net/oauth/signature/
DRSA_SHA1.java22 import java.security.KeyFactory;
168 KeyFactory fac = KeyFactory.getInstance("RSA"); in getPublicKeyFromDer()
180 KeyFactory fac = KeyFactory.getInstance("RSA"); in getPrivateKeyFromDer()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DXDHKeyAgreementTest.java6 import java.security.KeyFactory;
64 KeyFactory kf = KeyFactory.getInstance("XDH", p); in setupKeys()
DECDHKeyAgreementTest.java34 import java.security.KeyFactory;
511 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPrivateKey()
517 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPublicKey()
523 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPrivateKey()
529 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPublicKey()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DXDHKeyAgreementTest.java5 import java.security.KeyFactory;
62 KeyFactory kf = KeyFactory.getInstance("XDH", p); in setupKeys()
DECDHKeyAgreementTest.java31 import java.security.KeyFactory;
509 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPrivateKey()
515 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); in getPublicKey()
521 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPrivateKey()
527 KeyFactory keyFactory = KeyFactory.getInstance("EC"); in getPublicKey()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDependsOnProductionExecutorValidator.java22 import dagger.internal.codegen.binding.KeyFactory;
37 private final KeyFactory keyFactory;
40 DependsOnProductionExecutorValidator(CompilerOptions compilerOptions, KeyFactory keyFactory) { in DependsOnProductionExecutorValidator()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentImplementationFactory.java24 import dagger.internal.codegen.binding.KeyFactory;
39 private final KeyFactory keyFactory;
45 KeyFactory keyFactory, in ComponentImplementationFactory()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java21 import java.security.KeyFactory;
50 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getPrivateKey()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DRandomPrivateKeyX509ExtendedKeyManager.java22 import java.security.KeyFactory;
52 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getPrivateKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DDefaultJcaJceHelper.java6 import java.security.KeyFactory;
73 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory()
76 return KeyFactory.getInstance(algorithm); in createKeyFactory()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/util/
DDefaultJcaJceHelper.java7 import java.security.KeyFactory;
75 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory()
78 return KeyFactory.getInstance(algorithm); in createKeyFactory()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/
DDefaultJcaJceHelper.java7 import java.security.KeyFactory;
75 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory()
78 return KeyFactory.getInstance(algorithm); in createKeyFactory()

1234