Home
last modified time | relevance | path

Searched refs:InvalidKeySpecException (Results 1 – 24 of 24) sorted by relevance

/libcore/luni/src/test/java/tests/security/spec/
DInvalidKeySpecExceptionTest.java27 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/
DInvalidKeySpecException.java41 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/java/security/
DKeyFactory.java31 import java.security.spec.InvalidKeySpecException;
353 throws InvalidKeySpecException { in generatePublic()
372 if (failure instanceof InvalidKeySpecException) { in generatePublic()
373 throw (InvalidKeySpecException)failure; in generatePublic()
375 throw new InvalidKeySpecException in generatePublic()
391 throws InvalidKeySpecException { in generatePrivate()
410 if (failure instanceof InvalidKeySpecException) { in generatePrivate()
411 throw (InvalidKeySpecException)failure; in generatePrivate()
413 throw new InvalidKeySpecException in generatePrivate()
440 throws InvalidKeySpecException { in getKeySpec()
[all …]
DKeyFactorySpi.java29 import java.security.spec.InvalidKeySpecException;
84 throws InvalidKeySpecException; in engineGeneratePublic()
98 throws InvalidKeySpecException; in engineGeneratePrivate()
125 throws InvalidKeySpecException; in engineGetKeySpec()
DKeyRep.java33 import java.security.spec.InvalidKeySpecException;
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactoryTest.java18 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 …]
DKeyPairTest.java28 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 {
DSignedObjectTest.java40 import java.security.spec.InvalidKeySpecException;
DKeyFactory2Test.java33 import java.security.spec.InvalidKeySpecException;
/libcore/ojluni/src/main/java/javax/crypto/
DSecretKeyFactory.java516 throws InvalidKeySpecException { in generateSecret()
532 if (failure instanceof InvalidKeySpecException) { in generateSecret()
533 throw (InvalidKeySpecException)failure; in generateSecret()
535 throw new InvalidKeySpecException in generateSecret()
560 throws InvalidKeySpecException { in getKeySpec()
576 if (failure instanceof InvalidKeySpecException) { in getKeySpec()
577 throw (InvalidKeySpecException)failure; in getKeySpec()
579 throw new InvalidKeySpecException in getKeySpec()
DSecretKeyFactorySpi.java68 throws InvalidKeySpecException; in engineGenerateSecret()
92 throws InvalidKeySpecException; in engineGetKeySpec()
DEncryptedPrivateKeyInfo.java247 throws InvalidKeySpecException { in getKeySpec()
255 throw new InvalidKeySpecException( in getKeySpec()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactorySpiTest.java26 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()
DSecretKeyFactoryTest.java31 import java.security.spec.InvalidKeySpecException;
121 InvalidKeySpecException, InvalidKeyException { in testSecretKeyFactory01()
351 InvalidKeySpecException { in testSecretKeyFactory10()
371 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10()
378 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10()
383 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10()
388 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10()
403 } catch (InvalidKeySpecException e) { in testSecretKeyFactory10()
DEncryptedPrivateKeyInfoTest.java37 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/libcore/javax/crypto/
DSecretKeyFactoryTest.java21 import java.security.spec.InvalidKeySpecException;
58 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters()
64 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters()
70 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters()
79 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters()
85 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters()
91 } catch (InvalidKeySpecException expected) { in test_PBKDF2_required_parameters()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMySecretKeyFactorySpi.java26 import java.security.spec.InvalidKeySpecException;
41 throws InvalidKeySpecException { in engineGenerateSecret()
48 throws InvalidKeySpecException { in engineGetKeySpec()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestKeyPair.java29 import java.security.spec.InvalidKeySpecException;
589 InvalidKeySpecException { in getPublic()
596 InvalidKeySpecException { in getPrivate()
/libcore/luni/src/test/java/tests/security/cert/
DPKIXCertPathBuilderResultTest.java36 import java.security.spec.InvalidKeySpecException;
80 throws InvalidKeySpecException, in testPKIXCertPathBuilderResult01()
103 throws InvalidKeySpecException, in testPKIXCertPathBuilderResult02()
236 throws InvalidKeySpecException, in testToString()
DPKIXCertPathValidatorResultTest.java32 import java.security.spec.InvalidKeySpecException;
71 throws InvalidKeySpecException, in testPKIXCertPathValidatorResult01()
DTrustAnchorTest.java43 import java.security.spec.InvalidKeySpecException;
/libcore/ojluni/src/main/java/sun/security/x509/
DX509Key.java38 import java.security.spec.InvalidKeySpecException;
226 } catch (InvalidKeySpecException e) { in buildX509Key()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS8Key.java39 import java.security.spec.InvalidKeySpecException;
189 } catch (InvalidKeySpecException e) { in buildPKCS8Key()
/libcore/
Dopenjdk_java_files.bp676 "ojluni/src/main/java/java/security/spec/InvalidKeySpecException.java",