public class org.bouncycastle.asn1.x509.RoleSyntax extends org.bouncycastle.asn1.ASN1Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.RoleSyntax
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private org.bouncycastle.asn1.x509.GeneralNames roleAuthority;
descriptor: Lorg/bouncycastle/asn1/x509/GeneralNames;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.GeneralName roleName;
descriptor: Lorg/bouncycastle/asn1/x509/GeneralName;
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.x509.RoleSyntax getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/RoleSyntax;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.x509.RoleSyntax
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.x509.RoleSyntax
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.x509.RoleSyntax
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.x509.RoleSyntax.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void <init>(org.bouncycastle.asn1.x509.GeneralNames, org.bouncycastle.asn1.x509.GeneralName);
descriptor: (Lorg/bouncycastle/asn1/x509/GeneralNames;Lorg/bouncycastle/asn1/x509/GeneralName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 2
ifnull 4
2: aload 2
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getTagNo:()I
bipush 6
if_icmpne 4
3: aload 2
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1String
invokeinterface org.bouncycastle.asn1.ASN1String.getString:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals: org.bouncycastle.asn1.x509.RoleSyntax org.bouncycastle.asn1.x509.GeneralNames org.bouncycastle.asn1.x509.GeneralName
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "the role name MUST be non empty and MUST use the URI option of GeneralName"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
6: aload 0
aload 2
putfield org.bouncycastle.asn1.x509.RoleSyntax.roleName:Lorg/bouncycastle/asn1/x509/GeneralName;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
0 8 1 roleAuthority Lorg/bouncycastle/asn1/x509/GeneralNames;
0 8 2 roleName Lorg/bouncycastle/asn1/x509/GeneralName;
MethodParameters:
Name Flags
roleAuthority
roleName
public void <init>(org.bouncycastle.asn1.x509.GeneralName);
descriptor: (Lorg/bouncycastle/asn1/x509/GeneralName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokespecial org.bouncycastle.asn1.x509.RoleSyntax.<init>:(Lorg/bouncycastle/asn1/x509/GeneralNames;Lorg/bouncycastle/asn1/x509/GeneralName;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
0 2 1 roleName Lorg/bouncycastle/asn1/x509/GeneralName;
MethodParameters:
Name Flags
roleName
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: new org.bouncycastle.asn1.x509.GeneralName
dup
bipush 6
2: aload 1
ifnonnull 3
ldc ""
goto 4
StackMap locals: uninitialized-this java.lang.String
StackMap stack: uninitialized-this new 1 new 1 int
3: aload 1
4: StackMap locals: uninitialized-this java.lang.String
StackMap stack: uninitialized-this new 1 new 1 int java.lang.String
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(ILjava/lang/String;)V
invokespecial org.bouncycastle.asn1.x509.RoleSyntax.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
0 6 1 roleName Ljava/lang/String;
MethodParameters:
Name Flags
roleName
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_1
if_icmplt 2
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_2
if_icmple 5
2: StackMap locals: org.bouncycastle.asn1.x509.RoleSyntax org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad sequence size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 6: goto 15
7: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.ASN1TaggedObject.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1TaggedObject;
astore 3
start local 3 8: aload 3
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getTagNo:()I
tableswitch { // 0 - 1
0: 9
1: 11
default: 13
}
9: StackMap locals: org.bouncycastle.asn1.ASN1TaggedObject
StackMap stack:
aload 0
aload 3
iconst_0
invokestatic org.bouncycastle.asn1.x509.GeneralNames.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/GeneralNames;
putfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_1
invokestatic org.bouncycastle.asn1.x509.GeneralName.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/GeneralName;
putfield org.bouncycastle.asn1.x509.RoleSyntax.roleName:Lorg/bouncycastle/asn1/x509/GeneralName;
12: goto 14
13: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Unknown tag in RoleSyntax"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
15: iload 2
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
if_icmpne 7
end local 2 16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
0 17 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
6 16 2 i I
8 14 3 taggedObject Lorg/bouncycastle/asn1/ASN1TaggedObject;
MethodParameters:
Name Flags
seq
public org.bouncycastle.asn1.x509.GeneralNames getRoleAuthority();
descriptor: ()Lorg/bouncycastle/asn1/x509/GeneralNames;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
public org.bouncycastle.asn1.x509.GeneralName getRoleName();
descriptor: ()Lorg/bouncycastle/asn1/x509/GeneralName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleName:Lorg/bouncycastle/asn1/x509/GeneralName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
public java.lang.String getRoleNameAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleName:Lorg/bouncycastle/asn1/x509/GeneralName;
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1String
astore 1
start local 1 1: aload 1
invokeinterface org.bouncycastle.asn1.ASN1String.getString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
1 2 1 str Lorg/bouncycastle/asn1/ASN1String;
public java.lang.String[] getRoleAuthorityAsString();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
ifnonnull 2
1: iconst_0
anewarray java.lang.String
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
invokevirtual org.bouncycastle.asn1.x509.GeneralNames.getNames:()[Lorg/bouncycastle/asn1/x509/GeneralName;
astore 1
start local 1 3: aload 1
arraylength
anewarray java.lang.String
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 12
6: StackMap locals: org.bouncycastle.asn1.x509.GeneralName[] java.lang.String[] int
StackMap stack:
aload 1
iload 3
aaload
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/DEREncodable;
astore 4
start local 4 7: aload 4
instanceof org.bouncycastle.asn1.ASN1String
ifeq 10
8: aload 2
iload 3
aload 4
checkcast org.bouncycastle.asn1.ASN1String
invokeinterface org.bouncycastle.asn1.ASN1String.getString:()Ljava/lang/String;
aastore
9: goto 11
10: StackMap locals: org.bouncycastle.asn1.DEREncodable
StackMap stack:
aload 2
iload 3
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 1
arraylength
if_icmplt 6
end local 3 13: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
3 14 1 names [Lorg/bouncycastle/asn1/x509/GeneralName;
4 14 2 namesString [Ljava/lang/String;
5 13 3 i I
7 11 4 value Lorg/bouncycastle/asn1/DEREncodable;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
ifnull 3
2: aload 1
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_0
iconst_0
aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
3: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 1
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_1
iconst_1
aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleName:Lorg/bouncycastle/asn1/x509/GeneralName;
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/DEREncodable;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
4: new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
1 5 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
new java.lang.StringBuilder
dup
ldc "Name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.bouncycastle.asn1.x509.RoleSyntax.getRoleNameAsString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc " - Auth: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
ifnull 4
aload 0
getfield org.bouncycastle.asn1.x509.RoleSyntax.roleAuthority:Lorg/bouncycastle/asn1/x509/GeneralNames;
invokevirtual org.bouncycastle.asn1.x509.GeneralNames.getNames:()[Lorg/bouncycastle/asn1/x509/GeneralName;
arraylength
ifne 6
4: StackMap locals: java.lang.StringBuffer
StackMap stack:
aload 1
ldc "N/A"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: goto 14
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.x509.RoleSyntax.getRoleAuthorityAsString:()[Ljava/lang/String;
astore 2
start local 2 7: aload 1
bipush 91
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
aload 2
iconst_0
aaload
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: iconst_1
istore 3
start local 3 9: goto 12
10: StackMap locals: java.lang.String[] int
StackMap stack:
aload 1
ldc ", "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
aload 2
iload 3
aaload
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 2
arraylength
if_icmplt 10
end local 3 13: aload 1
bipush 93
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 2 14: 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 15 0 this Lorg/bouncycastle/asn1/x509/RoleSyntax;
3 15 1 buff Ljava/lang/StringBuffer;
7 14 2 names [Ljava/lang/String;
9 13 3 i I
}
SourceFile: "RoleSyntax.java"