public class sun.security.x509.PolicyConstraintsExtension 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.PolicyConstraintsExtension
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.PolicyConstraints"
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "PolicyConstraints"
public static final java.lang.String REQUIRE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "require"
public static final java.lang.String INHIBIT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "inhibit"
private static final byte TAG_REQUIRE;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte TAG_INHIBIT;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private int require;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int inhibit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void encodeThis();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.PolicyConstraintsExtension.require:I
iconst_m1
if_icmpne 3
aload 0
getfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
iconst_m1
if_icmpne 3
1: aload 0
aconst_null
putfield sun.security.x509.PolicyConstraintsExtension.extensionValue:[B
2: return
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.PolicyConstraintsExtension.require:I
iconst_m1
if_icmpeq 13
6: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 7: aload 3
aload 0
getfield sun.security.x509.PolicyConstraintsExtension.require:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
8: aload 1
bipush -128
9: iconst_0
iconst_0
10: invokestatic sun.security.util.DerValue.createTag:(BZB)B
11: aload 3
12: invokevirtual sun.security.util.DerOutputStream.writeImplicit:(BLsun/security/util/DerOutputStream;)V
end local 3 13: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 0
getfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
iconst_m1
if_icmpeq 21
14: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 15: aload 3
aload 0
getfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
invokevirtual sun.security.util.DerOutputStream.putInteger:(I)V
16: aload 1
bipush -128
17: iconst_0
iconst_1
18: invokestatic sun.security.util.DerValue.createTag:(BZB)B
19: aload 3
20: invokevirtual sun.security.util.DerOutputStream.writeImplicit:(BLsun/security/util/DerOutputStream;)V
end local 3 21: StackMap locals:
StackMap stack:
aload 2
bipush 48
aload 1
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
22: aload 0
aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield sun.security.x509.PolicyConstraintsExtension.extensionValue:[B
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/x509/PolicyConstraintsExtension;
4 24 1 tagged Lsun/security/util/DerOutputStream;
5 24 2 seq Lsun/security/util/DerOutputStream;
7 13 3 tmp Lsun/security/util/DerOutputStream;
15 21 3 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
public void <init>(int, int);
descriptor: (II)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
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
iload 1
iload 2
invokespecial sun.security.x509.PolicyConstraintsExtension.<init>:(Ljava/lang/Boolean;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/PolicyConstraintsExtension;
0 2 1 require I
0 2 2 inhibit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
require
inhibit
public void <init>(java.lang.Boolean, int, int);
descriptor: (Ljava/lang/Boolean;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
iconst_m1
putfield sun.security.x509.PolicyConstraintsExtension.require:I
2: aload 0
iconst_m1
putfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
3: aload 0
iload 2
putfield sun.security.x509.PolicyConstraintsExtension.require:I
4: aload 0
iload 3
putfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
5: aload 0
getstatic sun.security.x509.PKIXExtensions.PolicyConstraints_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.PolicyConstraintsExtension.extensionId:Lsun/security/util/ObjectIdentifier;
6: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.PolicyConstraintsExtension.critical:Z
7: aload 0
invokevirtual sun.security.x509.PolicyConstraintsExtension.encodeThis:()V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/x509/PolicyConstraintsExtension;
0 9 1 critical Ljava/lang/Boolean;
0 9 2 require I
0 9 3 inhibit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
critical
require
inhibit
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
iconst_m1
putfield sun.security.x509.PolicyConstraintsExtension.require:I
2: aload 0
iconst_m1
putfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
3: aload 0
getstatic sun.security.x509.PKIXExtensions.PolicyConstraints_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.PolicyConstraintsExtension.extensionId:Lsun/security/util/ObjectIdentifier;
4: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.PolicyConstraintsExtension.critical:Z
5: aload 0
aload 2
checkcast byte[]
putfield sun.security.x509.PolicyConstraintsExtension.extensionValue:[B
6: new sun.security.util.DerValue
dup
aload 0
getfield sun.security.x509.PolicyConstraintsExtension.extensionValue:[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 3
start local 3 7: aload 3
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 9
8: new java.io.IOException
dup
ldc "Sequence tag missing for PolicyConstraint."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: sun.security.x509.PolicyConstraintsExtension java.lang.Boolean java.lang.Object sun.security.util.DerValue
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
astore 4
start local 4 10: goto 26
11: StackMap locals: sun.security.util.DerInputStream
StackMap stack:
aload 4
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 5
start local 5 12: aload 5
iconst_0
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 18
aload 5
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifne 18
13: aload 0
getfield sun.security.x509.PolicyConstraintsExtension.require:I
iconst_m1
if_icmpeq 15
14: new java.io.IOException
dup
ldc "Duplicate requireExplicitPolicyfound in the PolicyConstraintsExtension"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 5
iconst_2
invokevirtual sun.security.util.DerValue.resetTag:(B)V
16: aload 0
aload 5
invokevirtual sun.security.util.DerValue.getInteger:()I
putfield sun.security.x509.PolicyConstraintsExtension.require:I
17: goto 26
StackMap locals:
StackMap stack:
18: aload 5
iconst_1
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 25
19: aload 5
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifne 25
20: aload 0
getfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
iconst_m1
if_icmpeq 22
21: new java.io.IOException
dup
ldc "Duplicate inhibitPolicyMappingfound in the PolicyConstraintsExtension"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 5
iconst_2
invokevirtual sun.security.util.DerValue.resetTag:(B)V
23: aload 0
aload 5
invokevirtual sun.security.util.DerValue.getInteger:()I
putfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
24: goto 26
25: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of PolicyConstraint"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 5 26: StackMap locals:
StackMap stack:
aload 4
ifnull 27
aload 4
invokevirtual sun.security.util.DerInputStream.available:()I
ifne 11
27: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/x509/PolicyConstraintsExtension;
0 28 1 critical Ljava/lang/Boolean;
0 28 2 value Ljava/lang/Object;
7 28 3 val Lsun/security/util/DerValue;
10 28 4 in Lsun/security/util/DerInputStream;
12 26 5 next Lsun/security/util/DerValue;
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=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokespecial sun.security.x509.Extension.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "PolicyConstraints: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc " Require: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
getfield sun.security.x509.PolicyConstraintsExtension.require:I
iconst_m1
if_icmpne 7
5: aload 1
ldc "unspecified;"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 9
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
aload 0
getfield sun.security.x509.PolicyConstraintsExtension.require:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
8: bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
ldc "\tInhibit: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 0
getfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
iconst_m1
if_icmpne 13
11: aload 1
ldc "unspecified"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: goto 14
13: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
aload 1
ldc " ]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/x509/PolicyConstraintsExtension;
1 16 1 sb Ljava/lang/StringBuilder;
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.PolicyConstraintsExtension.extensionValue:[B
ifnonnull 5
2: aload 0
getstatic sun.security.x509.PKIXExtensions.PolicyConstraints_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.PolicyConstraintsExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_1
putfield sun.security.x509.PolicyConstraintsExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.PolicyConstraintsExtension.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/PolicyConstraintsExtension;
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 2
instanceof java.lang.Integer
ifne 2
1: new java.io.IOException
dup
ldc "Attribute value should be of type Integer."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "require"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
3: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield sun.security.x509.PolicyConstraintsExtension.require:I
4: goto 12
StackMap locals:
StackMap stack:
5: aload 1
ldc "inhibit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
6: aload 0
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
7: goto 12
8: 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;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc " not recognized by "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: ldc "CertAttrSet:PolicyConstraints."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.PolicyConstraintsExtension.encodeThis:()V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/x509/PolicyConstraintsExtension;
0 14 1 name Ljava/lang/String;
0 14 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public java.lang.Integer get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Integer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "require"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield sun.security.x509.PolicyConstraintsExtension.require:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "inhibit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
4: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:PolicyConstraints."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/PolicyConstraintsExtension;
0 5 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public void delete(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "require"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
iconst_m1
putfield sun.security.x509.PolicyConstraintsExtension.require:I
2: goto 7
StackMap locals:
StackMap stack:
3: aload 1
ldc "inhibit"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
iconst_m1
putfield sun.security.x509.PolicyConstraintsExtension.inhibit:I
5: goto 7
6: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:PolicyConstraints."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.PolicyConstraintsExtension.encodeThis:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/x509/PolicyConstraintsExtension;
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 "require"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
2: aload 1
ldc "inhibit"
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/PolicyConstraintsExtension;
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 "PolicyConstraints"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/PolicyConstraintsExtension;
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.PolicyConstraintsExtension.get:(Ljava/lang/String;)Ljava/lang/Integer;
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: "PolicyConstraintsExtension.java"