public final class com.sun.jndi.ldap.ext.StartTlsResponseImpl extends javax.naming.ldap.StartTlsResponse
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.sun.jndi.ldap.ext.StartTlsResponseImpl
  super_class: javax.naming.ldap.StartTlsResponse
{
  private static final boolean debug;
    descriptor: Z
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 0

  private static final int DNSNAME_TYPE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  private transient java.lang.String hostname;
    descriptor: Ljava/lang/String;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient com.sun.jndi.ldap.Connection ldapConnection;
    descriptor: Lcom/sun/jndi/ldap/Connection;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient java.io.InputStream originalInputStream;
    descriptor: Ljava/io/InputStream;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient java.io.OutputStream originalOutputStream;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient javax.net.ssl.SSLSocket sslSocket;
    descriptor: Ljavax/net/ssl/SSLSocket;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient javax.net.ssl.SSLSocketFactory defaultFactory;
    descriptor: Ljavax/net/ssl/SSLSocketFactory;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient javax.net.ssl.SSLSocketFactory currentFactory;
    descriptor: Ljavax/net/ssl/SSLSocketFactory;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient java.lang.String[] suites;
    descriptor: [Ljava/lang/String;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient javax.net.ssl.HostnameVerifier verifier;
    descriptor: Ljavax/net/ssl/HostnameVerifier;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private transient boolean isClosed;
    descriptor: Z
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

  private static final long serialVersionUID;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -1126624615143411328

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
         0: .line 122
            aload 0 /* this */
            invokespecial javax.naming.ldap.StartTlsResponse.<init>:()V
         1: .line 75
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.hostname:Ljava/lang/String;
         2: .line 80
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
         3: .line 85
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalInputStream:Ljava/io/InputStream;
         4: .line 90
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalOutputStream:Ljava/io/OutputStream;
         5: .line 95
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
         6: .line 100
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.defaultFactory:Ljavax/net/ssl/SSLSocketFactory;
         7: .line 101
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.currentFactory:Ljavax/net/ssl/SSLSocketFactory;
         8: .line 106
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.suites:[Ljava/lang/String;
         9: .line 111
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.verifier:Ljavax/net/ssl/HostnameVerifier;
        10: .line 116
            aload 0 /* this */
            iconst_1
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
        11: .line 122
            return
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;

  public void setEnabledCipherSuites(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
        start local 1 // java.lang.String[] suites
         0: .line 139
            aload 0 /* this */
            aload 1 /* suites */
            ifnonnull 1
            aconst_null
            goto 2
      StackMap locals:
      StackMap stack: com.sun.jndi.ldap.ext.StartTlsResponseImpl
         1: aload 1 /* suites */
            invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
            checkcast java.lang.String[]
      StackMap locals: com.sun.jndi.ldap.ext.StartTlsResponseImpl java.lang.String[]
      StackMap stack: com.sun.jndi.ldap.ext.StartTlsResponseImpl java.lang.String[]
         2: putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.suites:[Ljava/lang/String;
         3: .line 140
            return
        end local 1 // java.lang.String[] suites
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
            0    4     1  suites  [Ljava/lang/String;
    MethodParameters:
        Name  Flags
      suites  

  public void setHostnameVerifier(javax.net.ssl.HostnameVerifier);
    descriptor: (Ljavax/net/ssl/HostnameVerifier;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
        start local 1 // javax.net.ssl.HostnameVerifier verifier
         0: .line 154
            aload 0 /* this */
            aload 1 /* verifier */
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.verifier:Ljavax/net/ssl/HostnameVerifier;
         1: .line 155
            return
        end local 1 // javax.net.ssl.HostnameVerifier verifier
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
            0    2     1  verifier  Ljavax/net/ssl/HostnameVerifier;
    MethodParameters:
          Name  Flags
      verifier  

  public javax.net.ssl.SSLSession negotiate();
    descriptor: ()Ljavax/net/ssl/SSLSession;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
         0: .line 170
            aload 0 /* this */
            aconst_null
            invokevirtual com.sun.jndi.ldap.ext.StartTlsResponseImpl.negotiate:(Ljavax/net/ssl/SSLSocketFactory;)Ljavax/net/ssl/SSLSession;
            areturn
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
    Exceptions:
      throws java.io.IOException

  public javax.net.ssl.SSLSession negotiate(javax.net.ssl.SSLSocketFactory);
    descriptor: (Ljavax/net/ssl/SSLSocketFactory;)Ljavax/net/ssl/SSLSession;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
        start local 1 // javax.net.ssl.SSLSocketFactory factory
         0: .line 205
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
            ifeq 2
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            ifnull 2
         1: .line 206
            new java.io.IOException
            dup
            ldc "TLS connection is closed."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 209
      StackMap locals:
      StackMap stack:
            aload 1 /* factory */
            ifnonnull 4
         3: .line 210
            aload 0 /* this */
            invokevirtual com.sun.jndi.ldap.ext.StartTlsResponseImpl.getDefaultFactory:()Ljavax/net/ssl/SSLSocketFactory;
            astore 1 /* factory */
         4: .line 217
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* factory */
            invokevirtual com.sun.jndi.ldap.ext.StartTlsResponseImpl.startHandshake:(Ljavax/net/ssl/SSLSocketFactory;)Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.getSession:()Ljavax/net/ssl/SSLSession;
            astore 2 /* sslSession */
        start local 2 // javax.net.ssl.SSLSession sslSession
         5: .line 223
            aconst_null
            astore 3 /* verifExcep */
        start local 3 // javax.net.ssl.SSLPeerUnverifiedException verifExcep
         6: .line 225
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.hostname:Ljava/lang/String;
            aload 2 /* sslSession */
            invokevirtual com.sun.jndi.ldap.ext.StartTlsResponseImpl.verify:(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z
            ifeq 12
         7: .line 226
            aload 0 /* this */
            iconst_0
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
         8: .line 227
            aload 2 /* sslSession */
         9: areturn
        10: .line 229
      StackMap locals: com.sun.jndi.ldap.ext.StartTlsResponseImpl javax.net.ssl.SSLSocketFactory javax.net.ssl.SSLSession javax.net.ssl.SSLPeerUnverifiedException
      StackMap stack: javax.net.ssl.SSLPeerUnverifiedException
            astore 4 /* e */
        start local 4 // javax.net.ssl.SSLPeerUnverifiedException e
        11: .line 231
            aload 4 /* e */
            astore 3 /* verifExcep */
        end local 4 // javax.net.ssl.SSLPeerUnverifiedException e
        12: .line 233
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.verifier:Ljavax/net/ssl/HostnameVerifier;
            ifnull 16
        13: .line 234
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.verifier:Ljavax/net/ssl/HostnameVerifier;
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.hostname:Ljava/lang/String;
            aload 2 /* sslSession */
            invokeinterface javax.net.ssl.HostnameVerifier.verify:(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z
            ifeq 16
        14: .line 235
            aload 0 /* this */
            iconst_0
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
        15: .line 236
            aload 2 /* sslSession */
            areturn
        16: .line 240
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.sun.jndi.ldap.ext.StartTlsResponseImpl.close:()V
        17: .line 241
            aload 2 /* sslSession */
            invokeinterface javax.net.ssl.SSLSession.invalidate:()V
        18: .line 242
            aload 3 /* verifExcep */
            ifnonnull 25
        19: .line 243
            new javax.net.ssl.SSLPeerUnverifiedException
            dup
        20: .line 244
            new java.lang.StringBuilder
            dup
            ldc "hostname of the server '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.hostname:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        21: .line 245
            ldc "' does not match the hostname in the "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        22: .line 246
            ldc "server's certificate."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        23: .line 244
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        24: .line 243
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
            astore 3 /* verifExcep */
        25: .line 248
      StackMap locals:
      StackMap stack:
            aload 3 /* verifExcep */
            athrow
        end local 3 // javax.net.ssl.SSLPeerUnverifiedException verifExcep
        end local 2 // javax.net.ssl.SSLSession sslSession
        end local 1 // javax.net.ssl.SSLSocketFactory factory
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   26     0        this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
            0   26     1     factory  Ljavax/net/ssl/SSLSocketFactory;
            5   26     2  sslSession  Ljavax/net/ssl/SSLSession;
            6   26     3  verifExcep  Ljavax/net/ssl/SSLPeerUnverifiedException;
           11   12     4           e  Ljavax/net/ssl/SSLPeerUnverifiedException;
      Exception table:
        from    to  target  type
           6     9      10  Class javax.net.ssl.SSLPeerUnverifiedException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      factory  

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
         0: .line 260
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
            ifeq 2
         1: .line 261
            return
         2: .line 270
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
         3: .line 271
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalInputStream:Ljava/io/InputStream;
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalOutputStream:Ljava/io/OutputStream;
         4: .line 270
            invokevirtual com.sun.jndi.ldap.Connection.replaceStreams:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
         5: .line 276
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.close:()V
         6: .line 278
            aload 0 /* this */
            iconst_1
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
         7: .line 279
            return
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
    Exceptions:
      throws java.io.IOException

  public void setConnection(com.sun.jndi.ldap.Connection, java.lang.String);
    descriptor: (Lcom/sun/jndi/ldap/Connection;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
        start local 1 // com.sun.jndi.ldap.Connection ldapConnection
        start local 2 // java.lang.String hostname
         0: .line 290
            aload 0 /* this */
            aload 1 /* ldapConnection */
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
         1: .line 291
            aload 0 /* this */
            aload 2 /* hostname */
            ifnull 2
            aload 2 /* hostname */
            goto 3
      StackMap locals:
      StackMap stack: com.sun.jndi.ldap.ext.StartTlsResponseImpl
         2: aload 1 /* ldapConnection */
            getfield com.sun.jndi.ldap.Connection.host:Ljava/lang/String;
      StackMap locals: com.sun.jndi.ldap.ext.StartTlsResponseImpl com.sun.jndi.ldap.Connection java.lang.String
      StackMap stack: com.sun.jndi.ldap.ext.StartTlsResponseImpl java.lang.String
         3: putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.hostname:Ljava/lang/String;
         4: .line 292
            aload 0 /* this */
            aload 1 /* ldapConnection */
            getfield com.sun.jndi.ldap.Connection.inStream:Ljava/io/InputStream;
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalInputStream:Ljava/io/InputStream;
         5: .line 293
            aload 0 /* this */
            aload 1 /* ldapConnection */
            getfield com.sun.jndi.ldap.Connection.outStream:Ljava/io/OutputStream;
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalOutputStream:Ljava/io/OutputStream;
         6: .line 294
            return
        end local 2 // java.lang.String hostname
        end local 1 // com.sun.jndi.ldap.Connection ldapConnection
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    7     0            this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
            0    7     1  ldapConnection  Lcom/sun/jndi/ldap/Connection;
            0    7     2        hostname  Ljava/lang/String;
    MethodParameters:
                Name  Flags
      ldapConnection  
      hostname        

  private javax.net.ssl.SSLSocketFactory getDefaultFactory();
    descriptor: ()Ljavax/net/ssl/SSLSocketFactory;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
         0: .line 304
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.defaultFactory:Ljavax/net/ssl/SSLSocketFactory;
            ifnull 2
         1: .line 305
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.defaultFactory:Ljavax/net/ssl/SSLSocketFactory;
            areturn
         2: .line 308
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
         3: .line 309
            invokestatic javax.net.ssl.SSLSocketFactory.getDefault:()Ljavax/net/SocketFactory;
            checkcast javax.net.ssl.SSLSocketFactory
         4: .line 308
            dup_x1
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.defaultFactory:Ljavax/net/ssl/SSLSocketFactory;
            areturn
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
    Exceptions:
      throws java.io.IOException

  private javax.net.ssl.SSLSocket startHandshake(javax.net.ssl.SSLSocketFactory);
    descriptor: (Ljavax/net/ssl/SSLSocketFactory;)Ljavax/net/ssl/SSLSocket;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
        start local 1 // javax.net.ssl.SSLSocketFactory factory
         0: .line 323
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
            ifnonnull 2
         1: .line 324
            new java.lang.IllegalStateException
            dup
            ldc "LDAP connection has not been set. TLS requires an existing LDAP connection."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 328
      StackMap locals:
      StackMap stack:
            aload 1 /* factory */
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.currentFactory:Ljavax/net/ssl/SSLSocketFactory;
            if_acmpeq 7
         3: .line 330
            aload 0 /* this */
            aload 1 /* factory */
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
            getfield com.sun.jndi.ldap.Connection.sock:Ljava/net/Socket;
         4: .line 331
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
            getfield com.sun.jndi.ldap.Connection.host:Ljava/lang/String;
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
            getfield com.sun.jndi.ldap.Connection.port:I
            iconst_0
         5: .line 330
            invokevirtual javax.net.ssl.SSLSocketFactory.createSocket:(Ljava/net/Socket;Ljava/lang/String;IZ)Ljava/net/Socket;
            checkcast javax.net.ssl.SSLSocket
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
         6: .line 332
            aload 0 /* this */
            aload 1 /* factory */
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.currentFactory:Ljavax/net/ssl/SSLSocketFactory;
         7: .line 339
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.suites:[Ljava/lang/String;
            ifnull 9
         8: .line 340
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.suites:[Ljava/lang/String;
            invokevirtual javax.net.ssl.SSLSocket.setEnabledCipherSuites:([Ljava/lang/String;)V
         9: .line 353
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.startHandshake:()V
        10: .line 360
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.getInputStream:()Ljava/io/InputStream;
        11: .line 361
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.getOutputStream:()Ljava/io/OutputStream;
        12: .line 360
            invokevirtual com.sun.jndi.ldap.Connection.replaceStreams:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
        13: .line 366
            goto 18
      StackMap locals:
      StackMap stack: java.io.IOException
        14: astore 2 /* e */
        start local 2 // java.io.IOException e
        15: .line 372
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.close:()V
        16: .line 373
            aload 0 /* this */
            iconst_1
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
        17: .line 374
            aload 2 /* e */
            athrow
        end local 2 // java.io.IOException e
        18: .line 377
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            areturn
        end local 1 // javax.net.ssl.SSLSocketFactory factory
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   19     0     this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
            0   19     1  factory  Ljavax/net/ssl/SSLSocketFactory;
           15   18     2        e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           9    13      14  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      factory  

  private boolean verify(java.lang.String, javax.net.ssl.SSLSession);
    descriptor: (Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
        start local 1 // java.lang.String hostname
        start local 2 // javax.net.ssl.SSLSession session
         0: .line 397
            aconst_null
            astore 3 /* certs */
        start local 3 // java.security.cert.Certificate[] certs
         1: .line 400
            aload 1 /* hostname */
            ifnull 4
            aload 1 /* hostname */
            ldc "["
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 4
         2: .line 401
            aload 1 /* hostname */
            ldc "]"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 4
         3: .line 402
            aload 1 /* hostname */
            iconst_1
            aload 1 /* hostname */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 1 /* hostname */
         4: .line 406
      StackMap locals: java.security.cert.Certificate[]
      StackMap stack:
            iconst_2
         5: .line 405
            invokestatic sun.security.util.HostnameChecker.getInstance:(B)Lsun/security/util/HostnameChecker;
            astore 4 /* checker */
        start local 4 // sun.security.util.HostnameChecker checker
         6: .line 408
            aload 2 /* session */
            invokeinterface javax.net.ssl.SSLSession.getCipherSuite:()Ljava/lang/String;
            ldc "TLS_KRB5"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 14
         7: .line 409
            aload 2 /* session */
            invokestatic com.sun.jndi.ldap.ext.StartTlsResponseImpl.getPeerPrincipal:(Ljavax/net/ssl/SSLSession;)Ljava/security/Principal;
            astore 5 /* principal */
        start local 5 // java.security.Principal principal
         8: .line 410
            aload 1 /* hostname */
            aload 5 /* principal */
            invokestatic sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljava/security/Principal;)Z
            ifne 22
         9: .line 411
            new javax.net.ssl.SSLPeerUnverifiedException
            dup
        10: .line 412
            new java.lang.StringBuilder
            dup
            ldc "hostname of the kerberos principal:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* principal */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
        11: .line 413
            ldc " does not match the hostname:"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* hostname */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        12: .line 412
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        13: .line 411
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
            athrow
        end local 5 // java.security.Principal principal
        14: .line 418
      StackMap locals: sun.security.util.HostnameChecker
      StackMap stack:
            aload 2 /* session */
            invokeinterface javax.net.ssl.SSLSession.getPeerCertificates:()[Ljava/security/cert/Certificate;
            astore 3 /* certs */
        15: .line 420
            aload 3 /* certs */
            iconst_0
            aaload
            instanceof java.security.cert.X509Certificate
            ifeq 18
        16: .line 421
            aload 3 /* certs */
            iconst_0
            aaload
            checkcast java.security.cert.X509Certificate
            astore 5 /* peerCert */
        start local 5 // java.security.cert.X509Certificate peerCert
        17: .line 422
            goto 21
        end local 5 // java.security.cert.X509Certificate peerCert
        18: .line 423
      StackMap locals:
      StackMap stack:
            new javax.net.ssl.SSLPeerUnverifiedException
            dup
        19: .line 424
            ldc "Received a non X509Certificate from the server"
        20: .line 423
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
            athrow
        start local 5 // java.security.cert.X509Certificate peerCert
        21: .line 426
      StackMap locals: java.security.cert.X509Certificate
      StackMap stack:
            aload 4 /* checker */
            aload 1 /* hostname */
            aload 5 /* peerCert */
            invokevirtual sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
        end local 5 // java.security.cert.X509Certificate peerCert
        22: .line 430
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 4 // sun.security.util.HostnameChecker checker
        23: .line 431
      StackMap locals: com.sun.jndi.ldap.ext.StartTlsResponseImpl java.lang.String javax.net.ssl.SSLSession java.security.cert.Certificate[]
      StackMap stack: javax.net.ssl.SSLPeerUnverifiedException
            astore 4 /* e */
        start local 4 // javax.net.ssl.SSLPeerUnverifiedException e
        24: .line 437
            aload 2 /* session */
            invokeinterface javax.net.ssl.SSLSession.getCipherSuite:()Ljava/lang/String;
            astore 5 /* cipher */
        start local 5 // java.lang.String cipher
        25: .line 438
            aload 5 /* cipher */
            ifnull 27
            aload 5 /* cipher */
            ldc "_anon_"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            iconst_m1
            if_icmpeq 27
        26: .line 439
            iconst_1
            ireturn
        27: .line 441
      StackMap locals: javax.net.ssl.SSLPeerUnverifiedException java.lang.String
      StackMap stack:
            aload 4 /* e */
            athrow
        end local 5 // java.lang.String cipher
        end local 4 // javax.net.ssl.SSLPeerUnverifiedException e
        28: .line 442
      StackMap locals: com.sun.jndi.ldap.ext.StartTlsResponseImpl java.lang.String javax.net.ssl.SSLSession java.security.cert.Certificate[]
      StackMap stack: java.security.cert.CertificateException
            astore 4 /* e */
        start local 4 // java.security.cert.CertificateException e
        29: .line 448
            new javax.net.ssl.SSLPeerUnverifiedException
            dup
            new java.lang.StringBuilder
            dup
            ldc "hostname of the server '"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        30: .line 449
            aload 1 /* hostname */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        31: .line 450
            ldc "' does not match the hostname in the "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        32: .line 451
            ldc "server's certificate."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        33: .line 448
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
        34: .line 451
            aload 4 /* e */
            invokevirtual javax.net.ssl.SSLPeerUnverifiedException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
        35: .line 447
            checkcast javax.net.ssl.SSLPeerUnverifiedException
            athrow
        end local 4 // java.security.cert.CertificateException e
        end local 3 // java.security.cert.Certificate[] certs
        end local 2 // javax.net.ssl.SSLSession session
        end local 1 // java.lang.String hostname
        end local 0 // com.sun.jndi.ldap.ext.StartTlsResponseImpl this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   36     0       this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
            0   36     1   hostname  Ljava/lang/String;
            0   36     2    session  Ljavax/net/ssl/SSLSession;
            1   36     3      certs  [Ljava/security/cert/Certificate;
            6   23     4    checker  Lsun/security/util/HostnameChecker;
            8   14     5  principal  Ljava/security/Principal;
           17   18     5   peerCert  Ljava/security/cert/X509Certificate;
           21   22     5   peerCert  Ljava/security/cert/X509Certificate;
           24   28     4          e  Ljavax/net/ssl/SSLPeerUnverifiedException;
           25   28     5     cipher  Ljava/lang/String;
           29   36     4          e  Ljava/security/cert/CertificateException;
      Exception table:
        from    to  target  type
           4    22      23  Class javax.net.ssl.SSLPeerUnverifiedException
           4    22      28  Class java.security.cert.CertificateException
    Exceptions:
      throws javax.net.ssl.SSLPeerUnverifiedException
    MethodParameters:
          Name  Flags
      hostname  
      session   

  private static java.security.Principal getPeerPrincipal(javax.net.ssl.SSLSession);
    descriptor: (Ljavax/net/ssl/SSLSession;)Ljava/security/Principal;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // javax.net.ssl.SSLSession session
         0: .line 462
            aload 0 /* session */
            invokeinterface javax.net.ssl.SSLSession.getPeerPrincipal:()Ljava/security/Principal;
            astore 1 /* principal */
        start local 1 // java.security.Principal principal
         1: .line 463
            goto 4
        end local 1 // java.security.Principal principal
      StackMap locals:
      StackMap stack: java.lang.AbstractMethodError
         2: pop
         3: .line 466
            aconst_null
            astore 1 /* principal */
        start local 1 // java.security.Principal principal
         4: .line 468
      StackMap locals: java.security.Principal
      StackMap stack:
            aload 1 /* principal */
            areturn
        end local 1 // java.security.Principal principal
        end local 0 // javax.net.ssl.SSLSession session
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0    session  Ljavax/net/ssl/SSLSession;
            1    2     1  principal  Ljava/security/Principal;
            4    5     1  principal  Ljava/security/Principal;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.AbstractMethodError
    Exceptions:
      throws javax.net.ssl.SSLPeerUnverifiedException
    MethodParameters:
         Name  Flags
      session  
}
SourceFile: "StartTlsResponseImpl.java"