public class org.bouncycastle.util.IPAddress
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.util.IPAddress
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.util.IPAddress this
         0: .line 6
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.util.IPAddress this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/util/IPAddress;

  public static boolean isValid(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.String address
         0: .line 18
            aload 0 /* address */
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv4:(Ljava/lang/String;)Z
            ifne 1
            aload 0 /* address */
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv6:(Ljava/lang/String;)Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 0 // java.lang.String address
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  address  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      address  

  public static boolean isValidWithNetMask(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.String address
         0: .line 31
            aload 0 /* address */
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv4WithNetmask:(Ljava/lang/String;)Z
            ifne 1
            aload 0 /* address */
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv6WithNetmask:(Ljava/lang/String;)Z
            ifne 1
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_1
            ireturn
        end local 0 // java.lang.String address
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  address  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      address  

  public static boolean isValidIPv4(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=1
        start local 0 // java.lang.String address
         0: .line 44
            aload 0 /* address */
            invokevirtual java.lang.String.length:()I
            ifne 2
         1: .line 46
            iconst_0
            ireturn
         2: .line 50
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 2 /* octets */
        start local 2 // int octets
         3: .line 52
            new java.lang.StringBuilder
            dup
            aload 0 /* address */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* temp */
        start local 3 // java.lang.String temp
         4: .line 55
            iconst_0
            istore 5 /* start */
        start local 5 // int start
         5: .line 56
            goto 16
        start local 4 // int pos
         6: .line 59
      StackMap locals: java.lang.String top int java.lang.String int int
      StackMap stack:
            iload 2 /* octets */
            iconst_4
            if_icmpne 8
         7: .line 61
            iconst_0
            ireturn
         8: .line 65
      StackMap locals:
      StackMap stack:
            aload 3 /* temp */
            iload 5 /* start */
            iload 4 /* pos */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 1 /* octet */
        start local 1 // int octet
         9: .line 66
            goto 12
        end local 1 // int octet
        10: .line 67
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
            pop
        11: .line 69
            iconst_0
            ireturn
        start local 1 // int octet
        12: .line 71
      StackMap locals: java.lang.String int int java.lang.String int int
      StackMap stack:
            iload 1 /* octet */
            iflt 13
            iload 1 /* octet */
            sipush 255
            if_icmple 14
        13: .line 73
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        14: .line 75
      StackMap locals:
      StackMap stack:
            iload 4 /* pos */
            iconst_1
            iadd
            istore 5 /* start */
        15: .line 76
            iinc 2 /* octets */ 1
        end local 4 // int pos
        end local 1 // int octet
        16: .line 56
      StackMap locals: java.lang.String top int java.lang.String top int
      StackMap stack:
            iload 5 /* start */
            aload 3 /* temp */
            invokevirtual java.lang.String.length:()I
            if_icmpge 20
        17: .line 57
            aload 3 /* temp */
            bipush 46
            iload 5 /* start */
            invokevirtual java.lang.String.indexOf:(II)I
            dup
            istore 4 /* pos */
        start local 4 // int pos
        18: iload 5 /* start */
        19: .line 56
            if_icmpgt 6
        end local 4 // int pos
        20: .line 79
      StackMap locals:
      StackMap stack:
            iload 2 /* octets */
            iconst_4
            if_icmpne 21
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
        21: iconst_0
            ireturn
        end local 5 // int start
        end local 3 // java.lang.String temp
        end local 2 // int octets
        end local 0 // java.lang.String address
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   22     0  address  Ljava/lang/String;
            9   10     1    octet  I
           12   16     1    octet  I
            3   22     2   octets  I
            4   22     3     temp  Ljava/lang/String;
            6   16     4      pos  I
           18   20     4      pos  I
            5   22     5    start  I
      Exception table:
        from    to  target  type
           8     9      10  Class java.lang.NumberFormatException
    MethodParameters:
         Name  Flags
      address  

  public static boolean isValidIPv4WithNetmask(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.lang.String address
         0: .line 85
            aload 0 /* address */
            ldc "/"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 1 /* index */
        start local 1 // int index
         1: .line 86
            aload 0 /* address */
            iload 1 /* index */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 2 /* mask */
        start local 2 // java.lang.String mask
         2: .line 88
            iload 1 /* index */
            ifle 5
            aload 0 /* address */
            iconst_0
            iload 1 /* index */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv4:(Ljava/lang/String;)Z
            ifeq 5
         3: .line 89
            aload 2 /* mask */
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv4:(Ljava/lang/String;)Z
            ifne 4
            aload 2 /* mask */
            bipush 32
            invokestatic org.bouncycastle.util.IPAddress.isMaskValue:(Ljava/lang/String;I)Z
            ifeq 5
         4: .line 88
      StackMap locals: int java.lang.String
      StackMap stack:
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         5: iconst_0
            ireturn
        end local 2 // java.lang.String mask
        end local 1 // int index
        end local 0 // java.lang.String address
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0  address  Ljava/lang/String;
            1    6     1    index  I
            2    6     2     mask  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      address  

  public static boolean isValidIPv6WithNetmask(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.lang.String address
         0: .line 95
            aload 0 /* address */
            ldc "/"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 1 /* index */
        start local 1 // int index
         1: .line 96
            aload 0 /* address */
            iload 1 /* index */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 2 /* mask */
        start local 2 // java.lang.String mask
         2: .line 98
            iload 1 /* index */
            ifle 5
            aload 0 /* address */
            iconst_0
            iload 1 /* index */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv6:(Ljava/lang/String;)Z
            ifeq 5
         3: .line 99
            aload 2 /* mask */
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv6:(Ljava/lang/String;)Z
            ifne 4
            aload 2 /* mask */
            sipush 128
            invokestatic org.bouncycastle.util.IPAddress.isMaskValue:(Ljava/lang/String;I)Z
            ifeq 5
         4: .line 98
      StackMap locals: int java.lang.String
      StackMap stack:
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         5: iconst_0
            ireturn
        end local 2 // java.lang.String mask
        end local 1 // int index
        end local 0 // java.lang.String address
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0  address  Ljava/lang/String;
            1    6     1    index  I
            2    6     2     mask  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      address  

  private static boolean isMaskValue(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // java.lang.String component
        start local 1 // int size
         0: .line 106
            aload 0 /* component */
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 2 /* value */
        start local 2 // int value
         1: .line 108
            iload 2 /* value */
            iflt 2
            iload 2 /* value */
            iload 1 /* size */
            if_icmpgt 2
            iconst_1
            ireturn
      StackMap locals: int
      StackMap stack:
         2: iconst_0
         3: ireturn
        end local 2 // int value
         4: .line 110
      StackMap locals: java.lang.String int
      StackMap stack: java.lang.NumberFormatException
            pop
         5: .line 112
            iconst_0
            ireturn
        end local 1 // int size
        end local 0 // java.lang.String component
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0  component  Ljava/lang/String;
            0    6     1       size  I
            1    4     2      value  I
      Exception table:
        from    to  target  type
           0     3       4  Class java.lang.NumberFormatException
    MethodParameters:
           Name  Flags
      component  
      size       

  public static boolean isValidIPv6(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=8, args_size=1
        start local 0 // java.lang.String address
         0: .line 126
            aload 0 /* address */
            invokevirtual java.lang.String.length:()I
            ifne 2
         1: .line 128
            iconst_0
            ireturn
         2: .line 132
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 2 /* octets */
        start local 2 // int octets
         3: .line 134
            new java.lang.StringBuilder
            dup
            aload 0 /* address */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ":"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* temp */
        start local 3 // java.lang.String temp
         4: .line 135
            iconst_0
            istore 4 /* doubleColonFound */
        start local 4 // boolean doubleColonFound
         5: .line 137
            iconst_0
            istore 6 /* start */
        start local 6 // int start
         6: .line 138
            goto 27
        start local 5 // int pos
         7: .line 141
      StackMap locals: java.lang.String top int java.lang.String int int int
      StackMap stack:
            iload 2 /* octets */
            bipush 8
            if_icmpne 9
         8: .line 143
            iconst_0
            ireturn
         9: .line 146
      StackMap locals:
      StackMap stack:
            iload 6 /* start */
            iload 5 /* pos */
            if_icmpeq 22
        10: .line 148
            aload 3 /* temp */
            iload 6 /* start */
            iload 5 /* pos */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 7 /* value */
        start local 7 // java.lang.String value
        11: .line 150
            iload 5 /* pos */
            aload 3 /* temp */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            if_icmpne 16
            aload 7 /* value */
            bipush 46
            invokevirtual java.lang.String.indexOf:(I)I
            ifle 16
        12: .line 152
            aload 7 /* value */
            invokestatic org.bouncycastle.util.IPAddress.isValidIPv4:(Ljava/lang/String;)Z
            ifne 14
        13: .line 154
            iconst_0
            ireturn
        14: .line 157
      StackMap locals: java.lang.String
      StackMap stack:
            iinc 2 /* octets */ 1
        15: .line 158
            goto 25
        16: .line 163
      StackMap locals:
      StackMap stack:
            aload 3 /* temp */
            iload 6 /* start */
            iload 5 /* pos */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            bipush 16
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
            istore 1 /* octet */
        start local 1 // int octet
        17: .line 164
            goto 20
        end local 1 // int octet
        18: .line 165
      StackMap locals:
      StackMap stack: java.lang.NumberFormatException
            pop
        19: .line 167
            iconst_0
            ireturn
        start local 1 // int octet
        20: .line 169
      StackMap locals: java.lang.String int int java.lang.String int int int java.lang.String
      StackMap stack:
            iload 1 /* octet */
            iflt 21
            iload 1 /* octet */
            ldc 65535
            if_icmple 25
        21: .line 171
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 7 // java.lang.String value
        end local 1 // int octet
        22: .line 177
      StackMap locals: java.lang.String top int java.lang.String int int int
      StackMap stack:
            iload 5 /* pos */
            iconst_1
            if_icmpeq 24
            iload 5 /* pos */
            aload 3 /* temp */
            invokevirtual java.lang.String.length:()I
            iconst_1
            isub
            if_icmpeq 24
            iload 4 /* doubleColonFound */
            ifeq 24
        23: .line 179
            iconst_0
            ireturn
        24: .line 181
      StackMap locals:
      StackMap stack:
            iconst_1
            istore 4 /* doubleColonFound */
        25: .line 183
      StackMap locals:
      StackMap stack:
            iload 5 /* pos */
            iconst_1
            iadd
            istore 6 /* start */
        26: .line 184
            iinc 2 /* octets */ 1
        end local 5 // int pos
        27: .line 138
      StackMap locals: java.lang.String top int java.lang.String int top int
      StackMap stack:
            iload 6 /* start */
            aload 3 /* temp */
            invokevirtual java.lang.String.length:()I
            if_icmpge 31
        28: .line 139
            aload 3 /* temp */
            bipush 58
            iload 6 /* start */
            invokevirtual java.lang.String.indexOf:(II)I
            dup
            istore 5 /* pos */
        start local 5 // int pos
        29: iload 6 /* start */
        30: .line 138
            if_icmpge 7
        end local 5 // int pos
        31: .line 187
      StackMap locals:
      StackMap stack:
            iload 2 /* octets */
            bipush 8
            if_icmpeq 32
            iload 4 /* doubleColonFound */
            ifne 32
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
        32: iconst_1
            ireturn
        end local 6 // int start
        end local 4 // boolean doubleColonFound
        end local 3 // java.lang.String temp
        end local 2 // int octets
        end local 0 // java.lang.String address
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   33     0           address  Ljava/lang/String;
           17   18     1             octet  I
           20   22     1             octet  I
            3   33     2            octets  I
            4   33     3              temp  Ljava/lang/String;
            5   33     4  doubleColonFound  Z
            7   27     5               pos  I
           29   31     5               pos  I
            6   33     6             start  I
           11   22     7             value  Ljava/lang/String;
      Exception table:
        from    to  target  type
          16    17      18  Class java.lang.NumberFormatException
    MethodParameters:
         Name  Flags
      address  
}
SourceFile: "IPAddress.java"