public final class org.jcp.xml.dsig.internal.dom.DOMPGPData extends org.jcp.xml.dsig.internal.dom.DOMStructure implements javax.xml.crypto.dsig.keyinfo.PGPData
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMPGPData
super_class: org.jcp.xml.dsig.internal.dom.DOMStructure
{
private final byte[] keyId;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] keyPacket;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List externalElements;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(byte[], java.util.List);
descriptor: ([BLjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "keyPacket cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[] java.util.List
StackMap stack:
aload 2
ifnull 4
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
4: StackMap locals:
StackMap stack:
aload 0
getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
5: goto 17
6: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 2
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 3
start local 3 7: iconst_0
istore 4
start local 4 8: aload 3
invokeinterface java.util.List.size:()I
istore 5
start local 5 9: goto 15
10: StackMap locals: java.util.List int int
StackMap stack:
aload 3
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
instanceof javax.xml.crypto.XMLStructure
ifne 14
11: new java.lang.ClassCastException
dup
12: new java.lang.StringBuilder
dup
ldc "other["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] is not a valid PGPData type"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 10
end local 5 end local 4 16: aload 0
aload 3
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
end local 3 17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
18: aload 0
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMPGPData.checkKeyPacket:([B)V
19: aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
20: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 21 1 keyPacket [B
0 21 2 other Ljava/util/List;
7 17 3 otherCopy Ljava/util/List;
8 16 4 i I
9 16 5 size I
MethodParameters:
Name Flags
keyPacket
other
public void <init>(byte[], byte[], java.util.List);
descriptor: ([B[BLjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "keyId cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[] byte[] java.util.List
StackMap stack:
aload 1
arraylength
bipush 8
if_icmpeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "keyId must be 8 bytes long"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnull 6
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 8
6: StackMap locals:
StackMap stack:
aload 0
getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
7: goto 19
8: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 3
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 9: iconst_0
istore 5
start local 5 10: aload 4
invokeinterface java.util.List.size:()I
istore 6
start local 6 11: goto 17
12: StackMap locals: java.util.List int int
StackMap stack:
aload 4
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
instanceof javax.xml.crypto.XMLStructure
ifne 16
13: new java.lang.ClassCastException
dup
14: new java.lang.StringBuilder
dup
ldc "other["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] is not a valid PGPData type"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 6
if_icmplt 12
end local 6 end local 5 18: aload 0
aload 4
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
end local 4 19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
20: aload 0
aload 2
ifnonnull 21
aconst_null
goto 22
StackMap locals:
StackMap stack: org.jcp.xml.dsig.internal.dom.DOMPGPData
21: aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[] byte[] java.util.List
StackMap stack: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[]
22: putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
23: aload 2
ifnull 25
24: aload 0
aload 2
invokevirtual org.jcp.xml.dsig.internal.dom.DOMPGPData.checkKeyPacket:([B)V
25: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 26 1 keyId [B
0 26 2 keyPacket [B
0 26 3 other Ljava/util/List;
9 19 4 otherCopy Ljava/util/List;
10 18 5 i I
11 18 6 size I
MethodParameters:
Name Flags
keyId
keyPacket
other
public void <init>(Element);
descriptor: (LElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tThe type DOMPGPData must implement the inherited abstract method DOMStructure.marshal(Node, String, DOMCryptoContext)\n\tElement cannot be resolved to a type\n\tNodeList cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a variable\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tThe method getNode() from the type DOMStructure refers to the missing type Node\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
pdElem
public byte[] getKeyId();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
StackMap locals:
StackMap stack: byte[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
public byte[] getKeyPacket();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
StackMap locals:
StackMap stack: byte[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
public java.util.List getExternalElements();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
public void marshal(Node, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (LNode;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tThe method getNode() from the type DOMStructure refers to the missing type Node\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
dsPrefix
context
private void checkKeyPacket(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_3
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "keypacket must be at least 3 bytes long"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
baload
istore 2
start local 2 3: iload 2
sipush 128
iand
sipush 128
if_icmpeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "keypacket tag is invalid: bit 7 is not set"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 2
bipush 64
iand
bipush 64
if_icmpeq 7
6: new java.lang.IllegalArgumentException
dup
ldc "old keypacket tag format is unsupported"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 2
bipush 6
iand
bipush 6
if_icmpeq 10
iload 2
bipush 14
iand
bipush 14
if_icmpeq 10
8: iload 2
iconst_5
iand
iconst_5
if_icmpeq 10
iload 2
bipush 7
iand
bipush 7
if_icmpeq 10
9: new java.lang.IllegalArgumentException
dup
ldc "keypacket tag is invalid: must be 6, 14, 5, or 7"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 11 1 keyPacket [B
3 11 2 tag I
MethodParameters:
Name Flags
keyPacket
public void marshal(Node, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (LNode;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
flags: (0x1001) ACC_PUBLIC, ACC_SYNTHETIC
Code:
stack=3, locals=4, args_size=4
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe type DOMPGPData must implement the inherited abstract method DOMStructure.marshal(Node, String, DOMCryptoContext)\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
}
SourceFile: "DOMPGPData.java"