Package tigase.io
Interface TLSWrapper
-
- All Known Implementing Classes:
JcaTLSWrapper
public interface TLSWrapper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description intbytesConsumed()voidclose()intgetAppBuffSize()CertCheckResultgetCertificateStatus(boolean revocationEnabled, SSLContextContainerIfc sslContextContainer)javax.net.ssl.SSLEngineResult.HandshakeStatusgetHandshakeStatus()java.security.cert.Certificate[]getLocalCertificates()intgetNetBuffSize()intgetPacketBuffSize()java.security.cert.Certificate[]getPeerCertificates()TLSStatusgetStatus()byte[]getTlsUniqueBindingData()booleanisClientMode()booleanisNeedClientAuth()default voidnotifyIfHandshakeFinished()Deprecated.voidsetDebugId(java.lang.String id)java.nio.ByteBufferunwrap(java.nio.ByteBuffer net, java.nio.ByteBuffer app)booleanwantClientAuth()voidwrap(java.nio.ByteBuffer app, java.nio.ByteBuffer net)
-
-
-
Method Detail
-
bytesConsumed
int bytesConsumed()
-
close
void close() throws javax.net.ssl.SSLException- Throws:
javax.net.ssl.SSLException
-
getAppBuffSize
int getAppBuffSize()
-
getCertificateStatus
CertCheckResult getCertificateStatus(boolean revocationEnabled, SSLContextContainerIfc sslContextContainer)
-
getHandshakeStatus
javax.net.ssl.SSLEngineResult.HandshakeStatus getHandshakeStatus()
-
getLocalCertificates
java.security.cert.Certificate[] getLocalCertificates()
-
getNetBuffSize
int getNetBuffSize()
-
getPacketBuffSize
int getPacketBuffSize()
-
getPeerCertificates
java.security.cert.Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException- Throws:
javax.net.ssl.SSLPeerUnverifiedException
-
getStatus
TLSStatus getStatus()
-
getTlsUniqueBindingData
byte[] getTlsUniqueBindingData()
-
isClientMode
boolean isClientMode()
-
isNeedClientAuth
boolean isNeedClientAuth()
-
setDebugId
void setDebugId(java.lang.String id)
-
unwrap
java.nio.ByteBuffer unwrap(java.nio.ByteBuffer net, java.nio.ByteBuffer app) throws javax.net.ssl.SSLException- Throws:
javax.net.ssl.SSLException
-
wantClientAuth
boolean wantClientAuth()
-
wrap
void wrap(java.nio.ByteBuffer app, java.nio.ByteBuffer net) throws javax.net.ssl.SSLException- Throws:
javax.net.ssl.SSLException
-
notifyIfHandshakeFinished
@Deprecated default void notifyIfHandshakeFinished()
Deprecated.
-
-