NativeSsl

A utility wrapper that abstracts operations on the underlying native SSL instance.

Members

Functions

chooseClientCertificate
void chooseClientCertificate(byte[] keyTypeBytes, byte[][] asn1DerEncodedPrincipals)
Undocumented in source. Be warned that the author may not have intended to support it.
clientPSKKeyRequested
int clientPSKKeyRequested(string identityHint, byte[] identityBytesOut, byte[] key)

@see NativeCrypto.SSLHandshakeCallbacks#clientPSKKeyRequested(string, byte[], byte[])

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
doHandshake
int doHandshake()
Undocumented in source. Be warned that the author may not have intended to support it.
getApplicationProtocol
byte[] getApplicationProtocol()
Undocumented in source. Be warned that the author may not have intended to support it.
getCipherSuite
string getCipherSuite()
Undocumented in source. Be warned that the author may not have intended to support it.
getError
int getError(int result)
Undocumented in source. Be warned that the author may not have intended to support it.
getMaxSealOverhead
int getMaxSealOverhead()
Undocumented in source. Be warned that the author may not have intended to support it.
getPeerCertificateOcspData
byte[] getPeerCertificateOcspData()
Undocumented in source. Be warned that the author may not have intended to support it.
getPeerTlsSctData
byte[] getPeerTlsSctData()
Undocumented in source. Be warned that the author may not have intended to support it.
getPendingReadableBytes
int getPendingReadableBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
getRequestedServerName
string getRequestedServerName()
Undocumented in source. Be warned that the author may not have intended to support it.
getSessionId
byte[] getSessionId()
Undocumented in source. Be warned that the author may not have intended to support it.
getTime
long getTime()
Undocumented in source. Be warned that the author may not have intended to support it.
getTimeout
long getTimeout()
Undocumented in source. Be warned that the author may not have intended to support it.
getTlsChannelId
byte[] getTlsChannelId()
Undocumented in source. Be warned that the author may not have intended to support it.
getVersion
string getVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize(string hostname)
Undocumented in source. Be warned that the author may not have intended to support it.
isClosed
bool isClosed()
Undocumented in source. Be warned that the author may not have intended to support it.
newBio
BioWrapper newBio()
Undocumented in source. Be warned that the author may not have intended to support it.
offerToResumeSession
void offerToResumeSession(long sslSessionNativePointer)
Undocumented in source. Be warned that the author may not have intended to support it.
readDirectByteBuffer
int readDirectByteBuffer(long destAddress, int destLength)
Undocumented in source. Be warned that the author may not have intended to support it.
serverPSKKeyRequested
int serverPSKKeyRequested(string identityHint, string identity, byte[] key)

@see NativeCrypto.SSLHandshakeCallbacks#serverPSKKeyRequested(string, string, byte[])

setTimeout
void setTimeout(long millis)
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
void shutdown()
Undocumented in source. Be warned that the author may not have intended to support it.
wasShutdownReceived
bool wasShutdownReceived()
Undocumented in source. Be warned that the author may not have intended to support it.
wasShutdownSent
bool wasShutdownSent()
Undocumented in source. Be warned that the author may not have intended to support it.
writeDirectByteBuffer
int writeDirectByteBuffer(long sourceAddress, int sourceLength)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

newInstance
NativeSsl newInstance(SSLParametersImpl parameters, SSLHandshakeCallbacks handshakeCallbacks)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta