OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:KeyStoreException
(Results
1 - 25
of
377
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/libcore/ojluni/src/main/java/java/security/
KeyStoreException.java
37
public class
KeyStoreException
extends GeneralSecurityException {
42
* Constructs a
KeyStoreException
with no detail message. (A
46
public
KeyStoreException
() {
51
* Constructs a
KeyStoreException
with the specified detail
57
public
KeyStoreException
(String msg) {
62
* Creates a {@code
KeyStoreException
} with the specified
72
public
KeyStoreException
(String message, Throwable cause) {
77
* Creates a {@code
KeyStoreException
} with the specified cause
87
public
KeyStoreException
(Throwable cause) {
KeyStore.java
877
* @exception
KeyStoreException
if no Provider supports a
884
throws
KeyStoreException
890
throw new
KeyStoreException
(type + " not found", nsae);
892
throw new
KeyStoreException
(type + " not found", nspe);
917
* @exception
KeyStoreException
if a KeyStoreSpi
[
all
...]
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/
KeyStoreException.java
22
public class
KeyStoreException
extends Exception {
26
* Creates a {@link
KeyStoreException
}.
28
public
KeyStoreException
() {
33
* Creates a {@link
KeyStoreException
}.
37
public
KeyStoreException
(String msg) {
42
* Creates a {@link
KeyStoreException
}.
48
public
KeyStoreException
(String msg, Throwable cause) {
IKeyStoreFactory.java
27
* @throws
KeyStoreException
for any failures in creating key store client.
29
public IKeyStoreClient createKeyStoreClient() throws
KeyStoreException
;
StubKeyStoreFactory.java
25
public IKeyStoreClient createKeyStoreClient() throws
KeyStoreException
{
JSONFileKeyStoreClient.java
41
public JSONFileKeyStoreClient(File jsonFile) throws
KeyStoreException
{
44
throw new
KeyStoreException
("JSON key store file not set.");
47
throw new
KeyStoreException
(
55
throw new
KeyStoreException
(String.format("Failed to read JSON key file %s: %s",
58
throw new
KeyStoreException
(
/frameworks/base/keystore/java/android/security/
KeyStoreException.java
28
public class
KeyStoreException
extends Exception {
32
public
KeyStoreException
(int errorCode, String message) {
/frameworks/base/keystore/java/android/security/keystore/
KeyStoreCryptoOperationStreamer.java
20
import android.security.
KeyStoreException
;
37
byte[] update(byte[] input, int inputOffset, int inputLength) throws
KeyStoreException
;
39
byte[] additionalEntropy) throws
KeyStoreException
;
SecureKeyImportUnavailableException.java
20
import android.security.
KeyStoreException
;
34
super(message, new
KeyStoreException
(KeyStore.HARDWARE_TYPE_UNAVAILABLE,
StrongBoxUnavailableException.java
20
import android.security.
KeyStoreException
;
36
new
KeyStoreException
(KeyStore.HARDWARE_TYPE_UNAVAILABLE, "No StrongBox available")
AndroidKeyStoreSpi.java
43
import java.security.
KeyStoreException
;
272
throws
KeyStoreException
{
274
throw new
KeyStoreException
("entries cannot be protected with passwords");
282
throw new
KeyStoreException
("Only PrivateKey and SecretKey are supported");
287
throws
KeyStoreException
{
332
throw new
KeyStoreException
("Unsupported key algorithm: " + keyAlgorithm);
340
java.security.KeyStore.ProtectionParameter param) throws
KeyStoreException
{
361
throw new
KeyStoreException
(
369
throw new
KeyStoreException
("Must supply at least one Certificate with PrivateKey");
376
throw new
KeyStoreException
("Certificates must be in X.509 format: invalid cert #
[
all
...]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
KeyStoreProxy.java
21
import java.security.
KeyStoreException
;
34
boolean containsAlias(String alias) throws
KeyStoreException
;
38
throws
KeyStoreException
, NoSuchAlgorithmException, UnrecoverableKeyException;
42
throws
KeyStoreException
;
45
void deleteEntry(String alias) throws
KeyStoreException
;
KeyStoreProxyImpl.java
23
import java.security.
KeyStoreException
;
44
public boolean containsAlias(String alias) throws
KeyStoreException
{
50
throws
KeyStoreException
, NoSuchAlgorithmException, UnrecoverableKeyException {
56
throws
KeyStoreException
{
61
public void deleteEntry(String alias) throws
KeyStoreException
{
69
* @throws
KeyStoreException
if there was a problem getting or initializing the key store.
71
public static KeyStore getAndLoadAndroidKeyStore() throws
KeyStoreException
{
77
throw new
KeyStoreException
("Unable to load keystore.", e);
PlatformKeyManager.java
31
import java.security.
KeyStoreException
;
82
* @throws
KeyStoreException
if failed to initialize AndroidKeyStore.
89
throws
KeyStoreException
, NoSuchAlgorithmException {
145
} catch (
KeyStoreException
e) {
158
* @throws
KeyStoreException
if there is an error in AndroidKeyStore.
166
throws NoSuchAlgorithmException,
KeyStoreException
, InsecureUserException, IOException {
188
* @throws
KeyStoreException
if there was an AndroidKeyStore error.
196
public PlatformEncryptionKey getEncryptKey(int userId) throws
KeyStoreException
,
217
* @throws
KeyStoreException
if there was an AndroidKeyStore error.
224
private PlatformEncryptionKey getEncryptKeyInternal(int userId) throws
KeyStoreException
,
[
all
...]
/external/conscrypt/platform/src/main/java/org/conscrypt/
TrustManagerFactoryImpl.java
40
import java.security.
KeyStoreException
;
63
public void engineInit(KeyStore ks) throws
KeyStoreException
{
71
throw new
KeyStoreException
(e);
73
throw new
KeyStoreException
(e);
75
throw new
KeyStoreException
(e);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreExceptionTest.java
25
import java.security.
KeyStoreException
;
30
* Tests for <code>
KeyStoreException
</code> class constructors and methods.
43
* Test for <code>
KeyStoreException
()</code> constructor Assertion:
44
* constructs
KeyStoreException
with no detail message
47
KeyStoreException
tE = new
KeyStoreException
();
53
* Test for <code>
KeyStoreException
(String)</code> constructor Assertion:
54
* constructs
KeyStoreException
with detail message msg. Parameter
58
KeyStoreException
tE;
60
tE = new
KeyStoreException
(msgs[i])
[
all
...]
KeyStore4Test.java
16
import java.security.
KeyStoreException
;
45
} catch (
KeyStoreException
e) {
51
} catch (
KeyStoreException
e) {
69
} catch (
KeyStoreException
e) {
75
fail("expected
KeyStoreException
");
76
} catch (
KeyStoreException
e) {
85
} catch (
KeyStoreException
e) {
95
} catch (
KeyStoreException
e) {
103
fail("expected
KeyStoreException
");
104
} catch (
KeyStoreException
e)
[
all
...]
/libcore/ojluni/src/main/java/javax/net/ssl/
KeyManagerFactorySpi.java
48
* @throws
KeyStoreException
if this operation fails
55
KeyStoreException
, NoSuchAlgorithmException, UnrecoverableKeyException;
TrustManagerFactorySpi.java
48
* @throws
KeyStoreException
if this operation fails
51
protected abstract void engineInit(KeyStore ks) throws
KeyStoreException
;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyTrustManagerFactorySpi.java
22
import java.security.
KeyStoreException
;
35
protected void engineInit(KeyStore ks) throws
KeyStoreException
{
37
throw new
KeyStoreException
("Not supported operation for null KeyStore");
49
} catch (
KeyStoreException
e) {
MyKeyStoreSpi.java
30
import java.security.
KeyStoreException
;
69
Certificate[] chain) throws
KeyStoreException
{
70
throw new
KeyStoreException
(
75
throws
KeyStoreException
{
76
throw new
KeyStoreException
(
81
throws
KeyStoreException
{
82
throw new
KeyStoreException
(
86
public void engineDeleteEntry(String alias) throws
KeyStoreException
{
87
throw new
KeyStoreException
(
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
MyTrustManagerFactorySpi.java
22
import java.security.
KeyStoreException
;
35
protected void engineInit(KeyStore ks) throws
KeyStoreException
{
37
throw new
KeyStoreException
("Not supported operation for null KeyStore");
49
} catch (
KeyStoreException
e) {
KeyManagerFactorySpiImpl.java
5
import java.security.
KeyStoreException
;
17
throws
KeyStoreException
, NoSuchAlgorithmException,
25
throw new
KeyStoreException
();
/external/conscrypt/common/src/main/java/org/conscrypt/
KeyManagerFactoryImpl.java
25
import java.security.
KeyStoreException
;
52
throws
KeyStoreException
, NoSuchAlgorithmException,
69
throw new
KeyStoreException
(e);
71
throw new
KeyStoreException
(e);
83
throw new
KeyStoreException
(e);
85
throw new
KeyStoreException
(e);
87
throw new
KeyStoreException
(e);
/external/apache-harmony/support/src/test/java/tests/support/
Support_DummyPKCS12Keystore.java
24
import java.security.
KeyStoreException
;
65
Certificate[] arg3) throws
KeyStoreException
{
70
throws
KeyStoreException
{
75
throws
KeyStoreException
{
79
public void engineDeleteEntry(String arg0) throws
KeyStoreException
{
Completed in 1149 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>