@Override public Object[] getPeerCertificateChain() throws IOException { return getPeerCertificateChain(false); }
public static void populateSSLAttributes(final Request request) { if (request.isSecure()) { try { SSLSupport sslSupport = new SSLSupportImpl(request.getContext().getConnection()); Object sslO = sslSupport.getCipherSuite(); if (sslO != null) { request.setAttribute(SSLSupport.CIPHER_SUITE_KEY, sslO); } sslO = sslSupport.getPeerCertificateChain(false); if (sslO != null) { request.setAttribute(SSLSupport.CERTIFICATE_KEY, sslO); } sslO = sslSupport.getKeySize(); if (sslO != null) { request.setAttribute(SSLSupport.KEY_SIZE_KEY, sslO); } sslO = sslSupport.getSessionId(); if (sslO != null) { request.setAttribute(SSLSupport.SESSION_ID_KEY, sslO); } } catch (Exception ioe) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, "Unable to populate SSL attributes", ioe); } } } }
return getX509Certificates(session);
public static void populateSSLAttributes(final Request request) { if (request.isSecure()) { try { SSLSupport sslSupport = new SSLSupportImpl(request.getContext().getConnection()); Object sslO = sslSupport.getCipherSuite(); if (sslO != null) { request.setAttribute(SSLSupport.CIPHER_SUITE_KEY, sslO); } sslO = sslSupport.getPeerCertificateChain(false); if (sslO != null) { request.setAttribute(SSLSupport.CERTIFICATE_KEY, sslO); } sslO = sslSupport.getKeySize(); if (sslO != null) { request.setAttribute(SSLSupport.KEY_SIZE_KEY, sslO); } sslO = sslSupport.getSessionId(); if (sslO != null) { request.setAttribute(SSLSupport.SESSION_ID_KEY, sslO); } } catch (Exception ioe) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, "Unable to populate SSL attributes", ioe); } } } }
@Override public Object[] getPeerCertificateChain() throws IOException { return getPeerCertificateChain(false); }
return getX509Certificates(session);
public static void populateSSLAttributes(final Request request) { if (request.isSecure()) { try { SSLSupport sslSupport = new SSLSupportImpl(request.getContext().getConnection()); Object sslO = sslSupport.getCipherSuite(); if (sslO != null) { request.setAttribute(SSLSupport.CIPHER_SUITE_KEY, sslO); } sslO = sslSupport.getPeerCertificateChain(false); if (sslO != null) { request.setAttribute(SSLSupport.CERTIFICATE_KEY, sslO); } sslO = sslSupport.getKeySize(); if (sslO != null) { request.setAttribute(SSLSupport.KEY_SIZE_KEY, sslO); } sslO = sslSupport.getSessionId(); if (sslO != null) { request.setAttribute(SSLSupport.SESSION_ID_KEY, sslO); } } catch (Exception ioe) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, "Unable to populate SSL attributes", ioe); } } } }
@Override public Object[] getPeerCertificateChain() throws IOException { return getPeerCertificateChain(false); }
return getX509Certificates(session);
public static void populateSSLAttributes(final Request request) { if (request.isSecure()) { try { SSLSupport sslSupport = new SSLSupportImpl(request.getContext().getConnection()); Object sslO = sslSupport.getCipherSuite(); if (sslO != null) { request.setAttribute(SSLSupport.CIPHER_SUITE_KEY, sslO); } sslO = sslSupport.getPeerCertificateChain(false); if (sslO != null) { request.setAttribute(SSLSupport.CERTIFICATE_KEY, sslO); } sslO = sslSupport.getKeySize(); if (sslO != null) { request.setAttribute(SSLSupport.KEY_SIZE_KEY, sslO); } sslO = sslSupport.getSessionId(); if (sslO != null) { request.setAttribute(SSLSupport.SESSION_ID_KEY, sslO); } } catch (Exception ioe) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, "Unable to populate SSL attributes", ioe); } } } }
@Override public Object[] getPeerCertificateChain() throws IOException { return getPeerCertificateChain(false); }
return getX509Certificates(session);
public static void populateSSLAttributes(final Request request) { if (request.isSecure()) { try { SSLSupport sslSupport = new SSLSupportImpl(request.getContext().getConnection()); Object sslO = sslSupport.getCipherSuite(); if (sslO != null) { request.setAttribute(SSLSupport.CIPHER_SUITE_KEY, sslO); } sslO = sslSupport.getPeerCertificateChain(false); if (sslO != null) { request.setAttribute(SSLSupport.CERTIFICATE_KEY, sslO); } sslO = sslSupport.getKeySize(); if (sslO != null) { request.setAttribute(SSLSupport.KEY_SIZE_KEY, sslO); } sslO = sslSupport.getSessionId(); if (sslO != null) { request.setAttribute(SSLSupport.SESSION_ID_KEY, sslO); } } catch (Exception ioe) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, "Unable to populate SSL attributes", ioe); } } } }
@Override public Object[] getPeerCertificateChain() throws IOException { return getPeerCertificateChain(false); }
public static void populateSSLAttributes(final Request request) { if (request.isSecure()) { try { SSLSupport sslSupport = new SSLSupportImpl(request.getContext().getConnection()); Object sslO = sslSupport.getCipherSuite(); if (sslO != null) { request.setAttribute(SSLSupport.CIPHER_SUITE_KEY, sslO); } sslO = sslSupport.getPeerCertificateChain(false); if (sslO != null) { request.setAttribute(SSLSupport.CERTIFICATE_KEY, sslO); } sslO = sslSupport.getKeySize(); if (sslO != null) { request.setAttribute(SSLSupport.KEY_SIZE_KEY, sslO); } sslO = sslSupport.getSessionId(); if (sslO != null) { request.setAttribute(SSLSupport.SESSION_ID_KEY, sslO); } } catch (Exception ioe) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, "Unable to populate SSL attributes", ioe); } } } }
@Override public Object[] getPeerCertificateChain() throws IOException { return getPeerCertificateChain(false); }
return getX509Certificates(session);
public static void populateSSLAttributes(final Request request) { if (request.isSecure()) { try { SSLSupport sslSupport = new SSLSupportImpl(request.getContext().getConnection()); Object sslO = sslSupport.getCipherSuite(); if (sslO != null) { request.setAttribute(SSLSupport.CIPHER_SUITE_KEY, sslO); } sslO = sslSupport.getPeerCertificateChain(false); if (sslO != null) { request.setAttribute(SSLSupport.CERTIFICATE_KEY, sslO); } sslO = sslSupport.getKeySize(); if (sslO != null) { request.setAttribute(SSLSupport.KEY_SIZE_KEY, sslO); } sslO = sslSupport.getSessionId(); if (sslO != null) { request.setAttribute(SSLSupport.SESSION_ID_KEY, sslO); } } catch (Exception ioe) { if (LOGGER.isLoggable(Level.FINE)) { LOGGER.log(Level.FINE, "Unable to populate SSL attributes", ioe); } } } }