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>(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: aload 1
invokeinterface org.w3c.dom.Element.getFirstChild:()Lorg/w3c/dom/Node;
astore 5
start local 5 5: goto 22
6: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData org.w3c.dom.Element byte[] byte[] java.util.List org.w3c.dom.Node
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 21
7: aload 5
checkcast org.w3c.dom.Element
astore 6
start local 6 8: aload 6
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
astore 7
start local 7 9: aload 6
invokeinterface org.w3c.dom.Element.getNamespaceURI:()Ljava/lang/String;
astore 8
start local 8 10: ldc "PGPKeyID"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
11: aload 6
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getFullTextChildrenFromNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
astore 9
start local 9 12: aload 9
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.decode:(Ljava/lang/String;)[B
astore 2
end local 9 13: goto 21
StackMap locals: org.w3c.dom.Element java.lang.String java.lang.String
StackMap stack:
14: ldc "PGPKeyPacket"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
ldc "http://www.w3.org/2000/09/xmldsig#"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
15: aload 6
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.getFullTextChildrenFromNode:(Lorg/w3c/dom/Node;)Ljava/lang/String;
astore 9
start local 9 16: aload 9
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.decode:(Ljava/lang/String;)[B
astore 3
end local 9 17: goto 21
18: StackMap locals:
StackMap stack:
aload 4
19: new javax.xml.crypto.dom.DOMStructure
dup
aload 6
invokespecial javax.xml.crypto.dom.DOMStructure.<init>:(Lorg/w3c/dom/Node;)V
20: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 6 21: StackMap locals:
StackMap stack:
aload 5
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 5
22: StackMap locals:
StackMap stack:
aload 5
ifnonnull 6
23: aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
24: aload 0
aload 3
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
25: 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;
26: return
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 27 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 27 1 pdElem Lorg/w3c/dom/Element;
2 27 2 pgpKeyId [B
3 27 3 pgpKeyPacket [B
4 27 4 other Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
5 27 5 firstChild Lorg/w3c/dom/Node;
8 21 6 childElem Lorg/w3c/dom/Element;
9 21 7 localName Ljava/lang/String;
10 21 8 namespace Ljava/lang/String;
12 13 9 content Ljava/lang/String;
16 17 9 content Ljava/lang/String;
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<javax.xml.crypto.XMLStructure> 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;
Signature: ()Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
public void marshal(org.w3c.dom.Node, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
astore 4
start local 4 1: aload 4
ldc "PGPData"
2: ldc "http://www.w3.org/2000/09/xmldsig#"
aload 2
3: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.createElement:(Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 5
start local 5 4: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
ifnull 13
5: aload 4
ldc "PGPKeyID"
6: ldc "http://www.w3.org/2000/09/xmldsig#"
7: aload 2
8: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.createElement:(Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 6
start local 6 9: aload 6
10: aload 4
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.encodeToString:([B)Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
11: invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
12: aload 5
aload 6
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
end local 6 13: StackMap locals: org.w3c.dom.Document org.w3c.dom.Element
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
ifnull 23
14: aload 4
15: ldc "PGPKeyPacket"
16: ldc "http://www.w3.org/2000/09/xmldsig#"
17: aload 2
18: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.createElement:(Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 6
start local 6 19: aload 6
20: aload 4
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
invokestatic com.sun.org.apache.xml.internal.security.utils.XMLUtils.encodeToString:([B)Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
21: invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
22: aload 5
aload 6
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
end local 6 23: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 30
StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData org.w3c.dom.Node java.lang.String javax.xml.crypto.dom.DOMCryptoContext org.w3c.dom.Document org.w3c.dom.Element top java.util.Iterator
StackMap stack:
24: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.xml.crypto.XMLStructure
astore 6
start local 6 25: aload 5
26: aload 6
27: checkcast javax.xml.crypto.dom.DOMStructure
28: invokevirtual javax.xml.crypto.dom.DOMStructure.getNode:()Lorg/w3c/dom/Node;
29: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.appendChild:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V
end local 6 30: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
31: aload 1
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
32: return
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 33 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 33 1 parent Lorg/w3c/dom/Node;
0 33 2 dsPrefix Ljava/lang/String;
0 33 3 context Ljavax/xml/crypto/dom/DOMCryptoContext;
1 33 4 ownerDoc Lorg/w3c/dom/Document;
4 33 5 pdElem Lorg/w3c/dom/Element;
9 13 6 keyIdElem Lorg/w3c/dom/Element;
19 23 6 keyPktElem Lorg/w3c/dom/Element;
25 30 6 extElem Ljavax/xml/crypto/XMLStructure;
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
}
SourceFile: "DOMPGPData.java"