public class sun.security.x509.SubjectAlternativeNameExtension 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.SubjectAlternativeNameExtension
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.SubjectAlternativeName"
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "SubjectAlternativeName"
public static final java.lang.String SUBJECT_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "subject_name"
sun.security.x509.GeneralNames names;
descriptor: Lsun/security/x509/GeneralNames;
flags: (0x0000)
private void encodeThis();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
ifnull 1
aload 0
getfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
invokevirtual sun.security.x509.GeneralNames.isEmpty:()Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.security.x509.SubjectAlternativeNameExtension.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: aload 0
getfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
aload 1
invokevirtual sun.security.x509.GeneralNames.encode:(Lsun/security/util/DerOutputStream;)V
5: aload 0
aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield sun.security.x509.SubjectAlternativeNameExtension.extensionValue:[B
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
4 7 1 os Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
public void <init>(sun.security.x509.GeneralNames);
descriptor: (Lsun/security/x509/GeneralNames;)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.SubjectAlternativeNameExtension.<init>:(Ljava/lang/Boolean;Lsun/security/x509/GeneralNames;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
0 2 1 names Lsun/security/x509/GeneralNames;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
names
public void <init>(java.lang.Boolean, sun.security.x509.GeneralNames);
descriptor: (Ljava/lang/Boolean;Lsun/security/x509/GeneralNames;)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.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
2: aload 0
aload 2
putfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
3: aload 0
getstatic sun.security.x509.PKIXExtensions.SubjectAlternativeName_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.SubjectAlternativeNameExtension.extensionId:Lsun/security/util/ObjectIdentifier;
4: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.SubjectAlternativeNameExtension.critical:Z
5: aload 0
invokevirtual sun.security.x509.SubjectAlternativeNameExtension.encodeThis:()V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
0 7 1 critical Ljava/lang/Boolean;
0 7 2 names Lsun/security/x509/GeneralNames;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
critical
names
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
aconst_null
putfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
2: aload 0
getstatic sun.security.x509.PKIXExtensions.SubjectAlternativeName_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.SubjectAlternativeNameExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_0
putfield sun.security.x509.SubjectAlternativeNameExtension.critical:Z
4: aload 0
new sun.security.x509.GeneralNames
dup
invokespecial sun.security.x509.GeneralNames.<init>:()V
putfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
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=4, 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.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
2: aload 0
getstatic sun.security.x509.PKIXExtensions.SubjectAlternativeName_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.SubjectAlternativeNameExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.SubjectAlternativeNameExtension.critical:Z
4: aload 0
aload 2
checkcast byte[]
putfield sun.security.x509.SubjectAlternativeNameExtension.extensionValue:[B
5: new sun.security.util.DerValue
dup
aload 0
getfield sun.security.x509.SubjectAlternativeNameExtension.extensionValue:[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 3
start local 3 6: aload 3
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
ifnonnull 9
7: aload 0
new sun.security.x509.GeneralNames
dup
invokespecial sun.security.x509.GeneralNames.<init>:()V
putfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
8: return
9: StackMap locals: sun.security.x509.SubjectAlternativeNameExtension java.lang.Boolean java.lang.Object sun.security.util.DerValue
StackMap stack:
aload 0
new sun.security.x509.GeneralNames
dup
aload 3
invokespecial sun.security.x509.GeneralNames.<init>:(Lsun/security/util/DerValue;)V
putfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
0 11 1 critical Ljava/lang/Boolean;
0 11 2 value Ljava/lang/Object;
6 11 3 val 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=3, locals=4, 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 "SubjectAlternativeName [\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
ifnonnull 4
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " null\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: goto 8
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
invokevirtual sun.security.x509.GeneralNames.names:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: sun.security.x509.SubjectAlternativeNameExtension java.lang.String top java.util.Iterator
StackMap stack:
5: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.x509.GeneralName
astore 2
start local 2 6: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
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;
astore 1
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: StackMap locals: sun.security.x509.SubjectAlternativeNameExtension java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
1 10 1 result Ljava/lang/String;
6 7 2 name Lsun/security/x509/GeneralName;
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.SubjectAlternativeNameExtension.extensionValue:[B
ifnonnull 5
2: aload 0
getstatic sun.security.x509.PKIXExtensions.SubjectAlternativeName_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.SubjectAlternativeNameExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_0
putfield sun.security.x509.SubjectAlternativeNameExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.SubjectAlternativeNameExtension.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/SubjectAlternativeNameExtension;
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 "subject_name"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
1: aload 2
instanceof sun.security.x509.GeneralNames
ifne 3
2: new java.io.IOException
dup
ldc "Attribute value should be of type GeneralNames."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast sun.security.x509.GeneralNames
putfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
4: goto 6
5: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:SubjectAlternativeName."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.SubjectAlternativeNameExtension.encodeThis:()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/SubjectAlternativeNameExtension;
0 8 1 name Ljava/lang/String;
0 8 2 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public sun.security.x509.GeneralNames get(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/x509/GeneralNames;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "subject_name"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
areturn
2: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:SubjectAlternativeName."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
0 3 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 "subject_name"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
aconst_null
putfield sun.security.x509.SubjectAlternativeNameExtension.names:Lsun/security/x509/GeneralNames;
2: goto 4
3: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:SubjectAlternativeName."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.SubjectAlternativeNameExtension.encodeThis:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
0 6 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 "subject_name"
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/SubjectAlternativeNameExtension;
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 "SubjectAlternativeName"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/SubjectAlternativeNameExtension;
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.SubjectAlternativeNameExtension.get:(Ljava/lang/String;)Lsun/security/x509/GeneralNames;
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: "SubjectAlternativeNameExtension.java"