public class sun.security.x509.PolicyInformation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.PolicyInformation
super_class: java.lang.Object
{
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "PolicyInformation"
public static final java.lang.String ID;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "id"
public static final java.lang.String QUALIFIERS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "qualifiers"
private sun.security.x509.CertificatePolicyId policyIdentifier;
descriptor: Lsun/security/x509/CertificatePolicyId;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<java.security.cert.PolicyQualifierInfo> policyQualifiers;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/security/cert/PolicyQualifierInfo;>;
public void <init>(sun.security.x509.CertificatePolicyId, java.util.Set<java.security.cert.PolicyQualifierInfo>);
descriptor: (Lsun/security/x509/CertificatePolicyId;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "policyQualifiers is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.security.x509.PolicyInformation sun.security.x509.CertificatePolicyId java.util.Set
StackMap stack:
aload 0
4: new java.util.LinkedHashSet
dup
aload 2
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
5: putfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
6: aload 0
aload 1
putfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/PolicyInformation;
0 8 1 policyIdentifier Lsun/security/x509/CertificatePolicyId;
0 8 2 policyQualifiers Ljava/util/Set<Ljava/security/cert/PolicyQualifierInfo;>;
Exceptions:
throws java.io.IOException
Signature: (Lsun/security/x509/CertificatePolicyId;Ljava/util/Set<Ljava/security/cert/PolicyQualifierInfo;>;)V
MethodParameters:
Name Flags
policyIdentifier
policyQualifiers
public void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 3
2: new java.io.IOException
dup
ldc "Invalid encoding of PolicyInformation"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.security.x509.PolicyInformation sun.security.util.DerValue
StackMap stack:
aload 0
new sun.security.x509.CertificatePolicyId
dup
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokespecial sun.security.x509.CertificatePolicyId.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
4: aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 16
5: aload 0
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
6: aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 2
start local 2 7: aload 2
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 9
8: new java.io.IOException
dup
ldc "Invalid encoding of PolicyInformation"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifne 14
10: new java.io.IOException
dup
ldc "No data available in policyQualifiers"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
new java.security.cert.PolicyQualifierInfo
dup
12: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokevirtual sun.security.util.DerValue.toByteArray:()[B
invokespecial java.security.cert.PolicyQualifierInfo.<init>:([B)V
13: invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifne 11
end local 2 15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/x509/PolicyInformation;
0 18 1 val Lsun/security/util/DerValue;
7 15 2 opt Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
val
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.security.x509.PolicyInformation
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.x509.PolicyInformation
astore 2
start local 2 3: aload 0
getfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
aload 2
invokevirtual sun.security.x509.PolicyInformation.getPolicyIdentifier:()Lsun/security/x509/CertificatePolicyId;
invokevirtual sun.security.x509.CertificatePolicyId.equals:(Ljava/lang/Object;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals: sun.security.x509.PolicyInformation
StackMap stack:
aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
aload 2
invokevirtual sun.security.x509.PolicyInformation.getPolicyQualifiers:()Ljava/util/Set;
invokeinterface java.util.Set.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/PolicyInformation;
0 6 1 other Ljava/lang/Object;
3 6 2 piOther Lsun/security/x509/PolicyInformation;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 37
aload 0
getfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
invokevirtual sun.security.x509.CertificatePolicyId.hashCode:()I
iadd
istore 1
start local 1 1: bipush 37
iload 1
imul
aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
invokeinterface java.util.Set.hashCode:()I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/PolicyInformation;
1 3 1 myhash I
public sun.security.x509.CertificatePolicyId getPolicyIdentifier();
descriptor: ()Lsun/security/x509/CertificatePolicyId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/PolicyInformation;
public java.util.Set<java.security.cert.PolicyQualifierInfo> getPolicyQualifiers();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/PolicyInformation;
Signature: ()Ljava/util/Set<Ljava/security/cert/PolicyQualifierInfo;>;
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "id"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "qualifiers"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
areturn
4: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Attribute name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "] not recognized by PolicyInformation."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/x509/PolicyInformation;
0 7 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public void set(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "id"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
1: aload 2
instanceof sun.security.x509.CertificatePolicyId
ifeq 3
2: aload 0
aload 2
checkcast sun.security.x509.CertificatePolicyId
putfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
goto 20
3: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute value must be instance of CertificatePolicyId."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ldc "qualifiers"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 17
5: aload 0
getfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
ifnonnull 7
6: new java.io.IOException
dup
ldc "Attribute must have a CertificatePolicyIdentifier value before PolicyQualifierInfo can be set."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
instanceof java.util.Set
ifeq 16
8: aload 2
checkcast java.util.Set
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 9: goto 13
10: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 11: aload 4
instanceof java.security.cert.PolicyQualifierInfo
ifne 13
12: new java.io.IOException
dup
ldc "Attribute value must be aSet of PolicyQualifierInfo objects."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 13: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
14: aload 0
aload 2
checkcast java.util.Set
putfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
end local 3 15: goto 20
16: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute value must be of type Set."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Attribute name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: ldc "] not recognized by PolicyInformation"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/security/x509/PolicyInformation;
0 21 1 name Ljava/lang/String;
0 21 2 obj Ljava/lang/Object;
9 15 3 i Ljava/util/Iterator<*>;
11 13 4 obj1 Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public void delete(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 1
ldc "qualifiers"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
2: goto 8
StackMap locals:
StackMap stack:
3: aload 1
ldc "id"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: new java.io.IOException
dup
ldc "Attribute ID may not be deleted from PolicyInformation."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Attribute name ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "] not recognized by PolicyInformation."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/x509/PolicyInformation;
0 9 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.lang.String> getElements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new sun.security.x509.AttributeNameEnumeration
dup
invokespecial sun.security.x509.AttributeNameEnumeration.<init>:()V
astore 1
start local 1 1: aload 1
ldc "id"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
2: aload 1
ldc "qualifiers"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
3: aload 1
invokevirtual sun.security.x509.AttributeNameEnumeration.elements:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/x509/PolicyInformation;
1 4 1 elements Lsun/security/x509/AttributeNameEnumeration;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "PolicyInformation"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/PolicyInformation;
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 " ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " ]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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 Lsun/security/x509/PolicyInformation;
public void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield sun.security.x509.PolicyInformation.policyIdentifier:Lsun/security/x509/CertificatePolicyId;
aload 2
invokevirtual sun.security.x509.CertificatePolicyId.encode:(Lsun/security/util/DerOutputStream;)V
2: aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 9
3: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 4: aload 0
getfield sun.security.x509.PolicyInformation.policyQualifiers:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: sun.security.x509.PolicyInformation sun.security.util.DerOutputStream sun.security.util.DerOutputStream sun.security.util.DerOutputStream top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.PolicyQualifierInfo
astore 4
start local 4 6: aload 3
aload 4
invokevirtual java.security.cert.PolicyQualifierInfo.getEncoded:()[B
invokevirtual sun.security.util.DerOutputStream.write:([B)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 2
bipush 48
aload 3
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 3 9: StackMap locals: sun.security.x509.PolicyInformation sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/x509/PolicyInformation;
0 11 1 out Lsun/security/util/DerOutputStream;
1 11 2 tmp Lsun/security/util/DerOutputStream;
4 9 3 tmp2 Lsun/security/util/DerOutputStream;
6 7 4 pq Ljava/security/cert/PolicyQualifierInfo;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
}
SourceFile: "PolicyInformation.java"