class com.mongodb.client.internal.KeyManagementService
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.client.internal.KeyManagementService
  super_class: java.lang.Object
{
  private final javax.net.ssl.SSLContext sslContext;
    descriptor: Ljavax/net/ssl/SSLContext;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int defaultPort;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final int timeoutMillis;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(javax.net.ssl.SSLContext, int, int);
    descriptor: (Ljavax/net/ssl/SSLContext;II)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // com.mongodb.client.internal.KeyManagementService this
        start local 1 // javax.net.ssl.SSLContext sslContext
        start local 2 // int defaultPort
        start local 3 // int timeoutMillis
         0: .line 33
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 34
            aload 0 /* this */
            aload 1 /* sslContext */
            putfield com.mongodb.client.internal.KeyManagementService.sslContext:Ljavax/net/ssl/SSLContext;
         2: .line 35
            aload 0 /* this */
            iload 2 /* defaultPort */
            putfield com.mongodb.client.internal.KeyManagementService.defaultPort:I
         3: .line 36
            aload 0 /* this */
            iload 3 /* timeoutMillis */
            putfield com.mongodb.client.internal.KeyManagementService.timeoutMillis:I
         4: .line 37
            return
        end local 3 // int timeoutMillis
        end local 2 // int defaultPort
        end local 1 // javax.net.ssl.SSLContext sslContext
        end local 0 // com.mongodb.client.internal.KeyManagementService this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0           this  Lcom/mongodb/client/internal/KeyManagementService;
            0    5     1     sslContext  Ljavax/net/ssl/SSLContext;
            0    5     2    defaultPort  I
            0    5     3  timeoutMillis  I
    MethodParameters:
               Name  Flags
      sslContext     final
      defaultPort    final
      timeoutMillis  final

  public java.io.InputStream stream(java.lang.String, java.nio.ByteBuffer);
    descriptor: (Ljava/lang/String;Ljava/nio/ByteBuffer;)Ljava/io/InputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // com.mongodb.client.internal.KeyManagementService this
        start local 1 // java.lang.String host
        start local 2 // java.nio.ByteBuffer message
         0: .line 40
            aload 1 /* host */
            ldc ":"
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 1
            new com.mongodb.ServerAddress
            dup
            aload 1 /* host */
            invokespecial com.mongodb.ServerAddress.<init>:(Ljava/lang/String;)V
            goto 2
      StackMap locals:
      StackMap stack:
         1: new com.mongodb.ServerAddress
            dup
            aload 1 /* host */
            aload 0 /* this */
            getfield com.mongodb.client.internal.KeyManagementService.defaultPort:I
            invokespecial com.mongodb.ServerAddress.<init>:(Ljava/lang/String;I)V
      StackMap locals:
      StackMap stack: com.mongodb.ServerAddress
         2: astore 3 /* serverAddress */
        start local 3 // com.mongodb.ServerAddress serverAddress
         3: .line 41
            aload 0 /* this */
            getfield com.mongodb.client.internal.KeyManagementService.sslContext:Ljavax/net/ssl/SSLContext;
            invokevirtual javax.net.ssl.SSLContext.getSocketFactory:()Ljavax/net/ssl/SSLSocketFactory;
            invokevirtual javax.net.ssl.SSLSocketFactory.createSocket:()Ljava/net/Socket;
            astore 4 /* socket */
        start local 4 // java.net.Socket socket
         4: .line 44
            aload 4 /* socket */
            aload 0 /* this */
            getfield com.mongodb.client.internal.KeyManagementService.timeoutMillis:I
            invokevirtual java.net.Socket.setSoTimeout:(I)V
         5: .line 45
            aload 4 /* socket */
            aload 3 /* serverAddress */
            invokevirtual com.mongodb.ServerAddress.getSocketAddress:()Ljava/net/InetSocketAddress;
            aload 0 /* this */
            getfield com.mongodb.client.internal.KeyManagementService.timeoutMillis:I
            invokevirtual java.net.Socket.connect:(Ljava/net/SocketAddress;I)V
         6: .line 46
            goto 10
      StackMap locals: com.mongodb.client.internal.KeyManagementService java.lang.String java.nio.ByteBuffer com.mongodb.ServerAddress java.net.Socket
      StackMap stack: java.io.IOException
         7: astore 5 /* e */
        start local 5 // java.io.IOException e
         8: .line 47
            aload 0 /* this */
            aload 4 /* socket */
            invokevirtual com.mongodb.client.internal.KeyManagementService.closeSocket:(Ljava/net/Socket;)V
         9: .line 48
            aload 5 /* e */
            athrow
        end local 5 // java.io.IOException e
        10: .line 52
      StackMap locals:
      StackMap stack:
            aload 4 /* socket */
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            astore 5 /* outputStream */
        start local 5 // java.io.OutputStream outputStream
        11: .line 54
            aload 2 /* message */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            newarray 8
            astore 6 /* bytes */
        start local 6 // byte[] bytes
        12: .line 56
            aload 2 /* message */
            aload 6 /* bytes */
            invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
            pop
        13: .line 57
            aload 5 /* outputStream */
            aload 6 /* bytes */
            invokevirtual java.io.OutputStream.write:([B)V
        end local 6 // byte[] bytes
        end local 5 // java.io.OutputStream outputStream
        14: .line 58
            goto 18
      StackMap locals:
      StackMap stack: java.io.IOException
        15: astore 5 /* e */
        start local 5 // java.io.IOException e
        16: .line 59
            aload 0 /* this */
            aload 4 /* socket */
            invokevirtual com.mongodb.client.internal.KeyManagementService.closeSocket:(Ljava/net/Socket;)V
        17: .line 60
            aload 5 /* e */
            athrow
        end local 5 // java.io.IOException e
        18: .line 64
      StackMap locals:
      StackMap stack:
            aload 4 /* socket */
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
        19: areturn
        20: .line 65
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 5 /* e */
        start local 5 // java.io.IOException e
        21: .line 66
            aload 0 /* this */
            aload 4 /* socket */
            invokevirtual com.mongodb.client.internal.KeyManagementService.closeSocket:(Ljava/net/Socket;)V
        22: .line 67
            aload 5 /* e */
            athrow
        end local 5 // java.io.IOException e
        end local 4 // java.net.Socket socket
        end local 3 // com.mongodb.ServerAddress serverAddress
        end local 2 // java.nio.ByteBuffer message
        end local 1 // java.lang.String host
        end local 0 // com.mongodb.client.internal.KeyManagementService this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   23     0           this  Lcom/mongodb/client/internal/KeyManagementService;
            0   23     1           host  Ljava/lang/String;
            0   23     2        message  Ljava/nio/ByteBuffer;
            3   23     3  serverAddress  Lcom/mongodb/ServerAddress;
            4   23     4         socket  Ljava/net/Socket;
            8   10     5              e  Ljava/io/IOException;
           11   14     5   outputStream  Ljava/io/OutputStream;
           12   14     6          bytes  [B
           16   18     5              e  Ljava/io/IOException;
           21   23     5              e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           4     6       7  Class java.io.IOException
          10    14      15  Class java.io.IOException
          18    19      20  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      host     final
      message  final

  public int getDefaultPort();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.client.internal.KeyManagementService this
         0: .line 72
            aload 0 /* this */
            getfield com.mongodb.client.internal.KeyManagementService.defaultPort:I
            ireturn
        end local 0 // com.mongodb.client.internal.KeyManagementService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/client/internal/KeyManagementService;

  private void closeSocket(java.net.Socket);
    descriptor: (Ljava/net/Socket;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // com.mongodb.client.internal.KeyManagementService this
        start local 1 // java.net.Socket socket
         0: .line 77
            aload 1 /* socket */
            invokevirtual java.net.Socket.close:()V
         1: .line 78
            goto 3
      StackMap locals:
      StackMap stack: java.io.IOException
         2: pop
         3: .line 81
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.net.Socket socket
        end local 0 // com.mongodb.client.internal.KeyManagementService this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/mongodb/client/internal/KeyManagementService;
            0    4     1  socket  Ljava/net/Socket;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException
    MethodParameters:
        Name  Flags
      socket  final
}
SourceFile: "KeyManagementService.java"