public class org.bouncycastle.asn1.x509.GeneralName extends org.bouncycastle.asn1.ASN1Encodable implements org.bouncycastle.asn1.ASN1Choice
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.GeneralName
super_class: org.bouncycastle.asn1.ASN1Encodable
{
public static final int otherName;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int rfc822Name;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int dNSName;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int x400Address;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int directoryName;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int ediPartyName;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int uniformResourceIdentifier;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int iPAddress;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 7
public static final int registeredID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
org.bouncycastle.asn1.DEREncodable obj;
descriptor: Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0000)
int tag;
descriptor: I
flags: (0x0000)
public void <init>(org.bouncycastle.asn1.x509.X509Name);
descriptor: (Lorg/bouncycastle/asn1/x509/X509Name;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
2: aload 0
iconst_4
putfield org.bouncycastle.asn1.x509.GeneralName.tag:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 4 1 dirName Lorg/bouncycastle/asn1/x509/X509Name;
MethodParameters:
Name Flags
dirName
public void <init>(org.bouncycastle.asn1.x500.X500Name);
descriptor: (Lorg/bouncycastle/asn1/x500/X500Name;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
2: aload 0
iconst_4
putfield org.bouncycastle.asn1.x509.GeneralName.tag:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 4 1 dirName Lorg/bouncycastle/asn1/x500/X500Name;
MethodParameters:
Name Flags
dirName
public void <init>(org.bouncycastle.asn1.DERObject, int);
descriptor: (Lorg/bouncycastle/asn1/DERObject;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
2: aload 0
iload 2
putfield org.bouncycastle.asn1.x509.GeneralName.tag:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 4 1 name Lorg/bouncycastle/asn1/DERObject;
0 4 2 tag I
MethodParameters:
Name Flags
name
tag
public void <init>(int, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (ILorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 2
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
2: aload 0
iload 1
putfield org.bouncycastle.asn1.x509.GeneralName.tag:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 4 1 tag I
0 4 2 name Lorg/bouncycastle/asn1/ASN1Encodable;
MethodParameters:
Name Flags
tag
name
public void <init>(int, java.lang.String);
descriptor: (ILjava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
iload 1
putfield org.bouncycastle.asn1.x509.GeneralName.tag:I
2: iload 1
iconst_1
if_icmpeq 3
iload 1
iconst_2
if_icmpeq 3
iload 1
bipush 6
if_icmpne 5
3: StackMap locals: org.bouncycastle.asn1.x509.GeneralName int java.lang.String
StackMap stack:
aload 0
new org.bouncycastle.asn1.DERIA5String
dup
aload 2
invokespecial org.bouncycastle.asn1.DERIA5String.<init>:(Ljava/lang/String;)V
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
4: goto 18
5: StackMap locals:
StackMap stack:
iload 1
bipush 8
if_icmpne 8
6: aload 0
new org.bouncycastle.asn1.DERObjectIdentifier
dup
aload 2
invokespecial org.bouncycastle.asn1.DERObjectIdentifier.<init>:(Ljava/lang/String;)V
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
7: goto 18
8: StackMap locals:
StackMap stack:
iload 1
iconst_4
if_icmpne 11
9: aload 0
new org.bouncycastle.asn1.x509.X509Name
dup
aload 2
invokespecial org.bouncycastle.asn1.x509.X509Name.<init>:(Ljava/lang/String;)V
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
10: goto 18
11: StackMap locals:
StackMap stack:
iload 1
bipush 7
if_icmpne 17
12: aload 0
aload 2
invokevirtual org.bouncycastle.asn1.x509.GeneralName.toGeneralNameEncoding:(Ljava/lang/String;)[B
astore 3
start local 3 13: aload 3
ifnull 16
14: aload 0
new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
putfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
15: goto 18
16: StackMap locals: byte[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "IP Address is invalid"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 17: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "can't process String for tag: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 19 1 tag I
0 19 2 name Ljava/lang/String;
13 17 3 enc [B
MethodParameters:
Name Flags
tag
name
public static org.bouncycastle.asn1.x509.GeneralName getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/GeneralName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.x509.GeneralName
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.x509.GeneralName
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1TaggedObject
ifeq 15
3: aload 0
checkcast org.bouncycastle.asn1.ASN1TaggedObject
astore 1
start local 1 4: aload 1
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
istore 2
start local 2 5: iload 2
tableswitch { // 0 - 8
0: 6
1: 7
2: 8
3: 9
4: 10
5: 11
6: 12
7: 13
8: 14
default: 15
}
6: StackMap locals: org.bouncycastle.asn1.ASN1TaggedObject int
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
7: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_0
invokestatic org.bouncycastle.asn1.DERIA5String.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERIA5String;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
8: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_0
invokestatic org.bouncycastle.asn1.DERIA5String.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERIA5String;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown tag: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_1
invokestatic org.bouncycastle.asn1.x509.X509Name.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/X509Name;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
11: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
12: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_0
invokestatic org.bouncycastle.asn1.DERIA5String.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERIA5String;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
13: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_0
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1OctetString;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
14: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
iload 2
aload 1
iconst_0
invokestatic org.bouncycastle.asn1.DERObjectIdentifier.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
end local 2 end local 1 15: StackMap locals:
StackMap stack:
aload 0
instanceof byte[]
ifeq 20
16: aload 0
checkcast byte[]
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
invokestatic org.bouncycastle.asn1.x509.GeneralName.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/GeneralName;
17: areturn
18: StackMap locals:
StackMap stack: java.io.IOException
pop
19: new java.lang.IllegalArgumentException
dup
ldc "unable to parse encoded general name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown object in getInstance: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 obj Ljava/lang/Object;
4 15 1 tagObj Lorg/bouncycastle/asn1/ASN1TaggedObject;
5 15 2 tag I
Exception table:
from to target type
16 17 18 Class java.io.IOException
MethodParameters:
Name Flags
obj
public static org.bouncycastle.asn1.x509.GeneralName getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/GeneralName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokestatic org.bouncycastle.asn1.ASN1TaggedObject.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1TaggedObject;
invokestatic org.bouncycastle.asn1.x509.GeneralName.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/GeneralName;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 tagObj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 1 1 explicit Z
MethodParameters:
Name Flags
tagObj
explicit
public int getTagNo();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.tag:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
public org.bouncycastle.asn1.DEREncodable getName();
descriptor: ()Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.tag:I
invokevirtual java.lang.StringBuffer.append:(I)Ljava/lang/StringBuffer;
pop
2: aload 1
ldc ": "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.tag:I
tableswitch { // 1 - 6
1: 4
2: 4
3: 8
4: 6
5: 8
6: 4
default: 8
}
4: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 1
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.DERIA5String.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERIA5String;
invokevirtual org.bouncycastle.asn1.DERIA5String.getString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: goto 9
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.x509.X509Name.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/X509Name;
invokevirtual org.bouncycastle.asn1.x509.X509Name.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
7: goto 9
8: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
1 10 1 buf Ljava/lang/StringBuffer;
private byte[] toGeneralNameEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.bouncycastle.util.IPAddress.isValidIPv6WithNetmask:(Ljava/lang/String;)Z
ifne 1
aload 1
invokestatic org.bouncycastle.util.IPAddress.isValidIPv6:(Ljava/lang/String;)Z
ifeq 17
1: StackMap locals:
StackMap stack:
aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 2: iload 2
ifge 7
3: bipush 16
newarray 8
astore 3
start local 3 4: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseIPv6:(Ljava/lang/String;)[I
astore 4
start local 4 5: aload 0
aload 4
aload 3
iconst_0
invokevirtual org.bouncycastle.asn1.x509.GeneralName.copyInts:([I[BI)V
6: aload 3
areturn
end local 4 end local 3 7: StackMap locals: int
StackMap stack:
bipush 32
newarray 8
astore 3
start local 3 8: aload 0
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseIPv6:(Ljava/lang/String;)[I
astore 4
start local 4 9: aload 0
aload 4
aload 3
iconst_0
invokevirtual org.bouncycastle.asn1.x509.GeneralName.copyInts:([I[BI)V
10: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 11: aload 5
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
ifle 14
12: aload 0
aload 5
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseIPv6:(Ljava/lang/String;)[I
astore 4
13: goto 15
14: StackMap locals: byte[] int[] java.lang.String
StackMap stack:
aload 0
aload 5
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseMask:(Ljava/lang/String;)[I
astore 4
15: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 3
bipush 16
invokevirtual org.bouncycastle.asn1.x509.GeneralName.copyInts:([I[BI)V
16: aload 3
areturn
end local 5 end local 4 end local 3 end local 2 17: StackMap locals: org.bouncycastle.asn1.x509.GeneralName java.lang.String
StackMap stack:
aload 1
invokestatic org.bouncycastle.util.IPAddress.isValidIPv4WithNetmask:(Ljava/lang/String;)Z
ifne 18
aload 1
invokestatic org.bouncycastle.util.IPAddress.isValidIPv4:(Ljava/lang/String;)Z
ifeq 31
18: StackMap locals:
StackMap stack:
aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 19: iload 2
ifge 23
20: iconst_4
newarray 8
astore 3
start local 3 21: aload 0
aload 1
aload 3
iconst_0
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseIPv4:(Ljava/lang/String;[BI)V
22: aload 3
areturn
end local 3 23: StackMap locals: int
StackMap stack:
bipush 8
newarray 8
astore 3
start local 3 24: aload 0
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aload 3
iconst_0
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseIPv4:(Ljava/lang/String;[BI)V
25: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 26: aload 4
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
ifle 29
27: aload 0
aload 4
aload 3
iconst_4
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseIPv4:(Ljava/lang/String;[BI)V
28: goto 30
29: StackMap locals: byte[] java.lang.String
StackMap stack:
aload 0
aload 4
aload 3
iconst_4
invokevirtual org.bouncycastle.asn1.x509.GeneralName.parseIPv4Mask:(Ljava/lang/String;[BI)V
30: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 31: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 32 1 ip Ljava/lang/String;
2 17 2 slashIndex I
4 7 3 addr [B
5 7 4 parsedIp [I
8 17 3 addr [B
9 17 4 parsedIp [I
11 17 5 mask Ljava/lang/String;
19 31 2 slashIndex I
21 23 3 addr [B
24 31 3 addr [B
26 31 4 mask Ljava/lang/String;
MethodParameters:
Name Flags
ip
private void parseIPv4Mask(java.lang.String, byte[], int);
descriptor: (Ljava/lang/String;[BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 2
iload 5
bipush 8
idiv
iload 3
iadd
dup2
baload
iconst_1
iload 5
bipush 8
irem
ishl
ior
i2b
bastore
4: iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
iload 4
if_icmpne 3
end local 5 6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 7 1 mask Ljava/lang/String;
0 7 2 addr [B
0 7 3 offset I
1 7 4 maskVal I
2 6 5 i I
MethodParameters:
Name Flags
mask
addr
offset
private void parseIPv4(java.lang.String, byte[], int);
descriptor: (Ljava/lang/String;[BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.StringTokenizer
dup
aload 1
ldc "./"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 4
3: StackMap locals: java.util.StringTokenizer int
StackMap stack:
aload 2
iload 3
iload 5
iinc 5 1
iadd
aload 4
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
i2b
bastore
4: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
5: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 6 1 ip Ljava/lang/String;
0 6 2 addr [B
0 6 3 offset I
1 6 4 sTok Ljava/util/StringTokenizer;
2 6 5 index I
MethodParameters:
Name Flags
ip
addr
offset
private int[] parseMask(java.lang.String);
descriptor: (Ljava/lang/String;)[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: bipush 8
newarray 10
astore 2
start local 2 1: aload 1
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: int[] int int
StackMap stack:
aload 2
iload 4
bipush 16
idiv
dup2
iaload
iconst_1
iload 4
bipush 16
irem
ishl
ior
iastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 3
if_icmpne 4
end local 4 7: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 8 1 mask Ljava/lang/String;
1 8 2 res [I
2 8 3 maskVal I
3 7 4 i I
MethodParameters:
Name Flags
mask
private void copyInts(int[], byte[], int);
descriptor: ([I[BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 2
iload 4
iconst_2
imul
iload 3
iadd
aload 1
iload 4
iaload
bipush 8
ishr
i2b
bastore
3: aload 2
iload 4
iconst_2
imul
iconst_1
iadd
iload 3
iadd
aload 1
iload 4
iaload
i2b
bastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 1
arraylength
if_icmpne 2
end local 4 6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 7 1 parsedIp [I
0 7 2 addr [B
0 7 3 offSet I
1 6 4 i I
MethodParameters:
Name Flags
parsedIp
addr
offSet
private int[] parseIPv6(java.lang.String);
descriptor: (Ljava/lang/String;)[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: new java.util.StringTokenizer
dup
aload 1
ldc ":"
iconst_1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: bipush 8
newarray 10
astore 4
start local 4 3: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 5
aload 1
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 5
4: aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
pop
5: StackMap locals: java.util.StringTokenizer int int[]
StackMap stack:
iconst_m1
istore 5
start local 5 6: goto 20
7: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 6
start local 6 8: aload 6
ldc ":"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
9: iload 3
istore 5
10: aload 4
iload 3
iinc 3 1
iconst_0
iastore
11: goto 20
12: StackMap locals: java.lang.String
StackMap stack:
aload 6
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
ifge 17
13: aload 4
iload 3
iinc 3 1
aload 6
bipush 16
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;I)I
iastore
14: aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifeq 20
15: aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
pop
16: goto 20
17: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 6
ldc "."
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 18: aload 4
iload 3
iinc 3 1
aload 7
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
bipush 8
ishl
aload 7
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ior
iastore
19: aload 4
iload 3
iinc 3 1
aload 7
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
bipush 8
ishl
aload 7
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
ior
iastore
end local 7 end local 6 20: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 7
21: iload 3
aload 4
arraylength
if_icmpeq 28
22: aload 4
iload 5
aload 4
aload 4
arraylength
iload 3
iload 5
isub
isub
iload 3
iload 5
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
23: iload 5
istore 6
start local 6 24: goto 27
25: StackMap locals: int
StackMap stack:
aload 4
iload 6
iconst_0
iastore
26: iinc 6 1
StackMap locals:
StackMap stack:
27: iload 6
aload 4
arraylength
iload 3
iload 5
isub
isub
if_icmpne 25
end local 6 28: StackMap locals:
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
0 29 1 ip Ljava/lang/String;
1 29 2 sTok Ljava/util/StringTokenizer;
2 29 3 index I
3 29 4 val [I
6 29 5 doubleColon I
8 20 6 e Ljava/lang/String;
18 20 7 eTok Ljava/util/StringTokenizer;
24 28 6 i I
MethodParameters:
Name Flags
ip
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.tag:I
iconst_4
if_icmpne 2
1: new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.tag:I
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
areturn
2: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_0
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.tag:I
aload 0
getfield org.bouncycastle.asn1.x509.GeneralName.obj:Lorg/bouncycastle/asn1/DEREncodable;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/x509/GeneralName;
}
SourceFile: "GeneralName.java"