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

1 2 3 4 5 6 7

  /libcore/luni/src/main/java/javax/security/cert/
CertificateException.java 30 public class CertificateException extends Exception {
38 * Creates a new {@code CertificateException} with the specified message.
43 public CertificateException(String msg) {
48 * Creates a new {@code CertificateException}.
50 public CertificateException() {
CertificateEncodingException.java 31 public class CertificateEncodingException extends CertificateException {
CertificateExpiredException.java 29 public class CertificateExpiredException extends CertificateException {
CertificateNotYetValidException.java 29 public class CertificateNotYetValidException extends CertificateException {
CertificateParsingException.java 29 public class CertificateParsingException extends CertificateException {
X509Certificate.java 71 * @throws CertificateException
75 throws CertificateException {
77 throw new CertificateException("inStream == null");
84 throw new CertificateException(e.getMessage());
93 } catch (java.security.cert.CertificateException e) {
94 throw new CertificateException(e.getMessage());
107 public void verify(PublicKey key) throws CertificateException,
112 } catch (java.security.cert.CertificateException e) {
113 throw new CertificateException(e.getMessage());
118 throws CertificateException,
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/
CertificateExceptionTest.java 24 import java.security.cert.CertificateException;
30 * Test for CertificateException serialization
42 CertificateException dExc = new CertificateException(msgs[0], cause);
45 return new Object[] { new CertificateException(), new CertificateException(msg),
46 new CertificateException(msgs[1]),
47 new CertificateException(new Throwable()), new CertificateException(th),
48 new CertificateException(msgs[1], dExc) }
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
CertificateException.java 25 public class CertificateException extends GeneralSecurityException {
30 * Creates a new {@code CertificateException} with the specified message.
35 public CertificateException(String msg) {
40 * Creates a new {@code CertificateException}.
42 public CertificateException() {
46 * Creates a new {@code CertificateException} with the specified message and
54 public CertificateException(String message, Throwable cause) {
59 * Creates a new {@code CertificateException} with the specified cause.
64 public CertificateException(Throwable cause) {
CertificateExpiredException.java 23 public class CertificateExpiredException extends CertificateException {
CertificateNotYetValidException.java 24 public class CertificateNotYetValidException extends CertificateException {
CertificateFactorySpi.java 47 * @exception CertificateException
51 throws CertificateException;
60 * @exception CertificateException
64 engineGenerateCertificates(InputStream inStream) throws CertificateException;
99 * @throws CertificateException
103 throws CertificateException {
117 * @throws CertificateException
123 throws CertificateException {
135 * @throws CertificateException
141 throws CertificateException {
    [all...]
CertificateFactory.java 79 * @throws CertificateException
85 throws CertificateException {
93 throw new CertificateException(e);
107 * @throws CertificateException
117 String provider) throws CertificateException,
139 * @throws CertificateException
148 Provider provider) throws CertificateException {
159 throw new CertificateException(e);
190 * @throws CertificateException
194 throws CertificateException {
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/serialization/
CertificateExceptionTest.java 24 import javax.security.cert.CertificateException;
30 * Test for CertificateException serialization
41 return new Object[] { new CertificateException(), new CertificateException(null),
42 new CertificateException(msgs[0]),
43 new CertificateException(msgs[1]) };
  /libcore/luni/src/test/java/tests/security/cert/
CertificateException2Test.java 20 import java.security.cert.CertificateException;
25 * java.security.cert.CertificateException#CertificateException()
28 // Test for method java.security.cert.CertificateException()
31 throw new CertificateException();
33 fail("Should have thrown CertificateException");
34 } catch (CertificateException e) {
36 "java.security.cert.CertificateException", e.toString());
43 * java.security.cert.CertificateException#CertificateException(java.lang.String
    [all...]
CertificateExceptionTest.java 27 import java.security.cert.CertificateException;
31 * Tests for <code>CertificateException</code> class constructors and methods.
44 * Test for <code>CertificateException()</code> constructor Assertion:
45 * constructs CertificateException with no detail message
48 CertificateException tE = new CertificateException();
54 * Test for <code>CertificateException(String)</code> constructor
55 * Assertion: constructs CertificateException with detail message msg.
59 CertificateException tE;
61 tE = new CertificateException(msgs[i])
    [all...]
CertificateFactorySpiTest.java 36 import java.security.cert.CertificateException;
53 public void testCertificateFactorySpi01() throws CertificateException,
82 fail("CertificateException must be thrown");
83 } catch (CertificateException e) {
89 fail("CertificateException must be thrown");
90 } catch (CertificateException e) {
114 public void testCertificateFactorySpi02() throws CertificateException,
122 fail("CertificateException must be thrown");
123 } catch (CertificateException e) {
128 fail("CertificateException must be thrown")
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
X509TrustManager.java 20 import java.security.cert.CertificateException;
38 * @throws CertificateException
46 throws CertificateException;
58 * @throws CertificateException
66 throws CertificateException;
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/javax/security/cert/
CertificateExceptionTest.java 24 import javax.security.cert.CertificateException;
55 * Test for <code>CertificateException()</code> constructor Assertion:
56 * constructs CertificateException with no detail message
59 CertificateException tE = new CertificateException();
65 * Test for <code>CertificateException(String)</code> constructor
66 * Assertion: constructs CertificateException with detail message msg.
70 CertificateException tE;
72 tE = new CertificateException(msgs[i]);
80 * Test for <code>CertificateException(String)</code> constructo
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/security/cert/
CertificateExceptionTest.java 27 import javax.security.cert.CertificateException;
44 * Test for <code>CertificateException()</code> constructor Assertion:
45 * constructs CertificateException with no detail message
48 CertificateException tE = new CertificateException();
54 * Test for <code>CertificateException(String)</code> constructor
55 * Assertion: constructs CertificateException with detail message msg.
59 CertificateException tE;
61 tE = new CertificateException(msgs[i]);
69 * Test for <code>CertificateException(String)</code> constructo
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
MyCertificateFactorySpi.java 30 import java.security.cert.CertificateException;
66 throws CertificateException {
68 throw new CertificateException("Incorrect inputstream");
74 throws CertificateException {
76 throw new CertificateException("Incorrect inputstream");
97 throws CertificateException {
99 throw new CertificateException("Incorrect inputstream");
103 throw new CertificateException("There are no CertPath encodings");
109 throws CertificateException {
111 throw new CertificateException("Incorrect inputstream")
    [all...]
MyCertificate.java 31 import java.security.cert.CertificateException;
64 public void verify(PublicKey key) throws CertificateException,
73 throws CertificateException, NoSuchAlgorithmException,
  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
X509TrustManagerImpl.java 5 import java.security.cert.CertificateException;
10 throws CertificateException {
19 throw new CertificateException();
25 throws CertificateException {
34 throw new CertificateException();
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
MyCertificateFactorySpi.java 31 import java.security.cert.CertificateException;
67 throws CertificateException {
69 throw new CertificateException("Incorrect inputstream");
76 throws CertificateException {
78 throw new CertificateException("Incorrect inputstream");
100 throws CertificateException {
102 throw new CertificateException("Incorrect inputstream");
106 throw new CertificateException("There are no CertPath encodings");
112 throws CertificateException {
114 throw new CertificateException("Incorrect inputstream")
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateExceptionTest.java 24 import java.security.cert.CertificateException;
30 * Tests for <code>CertificateException</code> class constructors and methods.
55 * Test for <code>CertificateException()</code> constructor Assertion:
56 * constructs CertificateException with no detail message
59 CertificateException tE = new CertificateException();
65 * Test for <code>CertificateException(String)</code> constructor
66 * Assertion: constructs CertificateException with detail message msg.
70 CertificateException tE;
72 tE = new CertificateException(msgs[i])
    [all...]
CertificateFactorySpiTest.java 31 import java.security.cert.CertificateException;
60 public void testCertificateFactorySpi01() throws CertificateException,
90 fail("CertificateException must be thrown");
91 } catch (CertificateException e) {
98 fail("CertificateException must be thrown");
99 } catch (CertificateException e) {
124 public void testCertificateFactorySpi02() throws CertificateException,
132 fail("CertificateException must be thrown");
133 } catch (CertificateException e) {
138 fail("CertificateException must be thrown")
    [all...]

Completed in 1269 milliseconds

1 2 3 4 5 6 7