Home
last modified time | relevance | path

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

12

/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
51 public InvalidKeySpecException() { in InvalidKeySpecException() method in InvalidKeySpecException
62 public InvalidKeySpecException(String msg) { in InvalidKeySpecException() method in InvalidKeySpecException
77 public InvalidKeySpecException(String message, Throwable cause) { in InvalidKeySpecException() method in InvalidKeySpecException
92 public InvalidKeySpecException(Throwable cause) { in InvalidKeySpecException() method in InvalidKeySpecException
/libcore/ojluni/src/main/java/java/security/
DKeyFactory.java34 import java.security.spec.InvalidKeySpecException;
365 throws InvalidKeySpecException { in generatePublic()
384 if (failure instanceof InvalidKeySpecException) { in generatePublic()
385 throw (InvalidKeySpecException)failure; in generatePublic()
387 throw new InvalidKeySpecException in generatePublic()
403 throws InvalidKeySpecException { in generatePrivate()
422 if (failure instanceof InvalidKeySpecException) { in generatePrivate()
423 throw (InvalidKeySpecException)failure; in generatePrivate()
425 throw new InvalidKeySpecException in generatePrivate()
452 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.java21 import java.security.spec.InvalidKeySpecException;
198 } catch (InvalidKeySpecException e) { in testGeneratePublic()
209 InvalidKeySpecException.class, in testGeneratePublic()
211 InvalidKeySpecException.class in testGeneratePublic()
247 } catch (InvalidKeySpecException e) { in testGeneratePrivate()
258 InvalidKeySpecException.class, in testGeneratePrivate()
260 InvalidKeySpecException.class in testGeneratePrivate()
312 } catch (InvalidKeySpecException e) { in testGetKeySpec()
334 InvalidKeySpecException.class, in testGetKeySpec()
336 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/test/java/security/KeyAgreement/
DNegativeTest.java54 import java.security.spec.InvalidKeySpecException;
162 } catch (InvalidKeySpecException e) { in testModifiedKeyEncodingTest()
172 } catch (InvalidKeySpecException e) { in testModifiedKeyEncodingTest()
296 } catch (InvalidKeySpecException e) { in testInvalidSpec()
329 } catch (InvalidKeySpecException e) { in testInCompatibleSpec()
334 } catch (InvalidKeySpecException e) { in testInCompatibleSpec()
/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/api/
Dcurrent.txt8110 …eKey generatePrivate(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException;
8111 …icKey generatePublic(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException;
8116 …ySpec> T getKeySpec(java.security.Key, Class<T>) throws java.security.spec.InvalidKeySpecException;
8123 …ngineGeneratePrivate(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException;
8124 …engineGeneratePublic(java.security.spec.KeySpec) throws java.security.spec.InvalidKeySpecException;
8125 … T engineGetKeySpec(java.security.Key, Class<T>) throws java.security.spec.InvalidKeySpecException;
9480 public class InvalidKeySpecException extends java.security.GeneralSecurityException {
9481 ctor public InvalidKeySpecException();
9482 ctor public InvalidKeySpecException(String);
9483 ctor public InvalidKeySpecException(String, Throwable);
[all …]

12