HomeSort by relevance Sort by last modified time
    Searched refs:KeyStoreException (Results 1 - 25 of 310) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /frameworks/base/keystore/java/android/security/
KeyStoreException.java 25 public class KeyStoreException extends Exception {
29 public KeyStoreException(int errorCode, String message) {
  /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/keystore/
KeyStoreCryptoOperationStreamer.java 20 import android.security.KeyStoreException;
37 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException;
39 byte[] additionalEntropy) throws KeyStoreException;
AndroidKeyStoreSpi.java 40 import java.security.KeyStoreException;
273 throws KeyStoreException {
275 throw new KeyStoreException("entries cannot be protected with passwords");
283 throw new KeyStoreException("Only PrivateKey and SecretKey are supported");
288 throws KeyStoreException {
333 throw new KeyStoreException("Unsupported key algorithm: " + keyAlgorithm);
341 java.security.KeyStore.ProtectionParameter param) throws KeyStoreException {
358 throw new KeyStoreException(
366 throw new KeyStoreException("Must supply at least one Certificate with PrivateKey");
373 throw new KeyStoreException("Certificates must be in X.509 format: invalid cert #
    [all...]
  /external/conscrypt/platform/src/main/java/org/conscrypt/
TrustManagerFactoryImpl.java 40 import java.security.KeyStoreException;
61 public void engineInit(KeyStore ks) throws KeyStoreException {
69 throw new KeyStoreException(e);
71 throw new KeyStoreException(e);
73 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...]
KeyStoreBuilderTest.java 28 import java.security.KeyStoreException;
90 throws KeyStoreException, NoSuchAlgorithmException, IOException,
149 } catch (KeyStoreException e) {
155 } catch (KeyStoreException e) {
156 // KeyStoreException might be thrown because there is no entry
162 } catch (KeyStoreException e) {
163 // KeyStoreException might be thrown because there is no entry
201 * KeyStoreException when alias is not available; returns
259 fail("KeyStoreException must be throw because file is empty");
260 } 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();
TrustManagerFactorySpiImpl.java 5 import java.security.KeyStoreException;
17 public void engineInit(KeyStore ks) throws KeyStoreException {
MyKeyManagerFactorySpi.java 22 import java.security.KeyStoreException;
39 throws KeyStoreException, NoSuchAlgorithmException,
42 throw new KeyStoreException("Incorrect password");
  /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 {
  /libcore/luni/src/test/java/tests/targets/security/
KeyStoreTest.java 29 import java.security.KeyStoreException;
55 } catch (KeyStoreException e) {
73 } catch (KeyStoreException e) {
82 } catch (KeyStoreException e) {
128 } catch (KeyStoreException e) {
134 } catch (KeyStoreException e) {
148 } catch (KeyStoreException e) {
156 } catch (KeyStoreException e) {
  /libcore/ojluni/src/main/java/java/security/cert/
PKIXBuilderParameters.java 29 import java.security.KeyStoreException;
119 * @throws KeyStoreException if {@code keystore} has not been
128 throws KeyStoreException, InvalidAlgorithmParameterException

Completed in 573 milliseconds

1 2 3 4 5 6 7 8 91011>>