public class sun.security.x509.CertificatePoliciesExtension extends sun.security.x509.Extension implements sun.security.x509.CertAttrSet<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.CertificatePoliciesExtension
super_class: sun.security.x509.Extension
{
public static final java.lang.String IDENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "x509.info.extensions.CertificatePolicies"
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "CertificatePolicies"
public static final java.lang.String POLICIES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "policies"
private java.util.List<sun.security.x509.PolicyInformation> certPolicies;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lsun/security/x509/PolicyInformation;>;
private void encodeThis();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
ifnull 1
aload 0
getfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.security.x509.CertificatePoliciesExtension.extensionValue:[B
2: goto 11
3: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 4: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 5: aload 0
getfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: sun.security.x509.CertificatePoliciesExtension sun.security.util.DerOutputStream sun.security.util.DerOutputStream top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.x509.PolicyInformation
astore 3
start local 3 7: aload 3
aload 2
invokevirtual sun.security.x509.PolicyInformation.encode:(Lsun/security/util/DerOutputStream;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
10: aload 0
aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield sun.security.x509.CertificatePoliciesExtension.extensionValue:[B
end local 2 end local 1 11: StackMap locals: sun.security.x509.CertificatePoliciesExtension
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/x509/CertificatePoliciesExtension;
4 11 1 os Lsun/security/util/DerOutputStream;
5 11 2 tmp Lsun/security/util/DerOutputStream;
7 8 3 info Lsun/security/x509/PolicyInformation;
Exceptions:
throws java.io.IOException
public void <init>(java.util.List<sun.security.x509.PolicyInformation>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
aload 1
invokespecial sun.security.x509.CertificatePoliciesExtension.<init>:(Ljava/lang/Boolean;Ljava/util/List;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/CertificatePoliciesExtension;
0 2 1 certPolicies Ljava/util/List<Lsun/security/x509/PolicyInformation;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lsun/security/x509/PolicyInformation;>;)V
MethodParameters:
Name Flags
certPolicies
public void <init>(java.lang.Boolean, java.util.List<sun.security.x509.PolicyInformation>);
descriptor: (Ljava/lang/Boolean;Ljava/util/List;)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 sun.security.x509.Extension.<init>:()V
1: aload 0
aload 2
putfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
2: aload 0
getstatic sun.security.x509.PKIXExtensions.CertificatePolicies_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.CertificatePoliciesExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.CertificatePoliciesExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.CertificatePoliciesExtension.encodeThis:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/CertificatePoliciesExtension;
0 6 1 critical Ljava/lang/Boolean;
0 6 2 certPolicies Ljava/util/List<Lsun/security/x509/PolicyInformation;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Boolean;Ljava/util/List<Lsun/security/x509/PolicyInformation;>;)V
MethodParameters:
Name Flags
critical
certPolicies
public void <init>(java.lang.Boolean, java.lang.Object);
descriptor: (Ljava/lang/Boolean;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
getstatic sun.security.x509.PKIXExtensions.CertificatePolicies_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.CertificatePoliciesExtension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.CertificatePoliciesExtension.critical:Z
3: aload 0
aload 2
checkcast byte[]
putfield sun.security.x509.CertificatePoliciesExtension.extensionValue:[B
4: new sun.security.util.DerValue
dup
aload 0
getfield sun.security.x509.CertificatePoliciesExtension.extensionValue:[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 3
start local 3 5: aload 3
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 7
6: new java.io.IOException
dup
ldc "Invalid encoding for CertificatePoliciesExtension."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: sun.security.x509.CertificatePoliciesExtension java.lang.Boolean java.lang.Object sun.security.util.DerValue
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
8: goto 12
9: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
start local 4 10: new sun.security.x509.PolicyInformation
dup
aload 4
invokespecial sun.security.x509.PolicyInformation.<init>:(Lsun/security/util/DerValue;)V
astore 5
start local 5 11: aload 0
getfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifne 9
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/x509/CertificatePoliciesExtension;
0 14 1 critical Ljava/lang/Boolean;
0 14 2 value Ljava/lang/Object;
5 14 3 val Lsun/security/util/DerValue;
10 12 4 seq Lsun/security/util/DerValue;
11 12 5 policy Lsun/security/x509/PolicyInformation;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
critical
value
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokespecial sun.security.x509.Extension.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
ldc "CertificatePolicies [\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: sun.security.x509.CertificatePoliciesExtension java.lang.StringBuilder top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.x509.PolicyInformation
astore 2
start local 2 6: aload 1
aload 2
invokevirtual sun.security.x509.PolicyInformation.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 1
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/CertificatePoliciesExtension;
3 10 1 sb Ljava/lang/StringBuilder;
6 7 2 info Lsun/security/x509/PolicyInformation;
public void encode(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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.CertificatePoliciesExtension.extensionValue:[B
ifnonnull 5
2: aload 0
getstatic sun.security.x509.PKIXExtensions.CertificatePolicies_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.CertificatePoliciesExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_0
putfield sun.security.x509.CertificatePoliciesExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.CertificatePoliciesExtension.encodeThis:()V
5: StackMap locals: sun.security.util.DerOutputStream
StackMap stack:
aload 0
aload 2
invokespecial sun.security.x509.Extension.encode:(Lsun/security/util/DerOutputStream;)V
6: aload 1
aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
invokevirtual java.io.OutputStream.write:([B)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/CertificatePoliciesExtension;
0 8 1 out Ljava/io/OutputStream;
1 8 2 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "policies"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
1: aload 2
instanceof java.util.List
ifne 3
2: new java.io.IOException
dup
ldc "Attribute value should be of type List."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast java.util.List
putfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
4: goto 9
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 "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "CertAttrSet:CertificatePoliciesExtension."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.CertificatePoliciesExtension.encodeThis:()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/CertificatePoliciesExtension;
0 11 1 name Ljava/lang/String;
0 11 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public java.util.List<sun.security.x509.PolicyInformation> get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "policies"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
areturn
2: 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;
3: ldc "] not recognized by "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "CertAttrSet:CertificatePoliciesExtension."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/CertificatePoliciesExtension;
0 6 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/List<Lsun/security/x509/PolicyInformation;>;
MethodParameters:
Name Flags
name
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 "policies"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aconst_null
putfield sun.security.x509.CertificatePoliciesExtension.certPolicies:Ljava/util/List;
2: goto 7
3: 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;
4: ldc "] not recognized by "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "CertAttrSet:CertificatePoliciesExtension."
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
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.CertificatePoliciesExtension.encodeThis:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/x509/CertificatePoliciesExtension;
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 "policies"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
2: 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 3 0 this Lsun/security/x509/CertificatePoliciesExtension;
1 3 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 "CertificatePolicies"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/CertificatePoliciesExtension;
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.security.x509.CertificatePoliciesExtension.get:(Ljava/lang/String;)Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.security.cert.CertificateException, java.io.IOException
}
Signature: Lsun/security/x509/Extension;Lsun/security/x509/CertAttrSet<Ljava/lang/String;>;
SourceFile: "CertificatePoliciesExtension.java"