OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:InvalidKeySpecException
(Results
1 - 25
of
87
) sorted by null
1
2
3
4
/external/conscrypt/common/src/main/java/org/conscrypt/
DESEDESecretKeyFactory.java
20
import java.security.spec.
InvalidKeySpecException
;
37
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws
InvalidKeySpecException
{
39
throw new
InvalidKeySpecException
("Null KeySpec");
45
throw new
InvalidKeySpecException
(
49
throw new
InvalidKeySpecException
(e);
56
throw new
InvalidKeySpecException
(
63
@SuppressWarnings("rawtypes") Class aClass) throws
InvalidKeySpecException
{
65
throw new
InvalidKeySpecException
("Null SecretKey");
70
throw new
InvalidKeySpecException
("SecretKey is not a parity-adjusted DESEDE key");
73
throw new
InvalidKeySpecException
(e)
[
all
...]
OpenSSLECKeyFactory.java
31
import java.security.spec.
InvalidKeySpecException
;
45
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws
InvalidKeySpecException
{
47
throw new
InvalidKeySpecException
("keySpec == null");
55
throw new
InvalidKeySpecException
("Must use ECPublicKeySpec or X509EncodedKeySpec; was "
60
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws
InvalidKeySpecException
{
62
throw new
InvalidKeySpecException
("keySpec == null");
71
throw new
InvalidKeySpecException
("Must use ECPrivateKeySpec or PKCS8EncodedKeySpec; was "
77
throws
InvalidKeySpecException
{
79
throw new
InvalidKeySpecException
("key == null");
83
throw new
InvalidKeySpecException
("keySpec == null")
[
all
...]
OpenSSLRSAKeyFactory.java
28
import java.security.spec.
InvalidKeySpecException
;
44
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws
InvalidKeySpecException
{
46
throw new
InvalidKeySpecException
("keySpec == null");
54
throw new
InvalidKeySpecException
("Must use RSAPublicKeySpec or X509EncodedKeySpec; was "
59
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws
InvalidKeySpecException
{
61
throw new
InvalidKeySpecException
("keySpec == null");
72
throw new
InvalidKeySpecException
("Must use RSAPublicKeySpec or PKCS8EncodedKeySpec; was "
78
throws
InvalidKeySpecException
{
80
throw new
InvalidKeySpecException
("key == null");
84
throw new
InvalidKeySpecException
("keySpec == null")
[
all
...]
OpenSSLKey.java
27
import java.security.spec.
InvalidKeySpecException
;
274
throws
InvalidKeySpecException
{
281
throw new
InvalidKeySpecException
(e);
285
throw new
InvalidKeySpecException
("Unexpected key type");
291
throw new
InvalidKeySpecException
(e);
307
throws
InvalidKeySpecException
{
314
throw new
InvalidKeySpecException
(e);
318
throw new
InvalidKeySpecException
("Unexpected key type");
324
throw new
InvalidKeySpecException
(e);
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DESEDESecretKeyFactory.java
21
import java.security.spec.
InvalidKeySpecException
;
41
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws
InvalidKeySpecException
{
43
throw new
InvalidKeySpecException
("Null KeySpec");
49
throw new
InvalidKeySpecException
(
53
throw new
InvalidKeySpecException
(e);
60
throw new
InvalidKeySpecException
(
67
@SuppressWarnings("rawtypes") Class aClass) throws
InvalidKeySpecException
{
69
throw new
InvalidKeySpecException
("Null SecretKey");
74
throw new
InvalidKeySpecException
("SecretKey is not a parity-adjusted DESEDE key");
77
throw new
InvalidKeySpecException
(e)
[
all
...]
OpenSSLECKeyFactory.java
32
import java.security.spec.
InvalidKeySpecException
;
49
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws
InvalidKeySpecException
{
51
throw new
InvalidKeySpecException
("keySpec == null");
59
throw new
InvalidKeySpecException
("Must use ECPublicKeySpec or X509EncodedKeySpec; was "
64
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws
InvalidKeySpecException
{
66
throw new
InvalidKeySpecException
("keySpec == null");
75
throw new
InvalidKeySpecException
("Must use ECPrivateKeySpec or PKCS8EncodedKeySpec; was "
81
throws
InvalidKeySpecException
{
83
throw new
InvalidKeySpecException
("key == null");
87
throw new
InvalidKeySpecException
("keySpec == null")
[
all
...]
OpenSSLRSAKeyFactory.java
29
import java.security.spec.
InvalidKeySpecException
;
49
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws
InvalidKeySpecException
{
51
throw new
InvalidKeySpecException
("keySpec == null");
59
throw new
InvalidKeySpecException
("Must use RSAPublicKeySpec or X509EncodedKeySpec; was "
64
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws
InvalidKeySpecException
{
66
throw new
InvalidKeySpecException
("keySpec == null");
77
throw new
InvalidKeySpecException
("Must use RSAPublicKeySpec or PKCS8EncodedKeySpec; was "
83
throws
InvalidKeySpecException
{
85
throw new
InvalidKeySpecException
("key == null");
89
throw new
InvalidKeySpecException
("keySpec == null")
[
all
...]
OpenSSLKey.java
28
import java.security.spec.
InvalidKeySpecException
;
279
throws
InvalidKeySpecException
{
286
throw new
InvalidKeySpecException
(e);
290
throw new
InvalidKeySpecException
("Unexpected key type");
296
throw new
InvalidKeySpecException
(e);
312
throws
InvalidKeySpecException
{
319
throw new
InvalidKeySpecException
(e);
323
throw new
InvalidKeySpecException
("Unexpected key type");
329
throw new
InvalidKeySpecException
(e);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
BaseKeyFactorySpi.java
6
import java.security.spec.
InvalidKeySpecException
;
21
throws
InvalidKeySpecException
31
throw new
InvalidKeySpecException
("encoded key spec not recognized: " + e.getMessage());
36
throw new
InvalidKeySpecException
("key spec not recognized");
42
throws
InvalidKeySpecException
52
throw new
InvalidKeySpecException
("encoded key spec not recognized: " + e.getMessage());
57
throw new
InvalidKeySpecException
("key spec not recognized");
64
throws
InvalidKeySpecException
75
throw new
InvalidKeySpecException
("not implemented yet " + key + " " + spec);
ExtendedInvalidKeySpecException.java
3
import java.security.spec.
InvalidKeySpecException
;
6
extends
InvalidKeySpecException
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
BaseKeyFactorySpi.java
7
import java.security.spec.
InvalidKeySpecException
;
25
throws
InvalidKeySpecException
35
throw new
InvalidKeySpecException
("encoded key spec not recognized: " + e.getMessage());
40
throw new
InvalidKeySpecException
("key spec not recognized");
46
throws
InvalidKeySpecException
56
throw new
InvalidKeySpecException
("encoded key spec not recognized: " + e.getMessage());
61
throw new
InvalidKeySpecException
("key spec not recognized");
68
throws
InvalidKeySpecException
79
throw new
InvalidKeySpecException
("not implemented yet " + key + " " + spec);
ExtendedInvalidKeySpecException.java
4
import java.security.spec.
InvalidKeySpecException
;
10
extends
InvalidKeySpecException
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java
8
import java.security.spec.
InvalidKeySpecException
;
23
throws
InvalidKeySpecException
37
throw new
InvalidKeySpecException
("no factory found for OID: " + info.getPrivateKeyAlgorithm().getAlgorithm());
41
throw new
InvalidKeySpecException
(e.toString());
45
throw new
InvalidKeySpecException
("Unknown KeySpec type: " + keySpec.getClass().getName());
50
throws
InvalidKeySpecException
64
throw new
InvalidKeySpecException
("no factory found for OID: " + info.getAlgorithm().getAlgorithm());
68
throw new
InvalidKeySpecException
(e.toString());
72
throw new
InvalidKeySpecException
("Unknown KeySpec type: " + keySpec.getClass().getName());
76
throws
InvalidKeySpecException
[
all
...]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java
9
import java.security.spec.
InvalidKeySpecException
;
27
throws
InvalidKeySpecException
41
throw new
InvalidKeySpecException
("no factory found for OID: " + info.getPrivateKeyAlgorithm().getAlgorithm());
45
throw new
InvalidKeySpecException
(e.toString());
49
throw new
InvalidKeySpecException
("Unknown KeySpec type: " + keySpec.getClass().getName());
54
throws
InvalidKeySpecException
68
throw new
InvalidKeySpecException
("no factory found for OID: " + info.getAlgorithm().getAlgorithm());
72
throw new
InvalidKeySpecException
(e.toString());
76
throw new
InvalidKeySpecException
("Unknown KeySpec type: " + keySpec.getClass().getName());
80
throws
InvalidKeySpecException
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseSecretKeyFactory.java
5
import java.security.spec.
InvalidKeySpecException
;
31
throws
InvalidKeySpecException
38
throw new
InvalidKeySpecException
("Invalid KeySpec");
44
throws
InvalidKeySpecException
48
throw new
InvalidKeySpecException
("keySpec parameter is null");
52
throw new
InvalidKeySpecException
("key parameter is null");
73
throw new
InvalidKeySpecException
(e.toString());
PBESecretKeyFactory.java
3
import java.security.spec.
InvalidKeySpecException
;
42
throws
InvalidKeySpecException
66
throw new
InvalidKeySpecException
("Invalid KeySpec");
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
BaseSecretKeyFactory.java
6
import java.security.spec.
InvalidKeySpecException
;
35
throws
InvalidKeySpecException
42
throw new
InvalidKeySpecException
("Invalid KeySpec");
48
throws
InvalidKeySpecException
52
throw new
InvalidKeySpecException
("keySpec parameter is null");
56
throw new
InvalidKeySpecException
("key parameter is null");
77
throw new
InvalidKeySpecException
(e.toString());
PBESecretKeyFactory.java
4
import java.security.spec.
InvalidKeySpecException
;
46
throws
InvalidKeySpecException
70
throw new
InvalidKeySpecException
("Invalid KeySpec");
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
PublicKeyProtoUtil.java
38
import java.security.spec.
InvalidKeySpecException
;
232
* @throws
InvalidKeySpecException
if the input is not a valid and/or supported public key type
234
public static PublicKey parsePublicKey(GenericPublicKey gpk) throws
InvalidKeySpecException
{
237
throw new
InvalidKeySpecException
("GenericPublicKey.type is a required field");
256
throw new
InvalidKeySpecException
("Unsupported GenericPublicKey type: " + gpk.getType());
258
throw new
InvalidKeySpecException
("key object is missing for key type: " + gpk.getType());
264
* @throws
InvalidKeySpecException
if the input is not a valid NIST P-256 public key or if
268
throws
InvalidKeySpecException
{
270
throw new
InvalidKeySpecException
("Key is missing a required coordinate");
273
throw new
InvalidKeySpecException
("Elliptic Curve keys not supported on this platform")
[
all
...]
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
KeyEncoding.java
26
import java.security.spec.
InvalidKeySpecException
;
62
throws
InvalidKeySpecException
{
70
public static PublicKey parseUserPublicKey(byte[] keyBytes) throws
InvalidKeySpecException
{
79
throws
InvalidKeySpecException
{
91
throws
InvalidKeySpecException
{
103
public static PublicKey parseSigningPublicKey(byte[] keyBytes) throws
InvalidKeySpecException
{
111
public static PrivateKey parseSigningPrivateKey(byte[] keyBytes) throws
InvalidKeySpecException
{
146
private static PublicKey parsePublicKey(byte[] keyBytes) throws
InvalidKeySpecException
{
150
throw new
InvalidKeySpecException
("Unable to parse GenericPublicKey", e);
152
throw new
InvalidKeySpecException
("Unable to parse GenericPublicKey", e)
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
KeyFactorySpi.java
8
import java.security.spec.
InvalidKeySpecException
;
34
throws
InvalidKeySpecException
70
throws
InvalidKeySpecException
82
throws
InvalidKeySpecException
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DES.java
7
import java.security.spec.
InvalidKeySpecException
;
253
throws
InvalidKeySpecException
257
throw new
InvalidKeySpecException
("keySpec parameter is null");
261
throw new
InvalidKeySpecException
("key parameter is null");
278
throw new
InvalidKeySpecException
(e.toString());
282
throw new
InvalidKeySpecException
("Invalid KeySpec");
287
throws
InvalidKeySpecException
328
throws
InvalidKeySpecException
378
throw new
InvalidKeySpecException
("Invalid KeySpec");
PBEPBKDF2.java
5
import java.security.spec.
InvalidKeySpecException
;
187
throws
InvalidKeySpecException
213
throw new
InvalidKeySpecException
("missing required salt");
218
throw new
InvalidKeySpecException
("positive iteration count required: "
224
throw new
InvalidKeySpecException
("positive key length required: "
255
throw new
InvalidKeySpecException
("Invalid KeySpec");
260
throws
InvalidKeySpecException
268
throw new
InvalidKeySpecException
("Invalid KeySpec: unknown PRF algorithm " + algorithm);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
KeyFactorySpi.java
12
import java.security.spec.
InvalidKeySpecException
;
40
throws
InvalidKeySpecException
134
throws
InvalidKeySpecException
168
throws
InvalidKeySpecException
178
throw new
InvalidKeySpecException
("invalid KeySpec: " + e.getMessage())
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java
10
import java.security.spec.
InvalidKeySpecException
;
43
throws
InvalidKeySpecException
136
throws
InvalidKeySpecException
179
throw new
InvalidKeySpecException
("open SSH public key is not RSA private key");
184
throw new
InvalidKeySpecException
("unknown KeySpec type: " + keySpec.getClass().getName());
189
throws
InvalidKeySpecException
206
throw new
InvalidKeySpecException
("Open SSH public key is not RSA public key");
Completed in 797 milliseconds
1
2
3
4