Package tigase.io
Interface TLSWrapper
- All Known Implementing Classes:
JcaTLSWrapper
public interface TLSWrapper
-
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()intgetCertificateStatus(boolean revocationEnabled, SSLContextContainerIfc sslContextContainer) intintbyte[]byte[]booleanbooleandefault voidDeprecated.voidsetDebugId(String id) unwrap(ByteBuffer net, ByteBuffer app) booleanvoidwrap(ByteBuffer app, ByteBuffer net)
-
Method Details
-
bytesConsumed
int bytesConsumed() -
close
- Throws:
SSLException
-
getAppBuffSize
int getAppBuffSize() -
getCertificateStatus
CertCheckResult getCertificateStatus(boolean revocationEnabled, SSLContextContainerIfc sslContextContainer) -
getHandshakeStatus
SSLEngineResult.HandshakeStatus getHandshakeStatus() -
getLocalCertificates
Certificate[] getLocalCertificates() -
getNetBuffSize
int getNetBuffSize() -
getPacketBuffSize
int getPacketBuffSize() -
getPeerCertificates
- Throws:
SSLPeerUnverifiedException
-
getStatus
TLSStatus getStatus() -
getTlsUniqueBindingData
byte[] getTlsUniqueBindingData() -
getTlsExporterBindingData
byte[] getTlsExporterBindingData() -
isClientMode
boolean isClientMode() -
isNeedClientAuth
boolean isNeedClientAuth() -
setDebugId
-
unwrap
- Throws:
SSLException
-
wantClientAuth
boolean wantClientAuth() -
wrap
- Throws:
SSLException
-
notifyIfHandshakeFinished
Deprecated.
-