/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | SecretKeyFactoryTest.java | 56 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 62 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 68 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 77 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 83 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 89 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 96 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 103 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 109 factory.generateSecret(ks); in test_PBKDF2_required_parameters() 200 SecretKey key = factory.generateSecret(ks); in test_PBKDF2_8BIT() [all …]
|
D | MacTest.java | 135 SecretKey secretKey = secretKeyFactory.generateSecret(pbeKeySpec); in test_PBEWITHHMACSHA_Variants()
|
D | CipherTest.java | 638 SecretKey secretKey = skf.generateSecret(pbeks); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_noIV() 671 SecretKey secretKey = skf.generateSecret(pbeks); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV() 677 secretKey = skf.generateSecret(pbeks); in test_PBKDF2WITHHMACSHA1_SKFactory_and_PBEAESCBC_Cipher_withIV()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyAgreementTest.java | 327 bb = kAgs[i].generateSecret(); in testGenerateSecret03() 331 kAgs[i].generateSecret(bb1, 9); in testGenerateSecret03() 334 kAgs[i].generateSecret("DES"); in testGenerateSecret03() 497 bbRes1 = kAgs[i].generateSecret(); in testInit03() 500 bbRes2 = kAgs[i].generateSecret(); in testInit03() 509 bbRes3 = kAgs[i].generateSecret(); in testInit03() 546 bbRes1 = kAgs[i].generateSecret(); in testInit04() 549 bbRes2 = kAgs[i].generateSecret(); in testInit04() 558 bbRes3 = kAgs[i].generateSecret(); in testInit04() 622 ka.generateSecret(bb1, 0); in test_generateSecret$BI() [all …]
|
D | SecretKeyFactoryTest.java | 132 assertNull("Incorrect result", secKF.generateSecret(null)); in testSecretKeyFactory01() 369 skF[i].generateSecret(null); in testSecretKeyFactory10() 374 secKey = skF[i].generateSecret(ks); in testSecretKeyFactory10()
|
D | CipherTest.java | 330 Key k = skf.generateSecret(keySpec); in test_update$BII() 388 Key k = skf.generateSecret(keySpec); in test_doFinal()
|
D | EncryptedPrivateKeyInfoTest.java | 1644 k = skf.generateSecret(ks); in TestDataGenerator()
|
/libcore/ojluni/annotations/flagged_api/javax/crypto/ |
D | KeyAgreement.annotated.java | 55 public final byte[] generateSecret() throws java.lang.IllegalStateException { throw new RuntimeExce… in generateSecret() method in KeyAgreement 57 public final int generateSecret(byte[] sharedSecret, int offset) throws java.lang.IllegalStateExcep… in generateSecret() method in KeyAgreement 59 public final javax.crypto.SecretKey generateSecret(java.lang.String algorithm) throws java.lang.Ill… in generateSecret() method in KeyAgreement
|
/libcore/ojluni/annotations/mmodule/javax/crypto/ |
D | KeyAgreement.annotated.java | 63 public final byte[] generateSecret() throws java.lang.IllegalStateException { throw new RuntimeExce… in generateSecret() method in KeyAgreement 65 public final int generateSecret(byte[] sharedSecret, int offset) throws java.lang.IllegalStateExcep… in generateSecret() method in KeyAgreement 67 public final javax.crypto.SecretKey generateSecret(java.lang.String algorithm) throws java.lang.Ill… in generateSecret() method in KeyAgreement
|
/libcore/ojluni/src/test/java/security/KeyAgreement/ |
D | KeyAgreementTest.java | 124 byte[] secret1 = ka1.generateSecret(); in testKeyAgreement() 134 ? ka2.generateSecret("AES").getEncoded() : ka2.generateSecret(); in testKeyAgreement()
|
D | MultiThreadTest.java | 162 byte[] secret1 = ka1.generateSecret(); in testKeyAgreement() 166 byte[] secret2 = ka2.generateSecret(); in testKeyAgreement()
|
D | KeySpecTest.java | 245 return ka.generateSecret(); in getKeyAgreementSecret()
|
D | KeySizeTest.java | 118 ka.generateSecret(); in testKeyAgreement()
|
D | NegativeTest.java | 350 ka.generateSecret(); in startKeyAgreement()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | KeyAgreement.java | 629 public final byte[] generateSecret() throws IllegalStateException { in generateSecret() method in KeyAgreement 659 public final int generateSecret(byte[] sharedSecret, int offset) in generateSecret() method in KeyAgreement 688 public final SecretKey generateSecret(String algorithm) in generateSecret() method in KeyAgreement
|
D | SecretKeyFactory.java | 515 public final SecretKey generateSecret(KeySpec keySpec) in generateSecret() method in SecretKeyFactory
|
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
D | AlgorithmParametersTestPBES2.java | 210 Key key = skf.generateSecret(pbeKS); in test_encryptWithAlgorithmParameters() 244 Key key = skf.generateSecret(new PBEKeySpec("aaaaa".toCharArray())); in test_encryptWithNoSalt()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | SecretKeyFactoryThread.java | 37 skf.generateSecret(ks); in test()
|
D | CipherPBEThread.java | 44 SecretKey key = skf.generateSecret(keySpec); in crypt()
|
D | KeyAgreementThread.java | 59 return ka.generateSecret(); in getSecretKey()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | KeyAgreementHelper.java | 41 Assert.assertNotNull("generated secret is null", keyAgreement.generateSecret()); in test()
|
/libcore/api/ |
D | current.txt | 19059 method public final byte[] generateSecret() throws java.lang.IllegalStateException; 19060 …method public final int generateSecret(byte[], int) throws java.lang.IllegalStateException, javax.… 19061 …method public final javax.crypto.SecretKey generateSecret(String) throws java.lang.IllegalStateExc… 19164 …method public final javax.crypto.SecretKey generateSecret(java.security.spec.KeySpec) throws java.…
|