Package org.conscrypt

Class NativeSsl.BioWrapper

  • Enclosing class:
    NativeSsl

    final class NativeSsl.BioWrapper
    extends java.lang.Object
    A utility wrapper that abstracts operations on the underlying native BIO instance.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long bio  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private BioWrapper()  
    • Field Detail

      • bio

        private volatile long bio
    • Constructor Detail

      • BioWrapper

        private BioWrapper()
                    throws javax.net.ssl.SSLException
        Throws:
        javax.net.ssl.SSLException
    • Method Detail

      • getPendingWrittenBytes

        int getPendingWrittenBytes()
      • writeDirectByteBuffer

        int writeDirectByteBuffer​(long address,
                                  int length)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readDirectByteBuffer

        int readDirectByteBuffer​(long destAddress,
                                 int destLength)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        void close()