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
123
) sorted by null
1
2
3
4
5
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/serialization/
InvalidKeySpecExceptionTest.java
24
import java.security.spec.
InvalidKeySpecException
;
30
* Test for
InvalidKeySpecException
serialization
41
InvalidKeySpecException
dExc = new
InvalidKeySpecException
(msgs[0], cause);
44
return new Object[] { new
InvalidKeySpecException
(), new
InvalidKeySpecException
(msg),
45
new
InvalidKeySpecException
(msgs[1]),
46
new
InvalidKeySpecException
(new Throwable()), new
InvalidKeySpecException
(th),
47
new
InvalidKeySpecException
(msgs[1], dExc) }
[
all
...]
/libcore/luni/src/main/java/java/security/spec/
InvalidKeySpecException.java
26
public class
InvalidKeySpecException
extends GeneralSecurityException {
34
* Creates a new {@code
InvalidKeySpecException
} with the specified message.
39
public
InvalidKeySpecException
(String msg) {
44
* Creates a new {@code
InvalidKeySpecException
}.
46
public
InvalidKeySpecException
() {
50
* Creates a new {@code
InvalidKeySpecException
} with the specified message
58
public
InvalidKeySpecException
(String message, Throwable cause) {
63
* Creates a new {@code
InvalidKeySpecException
} with the specified cause.
68
public
InvalidKeySpecException
(Throwable cause) {
/libcore/luni/src/main/java/java/security/
KeyFactorySpi.java
20
import java.security.spec.
InvalidKeySpecException
;
38
* @throws
InvalidKeySpecException
42
throws
InvalidKeySpecException
;
51
* @throws
InvalidKeySpecException
55
throws
InvalidKeySpecException
;
65
* @throws
InvalidKeySpecException
70
throws
InvalidKeySpecException
;
71
//FIXME 1.5 signature: protected abstract <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec) throws
InvalidKeySpecException
KeyFactory.java
20
import java.security.spec.
InvalidKeySpecException
;
167
* @throws
InvalidKeySpecException
171
throws
InvalidKeySpecException
{
182
* @throws
InvalidKeySpecException
186
throws
InvalidKeySpecException
{
198
* @throws
InvalidKeySpecException
204
throws
InvalidKeySpecException
{
KeyRep.java
25
import java.security.spec.
InvalidKeySpecException
;
123
catch (
InvalidKeySpecException
e) {
136
catch (
InvalidKeySpecException
e) {
/frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreKeyFactorySpi.java
28
import java.security.spec.
InvalidKeySpecException
;
45
throws
InvalidKeySpecException
{
47
throw new
InvalidKeySpecException
("key == null");
50
throw new
InvalidKeySpecException
(
58
throw new
InvalidKeySpecException
("keySpecClass == null");
61
throw new
InvalidKeySpecException
(
70
throw new
InvalidKeySpecException
("Invalid key alias: " + keyAliasInKeystore);
78
throw new
InvalidKeySpecException
(
88
throw new
InvalidKeySpecException
(
91
throw new
InvalidKeySpecException
(
[
all
...]
/libcore/luni/src/main/java/javax/crypto/
SecretKeyFactorySpi.java
21
import java.security.spec.
InvalidKeySpecException
;
42
* @throws
InvalidKeySpecException
47
throws
InvalidKeySpecException
;
57
* @throws
InvalidKeySpecException
63
throws
InvalidKeySpecException
;
/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 recognised");
36
throw new
InvalidKeySpecException
("key spec not recognised");
42
throws
InvalidKeySpecException
52
throw new
InvalidKeySpecException
("encoded key spec not recognised");
57
throw new
InvalidKeySpecException
("key spec not recognised");
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/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/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
InvalidKeySpecExceptionTest.java
24
import java.security.spec.
InvalidKeySpecException
;
29
* Tests for <code>
InvalidKeySpecException
</code> class constructors and
54
* Test for <code>
InvalidKeySpecException
()</code> constructor Assertion:
55
* constructs
InvalidKeySpecException
with no detail message
58
InvalidKeySpecException
tE = new
InvalidKeySpecException
();
64
* Test for <code>
InvalidKeySpecException
(String)</code> constructor
65
* Assertion: constructs
InvalidKeySpecException
with detail message msg.
69
InvalidKeySpecException
tE;
71
tE = new
InvalidKeySpecException
(msgs[i])
[
all
...]
/libcore/luni/src/test/java/tests/security/spec/
InvalidKeySpecExceptionTest.java
27
import java.security.spec.
InvalidKeySpecException
;
30
* Tests for <code>
InvalidKeySpecException
</code> class constructors and
44
* Test for <code>
InvalidKeySpecException
()</code> constructor Assertion:
45
* constructs
InvalidKeySpecException
with no detail message
48
InvalidKeySpecException
tE = new
InvalidKeySpecException
();
54
* Test for <code>
InvalidKeySpecException
(String)</code> constructor
55
* Assertion: constructs
InvalidKeySpecException
with detail message msg.
59
InvalidKeySpecException
tE;
61
tE = new
InvalidKeySpecException
(msgs[i])
[
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/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
MySecretKeyFactorySpi.java
25
import java.security.spec.
InvalidKeySpecException
;
39
throws
InvalidKeySpecException
{
46
throws
InvalidKeySpecException
{
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MySecretKeyFactorySpi.java
26
import java.security.spec.
InvalidKeySpecException
;
41
throws
InvalidKeySpecException
{
48
throws
InvalidKeySpecException
{
/external/conscrypt/src/main/java/org/conscrypt/
OpenSSLRSAKeyFactory.java
28
import java.security.spec.
InvalidKeySpecException
;
39
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws
InvalidKeySpecException
{
41
throw new
InvalidKeySpecException
("keySpec == null");
49
throw new
InvalidKeySpecException
("Must use RSAPublicKeySpec or X509EncodedKeySpec; was "
54
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws
InvalidKeySpecException
{
56
throw new
InvalidKeySpecException
("keySpec == null");
67
throw new
InvalidKeySpecException
("Must use RSAPublicKeySpec or PKCS8EncodedKeySpec; was "
73
throws
InvalidKeySpecException
{
75
throw new
InvalidKeySpecException
("key == null");
79
throw new
InvalidKeySpecException
("keySpec == null")
[
all
...]
OpenSSLECKeyFactory.java
31
import java.security.spec.
InvalidKeySpecException
;
39
protected PublicKey engineGeneratePublic(KeySpec keySpec) throws
InvalidKeySpecException
{
41
throw new
InvalidKeySpecException
("keySpec == null");
49
throw new
InvalidKeySpecException
("Must use ECPublicKeySpec or X509EncodedKeySpec; was "
54
protected PrivateKey engineGeneratePrivate(KeySpec keySpec) throws
InvalidKeySpecException
{
56
throw new
InvalidKeySpecException
("keySpec == null");
65
throw new
InvalidKeySpecException
("Must use ECPrivateKeySpec or PKCS8EncodedKeySpec; was "
71
throws
InvalidKeySpecException
{
73
throw new
InvalidKeySpecException
("key == null");
77
throw new
InvalidKeySpecException
("keySpec == null")
[
all
...]
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
SecretKeyFactorySpiTest.java
25
import java.security.spec.
InvalidKeySpecException
;
53
InvalidKeySpecException
{
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairTest.java
25
import java.security.spec.
InvalidKeySpecException
;
93
* @throws
InvalidKeySpecException
95
public final void testKeyPair02() throws
InvalidKeySpecException
{
113
* @throws
InvalidKeySpecException
115
public final void testGetPrivate02() throws
InvalidKeySpecException
{
134
* @throws
InvalidKeySpecException
136
public final void testGetPublic02() throws
InvalidKeySpecException
{
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyFactorySpiTest.java
26
import java.security.spec.
InvalidKeySpecException
;
41
protected SecretKey engineGenerateSecret(KeySpec keySpec) throws
InvalidKeySpecException
{
47
throws
InvalidKeySpecException
{
62
public void testSecretKeyFactorySpi01() throws InvalidKeyException,
InvalidKeySpecException
{
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactoryTest.java
18
import java.security.spec.
InvalidKeySpecException
;
194
} catch (
InvalidKeySpecException
e) {
205
InvalidKeySpecException
.class,
207
InvalidKeySpecException
.class
243
} catch (
InvalidKeySpecException
e) {
254
InvalidKeySpecException
.class,
256
InvalidKeySpecException
.class
308
} catch (
InvalidKeySpecException
e) {
330
InvalidKeySpecException
.class,
332
InvalidKeySpecException
.class
[
all
...]
KeyPairTest.java
28
import java.security.spec.
InvalidKeySpecException
;
87
* @throws
InvalidKeySpecException
89
public final void testKeyPair02() throws
InvalidKeySpecException
{
106
* @throws
InvalidKeySpecException
108
public final void testGetPrivate02() throws
InvalidKeySpecException
{
126
* @throws
InvalidKeySpecException
128
public final void testGetPublic02() throws
InvalidKeySpecException
{
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
SHA1.java
3
import java.security.spec.
InvalidKeySpecException
;
110
throws
InvalidKeySpecException
118
throw new
InvalidKeySpecException
("missing required salt");
123
throw new
InvalidKeySpecException
("positive iteration count required: "
129
throw new
InvalidKeySpecException
("positive key length required: "
146
throw new
InvalidKeySpecException
("Invalid KeySpec");
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
SignedObjectTest.java
31
import java.security.spec.
InvalidKeySpecException
;
70
} catch (
InvalidKeySpecException
e) {
97
} catch (
InvalidKeySpecException
e) {
Completed in 1429 milliseconds
1
2
3
4
5