/libcore/luni/src/test/java/tests/security/spec/ |
D | InvalidKeySpecExceptionTest.java | 27 import java.security.spec.InvalidKeySpecException; 48 InvalidKeySpecException tE = new InvalidKeySpecException(); in testInvalidKeySpecException01() 59 InvalidKeySpecException tE; in testInvalidKeySpecException02() 61 tE = new InvalidKeySpecException(msgs[i]); in testInvalidKeySpecException02() 75 InvalidKeySpecException tE = new InvalidKeySpecException(msg); in testInvalidKeySpecException03() 87 InvalidKeySpecException tE = new InvalidKeySpecException(cause); in testInvalidKeySpecException04() 98 InvalidKeySpecException tE = new InvalidKeySpecException(tCause); in testInvalidKeySpecException05() 116 InvalidKeySpecException tE = new InvalidKeySpecException(null, null); in testInvalidKeySpecException06() 127 InvalidKeySpecException tE; in testInvalidKeySpecException07() 129 tE = new InvalidKeySpecException(msgs[i], null); in testInvalidKeySpecException07() [all …]
|
/libcore/ojluni/src/main/java/java/security/spec/ |
D | InvalidKeySpecException.java | 41 public class InvalidKeySpecException extends GeneralSecurityException { class 50 public InvalidKeySpecException() { in InvalidKeySpecException() method in InvalidKeySpecException 61 public InvalidKeySpecException(String msg) { in InvalidKeySpecException() method in InvalidKeySpecException 76 public InvalidKeySpecException(String message, Throwable cause) { in InvalidKeySpecException() method in InvalidKeySpecException 91 public InvalidKeySpecException(Throwable cause) { in InvalidKeySpecException() method in InvalidKeySpecException
|
/libcore/ojluni/src/main/java/sun/security/ec/ |
D | ECKeyFactory.java | 160 throws InvalidKeySpecException { in engineGeneratePublic() 163 } catch (InvalidKeySpecException e) { in engineGeneratePublic() 166 throw new InvalidKeySpecException(e); in engineGeneratePublic() 172 throws InvalidKeySpecException { in engineGeneratePrivate() 175 } catch (InvalidKeySpecException e) { in engineGeneratePrivate() 178 throw new InvalidKeySpecException(e); in engineGeneratePrivate() 236 throw new InvalidKeySpecException("Only ECPublicKeySpec " in implGeneratePublic() 251 throw new InvalidKeySpecException("Only ECPrivateKeySpec " in implGeneratePrivate() 257 throws InvalidKeySpecException { in engineGetKeySpec() 264 throw new InvalidKeySpecException(e); in engineGetKeySpec() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyFactory.java | 31 import java.security.spec.InvalidKeySpecException; 349 throws InvalidKeySpecException { in generatePublic() 368 if (failure instanceof InvalidKeySpecException) { in generatePublic() 369 throw (InvalidKeySpecException)failure; in generatePublic() 371 throw new InvalidKeySpecException in generatePublic() 387 throws InvalidKeySpecException { in generatePrivate() 406 if (failure instanceof InvalidKeySpecException) { in generatePrivate() 407 throw (InvalidKeySpecException)failure; in generatePrivate() 409 throw new InvalidKeySpecException in generatePrivate() 434 throws InvalidKeySpecException { in getKeySpec() [all …]
|
D | KeyFactorySpi.java | 29 import java.security.spec.InvalidKeySpecException; 84 throws InvalidKeySpecException; in engineGeneratePublic() 98 throws InvalidKeySpecException; in engineGeneratePrivate() 123 throws InvalidKeySpecException; in engineGetKeySpec()
|
D | KeyRep.java | 32 import java.security.spec.InvalidKeySpecException;
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactoryTest.java | 18 import java.security.spec.InvalidKeySpecException; 194 } catch (InvalidKeySpecException e) { in testGeneratePublic() 205 InvalidKeySpecException.class, in testGeneratePublic() 207 InvalidKeySpecException.class in testGeneratePublic() 243 } catch (InvalidKeySpecException e) { in testGeneratePrivate() 254 InvalidKeySpecException.class, in testGeneratePrivate() 256 InvalidKeySpecException.class in testGeneratePrivate() 308 } catch (InvalidKeySpecException e) { in testGetKeySpec() 330 InvalidKeySpecException.class, in testGetKeySpec() 332 InvalidKeySpecException.class, in testGetKeySpec() [all …]
|
D | KeyPairTest.java | 28 import java.security.spec.InvalidKeySpecException; 89 public final void testKeyPair02() throws InvalidKeySpecException { 108 public final void testGetPrivate02() throws InvalidKeySpecException { 128 public final void testGetPublic02() throws InvalidKeySpecException {
|
D | SignedObjectTest.java | 40 import java.security.spec.InvalidKeySpecException;
|
D | KeyFactory2Test.java | 33 import java.security.spec.InvalidKeySpecException;
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | SecretKeyFactory.java | 455 throws InvalidKeySpecException { in generateSecret() 471 if (failure instanceof InvalidKeySpecException) { in generateSecret() 472 throw (InvalidKeySpecException)failure; in generateSecret() 474 throw new InvalidKeySpecException in generateSecret() 499 throws InvalidKeySpecException { in getKeySpec() 515 if (failure instanceof InvalidKeySpecException) { in getKeySpec() 516 throw (InvalidKeySpecException)failure; in getKeySpec() 518 throw new InvalidKeySpecException in getKeySpec()
|
D | EncryptedPrivateKeyInfo.java | 247 throws InvalidKeySpecException { in getKeySpec() 253 InvalidKeySpecException ikse = new in getKeySpec() 254 InvalidKeySpecException( in getKeySpec() 259 InvalidKeySpecException ikse = new in getKeySpec() 260 InvalidKeySpecException( in getKeySpec() 265 InvalidKeySpecException ikse = new in getKeySpec() 266 InvalidKeySpecException( in getKeySpec()
|
D | SecretKeyFactorySpi.java | 68 throws InvalidKeySpecException; in engineGenerateSecret() 92 throws InvalidKeySpecException; in engineGetKeySpec()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | SecretKeyFactorySpiTest.java | 26 import java.security.spec.InvalidKeySpecException; 41 protected SecretKey engineGenerateSecret(KeySpec keySpec) throws InvalidKeySpecException { in engineGenerateSecret() 47 throws InvalidKeySpecException { in engineGetKeySpec() 62 public void testSecretKeyFactorySpi01() throws InvalidKeyException, InvalidKeySpecException { in testSecretKeyFactorySpi01()
|
D | SecretKeyFactoryTest.java | 31 import java.security.spec.InvalidKeySpecException; 121 InvalidKeySpecException, InvalidKeyException { in testSecretKeyFactory01() 351 InvalidKeySpecException { in testSecretKeyFactory10() 368 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10() 375 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10() 380 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10() 385 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10() 400 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10()
|
D | EncryptedPrivateKeyInfoTest.java | 37 import java.security.spec.InvalidKeySpecException; 1099 } catch (InvalidKeySpecException e) { in testGetKeySpecCipher01() 1138 } catch (InvalidKeySpecException e) { in test_ROUNDTRIP_GetKeySpecCipher01() 1176 } catch (InvalidKeySpecException ok) { in test_ROUNDTRIP_GetKeySpecCipher02() 1645 } catch (InvalidKeySpecException e) { in TestDataGenerator()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MySecretKeyFactorySpi.java | 26 import java.security.spec.InvalidKeySpecException; 41 throws InvalidKeySpecException { in engineGenerateSecret() 48 throws InvalidKeySpecException { in engineGetKeySpec()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | SecretKeyFactoryTest.java | 19 import java.security.spec.InvalidKeySpecException; 56 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters() 62 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters() 68 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters() 77 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters() 83 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters() 89 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestKeyPair.java | 29 import java.security.spec.InvalidKeySpecException; 589 InvalidKeySpecException { in getPublic() 596 InvalidKeySpecException { in getPrivate()
|
/libcore/support/src/test/java/tests/security/ |
D | DefaultKeys.java | 22 import java.security.spec.InvalidKeySpecException; 195 …ateKey getPrivateKey(String algorithmName) throws NoSuchAlgorithmException, InvalidKeySpecException in getPrivateKey() 201 …blicKey getPublicKey(String algorithmName) throws NoSuchAlgorithmException, InvalidKeySpecException in getPublicKey()
|
D | KeyFactoryTest.java | 24 import java.security.spec.InvalidKeySpecException;
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | PKIXCertPathBuilderResultTest.java | 36 import java.security.spec.InvalidKeySpecException; 80 throws InvalidKeySpecException, in testPKIXCertPathBuilderResult01() 103 throws InvalidKeySpecException, in testPKIXCertPathBuilderResult02() 236 throws InvalidKeySpecException, in testToString()
|
D | PKIXCertPathValidatorResultTest.java | 32 import java.security.spec.InvalidKeySpecException; 71 throws InvalidKeySpecException, in testPKIXCertPathValidatorResult01()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS8Key.java | 39 import java.security.spec.InvalidKeySpecException; 189 } catch (InvalidKeySpecException e) { in buildPKCS8Key()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509Key.java | 39 import java.security.spec.InvalidKeySpecException; 226 } catch (InvalidKeySpecException e) { in buildX509Key()
|