HomeSort by relevance Sort by last modified time
    Searched defs:generateSecret (Results 1 - 18 of 18) sorted by null

  /libcore/luni/src/main/java/javax/crypto/
SecretKeyFactory.java 39 * Which key specifications are supported by the {@link #generateSecret} and
184 public final SecretKey generateSecret(KeySpec keySpec)
KeyAgreement.java 272 public final byte[] generateSecret() throws IllegalStateException {
290 public final int generateSecret(byte[] sharedSecret, int offset)
311 public final SecretKey generateSecret(String algorithm)
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 125 KAT_SECRET, generateSecret(keyAgreementProvider, privateKey1, publicKey2)));
127 KAT_SECRET, generateSecret(keyAgreementProvider, privateKey2, publicKey1)));
250 keyAgreement.generateSecret(null, 0);
265 int secretLengthBytes = keyAgreement.generateSecret(buffer, 0);
284 int secretLengthBytes = keyAgreement.generateSecret(buffer, 1);
304 keyAgreement.generateSecret(new byte[1024], 1020);
318 byte[] secret = keyAgreement.generateSecret();
331 SecretKey key = keyAgreement.generateSecret("AES");
420 private static byte[] generateSecret(
426 return keyAgreement.generateSecret();
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreementTest.java 306 * <code>generateSecret()</code>
307 * <code>generateSecret(byte[] sharedsecret, int offset)</code>
308 * <code>generateSecret(String algorithm)</code>
326 bb = kAgs[i].generateSecret();
330 kAgs[i].generateSecret(bb1, 9);
333 kAgs[i].generateSecret("DES");
477 * <code>generateSecret()</code>
496 bbRes1 = kAgs[i].generateSecret();
499 bbRes2 = kAgs[i].generateSecret();
508 bbRes3 = kAgs[i].generateSecret();
    [all...]
SecretKeyFactoryTest.java 132 assertNull("Incorrect result", secKF.generateSecret(null));
344 * Test for <code>generateSecret(KeySpec keySpec)</code> and
366 skF[i].generateSecret(null);
367 fail("generateSecret(null): InvalidKeySpecException must be thrown");
371 secKey = skF[i].generateSecret(ks);
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreementTest.java 304 * <code>generateSecret()</code>
305 * <code>generateSecret(byte[] sharedsecret, int offset)</code>
306 * <code>generateSecret(String algorithm)</code>
324 bb = kAgs[i].generateSecret();
328 kAgs[i].generateSecret(bb1, 9);
331 kAgs[i].generateSecret("DES");
459 * <code>generateSecret()</code>
478 bbRes1 = kAgs[i].generateSecret();
481 bbRes2 = kAgs[i].generateSecret();
490 bbRes3 = kAgs[i].generateSecret();
    [all...]
SecretKeyFactoryTest.java 130 assertNull("Incorrect result", secKF.generateSecret(null));
342 * Test for <code>generateSecret(KeySpec keySpec)</code> and
364 skF[i].generateSecret(null);
365 fail("generateSecret(null): InvalidKeySpecException must be thrown");
369 secKey = skF[i].generateSecret(ks);
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 2832 milliseconds