| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | NativeSsl.BioWrapper
A utility wrapper that abstracts operations on the underlying native BIO instance. |
| Modifier and Type | Field and Description |
|---|---|
| private final SSLParametersImpl. | |
| private final NativeCrypto. | |
| private X509Certificate[] | |
| private final ReadWriteLock | |
| private final SSLParametersImpl | |
| private final SSLParametersImpl. | |
| private volatile long |
| Access | Constructor and Description |
|---|---|
| private | NativeSsl(long ssl, SSLParametersImpl parameters, NativeCrypto.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | chooseClientCertificate(byte[] keyTypeBytes, int[] signatureAlgs, byte[][] asn1DerEncodedPrincipals)
|
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| private void | |
| pack-priv byte[] | |
| protected final void | finalize()
Overrides java. |
| pack-priv void | |
| pack-priv byte[] | |
| private Set | |
| pack-priv String | |
| pack-priv int | |
| pack-priv X509Certificate[] | |
| pack-priv int | |
| pack-priv byte[] | |
| pack-priv X509Certificate[] | |
| pack-priv byte[] | |
| pack-priv int | |
| pack-priv String | |
| pack-priv byte[] | |
| pack-priv long | |
| pack-priv long | |
| pack-priv byte[] | |
| pack-priv byte[] | |
| pack-priv String | |
| pack-priv void | |
| pack-priv void | |
| private boolean | |
| pack-priv boolean | |
| pack-priv NativeSsl. | |
| pack-priv static NativeSsl | newInstance(SSLParametersImpl parameters, NativeCrypto.
|
| pack-priv void | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| private void | |
| private void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv int |
| aliasChooser | back to summary |
|---|---|
| private final SSLParametersImpl. | |
| handshakeCallbacks | back to summary |
|---|---|
| private final NativeCrypto. | |
| localCertificates | back to summary |
|---|---|
| private X509Certificate[] localCertificates | |
| lock | back to summary |
|---|---|
| private final ReadWriteLock lock | |
| parameters | back to summary |
|---|---|
| private final SSLParametersImpl parameters | |
| pskCallbacks | back to summary |
|---|---|
| private final SSLParametersImpl. | |
| ssl | back to summary |
|---|---|
| private volatile long ssl | |
| NativeSsl | back to summary |
|---|---|
| private NativeSsl(long ssl, SSLParametersImpl parameters, NativeCrypto. | |
| chooseClientCertificate | back to summary |
|---|---|
| pack-priv void chooseClientCertificate(byte[] keyTypeBytes, int[] signatureAlgs, byte[][] asn1DerEncodedPrincipals) throws SSLException, CertificateEncodingException | |
| clientPSKKeyRequested | back to summary |
|---|---|
pack-priv int clientPSKKeyRequested(String identityHint, byte[] identityBytesOut, byte[] key)
| |
| close | back to summary |
|---|---|
| pack-priv void close() | |
| configureServerCertificate | back to summary |
|---|---|
| pack-priv void configureServerCertificate() throws IOException | |
| doHandshake | back to summary |
|---|---|
| pack-priv void doHandshake(FileDescriptor fd, int timeoutMillis) throws CertificateException, IOException | |
| doHandshake | back to summary |
|---|---|
| pack-priv int doHandshake() throws IOException | |
| enablePSKKeyManagerIfRequested | back to summary |
|---|---|
private void enablePSKKeyManagerIfRequested() throws SSLException
| |
| exportKeyingMaterial | back to summary |
|---|---|
| pack-priv byte[] exportKeyingMaterial(String label, byte[] context, int length) throws SSLException | |
| finalize | back to summary |
|---|---|
| protected final void finalize() throws Throwable Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| forceRead | back to summary |
|---|---|
| pack-priv void forceRead() throws IOException | |
| getApplicationProtocol | back to summary |
|---|---|
| pack-priv byte[] getApplicationProtocol() | |
| getCipherKeyTypes | back to summary |
|---|---|
| private Set | |
| getCipherSuite | back to summary |
|---|---|
| pack-priv String getCipherSuite() | |
| getError | back to summary |
|---|---|
| pack-priv int getError(int result) | |
| getLocalCertificates | back to summary |
|---|---|
| pack-priv X509Certificate[] getLocalCertificates() | |
| getMaxSealOverhead | back to summary |
|---|---|
| pack-priv int getMaxSealOverhead() | |
| getPeerCertificateOcspData | back to summary |
|---|---|
| pack-priv byte[] getPeerCertificateOcspData() | |
| getPeerCertificates | back to summary |
|---|---|
| pack-priv X509Certificate[] getPeerCertificates() throws CertificateException | |
| getPeerTlsSctData | back to summary |
|---|---|
| pack-priv byte[] getPeerTlsSctData() | |
| getPendingReadableBytes | back to summary |
|---|---|
| pack-priv int getPendingReadableBytes() | |
| getRequestedServerName | back to summary |
|---|---|
| pack-priv String getRequestedServerName() | |
| getSessionId | back to summary |
|---|---|
| pack-priv byte[] getSessionId() | |
| getTime | back to summary |
|---|---|
| pack-priv long getTime() | |
| getTimeout | back to summary |
|---|---|
| pack-priv long getTimeout() | |
| getTlsChannelId | back to summary |
|---|---|
| pack-priv byte[] getTlsChannelId() throws SSLException | |
| getTlsUnique | back to summary |
|---|---|
| pack-priv byte[] getTlsUnique() | |
| getVersion | back to summary |
|---|---|
| pack-priv String getVersion() | |
| initialize | back to summary |
|---|---|
| pack-priv void initialize(String hostname, OpenSSLKey channelIdPrivateKey) throws IOException | |
| interrupt | back to summary |
|---|---|
| pack-priv void interrupt() | |
| isClient | back to summary |
|---|---|
| private boolean isClient() | |
| isClosed | back to summary |
|---|---|
| pack-priv boolean isClosed() | |
| newBio | back to summary |
|---|---|
| pack-priv NativeSsl. | |
| newInstance | back to summary |
|---|---|
| pack-priv static NativeSsl newInstance(SSLParametersImpl parameters, NativeCrypto. | |
| offerToResumeSession | back to summary |
|---|---|
| pack-priv void offerToResumeSession(long sslSessionNativePointer) throws SSLException | |
| read | back to summary |
|---|---|
| pack-priv int read(FileDescriptor fd, byte[] buf, int offset, int len, int timeoutMillis) throws IOException | |
| readDirectByteBuffer | back to summary |
|---|---|
| pack-priv int readDirectByteBuffer(long destAddress, int destLength) throws IOException, CertificateException | |
| serverPSKKeyRequested | back to summary |
|---|---|
pack-priv int serverPSKKeyRequested(String identityHint, String identity, byte[] key)
| |
| setCertificate | back to summary |
|---|---|
| private void setCertificate(String alias) throws CertificateEncodingException, SSLException | |
| setCertificateValidation | back to summary |
|---|---|
| private void setCertificateValidation() throws SSLException | |
| setTimeout | back to summary |
|---|---|
| pack-priv void setTimeout(long millis) | |
| setTlsChannelId | back to summary |
|---|---|
| private void setTlsChannelId(OpenSSLKey channelIdPrivateKey) throws SSLException | |
| shutdown | back to summary |
|---|---|
| pack-priv void shutdown(FileDescriptor fd) throws IOException | |
| shutdown | back to summary |
|---|---|
| pack-priv void shutdown() throws IOException | |
| verifyWithSniMatchers | back to summary |
|---|---|
| private void verifyWithSniMatchers(String serverName) throws SSLHandshakeException | |
| wasShutdownReceived | back to summary |
|---|---|
| pack-priv boolean wasShutdownReceived() | |
| wasShutdownSent | back to summary |
|---|---|
| pack-priv boolean wasShutdownSent() | |
| write | back to summary |
|---|---|
| pack-priv void write(FileDescriptor fd, byte[] buf, int offset, int len, int timeoutMillis) throws IOException | |
| writeDirectByteBuffer | back to summary |
|---|---|
| pack-priv int writeDirectByteBuffer(long sourceAddress, int sourceLength) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private volatile long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| bio | back to summary |
|---|---|
| private volatile long bio | |
| BioWrapper | back to summary |
|---|---|
| private BioWrapper() throws SSLException | |
| close | back to summary |
|---|---|
| pack-priv void close() | |
| getPendingWrittenBytes | back to summary |
|---|---|
| pack-priv int getPendingWrittenBytes() | |
| readDirectByteBuffer | back to summary |
|---|---|
| pack-priv int readDirectByteBuffer(long destAddress, int destLength) throws IOException | |
| writeDirectByteBuffer | back to summary |
|---|---|
| pack-priv int writeDirectByteBuffer(long address, int length) throws IOException | |