Searched refs:SSLPeerUnverifiedException (Results 1 - 15 of 15) sorted by relevance

/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLPeerUnverifiedException.java24 public class SSLPeerUnverifiedException extends SSLException { class in inherits:SSLException
29 * Creates a new {@code SSLPeerUnverifiedException} with the specified
35 public SSLPeerUnverifiedException(String reason) { method in class:SSLPeerUnverifiedException
H A DHandshakeCompletedEvent.java90 * @throws SSLPeerUnverifiedException
93 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException {
105 * @throws SSLPeerUnverifiedException
108 public X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException {
116 * @throws SSLPeerUnverifiedException
119 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
H A DSSLSession.java100 * @throws SSLPeerUnverifiedException
103 public X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException;
111 * @throws SSLPeerUnverifiedException
114 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException;
138 * @throws SSLPeerUnverifiedException
141 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException;
H A DHttpsURLConnection.java134 * @throws SSLPeerUnverifiedException
139 public abstract Certificate[] getServerCertificates() throws SSLPeerUnverifiedException;
145 * @throws SSLPeerUnverifiedException
150 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
153 throw new SSLPeerUnverifiedException("No server's end-entity certificate");
/dalvik/libcore/luni/src/main/java/java/net/
H A DSecureCacheResponse.java22 import javax.net.ssl.SSLPeerUnverifiedException;
64 * {@code SSLPeerUnverifiedException}.
67 * @throws SSLPeerUnverifiedException
71 throws SSLPeerUnverifiedException;
79 * @throws SSLPeerUnverifiedException
83 throws SSLPeerUnverifiedException;
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
H A DSSLPeerUnverifiedExceptionTest.java23 import javax.net.ssl.SSLPeerUnverifiedException;
27 @TestTargetClass(SSLPeerUnverifiedException.class)
37 * Test for <code>SSLPeerUnverifiedException(String)</code> constructor Assertion:
38 * constructs SSLPeerUnverifiedException with detail message msg. Parameter
44 method = "SSLPeerUnverifiedException",
48 SSLPeerUnverifiedException sslE;
50 sslE = new SSLPeerUnverifiedException(msgs[i]);
57 * Test for <code>SSLPeerUnverifiedException(String)</code> constructor Assertion:
58 * constructs SSLPeerUnverifiedException with detail message msg. Parameter
64 method = "SSLPeerUnverifiedException",
[all...]
H A DSSLSessionBindingEventTest.java28 import javax.net.ssl.SSLPeerUnverifiedException;
172 throws SSLPeerUnverifiedException {
173 throw new SSLPeerUnverifiedException("test exception");
180 throws SSLPeerUnverifiedException {
181 throw new SSLPeerUnverifiedException("test exception");
201 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
H A DHttpsURLConnectionTest.java34 import javax.net.ssl.SSLPeerUnverifiedException;
247 fail("SSLPeerUnverifiedException wasn't thrown");
248 } catch (SSLPeerUnverifiedException e) {
287 fail("SSLPeerUnverifiedException wasn't thrown");
288 } catch (SSLPeerUnverifiedException e) {
456 public Certificate[] getServerCertificates() throws SSLPeerUnverifiedException {
464 throw new SSLPeerUnverifiedException("No server's end-entity certificate");
H A DHandshakeCompletedEventTest.java40 import javax.net.ssl.SSLPeerUnverifiedException;
186 fail("SSLPeerUnverifiedException wasn't thrown");
187 } catch (SSLPeerUnverifiedException spue) {
223 fail("SSLPeerUnverifiedException wasn't thrown");
224 } catch (SSLPeerUnverifiedException spue) {
H A DSSLSessionTest.java48 import javax.net.ssl.SSLPeerUnverifiedException;
326 // fail("SSLPeerUnverifiedException wasn't thrown");
327 // } catch (SSLPeerUnverifiedException pue) {
351 // fail("SSLPeerUnverifiedException wasn't thrown");
352 // } catch (SSLPeerUnverifiedException pue) {
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DmySSLSession.java10 import javax.net.ssl.SSLPeerUnverifiedException;
89 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException {
91 throw new SSLPeerUnverifiedException("peer not authenticated");
97 public X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException {
99 throw new SSLPeerUnverifiedException("peer not authenticated");
113 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSessionImpl.java29 import javax.net.ssl.SSLPeerUnverifiedException;
201 public javax.security.cert.X509Certificate[] getPeerCertificateChain() throws SSLPeerUnverifiedException {
205 if (bytes == null) throw new SSLPeerUnverifiedException("No certificate available");
215 throw new SSLPeerUnverifiedException(e.getMessage());
228 * @throws <code>SSLPeerUnverifiedException</code> if either a not X509
232 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException {
243 } catch (SSLPeerUnverifiedException e) {
260 * @throws <code>SSLPeerUnverifiedException</code> if either a not X509
265 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
267 throw new SSLPeerUnverifiedException("N
[all...]
H A DSSLSessionImpl.java31 import javax.net.ssl.SSLPeerUnverifiedException;
239 throws SSLPeerUnverifiedException {
241 throw new SSLPeerUnverifiedException("No peer certificate");
255 public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException {
257 throw new SSLPeerUnverifiedException("No peer certificate");
270 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
272 throw new SSLPeerUnverifiedException("No peer certificate");
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DSecureCacheResponseTest.java45 import javax.net.ssl.SSLPeerUnverifiedException;
137 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
142 public List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException {
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/
H A DHttpsURLConnectionImpl.java32 import javax.net.ssl.SSLPeerUnverifiedException;
77 throws SSLPeerUnverifiedException {
85 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {

Completed in 668 milliseconds