/libcore/luni/src/test/java/tests/security/spec/ |
D | RSAPrivateCrtKeySpecTest.java | 44 KeySpec ks = new RSAPrivateCrtKeySpec( in testRSAPrivateCrtKeySpec01() local 62 KeySpec ks = new RSAPrivateCrtKeySpec( in testRSAPrivateCrtKeySpec02() local 96 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetCrtCoefficient() local 113 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetPrimeExponentP() local 130 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetPrimeExponentQ() local 147 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetPrimeP() local 164 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetPrimeQ() local 181 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetPublicExponent() local 202 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetModulus() local 219 RSAPrivateCrtKeySpec ks = new RSAPrivateCrtKeySpec( in testGetPrivateExponent() local
|
D | RSAMultiPrimePrivateCrtKeySpecTest.java | 65 KeySpec ks = new RSAMultiPrimePrivateCrtKeySpec( in testRSAMultiPrimePrivateCrtKeySpec01() local 405 KeySpec ks = new RSAMultiPrimePrivateCrtKeySpec( in testRSAMultiPrimePrivateCrtKeySpec12() local 423 RSAMultiPrimePrivateCrtKeySpec ks = in testGetCrtCoefficient() local 442 RSAMultiPrimePrivateCrtKeySpec ks = in testGetPrimeExponentP() local 461 RSAMultiPrimePrivateCrtKeySpec ks = in testGetPrimeExponentQ() local 480 RSAMultiPrimePrivateCrtKeySpec ks = in testGetPrimeP() local 499 RSAMultiPrimePrivateCrtKeySpec ks = in testGetPrimeQ() local 518 RSAMultiPrimePrivateCrtKeySpec ks = in testGetPublicExponent() local 537 RSAMultiPrimePrivateCrtKeySpec ks = in testGetOtherPrimeInfo01() local 557 RSAMultiPrimePrivateCrtKeySpec ks = in testGetOtherPrimeInfo02() local [all …]
|
D | RSAPublicKeySpecTest.java | 43 KeySpec ks = in testRSAPublicKeySpec01() local 56 KeySpec ks = in testRSAPublicKeySpec02() local
|
D | RSAPrivateKeySpecTest.java | 43 KeySpec ks = new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L), in testRSAPrivateKeySpec() local
|
D | DSAPrivateKeySpecTest.java | 41 KeySpec ks = new DSAPrivateKeySpec( in testDSAPrivateKeySpec() local
|
D | DSAPublicKeySpecTest.java | 41 KeySpec ks = new DSAPublicKeySpec( in testDSAPublicKeySpec() local
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | SecretKeyFactoryTest.java | 55 KeySpec ks = new PBEKeySpec(null); in test_PBKDF2_required_parameters() local 61 KeySpec ks = new PBEKeySpec(new char[0]); in test_PBKDF2_required_parameters() local 67 KeySpec ks = new PBEKeySpec(PASSWORD); in test_PBKDF2_required_parameters() local 76 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS); in test_PBKDF2_required_parameters() local 82 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS); in test_PBKDF2_required_parameters() local 88 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS); in test_PBKDF2_required_parameters() local 95 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() local 102 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() local 108 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() local 199 KeySpec ks = new PBEKeySpec(password, salt, iterations, keyLength); in test_PBKDF2_8BIT() local [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | SecretKeySpecTest.java | 68 SecretKeySpec ks = new SecretKeySpec(key, algorithm); in testSecretKeySpec1() local 124 SecretKeySpec ks = new SecretKeySpec(key, algorithm); in testSecretKeySpec2() local 163 SecretKeySpec ks = new SecretKeySpec(key, algorithm); in testGetAlgorithm() local 176 SecretKeySpec ks = new SecretKeySpec(key, algorithm); in testGetFormat() local 190 SecretKeySpec ks = new SecretKeySpec(key, algorithm); in testGetEncoded() local
|
D | DESedeKeySpecTest.java | 107 DESedeKeySpec ks; in testGetKey() local
|
D | DESKeySpecTest.java | 163 DESKeySpec ks; in testGetKey() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | TrustManagerFactorySpiTest.java | 59 KeyStore ks = null; in test_engineInit_01() local 88 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_engineInit_02() local 116 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_engineGetTrustManagers() local
|
D | SSLContext1Test.java | 457 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_getServerSessionContext() local 494 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_getServerSocketFactory() local 532 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_getSocketFactory() local 581 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_init$Ljavax_net_ssl_KeyManager$Ljavax_net_ssl_TrustManagerLjava_security_SecureRandom() local
|
D | SSLContextSpiTest.java | 165 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_engineInit() local 204 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_commonTest_02() local
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyTrustManagerFactorySpi.java | 35 protected void engineInit(KeyStore ks) throws KeyStoreException { in engineInit() 64 public Parameters (KeyStore ks) { in Parameters()
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | MyTrustManagerFactorySpi.java | 35 protected void engineInit(KeyStore ks) throws KeyStoreException { in engineInit() 64 public Parameters (KeyStore ks) { in Parameters()
|
D | MyKeyManagerFactorySpi.java | 38 protected void engineInit(KeyStore ks, char[] password) in engineInit() 72 public Parameters (KeyStore ks, char[] pass) { in Parameters()
|
D | TrustManagerFactorySpiImpl.java | 14 private static KeyStore ks = null; field in TrustManagerFactorySpiImpl 17 public void engineInit(KeyStore ks) throws KeyStoreException { in engineInit()
|
D | KeyManagerFactorySpiImpl.java | 16 public void engineInit(KeyStore ks, char[] password) in engineInit()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStore4Test.java | 66 KeyStore ks = KeyStore.getInstance("TestKeyStore"); in testGetInstanceString() local 92 KeyStore ks = KeyStore.getInstance("TestKeyStore", provider.getName()); in testGetInstanceStringString() local 155 KeyStore ks = KeyStore.getInstance("TestKeyStore", provider); in testGetInstanceStringProvider() local
|
D | KeyStoreBuilderTest.java | 110 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in testNewInstanceKeyStoreProtectionParameter() local 212 KeyStore ks = null; in testNewInstanceStringProviderFileProtectionParameter() local 399 KeyStore ks = null; in testNewInstanceStringProviderProtectionParameter() local 501 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in createKS() local
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | ECFieldF2m.java | 43 private int[] ks; field in ECFieldF2m 133 public ECFieldF2m(int m, int[] ks) { in ECFieldF2m()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | SecretKeyFactoryThread.java | 34 KeySpec ks = (KeySpec) ((algName == "DES") ? new DESKeySpec(b) : in test() local
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | TrustManagerFactorySpi.java | 51 protected abstract void engineInit(KeyStore ks) throws KeyStoreException; in engineInit()
|
D | KeyManagerFactorySpi.java | 54 protected abstract void engineInit(KeyStore ks, char[] password) throws in engineInit()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | PKIXParametersTest.java | 36 KeyStore ks = TestKeyStore.createKeyStore(); in testKeyStoreConstructor() local
|