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 133
            aload 0 /* this */
            invokespecial javax.naming.ldap.StartTlsResponse.<init>:()V
         1: .line 86
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.hostname:Ljava/lang/String;
         2: .line 91
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
         3: .line 96
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalInputStream:Ljava/io/InputStream;
         4: .line 101
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.originalOutputStream:Ljava/io/OutputStream;
         5: .line 106
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
         6: .line 111
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.defaultFactory:Ljavax/net/ssl/SSLSocketFactory;
         7: .line 112
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.currentFactory:Ljavax/net/ssl/SSLSocketFactory;
         8: .line 117
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.suites:[Ljava/lang/String;
         9: .line 122
            aload 0 /* this */
            aconst_null
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.verifier:Ljavax/net/ssl/HostnameVerifier;
        10: .line 127
            aload 0 /* this */
            iconst_1
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
        11: .line 133
            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 148
            aload 0 /* this */
            aload 1 /* suites */
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.suites:[Ljava/lang/String;
         1: .line 149
            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    2     0    this  Lcom/sun/jndi/ldap/ext/StartTlsResponseImpl;
            0    2     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 163
            aload 0 /* this */
            aload 1 /* verifier */
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.verifier:Ljavax/net/ssl/HostnameVerifier;
         1: .line 164
            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 179
            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 214
            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 215
            new java.io.IOException
            dup
            ldc "TLS connection is closed."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 218
      StackMap locals:
      StackMap stack:
            aload 1 /* factory */
            ifnonnull 4
         3: .line 219
            aload 0 /* this */
            invokevirtual com.sun.jndi.ldap.ext.StartTlsResponseImpl.getDefaultFactory:()Ljavax/net/ssl/SSLSocketFactory;
            astore 1 /* factory */
         4: .line 226
      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 232
            aconst_null
            astore 3 /* verifExcep */
        start local 3 // javax.net.ssl.SSLPeerUnverifiedException verifExcep
         6: .line 234
            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 235
            aload 0 /* this */
            iconst_0
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
         8: .line 236
            aload 2 /* sslSession */
         9: areturn
        10: .line 238
      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 240
            aload 4 /* e */
            astore 3 /* verifExcep */
        end local 4 // javax.net.ssl.SSLPeerUnverifiedException e
        12: .line 242
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.verifier:Ljavax/net/ssl/HostnameVerifier;
            ifnull 16
        13: .line 243
            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 244
            aload 0 /* this */
            iconst_0
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
        15: .line 245
            aload 2 /* sslSession */
            areturn
        16: .line 249
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.sun.jndi.ldap.ext.StartTlsResponseImpl.close:()V
        17: .line 250
            aload 2 /* sslSession */
            invokeinterface javax.net.ssl.SSLSession.invalidate:()V
        18: .line 251
            aload 3 /* verifExcep */
            ifnonnull 25
        19: .line 252
            new javax.net.ssl.SSLPeerUnverifiedException
            dup
        20: .line 253
            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 254
            ldc "' does not match the hostname in the "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        22: .line 255
            ldc "server's certificate."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        23: .line 253
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        24: .line 252
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
            astore 3 /* verifExcep */
        25: .line 257
      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 269
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
            ifeq 2
         1: .line 270
            return
         2: .line 279
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
         3: .line 280
            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 279
            invokevirtual com.sun.jndi.ldap.Connection.replaceStreams:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
         5: .line 285
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.close:()V
         6: .line 287
            aload 0 /* this */
            iconst_1
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
         7: .line 288
            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 299
            aload 0 /* this */
            aload 1 /* ldapConnection */
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
         1: .line 300
            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 301
            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 302
            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 303
            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 313
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.defaultFactory:Ljavax/net/ssl/SSLSocketFactory;
            ifnull 2
         1: .line 314
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.defaultFactory:Ljavax/net/ssl/SSLSocketFactory;
            areturn
         2: .line 317
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
         3: .line 318
            invokestatic javax.net.ssl.SSLSocketFactory.getDefault:()Ljavax/net/SocketFactory;
            checkcast javax.net.ssl.SSLSocketFactory
         4: .line 317
            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 332
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.ldapConnection:Lcom/sun/jndi/ldap/Connection;
            ifnonnull 2
         1: .line 333
            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 337
      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 339
            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 340
            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 339
            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 341
            aload 0 /* this */
            aload 1 /* factory */
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.currentFactory:Ljavax/net/ssl/SSLSocketFactory;
         7: .line 348
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.suites:[Ljava/lang/String;
            ifnull 9
         8: .line 349
            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 362
      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 369
            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 370
            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 369
            invokevirtual com.sun.jndi.ldap.Connection.replaceStreams:(Ljava/io/InputStream;Ljava/io/OutputStream;)V
        13: .line 375
            goto 18
      StackMap locals:
      StackMap stack: java.io.IOException
        14: astore 2 /* e */
        start local 2 // java.io.IOException e
        15: .line 381
            aload 0 /* this */
            getfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.sslSocket:Ljavax/net/ssl/SSLSocket;
            invokevirtual javax.net.ssl.SSLSocket.close:()V
        16: .line 382
            aload 0 /* this */
            iconst_1
            putfield com.sun.jndi.ldap.ext.StartTlsResponseImpl.isClosed:Z
        17: .line 383
            aload 2 /* e */
            athrow
        end local 2 // java.io.IOException e
        18: .line 386
      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=7, 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 406
            aconst_null
            astore 3 /* certs */
        start local 3 // java.security.cert.Certificate[] certs
         1: .line 409
            aload 1 /* hostname */
            ifnull 4
            aload 1 /* hostname */
            ldc "["
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 4
         2: .line 410
            aload 1 /* hostname */
            ldc "]"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 4
         3: .line 411
            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 415
      StackMap locals: java.security.cert.Certificate[]
      StackMap stack:
            iconst_2
         5: .line 414
            invokestatic sun.security.util.HostnameChecker.getInstance:(B)Lsun/security/util/HostnameChecker;
            astore 4 /* checker */
        start local 4 // sun.security.util.HostnameChecker checker
         6: .line 416
            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
         7: .line 417
            aload 5 /* principal */
            instanceof javax.security.auth.kerberos.KerberosPrincipal
            ifeq 14
         8: .line 418
            aload 1 /* hostname */
            aload 5 /* principal */
            checkcast javax.security.auth.kerberos.KerberosPrincipal
            invokestatic sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljavax/security/auth/kerberos/KerberosPrincipal;)Z
            ifne 22
         9: .line 419
            new javax.net.ssl.SSLPeerUnverifiedException
            dup
        10: .line 420
            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 421
            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 420
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        13: .line 419
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 426
      StackMap locals: sun.security.util.HostnameChecker java.security.Principal
      StackMap stack:
            aload 2 /* session */
            invokeinterface javax.net.ssl.SSLSession.getPeerCertificates:()[Ljava/security/cert/Certificate;
            astore 3 /* certs */
        15: .line 428
            aload 3 /* certs */
            iconst_0
            aaload
            instanceof java.security.cert.X509Certificate
            ifeq 18
        16: .line 429
            aload 3 /* certs */
            iconst_0
            aaload
            checkcast java.security.cert.X509Certificate
            astore 6 /* peerCert */
        start local 6 // java.security.cert.X509Certificate peerCert
        17: .line 430
            goto 21
        end local 6 // java.security.cert.X509Certificate peerCert
        18: .line 431
      StackMap locals:
      StackMap stack:
            new javax.net.ssl.SSLPeerUnverifiedException
            dup
        19: .line 432
            ldc "Received a non X509Certificate from the server"
        20: .line 431
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
            athrow
        start local 6 // java.security.cert.X509Certificate peerCert
        21: .line 434
      StackMap locals: java.security.cert.X509Certificate
      StackMap stack:
            aload 4 /* checker */
            aload 1 /* hostname */
            aload 6 /* peerCert */
            invokevirtual sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
        end local 6 // java.security.cert.X509Certificate peerCert
        22: .line 438
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 5 // java.security.Principal principal
        end local 4 // sun.security.util.HostnameChecker checker
        23: .line 439
      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 445
            aload 2 /* session */
            invokeinterface javax.net.ssl.SSLSession.getCipherSuite:()Ljava/lang/String;
            astore 5 /* cipher */
        start local 5 // java.lang.String cipher
        25: .line 446
            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 447
            iconst_1
            ireturn
        27: .line 449
      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 450
      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 456
            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 457
            aload 1 /* hostname */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        31: .line 458
            ldc "' does not match the hostname in the "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        32: .line 459
            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 456
            invokespecial javax.net.ssl.SSLPeerUnverifiedException.<init>:(Ljava/lang/String;)V
        34: .line 459
            aload 4 /* e */
            invokevirtual javax.net.ssl.SSLPeerUnverifiedException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
        35: .line 455
            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;
            7   23     5  principal  Ljava/security/Principal;
           17   18     6   peerCert  Ljava/security/cert/X509Certificate;
           21   22     6   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 470
            aload 0 /* session */
            invokeinterface javax.net.ssl.SSLSession.getPeerPrincipal:()Ljava/security/Principal;
            astore 1 /* principal */
        start local 1 // java.security.Principal principal
         1: .line 471
            goto 4
        end local 1 // java.security.Principal principal
      StackMap locals:
      StackMap stack: java.lang.AbstractMethodError
         2: pop
         3: .line 474
            aconst_null
            astore 1 /* principal */
        start local 1 // java.security.Principal principal
         4: .line 476
      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"