Package tigase.io

Interface TLSWrapper

  • All Known Implementing Classes:
    JcaTLSWrapper

    public interface TLSWrapper
    • Method Detail

      • bytesConsumed

        int bytesConsumed()
      • close

        void close()
            throws javax.net.ssl.SSLException
        Throws:
        javax.net.ssl.SSLException
      • getAppBuffSize

        int getAppBuffSize()
      • 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
      • 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