Home
last modified time | relevance | path

Searched defs:ks (Results 1 – 25 of 49) sorted by relevance

12

/libcore/luni/src/test/java/tests/security/spec/
DRSAPrivateCrtKeySpecTest.java44 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
DRSAMultiPrimePrivateCrtKeySpecTest.java65 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 …]
DRSAPublicKeySpecTest.java43 KeySpec ks = in testRSAPublicKeySpec01() local
56 KeySpec ks = in testRSAPublicKeySpec02() local
DRSAPrivateKeySpecTest.java43 KeySpec ks = new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L), in testRSAPrivateKeySpec() local
DDSAPublicKeySpecTest.java41 KeySpec ks = new DSAPublicKeySpec( in testDSAPublicKeySpec() local
DDSAPrivateKeySpecTest.java41 KeySpec ks = new DSAPrivateKeySpec( in testDSAPrivateKeySpec() local
/libcore/luni/src/test/java/libcore/javax/crypto/
DSecretKeyFactoryTest.java55 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/
DSecretKeySpecTest.java68 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
DDESedeKeySpecTest.java107 DESedeKeySpec ks; in testGetKey() local
DDESKeySpecTest.java163 DESKeySpec ks; in testGetKey() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DTrustManagerFactorySpiTest.java59 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
DSSLContext1Test.java457 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
DTrustManagerFactory1Test.java377 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_getTrustManagers() local
410 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in test_initLjava_security_KeyStore_02() local
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DMyTrustManagerFactorySpi.java35 protected void engineInit(KeyStore ks) throws KeyStoreException { in engineInit()
64 public Parameters (KeyStore ks) { in Parameters()
DMyKeyManagerFactorySpi.java38 protected void engineInit(KeyStore ks, char[] password) in engineInit()
72 public Parameters (KeyStore ks, char[] pass) { in Parameters()
DTrustManagerFactorySpiImpl.java14 private static KeyStore ks = null; field in TrustManagerFactorySpiImpl
17 public void engineInit(KeyStore ks) throws KeyStoreException { in engineInit()
DKeyManagerFactorySpiImpl.java16 public void engineInit(KeyStore ks, char[] password) in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore4Test.java66 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
DKeyStoreBuilderTest.java110 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
DKeyFactorySpiTest.java43 KeySpec ks = new MyKeySpec(); in testKeyFactorySpi() local
/libcore/ojluni/src/main/java/java/security/spec/
DECFieldF2m.java43 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/
DSecretKeyFactoryThread.java34 KeySpec ks = (KeySpec) ((algName == "DES") ? new DESKeySpec(b) : in test() local
/libcore/ojluni/src/main/java/javax/net/ssl/
DTrustManagerFactorySpi.java51 protected abstract void engineInit(KeyStore ks) throws KeyStoreException; in engineInit()
DKeyManagerFactorySpi.java54 protected abstract void engineInit(KeyStore ks, char[] password) throws in engineInit()
/libcore/ojluni/src/main/java/sun/util/resources/
DOpenListResourceBundle.java105 Set<String> ks = createSet(); in keySet() local

12