public class org.bouncycastle.voms.VOMSAttribute
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.voms.VOMSAttribute
super_class: java.lang.Object
{
public static final java.lang.String VOMS_ATTR_OID;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "1.3.6.1.4.1.8005.100.100.4"
private org.bouncycastle.x509.X509AttributeCertificate myAC;
descriptor: Lorg/bouncycastle/x509/X509AttributeCertificate;
flags: (0x0002) ACC_PRIVATE
private java.lang.String myHostPort;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String myVo;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector myStringList;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector myFQANs;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.x509.X509AttributeCertificate);
descriptor: (Lorg/bouncycastle/x509/X509AttributeCertificate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.voms.VOMSAttribute.myStringList:Ljava/util/Vector;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.voms.VOMSAttribute.myFQANs:Ljava/util/Vector;
3: aload 1
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "VOMSAttribute: AttributeCertificate is NULL"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.bouncycastle.voms.VOMSAttribute org.bouncycastle.x509.X509AttributeCertificate
StackMap stack:
aload 0
aload 1
putfield org.bouncycastle.voms.VOMSAttribute.myAC:Lorg/bouncycastle/x509/X509AttributeCertificate;
6: aload 1
ldc "1.3.6.1.4.1.8005.100.100.4"
invokeinterface org.bouncycastle.x509.X509AttributeCertificate.getAttributes:(Ljava/lang/String;)[Lorg/bouncycastle/x509/X509Attribute;
astore 2
start local 2 7: aload 2
ifnonnull 9
8: return
9: StackMap locals: org.bouncycastle.x509.X509Attribute[]
StackMap stack:
iconst_0
istore 3
start local 3 10: goto 33
11: StackMap locals: int
StackMap stack:
new org.bouncycastle.asn1.x509.IetfAttrSyntax
dup
aload 2
iload 3
aaload
invokevirtual org.bouncycastle.x509.X509Attribute.getValues:()[Lorg/bouncycastle/asn1/ASN1Encodable;
iconst_0
aaload
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.IetfAttrSyntax.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 4
start local 4 12: aload 4
invokevirtual org.bouncycastle.asn1.x509.IetfAttrSyntax.getPolicyAuthority:()Lorg/bouncycastle/asn1/x509/GeneralNames;
invokevirtual org.bouncycastle.asn1.x509.GeneralNames.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.x509.GeneralName.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/GeneralName;
invokevirtual org.bouncycastle.asn1.x509.GeneralName.getName:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERIA5String
invokevirtual org.bouncycastle.asn1.DERIA5String.getString:()Ljava/lang/String;
astore 5
start local 5 13: aload 5
ldc "://"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 6
start local 6 14: iload 6
iflt 15
iload 6
aload 5
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpne 16
15: StackMap locals: org.bouncycastle.asn1.x509.IetfAttrSyntax java.lang.String int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad encoding of VOMS policyAuthority : ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
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
16: StackMap locals:
StackMap stack:
aload 0
aload 5
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.bouncycastle.voms.VOMSAttribute.myVo:Ljava/lang/String;
17: aload 0
aload 5
iload 6
iconst_3
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.bouncycastle.voms.VOMSAttribute.myHostPort:Ljava/lang/String;
18: aload 4
invokevirtual org.bouncycastle.asn1.x509.IetfAttrSyntax.getValueType:()I
iconst_1
if_icmpeq 22
19: new java.lang.IllegalArgumentException
dup
20: new java.lang.StringBuilder
dup
ldc "VOMS attribute values are not encoded as octet strings, policyAuthority = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.bouncycastle.asn1.x509.IetfAttrSyntax.getValues:()[Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1OctetString[]
astore 7
start local 7 23: iconst_0
istore 8
start local 8 24: goto 31
25: StackMap locals: org.bouncycastle.asn1.ASN1OctetString[] int
StackMap stack:
new java.lang.String
dup
aload 7
iload 8
aaload
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial java.lang.String.<init>:([B)V
astore 9
start local 9 26: new org.bouncycastle.voms.VOMSAttribute$FQAN
dup
aload 0
aload 9
invokespecial org.bouncycastle.voms.VOMSAttribute$FQAN.<init>:(Lorg/bouncycastle/voms/VOMSAttribute;Ljava/lang/String;)V
astore 10
start local 10 27: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myStringList:Ljava/util/Vector;
aload 9
invokevirtual java.util.Vector.contains:(Ljava/lang/Object;)Z
ifne 30
aload 9
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myVo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 30
28: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myStringList:Ljava/util/Vector;
aload 9
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
29: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myFQANs:Ljava/util/Vector;
aload 10
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 30: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
31: iload 8
aload 7
arraylength
if_icmpne 25
end local 8 end local 7 end local 6 end local 5 end local 4 32: iinc 3 1
StackMap locals: org.bouncycastle.voms.VOMSAttribute org.bouncycastle.x509.X509AttributeCertificate org.bouncycastle.x509.X509Attribute[] int
StackMap stack:
33: iload 3
aload 2
arraylength
if_icmpne 11
end local 3 34: goto 41
35: StackMap locals: org.bouncycastle.voms.VOMSAttribute org.bouncycastle.x509.X509AttributeCertificate org.bouncycastle.x509.X509Attribute[]
StackMap stack: java.lang.IllegalArgumentException
astore 3
start local 3 36: aload 3
athrow
end local 3 37: StackMap locals:
StackMap stack: java.lang.Exception
pop
38: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Badly encoded VOMS extension in AC issued by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
39: aload 1
invokeinterface org.bouncycastle.x509.X509AttributeCertificate.getIssuer:()Lorg/bouncycastle/x509/AttributeCertificateIssuer;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
40: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
41: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lorg/bouncycastle/voms/VOMSAttribute;
0 42 1 ac Lorg/bouncycastle/x509/X509AttributeCertificate;
7 42 2 l [Lorg/bouncycastle/x509/X509Attribute;
10 34 3 i I
12 32 4 attr Lorg/bouncycastle/asn1/x509/IetfAttrSyntax;
13 32 5 url Ljava/lang/String;
14 32 6 idx I
23 32 7 values [Lorg/bouncycastle/asn1/ASN1OctetString;
24 32 8 j I
26 30 9 fqan Ljava/lang/String;
27 30 10 f Lorg/bouncycastle/voms/VOMSAttribute$FQAN;
36 37 3 ie Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
9 34 35 Class java.lang.IllegalArgumentException
9 34 37 Class java.lang.Exception
MethodParameters:
Name Flags
ac
public org.bouncycastle.x509.X509AttributeCertificate getAC();
descriptor: ()Lorg/bouncycastle/x509/X509AttributeCertificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myAC:Lorg/bouncycastle/x509/X509AttributeCertificate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/voms/VOMSAttribute;
public java.util.List getFullyQualifiedAttributes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myStringList:Ljava/util/Vector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/voms/VOMSAttribute;
public java.util.List getListOfFQAN();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myFQANs:Ljava/util/Vector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/voms/VOMSAttribute;
public java.lang.String getHostPort();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myHostPort:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/voms/VOMSAttribute;
public java.lang.String getVO();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myVo:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/voms/VOMSAttribute;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "VO :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myVo:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "HostPort:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myHostPort:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "FQANs :"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.bouncycastle.voms.VOMSAttribute.myFQANs:Ljava/util/Vector;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/voms/VOMSAttribute;
}
SourceFile: "VOMSAttribute.java"
NestMembers:
org.bouncycastle.voms.VOMSAttribute$FQAN
InnerClasses:
public FQAN = org.bouncycastle.voms.VOMSAttribute$FQAN of org.bouncycastle.voms.VOMSAttribute