| Modifier and Type | Class and Description |
|---|---|
| private static class | NativeSslSession.Impl
The session wrapper implementation. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| pack-priv abstract String | |
| pack-priv abstract byte[] | |
| private static byte[] | |
| pack-priv abstract String | |
| pack-priv abstract byte[] | |
| pack-priv abstract int | |
| pack-priv abstract byte[] | getPeerSignedCertificateTimestamp()
Returns the signed certificate timestamp (SCT) received from the peer. |
| pack-priv abstract String | |
| pack-priv abstract boolean | |
| pack-priv abstract boolean | |
| private static void | |
| pack-priv static NativeSslSession | |
| pack-priv static NativeSslSession | Returns: The new instance if successful. If unable to parse the bytes for any reason, returnsnull.Creates a new |
| pack-priv abstract void | |
| pack-priv abstract byte[] | Returns: session data as bytes or null if the session can't be convertedConverts the given session to bytes. |
| pack-priv abstract SSLSession |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| NativeSslSession | back to summary |
|---|---|
| pack-priv NativeSslSession() | |
| checkRemaining | back to summary |
|---|---|
| private static void checkRemaining(ByteBuffer buf, int length) throws IOException | |
| getCipherSuite | back to summary |
|---|---|
| pack-priv abstract String getCipherSuite() | |
| getId | back to summary |
|---|---|
| pack-priv abstract byte[] getId() | |
| getOcspResponse | back to summary |
|---|---|
| private static byte[] getOcspResponse(ConscryptSession session) | |
| getPeerHost | back to summary |
|---|---|
| pack-priv abstract String getPeerHost() | |
| getPeerOcspStapledResponse | back to summary |
|---|---|
| pack-priv abstract byte[] getPeerOcspStapledResponse() Returns the OCSP stapled response. The returned array is not copied; the caller must either not modify the returned array or make a copy. | |
| getPeerPort | back to summary |
|---|---|
| pack-priv abstract int getPeerPort() | |
| getPeerSignedCertificateTimestamp | back to summary |
|---|---|
| pack-priv abstract byte[] getPeerSignedCertificateTimestamp() Returns the signed certificate timestamp (SCT) received from the peer. The returned array is not copied; the caller must either not modify the returned array or make a copy.
| |
| getProtocol | back to summary |
|---|---|
| pack-priv abstract String getProtocol() | |
| isSingleUse | back to summary |
|---|---|
| pack-priv abstract boolean isSingleUse() Returns whether this session should only ever be used for resumption once. | |
| isValid | back to summary |
|---|---|
| pack-priv abstract boolean isValid() | |
| log | back to summary |
|---|---|
| private static void log(Throwable t) | |
| newInstance | back to summary |
|---|---|
| pack-priv static NativeSslSession newInstance(NativeRef. Creates a new instance. Since BoringSSL does not provide an API to get access to all
session information via the SSL_SESSION, we get some values (e.g. peer certs) from
the | |
| newInstance | back to summary |
|---|---|
| pack-priv static NativeSslSession newInstance(AbstractSessionContext context, byte[] data, String host, int port) Creates a new
| |
| offerToResume | back to summary |
|---|---|
| pack-priv abstract void offerToResume(NativeSsl ssl) throws SSLException | |
| toBytes | back to summary |
|---|---|
| pack-priv abstract byte[] toBytes() Converts the given session to bytes.
| |
| toSSLSession | back to summary |
|---|---|
| pack-priv abstract SSLSession toSSLSession() Converts this object to a | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final AbstractSessionContext | |
| private final String | |
| private final X509Certificate[] | |
| private final byte[] | |
| private final byte[] | |
| private final int | |
| private final String | |
| private final NativeRef. |
| Access | Constructor and Description |
|---|---|
| private | Impl(AbstractSessionContext context, NativeRef.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | |
| private long | |
| pack-priv byte[] | |
| pack-priv String | |
| pack-priv byte[] | getPeerOcspStapledResponse()
Implements abstract org. |
| pack-priv int | |
| pack-priv byte[] | getPeerSignedCertificateTimestamp()
Implements abstract org. |
| pack-priv String | |
| pack-priv boolean | isSingleUse()
Implements abstract org. |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv byte[] | toBytes()
Implements abstract org. |
| pack-priv SSLSession | toSSLSession()
Implements abstract org. SSLSession.
|
| cipherSuite | back to summary |
|---|---|
| private final String cipherSuite | |
| context | back to summary |
|---|---|
| private final AbstractSessionContext context | |
| host | back to summary |
|---|---|
| private final String host | |
| peerCertificates | back to summary |
|---|---|
| private final X509Certificate[] peerCertificates | |
| peerOcspStapledResponse | back to summary |
|---|---|
| private final byte[] peerOcspStapledResponse | |
| peerSignedCertificateTimestamp | back to summary |
|---|---|
| private final byte[] peerSignedCertificateTimestamp | |
| port | back to summary |
|---|---|
| private final int port | |
| protocol | back to summary |
|---|---|
| private final String protocol | |
| ref | back to summary |
|---|---|
| private final NativeRef. | |
| Impl | back to summary |
|---|---|
| private Impl(AbstractSessionContext context, NativeRef. | |
| getCipherSuite | back to summary |
|---|---|
| pack-priv String getCipherSuite() Implements abstract org.
| |
| getCreationTime | back to summary |
|---|---|
| private long getCreationTime() | |
| getId | back to summary |
|---|---|
| pack-priv byte[] getId() Implements abstract org.
| |
| getPeerHost | back to summary |
|---|---|
| pack-priv String getPeerHost() Implements abstract org.
| |
| getPeerOcspStapledResponse | back to summary |
|---|---|
| pack-priv byte[] getPeerOcspStapledResponse() Implements abstract org. Doc from org. Returns the OCSP stapled response. The returned array is not copied; the caller must either not modify the returned array or make a copy.
| |
| getPeerPort | back to summary |
|---|---|
| pack-priv int getPeerPort() Implements abstract org.
| |
| getPeerSignedCertificateTimestamp | back to summary |
|---|---|
| pack-priv byte[] getPeerSignedCertificateTimestamp() Implements abstract org. Doc from org. Returns the signed certificate timestamp (SCT) received from the peer. The returned array is not copied; the caller must either not modify the returned array or make a copy.
| |
| getProtocol | back to summary |
|---|---|
| pack-priv String getProtocol() Implements abstract org.
| |
| isSingleUse | back to summary |
|---|---|
| pack-priv boolean isSingleUse() Implements abstract org. Doc from org. Returns whether this session should only ever be used for resumption once.
| |
| isValid | back to summary |
|---|---|
| pack-priv boolean isValid() Implements abstract org.
| |
| offerToResume | back to summary |
|---|---|
| pack-priv void offerToResume(NativeSsl ssl) throws SSLException Implements abstract org.
| |
| toBytes | back to summary |
|---|---|
| pack-priv byte[] toBytes() Implements abstract org. Doc from org. Converts the given session to bytes.
| |
| toSSLSession | back to summary |
|---|---|
| pack-priv SSLSession toSSLSession() Implements abstract org. Doc from org. Converts this object to a
| |