Searched refs:InvalidKeySpecException (Results 1 - 25 of 46) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/security/spec/
H A DInvalidKeySpecException.java41 public class InvalidKeySpecException extends GeneralSecurityException { class in inherits:GeneralSecurityException
46 * Constructs an InvalidKeySpecException with no detail message. A
50 public InvalidKeySpecException() { method in class:InvalidKeySpecException
55 * Constructs an InvalidKeySpecException with the specified detail
61 public InvalidKeySpecException(String msg) { method in class:InvalidKeySpecException
66 * Creates a <code>InvalidKeySpecException</code> with the specified
76 public InvalidKeySpecException(String message, Throwable cause) { method in class:InvalidKeySpecException
81 * Creates a <code>InvalidKeySpecException</code> with the specified cause
91 public InvalidKeySpecException(Throwable cause) { method in class:InvalidKeySpecException
/openjdk7/jdk/src/share/classes/java/security/
H A DKeyFactorySpi.java29 import java.security.spec.InvalidKeySpecException;
80 * @exception InvalidKeySpecException if the given key specification
84 throws InvalidKeySpecException;
94 * @exception InvalidKeySpecException if the given key specification
98 throws InvalidKeySpecException;
117 * @exception InvalidKeySpecException if the requested key specification is
123 throws InvalidKeySpecException;
H A DKeyFactory.java32 import java.security.spec.InvalidKeySpecException;
322 * @exception InvalidKeySpecException if the given key specification
326 throws InvalidKeySpecException {
345 if (failure instanceof InvalidKeySpecException) {
346 throw (InvalidKeySpecException)failure;
348 throw new InvalidKeySpecException
360 * @exception InvalidKeySpecException if the given key specification
364 throws InvalidKeySpecException {
383 if (failure instanceof InvalidKeySpecException) {
384 throw (InvalidKeySpecException)failur
[all...]
/openjdk7/jdk/test/javax/crypto/SecretKeyFactory/
H A DP1SecretKeyFactory.java44 throws InvalidKeySpecException {
46 throw new InvalidKeySpecException("I'm broken!!!");
50 throws InvalidKeySpecException {
52 throw new InvalidKeySpecException("I'm broken!!!");
H A DP1.jarMETA-INF/MANIFEST.MF META-INF/JCE_RSA.SF META-INF/JCE_RSA.RSA META ...
H A DP2.jarMETA-INF/MANIFEST.MF META-INF/JCE_RSA.SF META-INF/JCE_RSA.RSA META ...
H A DP2SecretKeyFactory.java44 throws InvalidKeySpecException {
50 throws InvalidKeySpecException {
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DSecretKeyFactorySpi.java64 * @exception InvalidKeySpecException if the given key specification
68 throws InvalidKeySpecException;
82 * @exception InvalidKeySpecException if the requested key specification is
92 throws InvalidKeySpecException;
H A DSecretKeyFactory.java323 * @exception InvalidKeySpecException if the given key specification
327 throws InvalidKeySpecException {
343 if (failure instanceof InvalidKeySpecException) {
344 throw (InvalidKeySpecException)failure;
346 throw new InvalidKeySpecException
361 * @exception InvalidKeySpecException if the requested key specification is
371 throws InvalidKeySpecException {
387 if (failure instanceof InvalidKeySpecException) {
388 throw (InvalidKeySpecException)failure;
390 throw new InvalidKeySpecException
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDESKeyFactory.java33 import java.security.spec.InvalidKeySpecException;
58 * @exception InvalidKeySpecException if the given key specification
62 throws InvalidKeySpecException {
67 throw new InvalidKeySpecException
91 * @exception InvalidKeySpecException if the requested key specification is
96 throws InvalidKeySpecException {
110 throw new InvalidKeySpecException
115 throw new InvalidKeySpecException
120 throw new InvalidKeySpecException("Secret key has wrong size");
160 } catch (InvalidKeySpecException
[all...]
H A DDESedeKeyFactory.java33 import java.security.spec.InvalidKeySpecException;
58 * @exception InvalidKeySpecException if the given key specification
62 throws InvalidKeySpecException {
71 throw new InvalidKeySpecException
91 * @exception InvalidKeySpecException if the requested key specification is
96 throws InvalidKeySpecException {
108 throw new InvalidKeySpecException
113 throw new InvalidKeySpecException
117 throw new InvalidKeySpecException("Secret key has wrong size");
157 } catch (InvalidKeySpecException
[all...]
H A DPBKDF2HmacSHA1Factory.java31 import java.security.spec.InvalidKeySpecException;
61 * @exception InvalidKeySpecException if the given key specification
65 throws InvalidKeySpecException
68 throw new InvalidKeySpecException("Invalid key spec");
86 * @exception InvalidKeySpecException if the requested key
92 throws InvalidKeySpecException {
103 throw new InvalidKeySpecException("Invalid key spec");
106 throw new InvalidKeySpecException("Invalid key " +
144 } catch (InvalidKeySpecException re) {
H A DDHKeyFactory.java36 import java.security.spec.InvalidKeySpecException;
65 * @exception InvalidKeySpecException if the given key specification
69 throws InvalidKeySpecException
83 throw new InvalidKeySpecException
87 throw new InvalidKeySpecException
100 * @exception InvalidKeySpecException if the given key specification
104 throws InvalidKeySpecException
118 throw new InvalidKeySpecException
122 throw new InvalidKeySpecException
139 * @exception InvalidKeySpecException i
[all...]
H A DPBEKeyFactory.java31 import java.security.spec.InvalidKeySpecException;
107 * @exception InvalidKeySpecException if the given key specification
111 throws InvalidKeySpecException
114 throw new InvalidKeySpecException("Invalid key spec");
131 * @exception InvalidKeySpecException if the requested key specification is
136 throws InvalidKeySpecException {
155 throw new InvalidKeySpecException("Invalid key spec");
158 throw new InvalidKeySpecException("Invalid key "
198 } catch (InvalidKeySpecException ikse) {
H A DConstructKeys.java37 import java.security.spec.InvalidKeySpecException;
86 } catch (InvalidKeySpecException ikse2) {
92 } catch (InvalidKeySpecException ikse) {
138 } catch (InvalidKeySpecException ikse2) {
144 } catch (InvalidKeySpecException ikse) {
H A DPBKDF2KeyImpl.java37 import java.security.spec.InvalidKeySpecException;
81 throws InvalidKeySpecException {
94 throw new InvalidKeySpecException("Salt not found");
98 throw new InvalidKeySpecException("Iteration count not found");
100 throw new InvalidKeySpecException("Iteration count is negative");
104 throw new InvalidKeySpecException("Key length not found");
106 throw new InvalidKeySpecException("Key length is negative");
112 InvalidKeySpecException ike = new InvalidKeySpecException();
117 InvalidKeySpecException ik
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECKeyFactory.java156 throws InvalidKeySpecException {
159 } catch (InvalidKeySpecException e) {
162 throw new InvalidKeySpecException(e);
168 throws InvalidKeySpecException {
171 } catch (InvalidKeySpecException e) {
174 throw new InvalidKeySpecException(e);
232 throw new InvalidKeySpecException("Only ECPublicKeySpec "
247 throw new InvalidKeySpecException("Only ECPrivateKeySpec "
253 throws InvalidKeySpecException {
260 throw new InvalidKeySpecException(
[all...]
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAKeyFactory.java41 import java.security.spec.InvalidKeySpecException;
89 * @exception InvalidKeySpecException if the given key specification
93 throws InvalidKeySpecException {
117 throw new InvalidKeySpecException
121 throw new InvalidKeySpecException
134 * @exception InvalidKeySpecException if the given key specification
138 throws InvalidKeySpecException {
152 throw new InvalidKeySpecException
156 throw new InvalidKeySpecException
173 * @exception InvalidKeySpecException i
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyFactory.java70 throws InvalidKeySpecException {
73 throw new InvalidKeySpecException
82 throw new InvalidKeySpecException("Could not encode key", e);
90 throw new InvalidKeySpecException("Could not convert key", e);
100 throw new InvalidKeySpecException("Could not generate KeySpec", e);
142 Session[] session) throws PKCS11Exception, InvalidKeySpecException;
145 Session[] session) throws PKCS11Exception, InvalidKeySpecException;
H A DP11DHKeyFactory.java111 throws InvalidKeySpecException {
119 throw new InvalidKeySpecException
124 throw new InvalidKeySpecException("Only DHPublicKeySpec and "
135 throw new InvalidKeySpecException
142 throws InvalidKeySpecException {
150 throw new InvalidKeySpecException
155 throw new InvalidKeySpecException("Only DHPrivateKeySpec and "
166 throw new InvalidKeySpecException
216 throws PKCS11Exception, InvalidKeySpecException {
232 throw new InvalidKeySpecException("Onl
[all...]
H A DP11DSAKeyFactory.java103 throws InvalidKeySpecException {
111 throw new InvalidKeySpecException
116 throw new InvalidKeySpecException("Only DSAPublicKeySpec and "
128 throw new InvalidKeySpecException
135 throws InvalidKeySpecException {
143 throw new InvalidKeySpecException
148 throw new InvalidKeySpecException("Only DSAPrivateKeySpec and "
160 throw new InvalidKeySpecException
212 throws PKCS11Exception, InvalidKeySpecException {
230 throw new InvalidKeySpecException("Onl
[all...]
H A DP11ECKeyFactory.java146 throws InvalidKeySpecException {
154 throw new InvalidKeySpecException
159 throw new InvalidKeySpecException("Only ECPublicKeySpec and "
169 throw new InvalidKeySpecException
176 throws InvalidKeySpecException {
184 throw new InvalidKeySpecException
189 throw new InvalidKeySpecException("Only ECPrivateKeySpec and "
199 throw new InvalidKeySpecException
263 throws PKCS11Exception, InvalidKeySpecException {
276 throw new InvalidKeySpecException("Coul
[all...]
H A DP11RSAKeyFactory.java111 throws InvalidKeySpecException {
119 throw new InvalidKeySpecException
124 throw new InvalidKeySpecException("Only RSAPublicKeySpec and "
134 throw new InvalidKeySpecException
137 throw new InvalidKeySpecException
144 throws InvalidKeySpecException {
153 throw new InvalidKeySpecException
177 throw new InvalidKeySpecException("Only RSAPrivate(Crt)KeySpec "
181 throw new InvalidKeySpecException
184 throw new InvalidKeySpecException
[all...]
/openjdk7/jdk/test/java/security/KeyFactory/
H A DFailover.java92 } catch (InvalidKeySpecException e) {
114 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException {
119 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException {
125 engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException
140 protected PublicKey engineGeneratePublic(KeySpec keySpec) throws InvalidKeySpecException {
142 throw new InvalidKeySpecException();
145 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws InvalidKeySpecException {
147 throw new InvalidKeySpecException();
150 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws InvalidKeySpecException {
152 throw new InvalidKeySpecException();
[all...]
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAKeyFactory.java199 throws InvalidKeySpecException {
202 } catch (InvalidKeySpecException e) {
205 throw new InvalidKeySpecException(e);
211 throws InvalidKeySpecException {
214 } catch (InvalidKeySpecException e) {
217 throw new InvalidKeySpecException(e);
306 throw new InvalidKeySpecException("Only RSAPublicKeySpec "
336 throw new InvalidKeySpecException("Only RSAPrivate(Crt)KeySpec "
342 throws InvalidKeySpecException {
349 throw new InvalidKeySpecException(
[all...]

Completed in 1269 milliseconds

12