public final class Handshake extends Object
This value object describes a completed handshake. Use ConnectionSpec to set policy
for new handshakes.
| Modifier and Type | Method and Description |
|---|---|
CipherSuite |
cipherSuite() |
boolean |
equals(Object other) |
static Handshake |
get(SSLSession session) |
static Handshake |
get(TlsVersion tlsVersion,
CipherSuite cipherSuite,
List<Certificate> peerCertificates,
List<Certificate> localCertificates) |
int |
hashCode() |
List<Certificate> |
localCertificates() |
Principal |
localPrincipal() |
List<Certificate> |
peerCertificates() |
Principal |
peerPrincipal() |
TlsVersion |
tlsVersion() |
public static Handshake get(SSLSession session) throws IOException
IOExceptionpublic static Handshake get(TlsVersion tlsVersion, CipherSuite cipherSuite, List<Certificate> peerCertificates, List<Certificate> localCertificates)
public TlsVersion tlsVersion()
public CipherSuite cipherSuite()
public List<Certificate> peerCertificates()
public Principal peerPrincipal()
public List<Certificate> localCertificates()
public Principal localPrincipal()
Copyright © 2019. All rights reserved.