public interface TLSWrapper
Modifier and Type | Method and Description |
---|---|
int |
bytesConsumed() |
void |
close() |
int |
getAppBuffSize() |
CertCheckResult |
getCertificateStatus(boolean revocationEnabled,
SSLContextContainerIfc sslContextContainer) |
SSLEngineResult.HandshakeStatus |
getHandshakeStatus() |
Certificate[] |
getLocalCertificates() |
int |
getNetBuffSize() |
int |
getPacketBuffSize() |
Certificate[] |
getPeerCertificates() |
TLSStatus |
getStatus() |
byte[] |
getTlsUniqueBindingData() |
boolean |
isClientMode() |
boolean |
isNeedClientAuth() |
void |
setDebugId(String id) |
ByteBuffer |
unwrap(ByteBuffer net,
ByteBuffer app) |
boolean |
wantClientAuth() |
void |
wrap(ByteBuffer app,
ByteBuffer net) |
int bytesConsumed()
void close() throws SSLException
SSLException
int getAppBuffSize()
CertCheckResult getCertificateStatus(boolean revocationEnabled, SSLContextContainerIfc sslContextContainer)
SSLEngineResult.HandshakeStatus getHandshakeStatus()
Certificate[] getLocalCertificates()
int getNetBuffSize()
int getPacketBuffSize()
Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException
TLSStatus getStatus()
byte[] getTlsUniqueBindingData()
boolean isClientMode()
boolean isNeedClientAuth()
void setDebugId(String id)
ByteBuffer unwrap(ByteBuffer net, ByteBuffer app) throws SSLException
SSLException
boolean wantClientAuth()
void wrap(ByteBuffer app, ByteBuffer net) throws SSLException
SSLException
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.