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=3, locals=4, 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:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
4: ldc Ljavax/xml/crypto/XMLStructure;
5: invokestatic java.util.Collections.checkedList:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
6: astore 3
start local 3 7: aload 2
ifnull 9
8: aload 3
aload 2
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
9: StackMap locals: java.util.List
StackMap stack:
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;
10: aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
11: aload 0
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMPGPData.checkKeyPacket:([B)V
12: aload 0
aconst_null
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 14 1 keyPacket [B
0 14 2 other Ljava/util/List<+Ljavax/xml/crypto/XMLStructure;>;
7 14 3 tempList Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
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=3, locals=5, 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:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
6: ldc Ljavax/xml/crypto/XMLStructure;
7: invokestatic java.util.Collections.checkedList:(Ljava/util/List;Ljava/lang/Class;)Ljava/util/List;
8: astore 4
start local 4 9: aload 3
ifnull 11
10: aload 4
aload 3
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
11: StackMap locals: java.util.List
StackMap stack:
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;
12: aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
13: aload 0
aload 2
ifnonnull 14
aconst_null
goto 15
14: StackMap locals:
StackMap stack: org.jcp.xml.dsig.internal.dom.DOMPGPData
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
15: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[] byte[] java.util.List java.util.List
StackMap stack: org.jcp.xml.dsig.internal.dom.DOMPGPData byte[]
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
16: aload 2
ifnull 18
17: aload 0
aload 2
invokevirtual org.jcp.xml.dsig.internal.dom.DOMPGPData.checkKeyPacket:([B)V
18: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 19 1 keyId [B
0 19 2 keyPacket [B
0 19 3 other Ljava/util/List<+Ljavax/xml/crypto/XMLStructure;>;
9 19 4 tempList Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
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=12, 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: aload 1
invokeinterface org.w3c.dom.Element.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 4
start local 4 4: aload 4
invokeinterface org.w3c.dom.NodeList.getLength:()I
istore 5
start local 5 5: new java.util.ArrayList
dup
iload 5
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 6: iconst_0
istore 7
start local 7 7: goto 25
8: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMPGPData org.w3c.dom.Element byte[] byte[] org.w3c.dom.NodeList int java.util.List int
StackMap stack:
aload 4
iload 7
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
astore 8
start local 8 9: aload 8
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 24
10: aload 8
checkcast org.w3c.dom.Element
astore 9
start local 9 11: aload 9
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
astore 10
start local 10 12: aload 10
ldc "PGPKeyID"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 9
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.decode:(Lorg/w3c/dom/Element;)[B
astore 2
14: goto 24
StackMap locals: org.w3c.dom.Node org.w3c.dom.Element java.lang.String
StackMap stack:
15: aload 10
ldc "PGPKeyPacket"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 9
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.decode:(Lorg/w3c/dom/Element;)[B
astore 3
17: goto 24
18: StackMap locals:
StackMap stack:
aload 6
19: new javax.xml.crypto.dom.DOMStructure
dup
aload 9
invokespecial javax.xml.crypto.dom.DOMStructure.<init>:(Lorg/w3c/dom/Node;)V
20: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
21: goto 24
StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.exceptions.Base64DecodingException
22: astore 11
start local 11 23: new javax.xml.crypto.MarshalException
dup
aload 11
invokespecial javax.xml.crypto.MarshalException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 11 end local 10 end local 9 end local 8 24: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
iload 5
if_icmplt 8
end local 7 26: aload 0
aload 2
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyId:[B
27: aload 0
aload 3
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.keyPacket:[B
28: aload 0
aload 6
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.jcp.xml.dsig.internal.dom.DOMPGPData.externalElements:Ljava/util/List;
29: return
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 30 0 this Lorg/jcp/xml/dsig/internal/dom/DOMPGPData;
0 30 1 pdElem Lorg/w3c/dom/Element;
2 30 2 keyId [B
3 30 3 keyPacket [B
4 30 4 nl Lorg/w3c/dom/NodeList;
5 30 5 length I
6 30 6 other Ljava/util/List<Ljavax/xml/crypto/XMLStructure;>;
7 26 7 x I
9 24 8 n Lorg/w3c/dom/Node;
11 24 9 childElem Lorg/w3c/dom/Element;
12 24 10 localName Ljava/lang/String;
23 24 11 bde Lcom/sun/org/apache/xml/internal/security/exceptions/Base64DecodingException;
Exception table:
from to target type
12 21 22 Class com.sun.org.apache.xml.internal.security.exceptions.Base64DecodingException
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.Base64.encode:([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.Base64.encode:([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"