public final class com.mongodb.client.internal.Crypts
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.mongodb.client.internal.Crypts
  super_class: java.lang.Object
{
  public static com.mongodb.client.internal.Crypt createCrypt(com.mongodb.client.internal.SimpleMongoClient, com.mongodb.AutoEncryptionSettings);
    descriptor: (Lcom/mongodb/client/internal/SimpleMongoClient;Lcom/mongodb/AutoEncryptionSettings;)Lcom/mongodb/client/internal/Crypt;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=8, locals=2, args_size=2
        start local 0 // com.mongodb.client.internal.SimpleMongoClient client
        start local 1 // com.mongodb.AutoEncryptionSettings options
         0: .line 35
            new com.mongodb.client.internal.Crypt
            dup
            aload 1 /* options */
            invokevirtual com.mongodb.AutoEncryptionSettings.getKmsProviders:()Ljava/util/Map;
         1: .line 36
            aload 1 /* options */
            invokevirtual com.mongodb.AutoEncryptionSettings.getSchemaMap:()Ljava/util/Map;
         2: .line 35
            invokestatic com.mongodb.internal.capi.MongoCryptHelper.createMongoCryptOptions:(Ljava/util/Map;Ljava/util/Map;)Lcom/mongodb/crypt/capi/MongoCryptOptions;
            invokestatic com.mongodb.crypt.capi.MongoCrypts.create:(Lcom/mongodb/crypt/capi/MongoCryptOptions;)Lcom/mongodb/crypt/capi/MongoCrypt;
         3: .line 37
            new com.mongodb.client.internal.CollectionInfoRetriever
            dup
            aload 0 /* client */
            invokespecial com.mongodb.client.internal.CollectionInfoRetriever.<init>:(Lcom/mongodb/client/internal/SimpleMongoClient;)V
         4: .line 38
            new com.mongodb.client.internal.CommandMarker
            dup
            aload 1 /* options */
            invokevirtual com.mongodb.AutoEncryptionSettings.isBypassAutoEncryption:()Z
            aload 1 /* options */
            invokevirtual com.mongodb.AutoEncryptionSettings.getExtraOptions:()Ljava/util/Map;
            invokespecial com.mongodb.client.internal.CommandMarker.<init>:(ZLjava/util/Map;)V
         5: .line 39
            aload 0 /* client */
            aload 1 /* options */
            invokevirtual com.mongodb.AutoEncryptionSettings.getKeyVaultMongoClientSettings:()Lcom/mongodb/MongoClientSettings;
            aload 1 /* options */
            invokevirtual com.mongodb.AutoEncryptionSettings.getKeyVaultNamespace:()Ljava/lang/String;
            invokestatic com.mongodb.client.internal.Crypts.createKeyRetriever:(Lcom/mongodb/client/internal/SimpleMongoClient;Lcom/mongodb/MongoClientSettings;Ljava/lang/String;)Lcom/mongodb/client/internal/KeyRetriever;
         6: .line 40
            invokestatic com.mongodb.client.internal.Crypts.createKeyManagementService:()Lcom/mongodb/client/internal/KeyManagementService;
         7: .line 41
            aload 1 /* options */
            invokevirtual com.mongodb.AutoEncryptionSettings.isBypassAutoEncryption:()Z
         8: .line 35
            invokespecial com.mongodb.client.internal.Crypt.<init>:(Lcom/mongodb/crypt/capi/MongoCrypt;Lcom/mongodb/client/internal/CollectionInfoRetriever;Lcom/mongodb/client/internal/CommandMarker;Lcom/mongodb/client/internal/KeyRetriever;Lcom/mongodb/client/internal/KeyManagementService;Z)V
            areturn
        end local 1 // com.mongodb.AutoEncryptionSettings options
        end local 0 // com.mongodb.client.internal.SimpleMongoClient client
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0   client  Lcom/mongodb/client/internal/SimpleMongoClient;
            0    9     1  options  Lcom/mongodb/AutoEncryptionSettings;
    MethodParameters:
         Name  Flags
      client   final
      options  final

  static com.mongodb.client.internal.Crypt create(com.mongodb.client.internal.SimpleMongoClient, com.mongodb.ClientEncryptionSettings);
    descriptor: (Lcom/mongodb/client/internal/SimpleMongoClient;Lcom/mongodb/ClientEncryptionSettings;)Lcom/mongodb/client/internal/Crypt;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=2, args_size=2
        start local 0 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
        start local 1 // com.mongodb.ClientEncryptionSettings options
         0: .line 45
            new com.mongodb.client.internal.Crypt
            dup
         1: .line 46
            aload 1 /* options */
            invokevirtual com.mongodb.ClientEncryptionSettings.getKmsProviders:()Ljava/util/Map;
            aconst_null
            invokestatic com.mongodb.internal.capi.MongoCryptHelper.createMongoCryptOptions:(Ljava/util/Map;Ljava/util/Map;)Lcom/mongodb/crypt/capi/MongoCryptOptions;
         2: .line 45
            invokestatic com.mongodb.crypt.capi.MongoCrypts.create:(Lcom/mongodb/crypt/capi/MongoCryptOptions;)Lcom/mongodb/crypt/capi/MongoCrypt;
         3: .line 47
            aload 0 /* keyVaultClient */
            iconst_0
            aload 1 /* options */
            invokevirtual com.mongodb.ClientEncryptionSettings.getKeyVaultNamespace:()Ljava/lang/String;
            invokestatic com.mongodb.client.internal.Crypts.createKeyRetriever:(Lcom/mongodb/client/internal/SimpleMongoClient;ZLjava/lang/String;)Lcom/mongodb/client/internal/KeyRetriever;
         4: .line 48
            invokestatic com.mongodb.client.internal.Crypts.createKeyManagementService:()Lcom/mongodb/client/internal/KeyManagementService;
         5: .line 45
            invokespecial com.mongodb.client.internal.Crypt.<init>:(Lcom/mongodb/crypt/capi/MongoCrypt;Lcom/mongodb/client/internal/KeyRetriever;Lcom/mongodb/client/internal/KeyManagementService;)V
            areturn
        end local 1 // com.mongodb.ClientEncryptionSettings options
        end local 0 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0  keyVaultClient  Lcom/mongodb/client/internal/SimpleMongoClient;
            0    6     1         options  Lcom/mongodb/ClientEncryptionSettings;
    MethodParameters:
                Name  Flags
      keyVaultClient  final
      options         final

  private static com.mongodb.client.internal.KeyRetriever createKeyRetriever(com.mongodb.client.internal.SimpleMongoClient, com.mongodb.MongoClientSettings, java.lang.String);
    descriptor: (Lcom/mongodb/client/internal/SimpleMongoClient;Lcom/mongodb/MongoClientSettings;Ljava/lang/String;)Lcom/mongodb/client/internal/KeyRetriever;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // com.mongodb.client.internal.SimpleMongoClient defaultKeyVaultClient
        start local 1 // com.mongodb.MongoClientSettings keyVaultMongoClientSettings
        start local 2 // java.lang.String keyVaultNamespaceString
         0: .line 56
            aload 1 /* keyVaultMongoClientSettings */
            ifnull 4
         1: .line 57
            aload 1 /* keyVaultMongoClientSettings */
            invokestatic com.mongodb.client.MongoClients.create:(Lcom/mongodb/MongoClientSettings;)Lcom/mongodb/client/MongoClient;
            invokestatic com.mongodb.client.internal.SimpleMongoClients.create:(Lcom/mongodb/client/MongoClient;)Lcom/mongodb/client/internal/SimpleMongoClient;
            astore 3 /* keyVaultClient */
        start local 3 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
         2: .line 58
            iconst_1
            istore 4 /* keyRetrieverOwnsClient */
        start local 4 // boolean keyRetrieverOwnsClient
         3: .line 59
            goto 6
        end local 4 // boolean keyRetrieverOwnsClient
        end local 3 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
         4: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* defaultKeyVaultClient */
            astore 3 /* keyVaultClient */
        start local 3 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
         5: .line 61
            iconst_0
            istore 4 /* keyRetrieverOwnsClient */
        start local 4 // boolean keyRetrieverOwnsClient
         6: .line 64
      StackMap locals: com.mongodb.client.internal.SimpleMongoClient int
      StackMap stack:
            aload 3 /* keyVaultClient */
            iload 4 /* keyRetrieverOwnsClient */
            aload 2 /* keyVaultNamespaceString */
            invokestatic com.mongodb.client.internal.Crypts.createKeyRetriever:(Lcom/mongodb/client/internal/SimpleMongoClient;ZLjava/lang/String;)Lcom/mongodb/client/internal/KeyRetriever;
            areturn
        end local 4 // boolean keyRetrieverOwnsClient
        end local 3 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
        end local 2 // java.lang.String keyVaultNamespaceString
        end local 1 // com.mongodb.MongoClientSettings keyVaultMongoClientSettings
        end local 0 // com.mongodb.client.internal.SimpleMongoClient defaultKeyVaultClient
      LocalVariableTable:
        Start  End  Slot                         Name  Signature
            0    7     0        defaultKeyVaultClient  Lcom/mongodb/client/internal/SimpleMongoClient;
            0    7     1  keyVaultMongoClientSettings  Lcom/mongodb/MongoClientSettings;
            0    7     2      keyVaultNamespaceString  Ljava/lang/String;
            2    4     3               keyVaultClient  Lcom/mongodb/client/internal/SimpleMongoClient;
            5    7     3               keyVaultClient  Lcom/mongodb/client/internal/SimpleMongoClient;
            3    4     4       keyRetrieverOwnsClient  Z
            6    7     4       keyRetrieverOwnsClient  Z
    MethodParameters:
                             Name  Flags
      defaultKeyVaultClient        final
      keyVaultMongoClientSettings  final
      keyVaultNamespaceString      final

  private static com.mongodb.client.internal.KeyRetriever createKeyRetriever(com.mongodb.client.internal.SimpleMongoClient, boolean, java.lang.String);
    descriptor: (Lcom/mongodb/client/internal/SimpleMongoClient;ZLjava/lang/String;)Lcom/mongodb/client/internal/KeyRetriever;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
        start local 1 // boolean keyRetrieverOwnsClient
        start local 2 // java.lang.String keyVaultNamespaceString
         0: .line 69
            new com.mongodb.client.internal.KeyRetriever
            dup
            aload 0 /* keyVaultClient */
            iload 1 /* keyRetrieverOwnsClient */
            new com.mongodb.MongoNamespace
            dup
            aload 2 /* keyVaultNamespaceString */
            invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;)V
            invokespecial com.mongodb.client.internal.KeyRetriever.<init>:(Lcom/mongodb/client/internal/SimpleMongoClient;ZLcom/mongodb/MongoNamespace;)V
            areturn
        end local 2 // java.lang.String keyVaultNamespaceString
        end local 1 // boolean keyRetrieverOwnsClient
        end local 0 // com.mongodb.client.internal.SimpleMongoClient keyVaultClient
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0    1     0           keyVaultClient  Lcom/mongodb/client/internal/SimpleMongoClient;
            0    1     1   keyRetrieverOwnsClient  Z
            0    1     2  keyVaultNamespaceString  Ljava/lang/String;
    MethodParameters:
                         Name  Flags
      keyVaultClient           final
      keyRetrieverOwnsClient   final
      keyVaultNamespaceString  final

  private static com.mongodb.client.internal.KeyManagementService createKeyManagementService();
    descriptor: ()Lcom/mongodb/client/internal/KeyManagementService;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=0, args_size=0
         0: .line 73
            new com.mongodb.client.internal.KeyManagementService
            dup
            invokestatic com.mongodb.client.internal.Crypts.getSslContext:()Ljavax/net/ssl/SSLContext;
            sipush 443
            sipush 10000
            invokespecial com.mongodb.client.internal.KeyManagementService.<init>:(Ljavax/net/ssl/SSLContext;II)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static javax.net.ssl.SSLContext getSslContext();
    descriptor: ()Ljavax/net/ssl/SSLContext;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=0
         0: .line 79
            invokestatic javax.net.ssl.SSLContext.getDefault:()Ljavax/net/ssl/SSLContext;
            astore 0 /* sslContext */
        start local 0 // javax.net.ssl.SSLContext sslContext
         1: .line 80
            goto 4
        end local 0 // javax.net.ssl.SSLContext sslContext
      StackMap locals:
      StackMap stack: java.security.NoSuchAlgorithmException
         2: astore 1 /* e */
        start local 1 // java.security.NoSuchAlgorithmException e
         3: .line 81
            new com.mongodb.MongoClientException
            dup
            ldc "Unable to create default SSLContext"
            aload 1 /* e */
            invokespecial com.mongodb.MongoClientException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.security.NoSuchAlgorithmException e
        start local 0 // javax.net.ssl.SSLContext sslContext
         4: .line 83
      StackMap locals: javax.net.ssl.SSLContext
      StackMap stack:
            aload 0 /* sslContext */
            areturn
        end local 0 // javax.net.ssl.SSLContext sslContext
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    2     0  sslContext  Ljavax/net/ssl/SSLContext;
            4    5     0  sslContext  Ljavax/net/ssl/SSLContext;
            3    4     1           e  Ljava/security/NoSuchAlgorithmException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.security.NoSuchAlgorithmException

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.client.internal.Crypts this
         0: .line 86
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 87
            return
        end local 0 // com.mongodb.client.internal.Crypts this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/client/internal/Crypts;
}
SourceFile: "Crypts.java"