Package tigase.io
Interface TLSWrapper
- All Known Implementing Classes:
JcaTLSWrapper
public interface TLSWrapper
-
Method Summary
Modifier and TypeMethodDescriptionint
void
close()
int
getCertificateStatus
(boolean revocationEnabled, SSLContextContainerIfc sslContextContainer) int
int
byte[]
boolean
boolean
default void
Deprecated.void
setDebugId
(String id) unwrap
(ByteBuffer net, ByteBuffer app) boolean
void
wrap
(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() -
isClientMode
boolean isClientMode() -
isNeedClientAuth
boolean isNeedClientAuth() -
setDebugId
-
unwrap
- Throws:
SSLException
-
wantClientAuth
boolean wantClientAuth() -
wrap
- Throws:
SSLException
-
notifyIfHandshakeFinished
Deprecated.
-