public class sun.security.x509.NameConstraintsExtension extends sun.security.x509.Extension implements sun.security.x509.CertAttrSet<java.lang.String>, java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.NameConstraintsExtension
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.NameConstraints"
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "NameConstraints"
public static final java.lang.String PERMITTED_SUBTREES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "permitted_subtrees"
public static final java.lang.String EXCLUDED_SUBTREES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "excluded_subtrees"
private static final byte TAG_PERMITTED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final byte TAG_EXCLUDED;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private sun.security.x509.GeneralSubtrees permitted;
descriptor: Lsun/security/x509/GeneralSubtrees;
flags: (0x0002) ACC_PRIVATE
private sun.security.x509.GeneralSubtrees excluded;
descriptor: Lsun/security/x509/GeneralSubtrees;
flags: (0x0002) ACC_PRIVATE
private boolean hasMin;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasMax;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean minMaxValid;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private void calcMinMax();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.security.x509.NameConstraintsExtension.hasMin:Z
1: aload 0
iconst_0
putfield sun.security.x509.NameConstraintsExtension.hasMax:Z
2: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnull 12
3: iconst_0
istore 1
start local 1 4: goto 11
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
iload 1
invokevirtual sun.security.x509.GeneralSubtrees.get:(I)Lsun/security/x509/GeneralSubtree;
astore 2
start local 2 6: aload 2
invokevirtual sun.security.x509.GeneralSubtree.getMinimum:()I
ifeq 8
7: aload 0
iconst_1
putfield sun.security.x509.NameConstraintsExtension.hasMin:Z
8: StackMap locals: sun.security.x509.GeneralSubtree
StackMap stack:
aload 2
invokevirtual sun.security.x509.GeneralSubtree.getMaximum:()I
iconst_m1
if_icmpeq 10
9: aload 0
iconst_1
putfield sun.security.x509.NameConstraintsExtension.hasMax:Z
end local 2 10: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
11: iload 1
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.size:()I
if_icmplt 5
end local 1 12: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnull 22
13: iconst_0
istore 1
start local 1 14: goto 21
15: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
iload 1
invokevirtual sun.security.x509.GeneralSubtrees.get:(I)Lsun/security/x509/GeneralSubtree;
astore 2
start local 2 16: aload 2
invokevirtual sun.security.x509.GeneralSubtree.getMinimum:()I
ifeq 18
17: aload 0
iconst_1
putfield sun.security.x509.NameConstraintsExtension.hasMin:Z
18: StackMap locals: sun.security.x509.GeneralSubtree
StackMap stack:
aload 2
invokevirtual sun.security.x509.GeneralSubtree.getMaximum:()I
iconst_m1
if_icmpeq 20
19: aload 0
iconst_1
putfield sun.security.x509.NameConstraintsExtension.hasMax:Z
end local 2 20: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
21: iload 1
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.size:()I
if_icmplt 15
end local 1 22: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.x509.NameConstraintsExtension.minMaxValid:Z
23: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/x509/NameConstraintsExtension;
4 12 1 i I
6 10 2 subtree Lsun/security/x509/GeneralSubtree;
14 22 1 i I
16 20 2 subtree Lsun/security/x509/GeneralSubtree;
Exceptions:
throws java.io.IOException
private void encodeThis();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.security.x509.NameConstraintsExtension.minMaxValid:Z
1: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnonnull 4
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnonnull 4
2: aload 0
aconst_null
putfield sun.security.x509.NameConstraintsExtension.extensionValue:[B
3: return
4: StackMap locals:
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 5: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 6: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnull 14
7: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 8: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
aload 3
invokevirtual sun.security.x509.GeneralSubtrees.encode:(Lsun/security/util/DerOutputStream;)V
9: aload 2
bipush -128
10: iconst_1
iconst_0
11: invokestatic sun.security.util.DerValue.createTag:(BZB)B
12: aload 3
13: invokevirtual sun.security.util.DerOutputStream.writeImplicit:(BLsun/security/util/DerOutputStream;)V
end local 3 14: StackMap locals: sun.security.util.DerOutputStream sun.security.util.DerOutputStream
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnull 22
15: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 16: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
aload 3
invokevirtual sun.security.x509.GeneralSubtrees.encode:(Lsun/security/util/DerOutputStream;)V
17: aload 2
bipush -128
18: iconst_1
iconst_1
19: invokestatic sun.security.util.DerValue.createTag:(BZB)B
20: aload 3
21: invokevirtual sun.security.util.DerOutputStream.writeImplicit:(BLsun/security/util/DerOutputStream;)V
end local 3 22: StackMap locals:
StackMap stack:
aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
23: aload 0
aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield sun.security.x509.NameConstraintsExtension.extensionValue:[B
24: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/x509/NameConstraintsExtension;
5 25 1 seq Lsun/security/util/DerOutputStream;
6 25 2 tagged Lsun/security/util/DerOutputStream;
8 14 3 tmp Lsun/security/util/DerOutputStream;
16 22 3 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
public void <init>(sun.security.x509.GeneralSubtrees, sun.security.x509.GeneralSubtrees);
descriptor: (Lsun/security/x509/GeneralSubtrees;Lsun/security/x509/GeneralSubtrees;)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
aconst_null
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
2: aload 0
aconst_null
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
3: aload 0
iconst_0
putfield sun.security.x509.NameConstraintsExtension.minMaxValid:Z
4: aload 0
aload 1
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
5: aload 0
aload 2
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
6: aload 0
getstatic sun.security.x509.PKIXExtensions.NameConstraints_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.NameConstraintsExtension.extensionId:Lsun/security/util/ObjectIdentifier;
7: aload 0
iconst_1
putfield sun.security.x509.NameConstraintsExtension.critical:Z
8: aload 0
invokevirtual sun.security.x509.NameConstraintsExtension.encodeThis:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/NameConstraintsExtension;
0 10 1 permitted Lsun/security/x509/GeneralSubtrees;
0 10 2 excluded Lsun/security/x509/GeneralSubtrees;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
permitted
excluded
public void <init>(java.lang.Boolean, java.lang.Object);
descriptor: (Ljava/lang/Boolean;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, 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
aconst_null
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
2: aload 0
aconst_null
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
3: aload 0
iconst_0
putfield sun.security.x509.NameConstraintsExtension.minMaxValid:Z
4: aload 0
getstatic sun.security.x509.PKIXExtensions.NameConstraints_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.NameConstraintsExtension.extensionId:Lsun/security/util/ObjectIdentifier;
5: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.NameConstraintsExtension.critical:Z
6: aload 0
aload 2
checkcast byte[]
putfield sun.security.x509.NameConstraintsExtension.extensionValue:[B
7: new sun.security.util.DerValue
dup
aload 0
getfield sun.security.x509.NameConstraintsExtension.extensionValue:[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 3
start local 3 8: aload 3
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 10
9: new java.io.IOException
dup
ldc "Invalid encoding for NameConstraintsExtension."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: sun.security.x509.NameConstraintsExtension java.lang.Boolean java.lang.Object sun.security.util.DerValue
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
ifnonnull 27
11: return
12: 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 13: aload 4
iconst_0
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 19
aload 4
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifeq 19
14: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnull 16
15: new java.io.IOException
dup
ldc "Duplicate permitted GeneralSubtrees in NameConstraintsExtension."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 4
bipush 48
invokevirtual sun.security.util.DerValue.resetTag:(B)V
17: aload 0
new sun.security.x509.GeneralSubtrees
dup
aload 4
invokespecial sun.security.x509.GeneralSubtrees.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
18: goto 27
StackMap locals:
StackMap stack:
19: aload 4
iconst_1
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 26
20: aload 4
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifeq 26
21: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnull 23
22: new java.io.IOException
dup
ldc "Duplicate excluded GeneralSubtrees in NameConstraintsExtension."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 4
bipush 48
invokevirtual sun.security.util.DerValue.resetTag:(B)V
24: aload 0
new sun.security.x509.GeneralSubtrees
dup
aload 4
invokespecial sun.security.x509.GeneralSubtrees.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
25: goto 27
26: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoding of NameConstraintsExtension."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 4 27: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifne 12
28: aload 0
iconst_0
putfield sun.security.x509.NameConstraintsExtension.minMaxValid:Z
29: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/security/x509/NameConstraintsExtension;
0 30 1 critical Ljava/lang/Boolean;
0 30 2 value Ljava/lang/Object;
8 30 3 val Lsun/security/util/DerValue;
13 27 4 opt 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=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial sun.security.x509.Extension.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "NameConstraints: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnonnull 2
ldc ""
goto 3
2: StackMap locals:
StackMap stack: java.lang.StringBuilder
new java.lang.StringBuilder
dup
ldc "\n Permitted:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: StackMap locals: sun.security.x509.NameConstraintsExtension
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnonnull 5
ldc ""
goto 6
5: StackMap locals:
StackMap stack: java.lang.StringBuilder
new java.lang.StringBuilder
dup
ldc "\n Excluded:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: StackMap locals: sun.security.x509.NameConstraintsExtension
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc " ]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/x509/NameConstraintsExtension;
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.NameConstraintsExtension.extensionValue:[B
ifnonnull 5
2: aload 0
getstatic sun.security.x509.PKIXExtensions.NameConstraints_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.NameConstraintsExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_1
putfield sun.security.x509.NameConstraintsExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.NameConstraintsExtension.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/NameConstraintsExtension;
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "permitted_subtrees"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
1: aload 2
instanceof sun.security.x509.GeneralSubtrees
ifne 3
2: new java.io.IOException
dup
ldc "Attribute value should be of type GeneralSubtrees."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast sun.security.x509.GeneralSubtrees
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
4: goto 11
StackMap locals:
StackMap stack:
5: aload 1
ldc "excluded_subtrees"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
6: aload 2
instanceof sun.security.x509.GeneralSubtrees
ifne 8
7: new java.io.IOException
dup
ldc "Attribute value should be of type GeneralSubtrees."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast sun.security.x509.GeneralSubtrees
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
9: goto 11
10: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:NameConstraintsExtension."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.NameConstraintsExtension.encodeThis:()V
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/x509/NameConstraintsExtension;
0 13 1 name Ljava/lang/String;
0 13 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public sun.security.x509.GeneralSubtrees get(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/x509/GeneralSubtrees;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "permitted_subtrees"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "excluded_subtrees"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
areturn
4: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:NameConstraintsExtension."
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/NameConstraintsExtension;
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 "permitted_subtrees"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aconst_null
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
2: goto 7
StackMap locals:
StackMap stack:
3: aload 1
ldc "excluded_subtrees"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
aconst_null
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
5: goto 7
6: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:NameConstraintsExtension."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.NameConstraintsExtension.encodeThis:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/x509/NameConstraintsExtension;
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 "permitted_subtrees"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
2: aload 1
ldc "excluded_subtrees"
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/NameConstraintsExtension;
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 "NameConstraints"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/NameConstraintsExtension;
public void merge(sun.security.x509.NameConstraintsExtension);
descriptor: (Lsun/security/x509/NameConstraintsExtension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
ldc "excluded_subtrees"
invokevirtual sun.security.x509.NameConstraintsExtension.get:(Ljava/lang/String;)Lsun/security/x509/GeneralSubtrees;
astore 2
start local 2 3: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnonnull 9
4: aload 0
aload 2
ifnull 6
5: aload 2
invokevirtual sun.security.x509.GeneralSubtrees.clone:()Ljava/lang/Object;
checkcast sun.security.x509.GeneralSubtrees
goto 7
StackMap locals: sun.security.x509.NameConstraintsExtension sun.security.x509.NameConstraintsExtension sun.security.x509.GeneralSubtrees
StackMap stack: sun.security.x509.NameConstraintsExtension
6: aconst_null
7: StackMap locals: sun.security.x509.NameConstraintsExtension sun.security.x509.NameConstraintsExtension sun.security.x509.GeneralSubtrees
StackMap stack: sun.security.x509.NameConstraintsExtension sun.security.x509.GeneralSubtrees
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
8: goto 11
9: StackMap locals:
StackMap stack:
aload 2
ifnull 11
10: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
aload 2
invokevirtual sun.security.x509.GeneralSubtrees.union:(Lsun/security/x509/GeneralSubtrees;)V
11: StackMap locals:
StackMap stack:
aload 1
ldc "permitted_subtrees"
invokevirtual sun.security.x509.NameConstraintsExtension.get:(Ljava/lang/String;)Lsun/security/x509/GeneralSubtrees;
astore 3
start local 3 12: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnonnull 18
13: aload 0
aload 3
ifnull 15
14: aload 3
invokevirtual sun.security.x509.GeneralSubtrees.clone:()Ljava/lang/Object;
checkcast sun.security.x509.GeneralSubtrees
goto 16
StackMap locals: sun.security.x509.NameConstraintsExtension sun.security.x509.NameConstraintsExtension sun.security.x509.GeneralSubtrees sun.security.x509.GeneralSubtrees
StackMap stack: sun.security.x509.NameConstraintsExtension
15: aconst_null
16: StackMap locals: sun.security.x509.NameConstraintsExtension sun.security.x509.NameConstraintsExtension sun.security.x509.GeneralSubtrees sun.security.x509.GeneralSubtrees
StackMap stack: sun.security.x509.NameConstraintsExtension sun.security.x509.GeneralSubtrees
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
17: goto 25
18: StackMap locals:
StackMap stack:
aload 3
ifnull 25
19: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
aload 3
invokevirtual sun.security.x509.GeneralSubtrees.intersect:(Lsun/security/x509/GeneralSubtrees;)Lsun/security/x509/GeneralSubtrees;
astore 2
20: aload 2
ifnull 25
21: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnull 24
22: aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
aload 2
invokevirtual sun.security.x509.GeneralSubtrees.union:(Lsun/security/x509/GeneralSubtrees;)V
23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.security.x509.GeneralSubtrees.clone:()Ljava/lang/Object;
checkcast sun.security.x509.GeneralSubtrees
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
25: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnull 27
26: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.reduce:(Lsun/security/x509/GeneralSubtrees;)V
27: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.NameConstraintsExtension.encodeThis:()V
28: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/security/x509/NameConstraintsExtension;
0 29 1 newConstraints Lsun/security/x509/NameConstraintsExtension;
3 29 2 newExcluded Lsun/security/x509/GeneralSubtrees;
12 29 3 newPermitted Lsun/security/x509/GeneralSubtrees;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
newConstraints
public boolean verify(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.io.IOException
dup
ldc "Certificate is null"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.minMaxValid:Z
ifne 4
3: aload 0
invokevirtual sun.security.x509.NameConstraintsExtension.calcMinMax:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.hasMin:Z
ifeq 6
5: new java.io.IOException
dup
ldc "Non-zero minimum BaseDistance in name constraints not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.hasMax:Z
ifeq 8
7: new java.io.IOException
dup
ldc "Maximum BaseDistance in name constraints not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 2
start local 2 9: aload 2
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
astore 3
start local 3 10: aload 3
invokevirtual sun.security.x509.X500Name.isEmpty:()Z
ifne 13
11: aload 0
aload 3
invokevirtual sun.security.x509.NameConstraintsExtension.verify:(Lsun/security/x509/GeneralNameInterface;)Z
ifne 13
12: iconst_0
ireturn
13: StackMap locals: javax.security.auth.x500.X500Principal sun.security.x509.X500Name
StackMap stack:
aconst_null
astore 4
start local 4 14: aload 1
invokestatic sun.security.x509.X509CertImpl.toImpl:(Ljava/security/cert/X509Certificate;)Lsun/security/x509/X509CertImpl;
astore 5
start local 5 15: aload 5
invokevirtual sun.security.x509.X509CertImpl.getSubjectAlternativeNameExtension:()Lsun/security/x509/SubjectAlternativeNameExtension;
16: astore 6
start local 6 17: aload 6
ifnull 26
18: aload 6
19: ldc "subject_name"
20: invokevirtual sun.security.x509.SubjectAlternativeNameExtension.get:(Ljava/lang/String;)Lsun/security/x509/GeneralNames;
astore 4
end local 6 end local 5 21: goto 26
StackMap locals: sun.security.x509.NameConstraintsExtension java.security.cert.X509Certificate javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.GeneralNames
StackMap stack: java.security.cert.CertificateException
22: astore 5
start local 5 23: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to extract extensions from certificate: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: aload 5
invokevirtual java.security.cert.CertificateException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 5 26: StackMap locals:
StackMap stack:
aload 4
ifnonnull 40
27: new sun.security.x509.GeneralNames
dup
invokespecial sun.security.x509.GeneralNames.<init>:()V
astore 4
28: aload 3
invokevirtual sun.security.x509.X500Name.allAvas:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 39
StackMap locals: sun.security.x509.NameConstraintsExtension java.security.cert.X509Certificate javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.GeneralNames top java.util.Iterator
StackMap stack:
29: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.x509.AVA
astore 5
start local 5 30: aload 5
invokevirtual sun.security.x509.AVA.getObjectIdentifier:()Lsun/security/util/ObjectIdentifier;
astore 7
start local 7 31: aload 7
getstatic sun.security.pkcs.PKCS9Attribute.EMAIL_ADDRESS_OID:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Lsun/security/util/ObjectIdentifier;)Z
ifeq 39
32: aload 5
invokevirtual sun.security.x509.AVA.getValueString:()Ljava/lang/String;
astore 8
start local 8 33: aload 8
ifnull 39
34: aload 4
new sun.security.x509.GeneralName
dup
35: new sun.security.x509.RFC822Name
dup
aload 8
invokespecial sun.security.x509.RFC822Name.<init>:(Ljava/lang/String;)V
invokespecial sun.security.x509.GeneralName.<init>:(Lsun/security/x509/GeneralNameInterface;)V
36: invokevirtual sun.security.x509.GeneralNames.add:(Lsun/security/x509/GeneralName;)Lsun/security/x509/GeneralNames;
pop
37: goto 39
StackMap locals: sun.security.x509.NameConstraintsExtension java.security.cert.X509Certificate javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.GeneralNames sun.security.x509.AVA java.util.Iterator sun.security.util.ObjectIdentifier java.lang.String
StackMap stack: java.io.IOException
38: pop
end local 8 end local 7 end local 5 39: StackMap locals: sun.security.x509.NameConstraintsExtension java.security.cert.X509Certificate javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.GeneralNames top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
40: StackMap locals: sun.security.x509.NameConstraintsExtension java.security.cert.X509Certificate javax.security.auth.x500.X500Principal sun.security.x509.X500Name sun.security.x509.GeneralNames
StackMap stack:
aload 3
41: getstatic sun.security.x509.X500Name.commonName_oid:Lsun/security/util/ObjectIdentifier;
42: invokevirtual sun.security.x509.X500Name.findMostSpecificAttribute:(Lsun/security/util/ObjectIdentifier;)Lsun/security/util/DerValue;
astore 5
start local 5 43: aload 5
ifnonnull 44
aconst_null
goto 45
StackMap locals: sun.security.util.DerValue
StackMap stack:
44: aload 5
invokevirtual sun.security.util.DerValue.getAsString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
45: astore 6
start local 6 46: aload 6
ifnull 56
47: aload 6
invokestatic sun.net.util.IPAddressUtil.isIPv4LiteralAddress:(Ljava/lang/String;)Z
ifne 49
48: aload 6
invokestatic sun.net.util.IPAddressUtil.isIPv6LiteralAddress:(Ljava/lang/String;)Z
ifeq 52
49: StackMap locals: java.lang.String
StackMap stack:
aload 4
bipush 7
invokestatic sun.security.x509.NameConstraintsExtension.hasNameType:(Lsun/security/x509/GeneralNames;I)Z
ifne 56
50: aload 4
new sun.security.x509.GeneralName
dup
new sun.security.x509.IPAddressName
dup
aload 6
invokespecial sun.security.x509.IPAddressName.<init>:(Ljava/lang/String;)V
invokespecial sun.security.x509.GeneralName.<init>:(Lsun/security/x509/GeneralNameInterface;)V
invokevirtual sun.security.x509.GeneralNames.add:(Lsun/security/x509/GeneralName;)Lsun/security/x509/GeneralNames;
pop
51: goto 56
52: StackMap locals:
StackMap stack:
aload 4
iconst_2
invokestatic sun.security.x509.NameConstraintsExtension.hasNameType:(Lsun/security/x509/GeneralNames;I)Z
ifne 56
53: aload 4
new sun.security.x509.GeneralName
dup
new sun.security.x509.DNSName
dup
aload 6
invokespecial sun.security.x509.DNSName.<init>:(Ljava/lang/String;)V
invokespecial sun.security.x509.GeneralName.<init>:(Lsun/security/x509/GeneralNameInterface;)V
invokevirtual sun.security.x509.GeneralNames.add:(Lsun/security/x509/GeneralName;)Lsun/security/x509/GeneralNames;
pop
54: goto 56
StackMap locals:
StackMap stack: java.io.IOException
55: pop
56: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 57: goto 62
58: StackMap locals: int
StackMap stack:
aload 4
iload 7
invokevirtual sun.security.x509.GeneralNames.get:(I)Lsun/security/x509/GeneralName;
invokevirtual sun.security.x509.GeneralName.getName:()Lsun/security/x509/GeneralNameInterface;
astore 8
start local 8 59: aload 0
aload 8
invokevirtual sun.security.x509.NameConstraintsExtension.verify:(Lsun/security/x509/GeneralNameInterface;)Z
ifne 61
60: iconst_0
ireturn
end local 8 61: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
62: iload 7
aload 4
invokevirtual sun.security.x509.GeneralNames.size:()I
if_icmplt 58
end local 7 63: iconst_1
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 64 0 this Lsun/security/x509/NameConstraintsExtension;
0 64 1 cert Ljava/security/cert/X509Certificate;
9 64 2 subjectPrincipal Ljavax/security/auth/x500/X500Principal;
10 64 3 subject Lsun/security/x509/X500Name;
14 64 4 altNames Lsun/security/x509/GeneralNames;
15 21 5 certImpl Lsun/security/x509/X509CertImpl;
17 21 6 altNameExt Lsun/security/x509/SubjectAlternativeNameExtension;
23 26 5 ce Ljava/security/cert/CertificateException;
30 39 5 ava Lsun/security/x509/AVA;
31 39 7 attrOID Lsun/security/util/ObjectIdentifier;
33 39 8 attrValue Ljava/lang/String;
43 64 5 derValue Lsun/security/util/DerValue;
46 64 6 cn Ljava/lang/String;
57 63 7 i I
59 61 8 altGNI Lsun/security/x509/GeneralNameInterface;
Exception table:
from to target type
14 21 22 Class java.security.cert.CertificateException
34 37 38 Class java.io.IOException
47 54 55 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cert
private static boolean hasNameType(sun.security.x509.GeneralNames, int);
descriptor: (Lsun/security/x509/GeneralNames;I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.x509.GeneralNames.names:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: sun.security.x509.GeneralNames int top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.x509.GeneralName
astore 2
start local 2 2: aload 2
invokevirtual sun.security.x509.GeneralName.getType:()I
iload 1
if_icmpne 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 names Lsun/security/x509/GeneralNames;
0 6 1 type I
2 4 2 name Lsun/security/x509/GeneralName;
MethodParameters:
Name Flags
names
type
public boolean verify(sun.security.x509.GeneralNameInterface);
descriptor: (Lsun/security/x509/GeneralNameInterface;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.io.IOException
dup
ldc "name is null"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnull 19
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.size:()I
ifle 19
3: iconst_0
istore 2
start local 2 4: goto 18
5: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
iload 2
invokevirtual sun.security.x509.GeneralSubtrees.get:(I)Lsun/security/x509/GeneralSubtree;
astore 3
start local 3 6: aload 3
ifnonnull 8
7: goto 17
8: StackMap locals: sun.security.x509.GeneralSubtree
StackMap stack:
aload 3
invokevirtual sun.security.x509.GeneralSubtree.getName:()Lsun/security/x509/GeneralName;
astore 4
start local 4 9: aload 4
ifnonnull 11
10: goto 17
11: StackMap locals: sun.security.x509.GeneralName
StackMap stack:
aload 4
invokevirtual sun.security.x509.GeneralName.getName:()Lsun/security/x509/GeneralNameInterface;
astore 5
start local 5 12: aload 5
ifnonnull 14
13: goto 17
14: StackMap locals: sun.security.x509.GeneralNameInterface
StackMap stack:
aload 5
aload 1
invokeinterface sun.security.x509.GeneralNameInterface.constrains:(Lsun/security/x509/GeneralNameInterface;)I
tableswitch { // -1 - 3
-1: 15
0: 16
1: 16
2: 15
3: 15
default: 17
}
15: StackMap locals:
StackMap stack:
goto 17
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 5 end local 4 end local 3 17: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
18: iload 2
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.size:()I
if_icmplt 5
end local 2 19: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnull 41
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.size:()I
ifle 41
20: iconst_0
istore 2
start local 2 21: iconst_0
istore 3
start local 3 22: goto 38
23: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
iload 3
invokevirtual sun.security.x509.GeneralSubtrees.get:(I)Lsun/security/x509/GeneralSubtree;
astore 4
start local 4 24: aload 4
ifnonnull 26
25: goto 37
26: StackMap locals: sun.security.x509.GeneralSubtree
StackMap stack:
aload 4
invokevirtual sun.security.x509.GeneralSubtree.getName:()Lsun/security/x509/GeneralName;
astore 5
start local 5 27: aload 5
ifnonnull 29
28: goto 37
29: StackMap locals: sun.security.x509.GeneralName
StackMap stack:
aload 5
invokevirtual sun.security.x509.GeneralName.getName:()Lsun/security/x509/GeneralNameInterface;
astore 6
start local 6 30: aload 6
ifnonnull 32
31: goto 37
32: StackMap locals: sun.security.x509.GeneralNameInterface
StackMap stack:
aload 6
aload 1
invokeinterface sun.security.x509.GeneralNameInterface.constrains:(Lsun/security/x509/GeneralNameInterface;)I
tableswitch { // -1 - 3
-1: 33
0: 36
1: 36
2: 34
3: 34
default: 37
}
33: StackMap locals:
StackMap stack:
goto 37
34: StackMap locals:
StackMap stack:
iconst_1
istore 2
35: goto 37
36: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 6 end local 5 end local 4 37: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
38: iload 3
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.size:()I
if_icmplt 23
end local 3 39: iload 2
ifeq 41
40: iconst_0
ireturn
end local 2 41: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/security/x509/NameConstraintsExtension;
0 42 1 name Lsun/security/x509/GeneralNameInterface;
4 19 2 i I
6 17 3 gs Lsun/security/x509/GeneralSubtree;
9 17 4 gn Lsun/security/x509/GeneralName;
12 17 5 exName Lsun/security/x509/GeneralNameInterface;
21 41 2 sameType Z
22 39 3 i I
24 37 4 gs Lsun/security/x509/GeneralSubtree;
27 37 5 gn Lsun/security/x509/GeneralName;
30 37 6 perName Lsun/security/x509/GeneralNameInterface;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast sun.security.x509.NameConstraintsExtension
1: astore 1
start local 1 2: aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
ifnull 4
3: aload 1
aload 0
getfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.clone:()Ljava/lang/Object;
checkcast sun.security.x509.GeneralSubtrees
putfield sun.security.x509.NameConstraintsExtension.permitted:Lsun/security/x509/GeneralSubtrees;
4: StackMap locals: sun.security.x509.NameConstraintsExtension
StackMap stack:
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
ifnull 6
5: aload 1
aload 0
getfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
invokevirtual sun.security.x509.GeneralSubtrees.clone:()Ljava/lang/Object;
checkcast sun.security.x509.GeneralSubtrees
putfield sun.security.x509.NameConstraintsExtension.excluded:Lsun/security/x509/GeneralSubtrees;
6: StackMap locals:
StackMap stack:
aload 1
7: areturn
end local 1 8: StackMap locals: sun.security.x509.NameConstraintsExtension
StackMap stack: java.lang.CloneNotSupportedException
pop
9: new java.lang.RuntimeException
dup
ldc "CloneNotSupportedException while cloning NameConstraintsException. This should never happen."
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/NameConstraintsExtension;
2 8 1 newNCE Lsun/security/x509/NameConstraintsExtension;
Exception table:
from to target type
0 7 8 Class java.lang.CloneNotSupportedException
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.NameConstraintsExtension.get:(Ljava/lang/String;)Lsun/security/x509/GeneralSubtrees;
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;>;Ljava/lang/Cloneable;
SourceFile: "NameConstraintsExtension.java"