public class org.eclipse.jetty.util.ssl.X509
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.eclipse.jetty.util.ssl.X509
  super_class: java.lang.Object
{
  private static final org.eclipse.jetty.util.log.Logger LOG;
    descriptor: Lorg/eclipse/jetty/util/log/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

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

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

  private final java.security.cert.X509Certificate _x509;
    descriptor: Ljava/security/cert/X509Certificate;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String _alias;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Set<java.lang.String> _hosts;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/String;>;

  private final java.util.Set<java.lang.String> _wilds;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/String;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 39
            ldc Lorg/eclipse/jetty/util/ssl/X509;
            invokestatic org.eclipse.jetty.util.log.Log.getLogger:(Ljava/lang/Class;)Lorg/eclipse/jetty/util/log/Logger;
            putstatic org.eclipse.jetty.util.ssl.X509.LOG:Lorg/eclipse/jetty/util/log/Logger;
         1: .line 50
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static boolean isCertSign(java.security.cert.X509Certificate);
    descriptor: (Ljava/security/cert/X509Certificate;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.security.cert.X509Certificate x509
         0: .line 54
            aload 0 /* x509 */
            invokevirtual java.security.cert.X509Certificate.getKeyUsage:()[Z
            astore 1 /* keyUsage */
        start local 1 // boolean[] keyUsage
         1: .line 55
            aload 1 /* keyUsage */
            ifnull 2
            aload 1 /* keyUsage */
            arraylength
            iconst_5
            if_icmpgt 3
         2: .line 57
      StackMap locals: boolean[]
      StackMap stack:
            iconst_0
            ireturn
         3: .line 59
      StackMap locals:
      StackMap stack:
            aload 1 /* keyUsage */
            iconst_5
            baload
            ireturn
        end local 1 // boolean[] keyUsage
        end local 0 // java.security.cert.X509Certificate x509
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      x509  Ljava/security/cert/X509Certificate;
            1    4     1  keyUsage  [Z
    MethodParameters:
      Name  Flags
      x509  

  public void <init>(java.lang.String, java.security.cert.X509Certificate);
    descriptor: (Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=8, args_size=3
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
        start local 1 // java.lang.String alias
        start local 2 // java.security.cert.X509Certificate x509
         0: .line 67
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 64
            aload 0 /* this */
            new java.util.LinkedHashSet
            dup
            invokespecial java.util.LinkedHashSet.<init>:()V
            putfield org.eclipse.jetty.util.ssl.X509._hosts:Ljava/util/Set;
         2: .line 65
            aload 0 /* this */
            new java.util.LinkedHashSet
            dup
            invokespecial java.util.LinkedHashSet.<init>:()V
            putfield org.eclipse.jetty.util.ssl.X509._wilds:Ljava/util/Set;
         3: .line 69
            aload 0 /* this */
            aload 1 /* alias */
            putfield org.eclipse.jetty.util.ssl.X509._alias:Ljava/lang/String;
         4: .line 70
            aload 0 /* this */
            aload 2 /* x509 */
            putfield org.eclipse.jetty.util.ssl.X509._x509:Ljava/security/cert/X509Certificate;
         5: .line 73
            aload 2 /* x509 */
            invokevirtual java.security.cert.X509Certificate.getSubjectAlternativeNames:()Ljava/util/Collection;
            astore 3 /* altNames */
        start local 3 // java.util.Collection altNames
         6: .line 74
            aload 3 /* altNames */
            ifnull 16
         7: .line 76
            aload 3 /* altNames */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 5
            goto 15
      StackMap locals: org.eclipse.jetty.util.ssl.X509 java.lang.String java.security.cert.X509Certificate java.util.Collection top java.util.Iterator
      StackMap stack:
         8: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.List
            astore 4 /* list */
        start local 4 // java.util.List list
         9: .line 78
            aload 4 /* list */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.Number
            invokevirtual java.lang.Number.intValue:()I
            iconst_2
            if_icmpne 15
        10: .line 80
            aload 4 /* list */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 6 /* cn */
        start local 6 // java.lang.String cn
        11: .line 81
            getstatic org.eclipse.jetty.util.ssl.X509.LOG:Lorg/eclipse/jetty/util/log/Logger;
            invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
            ifeq 13
        12: .line 82
            getstatic org.eclipse.jetty.util.ssl.X509.LOG:Lorg/eclipse/jetty/util/log/Logger;
            ldc "Certificate SAN alias={} CN={} in {}"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* alias */
            aastore
            dup
            iconst_1
            aload 6 /* cn */
            aastore
            dup
            iconst_2
            aload 0 /* this */
            aastore
            invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
        13: .line 83
      StackMap locals: org.eclipse.jetty.util.ssl.X509 java.lang.String java.security.cert.X509Certificate java.util.Collection java.util.List java.util.Iterator java.lang.String
      StackMap stack:
            aload 6 /* cn */
            ifnull 15
        14: .line 84
            aload 0 /* this */
            aload 6 /* cn */
            invokevirtual org.eclipse.jetty.util.ssl.X509.addName:(Ljava/lang/String;)V
        end local 6 // java.lang.String cn
        end local 4 // java.util.List list
        15: .line 76
      StackMap locals: org.eclipse.jetty.util.ssl.X509 java.lang.String java.security.cert.X509Certificate java.util.Collection top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        16: .line 90
      StackMap locals: org.eclipse.jetty.util.ssl.X509 java.lang.String java.security.cert.X509Certificate java.util.Collection
      StackMap stack:
            new javax.naming.ldap.LdapName
            dup
            aload 2 /* x509 */
            invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
            ldc "RFC2253"
            invokevirtual javax.security.auth.x500.X500Principal.getName:(Ljava/lang/String;)Ljava/lang/String;
            invokespecial javax.naming.ldap.LdapName.<init>:(Ljava/lang/String;)V
            astore 4 /* name */
        start local 4 // javax.naming.ldap.LdapName name
        17: .line 91
            aload 4 /* name */
            invokevirtual javax.naming.ldap.LdapName.getRdns:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 25
      StackMap locals: org.eclipse.jetty.util.ssl.X509 java.lang.String java.security.cert.X509Certificate java.util.Collection javax.naming.ldap.LdapName top java.util.Iterator
      StackMap stack:
        18: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast javax.naming.ldap.Rdn
            astore 5 /* rdn */
        start local 5 // javax.naming.ldap.Rdn rdn
        19: .line 93
            aload 5 /* rdn */
            invokevirtual javax.naming.ldap.Rdn.getType:()Ljava/lang/String;
            ldc "CN"
            invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
            ifeq 25
        20: .line 95
            aload 5 /* rdn */
            invokevirtual javax.naming.ldap.Rdn.getValue:()Ljava/lang/Object;
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            astore 7 /* cn */
        start local 7 // java.lang.String cn
        21: .line 96
            getstatic org.eclipse.jetty.util.ssl.X509.LOG:Lorg/eclipse/jetty/util/log/Logger;
            invokeinterface org.eclipse.jetty.util.log.Logger.isDebugEnabled:()Z
            ifeq 23
        22: .line 97
            getstatic org.eclipse.jetty.util.ssl.X509.LOG:Lorg/eclipse/jetty/util/log/Logger;
            ldc "Certificate CN alias={} CN={} in {}"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* alias */
            aastore
            dup
            iconst_1
            aload 7 /* cn */
            aastore
            dup
            iconst_2
            aload 0 /* this */
            aastore
            invokeinterface org.eclipse.jetty.util.log.Logger.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
        23: .line 98
      StackMap locals: org.eclipse.jetty.util.ssl.X509 java.lang.String java.security.cert.X509Certificate java.util.Collection javax.naming.ldap.LdapName javax.naming.ldap.Rdn java.util.Iterator java.lang.String
      StackMap stack:
            aload 7 /* cn */
            ifnull 25
            aload 7 /* cn */
            ldc "."
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifeq 25
            aload 7 /* cn */
            ldc " "
            invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
            ifne 25
        24: .line 99
            aload 0 /* this */
            aload 7 /* cn */
            invokevirtual org.eclipse.jetty.util.ssl.X509.addName:(Ljava/lang/String;)V
        end local 7 // java.lang.String cn
        end local 5 // javax.naming.ldap.Rdn rdn
        25: .line 91
      StackMap locals: org.eclipse.jetty.util.ssl.X509 java.lang.String java.security.cert.X509Certificate java.util.Collection javax.naming.ldap.LdapName top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 18
        26: .line 102
            return
        end local 4 // javax.naming.ldap.LdapName name
        end local 3 // java.util.Collection altNames
        end local 2 // java.security.cert.X509Certificate x509
        end local 1 // java.lang.String alias
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   27     0      this  Lorg/eclipse/jetty/util/ssl/X509;
            0   27     1     alias  Ljava/lang/String;
            0   27     2      x509  Ljava/security/cert/X509Certificate;
            6   27     3  altNames  Ljava/util/Collection<Ljava/util/List<*>;>;
            9   15     4      list  Ljava/util/List<*>;
           11   15     6        cn  Ljava/lang/String;
           17   27     4      name  Ljavax/naming/ldap/LdapName;
           19   25     5       rdn  Ljavax/naming/ldap/Rdn;
           21   25     7        cn  Ljava/lang/String;
    Exceptions:
      throws java.security.cert.CertificateParsingException, javax.naming.InvalidNameException
    MethodParameters:
       Name  Flags
      alias  
      x509   

  protected void addName(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
        start local 1 // java.lang.String cn
         0: .line 106
            aload 1 /* cn */
            invokestatic org.eclipse.jetty.util.StringUtil.asciiToLowerCase:(Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* cn */
         1: .line 107
            aload 1 /* cn */
            ldc "*."
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 3
         2: .line 108
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._wilds:Ljava/util/Set;
            aload 1 /* cn */
            iconst_2
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
            goto 4
         3: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._hosts:Ljava/util/Set;
            aload 1 /* cn */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         4: .line 111
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String cn
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/eclipse/jetty/util/ssl/X509;
            0    5     1    cn  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      cn    

  public java.lang.String getAlias();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
         0: .line 115
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._alias:Ljava/lang/String;
            areturn
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jetty/util/ssl/X509;

  public java.security.cert.X509Certificate getCertificate();
    descriptor: ()Ljava/security/cert/X509Certificate;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
         0: .line 120
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._x509:Ljava/security/cert/X509Certificate;
            areturn
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jetty/util/ssl/X509;

  public java.util.Set<java.lang.String> getHosts();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
         0: .line 125
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._hosts:Ljava/util/Set;
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            areturn
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jetty/util/ssl/X509;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  public java.util.Set<java.lang.String> getWilds();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
         0: .line 130
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._wilds:Ljava/util/Set;
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            areturn
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/eclipse/jetty/util/ssl/X509;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  public boolean matches(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
        start local 1 // java.lang.String host
         0: .line 135
            aload 1 /* host */
            invokestatic org.eclipse.jetty.util.StringUtil.asciiToLowerCase:(Ljava/lang/String;)Ljava/lang/String;
            astore 1 /* host */
         1: .line 136
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._hosts:Ljava/util/Set;
            aload 1 /* host */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifne 2
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._wilds:Ljava/util/Set;
            aload 1 /* host */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 3
         2: .line 137
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
         3: .line 139
      StackMap locals:
      StackMap stack:
            aload 1 /* host */
            bipush 46
            invokevirtual java.lang.String.indexOf:(I)I
            istore 2 /* dot */
        start local 2 // int dot
         4: .line 140
            iload 2 /* dot */
            iflt 8
         5: .line 142
            aload 1 /* host */
            iload 2 /* dot */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 3 /* domain */
        start local 3 // java.lang.String domain
         6: .line 143
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._wilds:Ljava/util/Set;
            aload 3 /* domain */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 8
         7: .line 144
            iconst_1
            ireturn
        end local 3 // java.lang.String domain
         8: .line 146
      StackMap locals: int
      StackMap stack:
            iconst_0
            ireturn
        end local 2 // int dot
        end local 1 // java.lang.String host
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Lorg/eclipse/jetty/util/ssl/X509;
            0    9     1    host  Ljava/lang/String;
            4    9     2     dot  I
            6    8     3  domain  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      host  

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.eclipse.jetty.util.ssl.X509 this
         0: .line 152
            ldc "%s@%x(%s,h=%s,w=%s)"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 153
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            aastore
            dup
            iconst_1
         2: .line 154
            aload 0 /* this */
            invokevirtual java.lang.Object.hashCode:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
         3: .line 155
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._alias:Ljava/lang/String;
            aastore
            dup
            iconst_3
         4: .line 156
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._hosts:Ljava/util/Set;
            aastore
            dup
            iconst_4
         5: .line 157
            aload 0 /* this */
            getfield org.eclipse.jetty.util.ssl.X509._wilds:Ljava/util/Set;
            aastore
         6: .line 152
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 0 // org.eclipse.jetty.util.ssl.X509 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/eclipse/jetty/util/ssl/X509;
}
SourceFile: "X509.java"