@Nullable @Override public SSLSession sslSession() { return delegate().sslSession(); }
private void exportTlsProperties(Map<String, String> out, RequestContext ctx) { final SSLSession s = ctx.sslSession(); if (s != null) { if (builtIns.contains(TLS_SESSION_ID)) { final byte[] id = s.getId(); if (id != null) { out.put(TLS_SESSION_ID.mdcKey, lowerCasedBase16.encode(id)); } } if (builtIns.contains(TLS_CIPHER)) { final String cs = s.getCipherSuite(); if (cs != null) { out.put(TLS_CIPHER.mdcKey, cs); } } if (builtIns.contains(TLS_PROTO)) { final String p = s.getProtocol(); if (p != null) { out.put(TLS_PROTO.mdcKey, p); } } } }
private void exportTlsProperties(Map<String, String> out, RequestContext ctx) { final SSLSession s = ctx.sslSession(); if (s != null) { if (builtIns.contains(TLS_SESSION_ID)) { final byte[] id = s.getId(); if (id != null) { out.put(TLS_SESSION_ID.mdcKey, lowerCasedBase16.encode(id)); } } if (builtIns.contains(TLS_CIPHER)) { final String cs = s.getCipherSuite(); if (cs != null) { out.put(TLS_CIPHER.mdcKey, cs); } } if (builtIns.contains(TLS_PROTO)) { final String p = s.getProtocol(); if (p != null) { out.put(TLS_PROTO.mdcKey, p); } } } }
private void exportTlsProperties(Map<String, String> out, RequestContext ctx) { final SSLSession s = ctx.sslSession(); if (s != null) { if (builtIns.contains(TLS_SESSION_ID)) { final byte[] id = s.getId(); if (id != null) { out.put(TLS_SESSION_ID.mdcKey, lowerCasedBase16.encode(id)); } } if (builtIns.contains(TLS_CIPHER)) { final String cs = s.getCipherSuite(); if (cs != null) { out.put(TLS_CIPHER.mdcKey, cs); } } if (builtIns.contains(TLS_PROTO)) { final String p = s.getProtocol(); if (p != null) { out.put(TLS_PROTO.mdcKey, p); } } } }