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<javax.xml.crypto.XMLStructure> externalElements;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
public void <init>(byte[], java.util.List<? extends javax.xml.crypto.XMLStructure>);
descriptor: ([BLjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, 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
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
5: goto 18
6: StackMap locals:
StackMap stack:
aload 0
7: new java.util.ArrayList
dup
aload 2
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
8: putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
9: iconst_0
istore 3
start local 3 10: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 4
start local 4 11: goto 17
12: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
iload 3
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 3
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 3 1
StackMap locals:
StackMap stack:
17: iload 3
iload 4
if_icmplt 12
end local 4 end local 3 18: 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
19: aload 0
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMPGPData.checkKeyPacket:([B)V
20: aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
21: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 22 1 keyPacket [B
0 22 2 other Ljava/util/List<+Ljavax/xml/crypto/XMLStructure;>;
10 18 3 i I
11 18 4 size I
Signature: ([BLjava/util/List<+Ljavax/xml/crypto/XMLStructure;>;)V
MethodParameters:
Name Flags
keyPacket
other
public void <init>(byte[], byte[], java.util.List<? extends javax.xml.crypto.XMLStructure>);
descriptor: ([B[BLjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, 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
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
7: goto 20
8: StackMap locals:
StackMap stack:
aload 0
9: new java.util.ArrayList
dup
aload 3
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
10: putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
11: iconst_0
istore 4
start local 4 12: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 5
start local 5 13: goto 19
14: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
instanceof javax.xml.crypto.XMLStructure
ifne 18
15: new java.lang.ClassCastException
dup
16: 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;
17: invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
iload 5
if_icmplt 14
end local 5 end local 4 20: 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
21: aload 0
aload 2
ifnonnull 22
aconst_null
goto 23
22: StackMap locals:
StackMap stack: org.jcp.xml.dsig.internal.dom.DOMPGPData
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
23: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[] byte[] java.util.List
StackMap stack: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[]
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
24: aload 2
ifnull 26
25: aload 0
aload 2
invokevirtual org.jcp.xml.dsig.internal.dom.DOMPGPData.checkKeyPacket:([B)V
26: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 27 1 keyId [B
0 27 2 keyPacket [B
0 27 3 other Ljava/util/List<+Ljavax/xml/crypto/XMLStructure;>;
12 20 4 i I
13 20 5 size I
Signature: ([B[BLjava/util/List<+Ljavax/xml/crypto/XMLStructure;>;)V
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"