| /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
|
| /libcore/luni/src/test/java/libcore/javax/crypto/ |
| D | SecretKeyFactoryTest.java | 52 KeySpec ks = new PBEKeySpec(null); in test_PBKDF2_required_parameters() local 58 KeySpec ks = new PBEKeySpec(new char[0]); in test_PBKDF2_required_parameters() local 64 KeySpec ks = new PBEKeySpec(PASSWORD); in test_PBKDF2_required_parameters() local 73 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS); in test_PBKDF2_required_parameters() local 79 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS); in test_PBKDF2_required_parameters() local 85 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS); in test_PBKDF2_required_parameters() local 92 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() local 99 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() local 105 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() local 165 KeySpec ks = new PBEKeySpec(password, salt, iterations, keyLength); in test_PBKDF2() local
|
| /libcore/luni/src/test/java/libcore/java/security/ |
| D | KeyStoreTest.java | 134 KeyStore ks = KeyStore.getInstance(algorithm, provider); in keyStores() local 145 private static boolean isSecretKeyEnabled(KeyStore ks) { in isSecretKeyEnabled() 152 private static boolean isCertificateEnabled(KeyStore ks) { in isCertificateEnabled() 157 private static boolean isCaseSensitive(KeyStore ks) { in isCaseSensitive() 164 private static boolean isUnsupported(KeyStore ks) { in isUnsupported() 169 private static boolean isNullPasswordAllowed(KeyStore ks) { in isNullPasswordAllowed() 176 private static boolean isKeyPasswordIgnored(KeyStore ks) { in isKeyPasswordIgnored() 181 private static boolean isLoadStoreParameterSupported(KeyStore ks) { in isLoadStoreParameterSupported() 186 private static boolean isSetKeyByteArrayUnimplemented(KeyStore ks) { in isSetKeyByteArrayUnimplemented() 193 private static boolean hasDefaultContents(KeyStore ks) { in hasDefaultContents() [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/luni/src/test/java/tests/api/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
|
| /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/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/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
| D | DefaultSSLContextImpl.java | 75 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in getKeyManagers() local 112 KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); in getTrustManagers() local
|
| D | TrustManagerFactoryImpl.java | 44 public void engineInit(KeyStore ks) throws KeyStoreException { in engineInit()
|
| D | KeyManagerFactoryImpl.java | 51 public void engineInit(KeyStore ks, char[] password) in engineInit()
|
| /libcore/luni/src/test/java/libcore/java/security/cert/ |
| D | PKIXParametersTest.java | 36 KeyStore ks = TestKeyStore.createKeyStore(); in testKeyStoreConstructor() local
|
| /libcore/luni/src/main/java/javax/net/ssl/ |
| D | TrustManagerFactorySpi.java | 45 protected abstract void engineInit(KeyStore ks) throws KeyStoreException; in engineInit()
|
| D | KeyManagerFactorySpi.java | 52 protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException, in engineInit()
|
| /libcore/luni/src/main/java/java/security/spec/ |
| D | ECFieldF2m.java | 41 private final int[] ks; field in ECFieldF2m 123 public ECFieldF2m(int m, int[] ks) { in ECFieldF2m()
|