public class com.sun.org.apache.xml.internal.security.encryption.XMLCipher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.encryption.XMLCipher
super_class: java.lang.Object
{
private static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public static final java.lang.String TRIPLEDES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"
public static final java.lang.String AES_128;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#aes128-cbc"
public static final java.lang.String AES_256;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
public static final java.lang.String AES_192;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#aes192-cbc"
public static final java.lang.String AES_128_GCM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2009/xmlenc11#aes128-gcm"
public static final java.lang.String AES_192_GCM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2009/xmlenc11#aes192-gcm"
public static final java.lang.String AES_256_GCM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2009/xmlenc11#aes256-gcm"
public static final java.lang.String RSA_v1dot5;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#rsa-1_5"
public static final java.lang.String RSA_OAEP;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
public static final java.lang.String RSA_OAEP_11;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2009/xmlenc11#rsa-oaep"
public static final java.lang.String DIFFIE_HELLMAN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#dh"
public static final java.lang.String TRIPLEDES_KeyWrap;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#kw-tripledes"
public static final java.lang.String AES_128_KeyWrap;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#kw-aes128"
public static final java.lang.String AES_256_KeyWrap;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#kw-aes256"
public static final java.lang.String AES_192_KeyWrap;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#kw-aes192"
public static final java.lang.String SHA1;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2000/09/xmldsig#sha1"
public static final java.lang.String SHA256;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#sha256"
public static final java.lang.String SHA512;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#sha512"
public static final java.lang.String RIPEMD_160;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#ripemd160"
public static final java.lang.String XML_DSIG;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2000/09/xmldsig#"
public static final java.lang.String N14C_XML;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
public static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
public static final java.lang.String EXCL_XML_N14C;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/10/xml-exc-c14n#"
public static final java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
public static final java.lang.String PHYSICAL_XML_N14C;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://santuario.apache.org/c14n/physical"
public static final java.lang.String BASE64_ENCODING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2000/09/xmldsig#base64"
public static final int ENCRYPT_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int DECRYPT_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int UNWRAP_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int WRAP_MODE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final java.lang.String ENC_ALGORITHMS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/04/xmlenc#tripledes-cbc\nhttp://www.w3.org/2001/04/xmlenc#aes128-cbc\nhttp://www.w3.org/2001/04/xmlenc#aes256-cbc\nhttp://www.w3.org/2001/04/xmlenc#aes192-cbc\nhttp://www.w3.org/2001/04/xmlenc#rsa-1_5\nhttp://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p\nhttp://www.w3.org/2009/xmlenc11#rsa-oaep\nhttp://www.w3.org/2001/04/xmlenc#kw-tripledes\nhttp://www.w3.org/2001/04/xmlenc#kw-aes128\nhttp://www.w3.org/2001/04/xmlenc#kw-aes256\nhttp://www.w3.org/2001/04/xmlenc#kw-aes192\nhttp://www.w3.org/2009/xmlenc11#aes128-gcm\nhttp://www.w3.org/2009/xmlenc11#aes192-gcm\nhttp://www.w3.org/2009/xmlenc11#aes256-gcm\n"
private javax.crypto.Cipher contextCipher;
descriptor: Ljavax/crypto/Cipher;
flags: (0x0002) ACC_PRIVATE
private int cipherMode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String requestedJCEProvider;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.c14n.Canonicalizer canon;
descriptor: Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
flags: (0x0002) ACC_PRIVATE
private org.w3c.dom.Document contextDocument;
descriptor: Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory factory;
descriptor: Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.encryption.Serializer serializer;
descriptor: Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
flags: (0x0002) ACC_PRIVATE
private java.security.Key key;
descriptor: Ljava/security/Key;
flags: (0x0002) ACC_PRIVATE
private java.security.Key kek;
descriptor: Ljava/security/Key;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.encryption.EncryptedKey ek;
descriptor: Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xml.internal.security.encryption.EncryptedData ed;
descriptor: Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private boolean secureValidation;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String digestAlg;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List<com.sun.org.apache.xml.internal.security.keys.keyresolver.KeyResolverSpi> internalKeyResolvers;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/org/apache/xml/internal/security/keys/keyresolver/KeyResolverSpi;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
1: putstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void setSerializer(com.sun.org.apache.xml.internal.security.encryption.Serializer);
descriptor: (Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
1: aload 1
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.Serializer.setCanonicalizer:(Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 3 1 serializer Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
MethodParameters:
Name Flags
serializer
public com.sun.org.apache.xml.internal.security.encryption.Serializer getSerializer();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
private void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -2147483648
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
2: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
3: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
4: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Constructing XMLCipher..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
new com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory
dup
aload 0
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.<init>:(Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;)V
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
7: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
8: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
9: aload 0
aload 4
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.digestAlg:Ljava/lang/String;
10: aload 3
ifnonnull 13
11: aload 0
ldc "http://santuario.apache.org/c14n/physical"
invokestatic com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.getInstance:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
12: goto 17
13: StackMap locals:
StackMap stack:
aload 0
aload 3
invokestatic com.sun.org.apache.xml.internal.security.c14n.Canonicalizer.getInstance:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
14: goto 17
StackMap locals:
StackMap stack: com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
15: astore 5
start local 5 16: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 5
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
ifnonnull 19
18: aload 0
new com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer
dup
invokespecial com.sun.org.apache.xml.internal.security.encryption.DocumentSerializer.<init>:()V
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.canon:Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.Serializer.setCanonicalizer:(Lcom/sun/org/apache/xml/internal/security/c14n/Canonicalizer;)V
20: aload 1
ifnull 22
21: aload 0
aload 0
aload 1
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.constructCipher:(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextCipher:Ljavax/crypto/Cipher;
22: 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 23 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 23 1 transformation Ljava/lang/String;
0 23 2 provider Ljava/lang/String;
0 23 3 canonAlg Ljava/lang/String;
0 23 4 digestMethod Ljava/lang/String;
16 17 5 ice Lcom/sun/org/apache/xml/internal/security/c14n/InvalidCanonicalizerException;
Exception table:
from to target type
10 14 15 Class com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
transformation
provider
canonAlg
digestMethod
private static boolean isValidEncryptionAlgorithm(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
1: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#aes128-cbc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
2: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
3: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#aes192-cbc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
4: aload 0
ldc "http://www.w3.org/2009/xmlenc11#aes128-gcm"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
5: aload 0
ldc "http://www.w3.org/2009/xmlenc11#aes192-gcm"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
6: aload 0
ldc "http://www.w3.org/2009/xmlenc11#aes256-gcm"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
7: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#rsa-1_5"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
8: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
9: aload 0
ldc "http://www.w3.org/2009/xmlenc11#rsa-oaep"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
10: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#kw-tripledes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
11: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#kw-aes128"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
12: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#kw-aes256"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
13: aload 0
ldc "http://www.w3.org/2001/04/xmlenc#kw-aes192"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
14: iconst_0
ireturn
StackMap locals:
StackMap stack:
15: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 algorithm Ljava/lang/String;
MethodParameters:
Name Flags
algorithm
private static void validateTransformation(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Transformation unexpectedly null..."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.isValidEncryptionAlgorithm:(Ljava/lang/String;)Z
ifne 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "Algorithm non-standard, expected one of http://www.w3.org/2001/04/xmlenc#tripledes-cbc\nhttp://www.w3.org/2001/04/xmlenc#aes128-cbc\nhttp://www.w3.org/2001/04/xmlenc#aes256-cbc\nhttp://www.w3.org/2001/04/xmlenc#aes192-cbc\nhttp://www.w3.org/2001/04/xmlenc#rsa-1_5\nhttp://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p\nhttp://www.w3.org/2009/xmlenc11#rsa-oaep\nhttp://www.w3.org/2001/04/xmlenc#kw-tripledes\nhttp://www.w3.org/2001/04/xmlenc#kw-aes128\nhttp://www.w3.org/2001/04/xmlenc#kw-aes256\nhttp://www.w3.org/2001/04/xmlenc#kw-aes192\nhttp://www.w3.org/2009/xmlenc11#aes128-gcm\nhttp://www.w3.org/2009/xmlenc11#aes192-gcm\nhttp://www.w3.org/2009/xmlenc11#aes256-gcm\n"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 transformation Ljava/lang/String;
MethodParameters:
Name Flags
transformation
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with transformation"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.validateTransformation:(Ljava/lang/String;)V
3: new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aload 0
aconst_null
aconst_null
aconst_null
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 transformation Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
transformation
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with transformation and c14n algorithm"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.validateTransformation:(Ljava/lang/String;)V
3: new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aload 0
aconst_null
aload 1
aconst_null
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 transformation Ljava/lang/String;
0 4 1 canon Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
transformation
canon
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getInstance(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with transformation and c14n algorithm"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.validateTransformation:(Ljava/lang/String;)V
3: new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aload 0
aconst_null
aload 1
aload 2
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 transformation Ljava/lang/String;
0 4 1 canon Ljava/lang/String;
0 4 2 digestMethod Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
transformation
canon
digestMethod
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getProviderInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with transformation and provider"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "Provider unexpectedly null.."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.validateTransformation:(Ljava/lang/String;)V
5: new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aload 0
aload 1
aconst_null
aconst_null
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 transformation Ljava/lang/String;
0 6 1 provider Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
transformation
provider
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getProviderInstance(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with transformation, provider and c14n algorithm"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "Provider unexpectedly null.."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.validateTransformation:(Ljava/lang/String;)V
5: new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aload 0
aload 1
aload 2
aconst_null
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 transformation Ljava/lang/String;
0 6 1 provider Ljava/lang/String;
0 6 2 canon Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
transformation
provider
canon
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getProviderInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with transformation, provider and c14n algorithm"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "Provider unexpectedly null.."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.validateTransformation:(Ljava/lang/String;)V
5: new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 transformation Ljava/lang/String;
0 6 1 provider Ljava/lang/String;
0 6 2 canon Ljava/lang/String;
0 6 3 digestMethod Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
transformation
provider
canon
digestMethod
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getInstance();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with no arguments"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aconst_null
aconst_null
aconst_null
aconst_null
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
public static com.sun.org.apache.xml.internal.security.encryption.XMLCipher getProviderInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Getting XMLCipher with provider"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLCipher
dup
aconst_null
aload 0
aconst_null
aconst_null
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipher.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 provider Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
provider
public void init(int, java.security.Key);
descriptor: (ILjava/security/Key;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Initializing XMLCipher..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
3: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
4: iload 1
tableswitch { // 1 - 4
1: 5
2: 9
3: 12
4: 16
default: 19
}
5: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 7
6: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "opmode = ENCRYPT_MODE"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_1
ldc "NO VALUE YET"
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.createEncryptedData:(ILjava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
8: goto 21
9: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 21
10: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "opmode = DECRYPT_MODE"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
11: goto 21
12: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 14
13: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "opmode = WRAP_MODE"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
aload 0
iconst_1
ldc "NO VALUE YET"
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.createEncryptedKey:(ILjava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
15: goto 21
16: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 21
17: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "opmode = UNWRAP_MODE"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
18: goto 21
19: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Mode unexpectedly invalid"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
20: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "Invalid mode in init"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
22: aload 0
aload 2
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 24 1 opmode I
0 24 2 key Ljava/security/Key;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
opmode
key
public void setSecureValidation(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.secureValidation:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 2 1 secureValidation Z
MethodParameters:
Name Flags
secureValidation
public void registerInternalKeyResolver(com.sun.org.apache.xml.internal.security.keys.keyresolver.KeyResolverSpi);
descriptor: (Lcom/sun/org/apache/xml/internal/security/keys/keyresolver/KeyResolverSpi;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.internalKeyResolvers:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.internalKeyResolvers:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.internalKeyResolvers:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 4 1 keyResolver Lcom/sun/org/apache/xml/internal/security/keys/keyresolver/KeyResolverSpi;
MethodParameters:
Name Flags
keyResolver
public com.sun.org.apache.xml.internal.security.encryption.EncryptedData getEncryptedData();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Returning EncryptedData"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
public com.sun.org.apache.xml.internal.security.encryption.EncryptedKey getEncryptedKey();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Returning EncryptedKey"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
public void setKEK(java.security.Key);
descriptor: (Ljava/security/Key;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.kek:Ljava/security/Key;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 2 1 kek Ljava/security/Key;
MethodParameters:
Name Flags
kek
public org.w3c.dom.Element martial(com.sun.org.apache.xml.internal.security.encryption.EncryptedData);
descriptor: (Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;)Lorg/w3c/dom/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;)Lorg/w3c/dom/Element;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 encryptedData Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
MethodParameters:
Name Flags
encryptedData
public org.w3c.dom.Element martial(org.w3c.dom.Document, com.sun.org.apache.xml.internal.security.encryption.EncryptedData);
descriptor: (Lorg/w3c/dom/Document;Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;)Lorg/w3c/dom/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;)Lorg/w3c/dom/Element;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 2 1 context Lorg/w3c/dom/Document;
0 2 2 encryptedData Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
MethodParameters:
Name Flags
context
encryptedData
public org.w3c.dom.Element martial(com.sun.org.apache.xml.internal.security.encryption.EncryptedKey);
descriptor: (Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;)Lorg/w3c/dom/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;)Lorg/w3c/dom/Element;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 encryptedKey Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
MethodParameters:
Name Flags
encryptedKey
public org.w3c.dom.Element martial(org.w3c.dom.Document, com.sun.org.apache.xml.internal.security.encryption.EncryptedKey);
descriptor: (Lorg/w3c/dom/Document;Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;)Lorg/w3c/dom/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;)Lorg/w3c/dom/Element;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 2 1 context Lorg/w3c/dom/Document;
0 2 2 encryptedKey Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
MethodParameters:
Name Flags
context
encryptedKey
public org.w3c.dom.Element martial(com.sun.org.apache.xml.internal.security.encryption.ReferenceList);
descriptor: (Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;)Lorg/w3c/dom/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;)Lorg/w3c/dom/Element;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 referenceList Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;
MethodParameters:
Name Flags
referenceList
public org.w3c.dom.Element martial(org.w3c.dom.Document, com.sun.org.apache.xml.internal.security.encryption.ReferenceList);
descriptor: (Lorg/w3c/dom/Document;Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;)Lorg/w3c/dom/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;)Lorg/w3c/dom/Element;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 2 1 context Lorg/w3c/dom/Document;
0 2 2 referenceList Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;
MethodParameters:
Name Flags
context
referenceList
private org.w3c.dom.Document encryptElement(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Encrypting element..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Element unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_1
if_icmpeq 6
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in ENCRYPT_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
ifnonnull 8
7: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "XMLCipher instance without transformation specified"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
aload 1
iconst_0
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptData:(Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Z)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
pop
9: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;)Lorg/w3c/dom/Element;
astore 2
start local 2 10: aload 1
invokeinterface org.w3c.dom.Element.getParentNode:()Lorg/w3c/dom/Node;
astore 3
start local 3 11: aload 3
aload 2
aload 1
invokeinterface org.w3c.dom.Node.replaceChild:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
12: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 13 1 element Lorg/w3c/dom/Element;
10 13 2 encryptedElement Lorg/w3c/dom/Element;
11 13 3 sourceParent Lorg/w3c/dom/Node;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
element
private org.w3c.dom.Document encryptElementContent(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Encrypting element content..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Element unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_1
if_icmpeq 6
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in ENCRYPT_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
ifnonnull 8
7: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "XMLCipher instance without transformation specified"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
aload 1
iconst_1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptData:(Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Z)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
pop
9: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.toElement:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;)Lorg/w3c/dom/Element;
astore 2
start local 2 10: aload 1
invokestatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.removeContent:(Lorg/w3c/dom/Node;)V
11: aload 1
aload 2
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
12: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 13 1 element Lorg/w3c/dom/Element;
10 13 2 encryptedElement Lorg/w3c/dom/Element;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
element
public org.w3c.dom.Document doFinal(org.w3c.dom.Document, org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Document;)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Processing source document..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Context document unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Source document unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
7: aconst_null
astore 3
start local 3 8: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
tableswitch { // 1 - 4
1: 11
2: 9
3: 13
4: 13
default: 14
}
9: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 0
aload 2
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.decryptElement:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 3
10: goto 15
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptElement:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 3
12: goto 15
13: StackMap locals:
StackMap stack:
goto 15
14: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
15: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 16 1 context Lorg/w3c/dom/Document;
0 16 2 source Lorg/w3c/dom/Document;
8 16 3 result Lorg/w3c/dom/Document;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
source
public org.w3c.dom.Document doFinal(org.w3c.dom.Document, org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Processing source element..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Context document unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Source element unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
7: aconst_null
astore 3
start local 3 8: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
tableswitch { // 1 - 4
1: 11
2: 9
3: 13
4: 13
default: 14
}
9: StackMap locals: org.w3c.dom.Document
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.decryptElement:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 3
10: goto 15
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptElement:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 3
12: goto 15
13: StackMap locals:
StackMap stack:
goto 15
14: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
15: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 16 1 context Lorg/w3c/dom/Document;
0 16 2 element Lorg/w3c/dom/Element;
8 16 3 result Lorg/w3c/dom/Document;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
element
public org.w3c.dom.Document doFinal(org.w3c.dom.Document, org.w3c.dom.Element, boolean);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Z)Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Processing source element..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Context document unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Source element unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
7: aconst_null
astore 4
start local 4 8: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
tableswitch { // 1 - 4
1: 14
2: 9
3: 19
4: 19
default: 20
}
9: StackMap locals: org.w3c.dom.Document
StackMap stack:
iload 3
ifeq 12
10: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.decryptElementContent:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 4
11: goto 21
12: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.decryptElement:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 4
13: goto 21
14: StackMap locals:
StackMap stack:
iload 3
ifeq 17
15: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptElementContent:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 4
16: goto 21
17: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptElement:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
astore 4
18: goto 21
19: StackMap locals:
StackMap stack:
goto 21
20: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
21: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 22 1 context Lorg/w3c/dom/Document;
0 22 2 element Lorg/w3c/dom/Element;
0 22 3 content Z
8 22 4 result Lorg/w3c/dom/Document;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
element
content
public com.sun.org.apache.xml.internal.security.encryption.EncryptedData encryptData(org.w3c.dom.Document, org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptData:(Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Z)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 context Lorg/w3c/dom/Document;
0 1 2 element Lorg/w3c/dom/Element;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
element
public com.sun.org.apache.xml.internal.security.encryption.EncryptedData encryptData(org.w3c.dom.Document, java.lang.String, java.io.InputStream);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/io/InputStream;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Encrypting element..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Context document unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 3
ifnonnull 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Serialized data unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_1
if_icmpeq 8
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 8
7: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in ENCRYPT_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
aload 2
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptData:(Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/io/InputStream;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 9 1 context Lorg/w3c/dom/Document;
0 9 2 type Ljava/lang/String;
0 9 3 serializedData Ljava/io/InputStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
type
serializedData
public com.sun.org.apache.xml.internal.security.encryption.EncryptedData encryptData(org.w3c.dom.Document, org.w3c.dom.Element, boolean);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Z)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Encrypting element..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Context document unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Element unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_1
if_icmpeq 8
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 8
7: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in ENCRYPT_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
iload 3
ifeq 10
9: aload 0
aload 1
aload 2
ldc "http://www.w3.org/2001/04/xmlenc#Content"
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptData:(Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/io/InputStream;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
areturn
10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
ldc "http://www.w3.org/2001/04/xmlenc#Element"
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptData:(Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/io/InputStream;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 11 1 context Lorg/w3c/dom/Document;
0 11 2 element Lorg/w3c/dom/Element;
0 11 3 contentMode Z
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
element
contentMode
private com.sun.org.apache.xml.internal.security.encryption.EncryptedData encryptData(org.w3c.dom.Document, org.w3c.dom.Element, java.lang.String, java.io.InputStream);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/io/InputStream;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
1: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
ifnonnull 3
2: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "XMLCipher instance without transformation specified"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 4: aload 4
ifnonnull 15
5: aload 3
ldc "http://www.w3.org/2001/04/xmlenc#Content"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
6: aload 2
invokeinterface org.w3c.dom.Element.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 6
start local 6 7: aload 6
ifnull 10
8: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
aload 6
invokeinterface com.sun.org.apache.xml.internal.security.encryption.Serializer.serializeToByteArray:(Lorg/w3c/dom/NodeList;)[B
astore 5
9: goto 13
10: StackMap locals: byte[] org.w3c.dom.NodeList
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "Element has no content."
aastore
astore 7
start local 7 11: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 7
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 7 end local 6 12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
aload 2
invokeinterface com.sun.org.apache.xml.internal.security.encryption.Serializer.serializeToByteArray:(Lorg/w3c/dom/Element;)[B
astore 5
13: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 15
14: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Serialized octets:\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
new java.lang.String
dup
aload 5
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 16: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextCipher:Ljavax/crypto/Cipher;
ifnonnull 19
17: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.constructCipher:(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 7
start local 7 18: goto 20
end local 7 19: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextCipher:Ljavax/crypto/Cipher;
astore 7
start local 7 20: StackMap locals: javax.crypto.Cipher
StackMap stack:
ldc "http://www.w3.org/2009/xmlenc11#aes128-gcm"
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
ldc "http://www.w3.org/2009/xmlenc11#aes192-gcm"
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: ldc "http://www.w3.org/2009/xmlenc11#aes256-gcm"
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.random:Ljava/security/SecureRandom;
ifnonnull 24
23: aload 0
ldc "SHA1PRNG"
invokestatic java.security.SecureRandom.getInstance:(Ljava/lang/String;)Ljava/security/SecureRandom;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.random:Ljava/security/SecureRandom;
24: StackMap locals:
StackMap stack:
bipush 12
newarray 8
astore 8
start local 8 25: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.random:Ljava/security/SecureRandom;
aload 8
invokevirtual java.security.SecureRandom.nextBytes:([B)V
26: new javax.crypto.spec.IvParameterSpec
dup
aload 8
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
astore 9
start local 9 27: aload 7
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
aload 9
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
end local 9 end local 8 28: goto 35
29: StackMap locals:
StackMap stack:
aload 7
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
30: goto 35
StackMap locals:
StackMap stack: java.security.InvalidKeyException
31: astore 8
start local 8 32: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 33: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 8
start local 8 34: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 35: StackMap locals:
StackMap stack:
aload 4
ifnull 46
36: sipush 8192
newarray 8
astore 9
start local 9 37: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 10
start local 10 38: goto 41
start local 8 39: StackMap locals: int byte[] java.io.ByteArrayOutputStream
StackMap stack:
aload 7
aload 9
iconst_0
iload 8
invokevirtual javax.crypto.Cipher.update:([BII)[B
astore 11
start local 11 40: aload 10
aload 11
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
end local 11 end local 8 41: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Document org.w3c.dom.Element java.lang.String java.io.InputStream byte[] byte[] javax.crypto.Cipher top byte[] java.io.ByteArrayOutputStream
StackMap stack:
aload 4
aload 9
invokevirtual java.io.InputStream.read:([B)I
dup
istore 8
start local 8 42: iconst_m1
if_icmpne 39
43: aload 10
aload 7
invokevirtual javax.crypto.Cipher.doFinal:()[B
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
44: aload 10
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 6
end local 10 end local 9 end local 8 45: goto 51
46: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Document org.w3c.dom.Element java.lang.String java.io.InputStream byte[] byte[] javax.crypto.Cipher
StackMap stack:
aload 7
aload 5
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 6
47: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 51
48: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Expected cipher.outputSize = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
49: aload 7
aload 5
arraylength
invokevirtual javax.crypto.Cipher.getOutputSize:(I)I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
50: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
51: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 64
52: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Actual cipher.outputSize = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
53: aload 6
arraylength
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
54: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
55: goto 64
StackMap locals:
StackMap stack: java.lang.IllegalStateException
56: astore 8
start local 8 57: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 58: StackMap locals:
StackMap stack: javax.crypto.IllegalBlockSizeException
astore 8
start local 8 59: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 60: StackMap locals:
StackMap stack: javax.crypto.BadPaddingException
astore 8
start local 8 61: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 62: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 8
start local 8 63: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 64: StackMap locals:
StackMap stack:
aload 7
invokevirtual javax.crypto.Cipher.getIV:()[B
astore 8
start local 8 65: aload 8
arraylength
aload 6
arraylength
iadd
newarray 8
astore 9
start local 9 66: aload 8
iconst_0
aload 9
iconst_0
aload 8
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
67: aload 6
iconst_0
aload 9
aload 8
arraylength
aload 6
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
68: aload 9
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
astore 10
start local 10 69: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 72
70: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Encrypted octets:\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
71: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Encrypted octets length = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
72: StackMap locals: byte[] byte[] java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.getCipherData:()Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
astore 11
start local 11 73: aload 11
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherData.getCipherValue:()Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
astore 12
start local 12 74: aload 12
aload 10
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherValue.setValue:(Ljava/lang/String;)V
75: aload 3
ifnull 77
76: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
new java.net.URI
dup
aload 3
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URI.toString:()Ljava/lang/String;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.setType:(Ljava/lang/String;)V
77: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.CipherData com.sun.org.apache.xml.internal.security.encryption.CipherValue
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
new java.net.URI
dup
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URI.toString:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptionMethod:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
78: astore 13
start local 13 79: aload 13
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.digestAlg:Ljava/lang/String;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.setDigestAlgorithm:(Ljava/lang/String;)V
80: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
aload 13
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.setEncryptionMethod:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;)V
end local 13 end local 12 end local 11 81: goto 84
StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Document org.w3c.dom.Element java.lang.String java.io.InputStream byte[] byte[] javax.crypto.Cipher byte[] byte[] java.lang.String
StackMap stack: java.net.URISyntaxException
82: astore 11
start local 11 83: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 11
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 11 84: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
areturn
end local 10 end local 9 end local 8 end local 7 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 85 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 85 1 context Lorg/w3c/dom/Document;
0 85 2 element Lorg/w3c/dom/Element;
0 85 3 type Ljava/lang/String;
0 85 4 serializedData Ljava/io/InputStream;
4 85 5 serializedOctets [B
7 12 6 children Lorg/w3c/dom/NodeList;
11 12 7 exArgs [Ljava/lang/Object;
16 85 6 encryptedBytes [B
18 19 7 c Ljavax/crypto/Cipher;
20 85 7 c Ljavax/crypto/Cipher;
25 28 8 temp [B
27 28 9 paramSpec Ljavax/crypto/spec/IvParameterSpec;
32 33 8 ike Ljava/security/InvalidKeyException;
34 35 8 ex Ljava/security/NoSuchAlgorithmException;
39 41 8 numBytes I
42 45 8 numBytes I
37 45 9 buf [B
38 45 10 baos Ljava/io/ByteArrayOutputStream;
40 41 11 data [B
57 58 8 ise Ljava/lang/IllegalStateException;
59 60 8 ibse Ljavax/crypto/IllegalBlockSizeException;
61 62 8 bpe Ljavax/crypto/BadPaddingException;
63 64 8 uee Ljava/io/UnsupportedEncodingException;
65 85 8 iv [B
66 85 9 finalEncryptedBytes [B
69 85 10 base64EncodedEncryptedOctets Ljava/lang/String;
73 81 11 cd Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
74 81 12 cv Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
79 81 13 method Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
83 84 11 ex Ljava/net/URISyntaxException;
Exception table:
from to target type
20 30 31 Class java.security.InvalidKeyException
20 30 33 Class java.security.NoSuchAlgorithmException
35 55 56 Class java.lang.IllegalStateException
35 55 58 Class javax.crypto.IllegalBlockSizeException
35 55 60 Class javax.crypto.BadPaddingException
35 55 62 Class java.io.UnsupportedEncodingException
72 81 82 Class java.net.URISyntaxException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
context
element
type
serializedData
public com.sun.org.apache.xml.internal.security.encryption.EncryptedData loadEncryptedData(org.w3c.dom.Document, org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Loading encrypted element..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "Context document unexpectedly null..."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: new java.lang.NullPointerException
dup
ldc "Element unexpectedly null..."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_2
if_icmpeq 8
7: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "XMLCipher unexpectedly not in DECRYPT_MODE..."
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
9: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptedData:(Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
10: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 11 1 context Lorg/w3c/dom/Document;
0 11 2 element Lorg/w3c/dom/Element;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
context
element
public com.sun.org.apache.xml.internal.security.encryption.EncryptedKey loadEncryptedKey(org.w3c.dom.Document, org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Loading encrypted key..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "Context document unexpectedly null..."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: new java.lang.NullPointerException
dup
ldc "Element unexpectedly null..."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_4
if_icmpeq 10
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_2
if_icmpeq 10
7: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
8: ldc "XMLCipher unexpectedly not in UNWRAP_MODE or DECRYPT_MODE..."
9: invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
11: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptedKey:(Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
12: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 13 1 context Lorg/w3c/dom/Document;
0 13 2 element Lorg/w3c/dom/Element;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
context
element
public com.sun.org.apache.xml.internal.security.encryption.EncryptedKey loadEncryptedKey(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.w3c.dom.Element.getOwnerDocument:()Lorg/w3c/dom/Document;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.loadEncryptedKey:(Lorg/w3c/dom/Document;Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 element Lorg/w3c/dom/Element;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
element
public com.sun.org.apache.xml.internal.security.encryption.EncryptedKey encryptKey(org.w3c.dom.Document, java.security.Key);
descriptor: (Lorg/w3c/dom/Document;Ljava/security/Key;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.encryptKey:(Lorg/w3c/dom/Document;Ljava/security/Key;Ljava/lang/String;[B)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 doc Lorg/w3c/dom/Document;
0 1 2 key Ljava/security/Key;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
doc
key
public com.sun.org.apache.xml.internal.security.encryption.EncryptedKey encryptKey(org.w3c.dom.Document, java.security.Key, java.lang.String, byte[]);
descriptor: (Lorg/w3c/dom/Document;Ljava/security/Key;Ljava/lang/String;[B)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Encrypting key ..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "Key unexpectedly null..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_3
if_icmpeq 6
5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in WRAP_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
ifnonnull 8
7: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "XMLCipher instance without transformation specified"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
9: aconst_null
astore 5
start local 5 10: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextCipher:Ljavax/crypto/Cipher;
ifnonnull 13
11: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
aconst_null
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.constructCipher:(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 6
start local 6 12: goto 14
end local 6 13: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextCipher:Ljavax/crypto/Cipher;
astore 6
start local 6 14: StackMap locals: javax.crypto.Cipher
StackMap stack:
aload 0
15: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.digestAlg:Ljava/lang/String;
aload 3
aload 4
16: invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.constructOAEPParameters:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)Ljavax/crypto/spec/OAEPParameterSpec;
17: astore 7
start local 7 18: aload 7
ifnonnull 21
19: aload 6
iconst_3
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
20: goto 22
21: StackMap locals: javax.crypto.spec.OAEPParameterSpec
StackMap stack:
aload 6
iconst_3
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
aload 7
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
22: StackMap locals:
StackMap stack:
aload 6
aload 2
invokevirtual javax.crypto.Cipher.wrap:(Ljava/security/Key;)[B
astore 5
end local 7 23: goto 30
StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Document java.security.Key java.lang.String byte[] byte[] javax.crypto.Cipher
StackMap stack: java.security.InvalidKeyException
24: astore 7
start local 7 25: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 7
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 7 26: StackMap locals:
StackMap stack: javax.crypto.IllegalBlockSizeException
astore 7
start local 7 27: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 7
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 7 28: StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
astore 7
start local 7 29: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 7
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 7 30: StackMap locals:
StackMap stack:
aload 5
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
astore 7
start local 7 31: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 34
32: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Encrypted key octets:\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
33: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Encrypted key octets length = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
34: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedKey.getCipherData:()Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherData.getCipherValue:()Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
astore 8
start local 8 35: aload 8
aload 7
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherValue.setValue:(Ljava/lang/String;)V
36: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
new java.net.URI
dup
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.algorithm:Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URI.toString:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptionMethod:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
astore 9
start local 9 37: aload 9
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.digestAlg:Ljava/lang/String;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.setDigestAlgorithm:(Ljava/lang/String;)V
38: aload 9
aload 3
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.setMGFAlgorithm:(Ljava/lang/String;)V
39: aload 9
aload 4
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.setOAEPparams:([B)V
40: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
aload 9
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedKey.setEncryptionMethod:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;)V
end local 9 41: goto 44
StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Document java.security.Key java.lang.String byte[] byte[] javax.crypto.Cipher java.lang.String com.sun.org.apache.xml.internal.security.encryption.CipherValue
StackMap stack: java.net.URISyntaxException
42: astore 9
start local 9 43: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 9
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 9 44: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ek:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
areturn
end local 8 end local 7 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 45 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 45 1 doc Lorg/w3c/dom/Document;
0 45 2 key Ljava/security/Key;
0 45 3 mgfAlgorithm Ljava/lang/String;
0 45 4 oaepParams [B
10 45 5 encryptedBytes [B
12 13 6 c Ljavax/crypto/Cipher;
14 45 6 c Ljavax/crypto/Cipher;
18 23 7 oaepParameters Ljavax/crypto/spec/OAEPParameterSpec;
25 26 7 ike Ljava/security/InvalidKeyException;
27 28 7 ibse Ljavax/crypto/IllegalBlockSizeException;
29 30 7 e Ljava/security/InvalidAlgorithmParameterException;
31 45 7 base64EncodedEncryptedOctets Ljava/lang/String;
35 45 8 cv Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
37 41 9 method Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
43 44 9 ex Ljava/net/URISyntaxException;
Exception table:
from to target type
14 23 24 Class java.security.InvalidKeyException
14 23 26 Class javax.crypto.IllegalBlockSizeException
14 23 28 Class java.security.InvalidAlgorithmParameterException
36 41 42 Class java.net.URISyntaxException
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
doc
key
mgfAlgorithm
oaepParams
public java.security.Key decryptKey(com.sun.org.apache.xml.internal.security.encryption.EncryptedKey, java.lang.String);
descriptor: (Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;Ljava/lang/String;)Ljava/security/Key;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Decrypting key from previously loaded EncryptedKey..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_4
if_icmpeq 4
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in UNWRAP_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "Cannot decrypt a key without knowing the algorithm"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
ifnonnull 25
7: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 9
8: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Trying to find a KEK via key resolvers"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedKey.getKeyInfo:()Lcom/sun/org/apache/xml/internal/security/keys/KeyInfo;
astore 3
start local 3 10: aload 3
ifnull 22
11: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.secureValidation:Z
invokevirtual com.sun.org.apache.xml.internal.security.keys.KeyInfo.setSecureValidation:(Z)V
12: aload 1
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedKey.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getAlgorithm:()Ljava/lang/String;
astore 4
start local 4 13: aload 4
invokestatic com.sun.org.apache.xml.internal.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 14: ldc "RSA"
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.keys.KeyInfo.getPrivateKey:()Ljava/security/PrivateKey;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
16: goto 22
17: StackMap locals: com.sun.org.apache.xml.internal.security.keys.KeyInfo java.lang.String java.lang.String
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.keys.KeyInfo.getSecretKey:()Ljavax/crypto/SecretKey;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
end local 5 end local 4 18: goto 22
19: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher com.sun.org.apache.xml.internal.security.encryption.EncryptedKey java.lang.String com.sun.org.apache.xml.internal.security.keys.KeyInfo
StackMap stack: java.lang.Exception
astore 4
start local 4 20: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 22
21: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 4
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
ifnonnull 25
23: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "XMLCipher::decryptKey called without a KEK and cannot resolve"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
24: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "Unable to decrypt without a KEK"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
end local 3 25: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput
dup
aload 1
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput.<init>:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedType;)V
astore 3
start local 3 26: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.secureValidation:Z
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput.setSecureValidation:(Z)V
27: aload 3
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput.getBytes:()[B
astore 4
start local 4 28: aload 2
invokestatic com.sun.org.apache.xml.internal.security.algorithms.JCEMapper.getJCEKeyAlgorithmFromURI:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 29: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 31
30: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "JCE Key Algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
31: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput byte[] java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextCipher:Ljavax/crypto/Cipher;
ifnonnull 38
32: aload 0
33: aload 1
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedKey.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getAlgorithm:()Ljava/lang/String;
34: aload 1
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedKey.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getDigestAlgorithm:()Ljava/lang/String;
35: invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.constructCipher:(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
36: astore 6
start local 6 37: goto 39
end local 6 38: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextCipher:Ljavax/crypto/Cipher;
astore 6
start local 6 39: StackMap locals: javax.crypto.Cipher
StackMap stack:
aload 1
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedKey.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
astore 8
start local 8 40: aload 0
41: aload 8
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getAlgorithm:()Ljava/lang/String;
aload 8
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getDigestAlgorithm:()Ljava/lang/String;
42: aload 8
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getMGFAlgorithm:()Ljava/lang/String;
aload 8
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getOAEPparams:()[B
43: invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.constructOAEPParameters:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)Ljavax/crypto/spec/OAEPParameterSpec;
44: astore 9
start local 9 45: aload 9
ifnonnull 48
46: aload 6
iconst_4
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;)V
47: goto 49
48: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher com.sun.org.apache.xml.internal.security.encryption.EncryptedKey java.lang.String com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput byte[] java.lang.String javax.crypto.Cipher top com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod javax.crypto.spec.OAEPParameterSpec
StackMap stack:
aload 6
iconst_4
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
aload 9
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
49: StackMap locals:
StackMap stack:
aload 6
aload 4
aload 5
iconst_3
invokevirtual javax.crypto.Cipher.unwrap:([BLjava/lang/String;I)Ljava/security/Key;
astore 7
end local 9 end local 8 start local 7 50: goto 57
end local 7 StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher com.sun.org.apache.xml.internal.security.encryption.EncryptedKey java.lang.String com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput byte[] java.lang.String javax.crypto.Cipher
StackMap stack: java.security.InvalidKeyException
51: astore 8
start local 8 52: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 53: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 8
start local 8 54: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 55: StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
astore 8
start local 8 56: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 8
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 8 start local 7 57: StackMap locals: java.security.Key
StackMap stack:
getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 59
58: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Decryption of key type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " OK"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
59: StackMap locals:
StackMap stack:
aload 7
areturn
end local 7 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 60 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 60 1 encryptedKey Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
0 60 2 algorithm Ljava/lang/String;
10 25 3 ki Lcom/sun/org/apache/xml/internal/security/keys/KeyInfo;
13 18 4 keyWrapAlg Ljava/lang/String;
14 18 5 keyType Ljava/lang/String;
20 22 4 e Ljava/lang/Exception;
26 60 3 cipherInput Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipherInput;
28 60 4 encryptedBytes [B
29 60 5 jceKeyAlgorithm Ljava/lang/String;
37 38 6 c Ljavax/crypto/Cipher;
39 60 6 c Ljavax/crypto/Cipher;
50 51 7 ret Ljava/security/Key;
57 60 7 ret Ljava/security/Key;
40 50 8 encMethod Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
45 50 9 oaepParameters Ljavax/crypto/spec/OAEPParameterSpec;
52 53 8 ike Ljava/security/InvalidKeyException;
54 55 8 nsae Ljava/security/NoSuchAlgorithmException;
56 57 8 e Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
12 18 19 Class java.lang.Exception
39 50 51 Class java.security.InvalidKeyException
39 50 53 Class java.security.NoSuchAlgorithmException
39 50 55 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
encryptedKey
algorithm
private javax.crypto.spec.OAEPParameterSpec constructOAEPParameters(java.lang.String, java.lang.String, java.lang.String, byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)Ljavax/crypto/spec/OAEPParameterSpec;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
1: ldc "http://www.w3.org/2009/xmlenc11#rsa-oaep"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
2: StackMap locals:
StackMap stack:
ldc "SHA-1"
astore 5
start local 5 3: aload 2
ifnull 5
4: aload 2
invokestatic com.sun.org.apache.xml.internal.security.algorithms.JCEMapper.translateURItoJCEID:(Ljava/lang/String;)Ljava/lang/String;
astore 5
5: StackMap locals: java.lang.String
StackMap stack:
getstatic javax.crypto.spec.PSource$PSpecified.DEFAULT:Ljavax/crypto/spec/PSource$PSpecified;
astore 6
start local 6 6: aload 4
ifnull 8
7: new javax.crypto.spec.PSource$PSpecified
dup
aload 4
invokespecial javax.crypto.spec.PSource$PSpecified.<init>:([B)V
astore 6
8: StackMap locals: javax.crypto.spec.PSource$PSpecified
StackMap stack:
new java.security.spec.MGF1ParameterSpec
dup
ldc "SHA-1"
invokespecial java.security.spec.MGF1ParameterSpec.<init>:(Ljava/lang/String;)V
astore 7
start local 7 9: ldc "http://www.w3.org/2009/xmlenc11#rsa-oaep"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
10: ldc "http://www.w3.org/2009/xmlenc11#mgf1sha256"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: new java.security.spec.MGF1ParameterSpec
dup
ldc "SHA-256"
invokespecial java.security.spec.MGF1ParameterSpec.<init>:(Ljava/lang/String;)V
astore 7
12: goto 18
StackMap locals: java.security.spec.MGF1ParameterSpec
StackMap stack:
13: ldc "http://www.w3.org/2009/xmlenc11#mgf1sha384"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: new java.security.spec.MGF1ParameterSpec
dup
ldc "SHA-384"
invokespecial java.security.spec.MGF1ParameterSpec.<init>:(Ljava/lang/String;)V
astore 7
15: goto 18
StackMap locals:
StackMap stack:
16: ldc "http://www.w3.org/2009/xmlenc11#mgf1sha512"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: new java.security.spec.MGF1ParameterSpec
dup
ldc "SHA-512"
invokespecial java.security.spec.MGF1ParameterSpec.<init>:(Ljava/lang/String;)V
astore 7
18: StackMap locals:
StackMap stack:
new javax.crypto.spec.OAEPParameterSpec
dup
aload 5
ldc "MGF1"
aload 7
aload 6
invokespecial javax.crypto.spec.OAEPParameterSpec.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;Ljavax/crypto/spec/PSource;)V
areturn
end local 7 end local 6 end local 5 19: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 20 1 encryptionAlgorithm Ljava/lang/String;
0 20 2 digestAlgorithm Ljava/lang/String;
0 20 3 mgfAlgorithm Ljava/lang/String;
0 20 4 oaepParams [B
3 19 5 jceDigestAlgorithm Ljava/lang/String;
6 19 6 pSource Ljavax/crypto/spec/PSource$PSpecified;
9 19 7 mgfParameterSpec Ljava/security/spec/MGF1ParameterSpec;
MethodParameters:
Name Flags
encryptionAlgorithm
digestAlgorithm
mgfAlgorithm
oaepParams
private javax.crypto.Cipher constructCipher(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.sun.org.apache.xml.internal.security.algorithms.JCEMapper.translateURItoJCEID:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 3
2: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "JCE Algorithm = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
ifnonnull 6
4: aload 3
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 4
start local 4 5: goto 24
end local 4 6: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 4
start local 4 7: goto 24
end local 4 StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
8: astore 5
start local 5 9: ldc "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
10: aload 2
ifnull 12
11: ldc "http://www.w3.org/2000/09/xmldsig#sha1"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
12: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher java.lang.String java.lang.String java.lang.String top java.security.NoSuchAlgorithmException
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
ifnonnull 15
13: ldc "RSA/ECB/OAEPWithSHA1AndMGF1Padding"
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 4
start local 4 14: goto 24
end local 4 15: StackMap locals:
StackMap stack:
ldc "RSA/ECB/OAEPWithSHA1AndMGF1Padding"
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 4
start local 4 16: goto 24
end local 4 StackMap locals:
StackMap stack: java.lang.Exception
17: astore 6
start local 6 18: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 6
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 6 19: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 5
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 20: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher java.lang.String java.lang.String java.lang.String
StackMap stack: java.security.NoSuchProviderException
astore 5
start local 5 21: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 5
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 22: StackMap locals:
StackMap stack: javax.crypto.NoSuchPaddingException
astore 5
start local 5 23: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 5
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 5 start local 4 24: StackMap locals: javax.crypto.Cipher
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 25 1 algorithm Ljava/lang/String;
0 25 2 digestAlgorithm Ljava/lang/String;
1 25 3 jceAlgorithm Ljava/lang/String;
5 6 4 c Ljavax/crypto/Cipher;
7 8 4 c Ljavax/crypto/Cipher;
14 15 4 c Ljavax/crypto/Cipher;
16 17 4 c Ljavax/crypto/Cipher;
24 25 4 c Ljavax/crypto/Cipher;
9 20 5 nsae Ljava/security/NoSuchAlgorithmException;
18 19 6 ex Ljava/lang/Exception;
21 22 5 nspre Ljava/security/NoSuchProviderException;
23 24 5 nspae Ljavax/crypto/NoSuchPaddingException;
Exception table:
from to target type
3 7 8 Class java.security.NoSuchAlgorithmException
12 16 17 Class java.lang.Exception
3 7 20 Class java.security.NoSuchProviderException
3 7 22 Class javax.crypto.NoSuchPaddingException
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
algorithm
digestAlgorithm
public java.security.Key decryptKey(com.sun.org.apache.xml.internal.security.encryption.EncryptedKey);
descriptor: (Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;)Ljava/security/Key;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.ed:Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getAlgorithm:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.decryptKey:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;Ljava/lang/String;)Ljava/security/Key;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 encryptedKey Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
encryptedKey
private static void removeContent(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: goto 2
1: StackMap locals:
StackMap stack:
aload 0
aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.removeChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.hasChildNodes:()Z
ifne 1
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
private org.w3c.dom.Document decryptElement(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Decrypting element..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_2
if_icmpeq 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in DECRYPT_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.decryptToByteArray:(Lorg/w3c/dom/Element;)[B
astore 2
start local 2 5: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 7
6: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Decrypted octets:\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
new java.lang.String
dup
aload 2
invokespecial java.lang.String.<init>:([B)V
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
7: StackMap locals: byte[]
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getParentNode:()Lorg/w3c/dom/Node;
astore 3
start local 3 8: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.serializer:Lcom/sun/org/apache/xml/internal/security/encryption/Serializer;
aload 2
aload 3
invokeinterface com.sun.org.apache.xml.internal.security.encryption.Serializer.deserialize:([BLorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 4
start local 4 9: aload 3
ifnull 13
bipush 9
aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpne 13
10: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Document.removeChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
11: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
aload 4
invokeinterface org.w3c.dom.Document.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
12: goto 15
StackMap locals: org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
13: aload 3
ifnull 15
14: aload 3
aload 4
aload 1
invokeinterface org.w3c.dom.Node.replaceChild:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.contextDocument:Lorg/w3c/dom/Document;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 16 1 element Lorg/w3c/dom/Element;
5 16 2 octets [B
8 16 3 sourceParent Lorg/w3c/dom/Node;
9 16 4 decryptedNode Lorg/w3c/dom/Node;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
element
private org.w3c.dom.Document decryptElementContent(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
1: ldc "http://www.w3.org/2001/04/xmlenc#"
2: ldc "EncryptedData"
3: invokeinterface org.w3c.dom.Element.getElementsByTagNameNS:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
4: iconst_0
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
5: checkcast org.w3c.dom.Element
6: astore 2
start local 2 7: aload 2
ifnonnull 9
8: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "No EncryptedData child element."
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher.decryptElement:(Lorg/w3c/dom/Element;)Lorg/w3c/dom/Document;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 10 1 element Lorg/w3c/dom/Element;
7 10 2 e Lorg/w3c/dom/Element;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
element
public byte[] decryptToByteArray(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 2
1: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "Decrypting to ByteArray..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
iconst_2
if_icmpeq 4
3: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
ldc "XMLCipher unexpectedly not in DECRYPT_MODE..."
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptedData:(Lorg/w3c/dom/Element;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
astore 2
start local 2 5: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
ifnonnull 29
6: aload 2
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.getKeyInfo:()Lcom/sun/org/apache/xml/internal/security/keys/KeyInfo;
astore 3
start local 3 7: aload 3
ifnull 24
8: aload 2
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getAlgorithm:()Ljava/lang/String;
astore 4
start local 4 9: new com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.EncryptedKeyResolver
dup
aload 4
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.kek:Ljava/security/Key;
invokespecial com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.EncryptedKeyResolver.<init>:(Ljava/lang/String;Ljava/security/Key;)V
astore 5
start local 5 10: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.internalKeyResolvers:Ljava/util/List;
ifnull 17
11: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.internalKeyResolvers:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 6
start local 6 12: iconst_0
istore 7
start local 7 13: goto 16
14: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Element com.sun.org.apache.xml.internal.security.encryption.EncryptedData com.sun.org.apache.xml.internal.security.keys.KeyInfo java.lang.String com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.EncryptedKeyResolver int int
StackMap stack:
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.internalKeyResolvers:Ljava/util/List;
iload 7
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.org.apache.xml.internal.security.keys.keyresolver.KeyResolverSpi
invokevirtual com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.EncryptedKeyResolver.registerInternalKeyResolver:(Lcom/sun/org/apache/xml/internal/security/keys/keyresolver/KeyResolverSpi;)V
15: iinc 7 1
StackMap locals:
StackMap stack:
16: iload 7
iload 6
if_icmplt 14
end local 7 end local 6 17: StackMap locals:
StackMap stack:
aload 3
aload 5
invokevirtual com.sun.org.apache.xml.internal.security.keys.KeyInfo.registerInternalKeyResolver:(Lcom/sun/org/apache/xml/internal/security/keys/keyresolver/KeyResolverSpi;)V
18: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.secureValidation:Z
invokevirtual com.sun.org.apache.xml.internal.security.keys.KeyInfo.setSecureValidation:(Z)V
19: aload 0
aload 3
invokevirtual com.sun.org.apache.xml.internal.security.keys.KeyInfo.getSecretKey:()Ljavax/crypto/SecretKey;
putfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
end local 5 end local 4 20: goto 24
StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Element com.sun.org.apache.xml.internal.security.encryption.EncryptedData com.sun.org.apache.xml.internal.security.keys.KeyInfo
StackMap stack: com.sun.org.apache.xml.internal.security.keys.keyresolver.KeyResolverException
21: astore 4
start local 4 22: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 24
23: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.keys.keyresolver.KeyResolverException.getMessage:()Ljava/lang/String;
aload 4
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 4 24: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
ifnonnull 29
25: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
26: ldc "XMLCipher::decryptElement called without a key and unable to resolve"
27: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
28: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "encryption.nokey"
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;)V
athrow
end local 3 29: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput
dup
aload 2
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput.<init>:(Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedType;)V
astore 3
start local 3 30: aload 3
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.secureValidation:Z
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput.setSecureValidation:(Z)V
31: aload 3
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput.getBytes:()[B
astore 4
start local 4 32: aload 2
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getAlgorithm:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.security.algorithms.JCEMapper.translateURItoJCEID:(Ljava/lang/String;)Ljava/lang/String;
33: astore 5
start local 5 34: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 36
35: getstatic com.sun.org.apache.xml.internal.security.encryption.XMLCipher.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "JCE Algorithm = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
36: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput byte[] java.lang.String
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
ifnonnull 39
37: aload 5
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 6
start local 6 38: goto 47
end local 6 39: StackMap locals:
StackMap stack:
aload 5
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.requestedJCEProvider:Ljava/lang/String;
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 6
start local 6 40: goto 47
end local 6 StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
41: astore 7
start local 7 42: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 7
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 7 43: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 7
start local 7 44: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 7
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 7 45: StackMap locals:
StackMap stack: javax.crypto.NoSuchPaddingException
astore 7
start local 7 46: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 7
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 7 start local 6 47: StackMap locals: javax.crypto.Cipher
StackMap stack:
aload 6
invokevirtual javax.crypto.Cipher.getBlockSize:()I
istore 7
start local 7 48: aload 2
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptedData.getEncryptionMethod:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
invokeinterface com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod.getAlgorithm:()Ljava/lang/String;
astore 8
start local 8 49: ldc "http://www.w3.org/2009/xmlenc11#aes128-gcm"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 50
ldc "http://www.w3.org/2009/xmlenc11#aes192-gcm"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 50
ldc "http://www.w3.org/2009/xmlenc11#aes256-gcm"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 51
50: StackMap locals: int java.lang.String
StackMap stack:
bipush 12
istore 7
51: StackMap locals:
StackMap stack:
iload 7
newarray 8
astore 9
start local 9 52: aload 4
iconst_0
aload 9
iconst_0
iload 7
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
53: new javax.crypto.spec.IvParameterSpec
dup
aload 9
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
astore 10
start local 10 54: aload 6
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.cipherMode:I
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.key:Ljava/security/Key;
aload 10
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
55: goto 60
StackMap locals: com.sun.org.apache.xml.internal.security.encryption.XMLCipher org.w3c.dom.Element com.sun.org.apache.xml.internal.security.encryption.EncryptedData com.sun.org.apache.xml.internal.security.encryption.XMLCipherInput byte[] java.lang.String javax.crypto.Cipher int java.lang.String byte[] javax.crypto.spec.IvParameterSpec
StackMap stack: java.security.InvalidKeyException
56: astore 11
start local 11 57: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 11
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 11 58: StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
astore 11
start local 11 59: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 11
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 11 60: StackMap locals:
StackMap stack:
aload 6
aload 4
iload 7
aload 4
arraylength
iload 7
isub
invokevirtual javax.crypto.Cipher.doFinal:([BII)[B
61: areturn
62: StackMap locals:
StackMap stack: javax.crypto.IllegalBlockSizeException
astore 11
start local 11 63: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 11
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 11 64: StackMap locals:
StackMap stack: javax.crypto.BadPaddingException
astore 11
start local 11 65: new com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
dup
ldc "empty"
aload 11
invokespecial com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 11 end local 10 end local 9 end local 8 end local 7 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 66 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 66 1 element Lorg/w3c/dom/Element;
5 66 2 encryptedData Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
7 29 3 ki Lcom/sun/org/apache/xml/internal/security/keys/KeyInfo;
9 20 4 encMethodAlgorithm Ljava/lang/String;
10 20 5 resolver Lcom/sun/org/apache/xml/internal/security/keys/keyresolver/implementations/EncryptedKeyResolver;
12 17 6 size I
13 17 7 i I
22 24 4 kre Lcom/sun/org/apache/xml/internal/security/keys/keyresolver/KeyResolverException;
30 66 3 cipherInput Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipherInput;
32 66 4 encryptedBytes [B
34 66 5 jceAlgorithm Ljava/lang/String;
38 39 6 c Ljavax/crypto/Cipher;
40 41 6 c Ljavax/crypto/Cipher;
47 66 6 c Ljavax/crypto/Cipher;
42 43 7 nsae Ljava/security/NoSuchAlgorithmException;
44 45 7 nspre Ljava/security/NoSuchProviderException;
46 47 7 nspae Ljavax/crypto/NoSuchPaddingException;
48 66 7 ivLen I
49 66 8 alg Ljava/lang/String;
52 66 9 ivBytes [B
54 66 10 iv Ljavax/crypto/spec/IvParameterSpec;
57 58 11 ike Ljava/security/InvalidKeyException;
59 60 11 iape Ljava/security/InvalidAlgorithmParameterException;
63 64 11 ibse Ljavax/crypto/IllegalBlockSizeException;
65 66 11 bpe Ljavax/crypto/BadPaddingException;
Exception table:
from to target type
8 20 21 Class com.sun.org.apache.xml.internal.security.keys.keyresolver.KeyResolverException
36 40 41 Class java.security.NoSuchAlgorithmException
36 40 43 Class java.security.NoSuchProviderException
36 40 45 Class javax.crypto.NoSuchPaddingException
54 55 56 Class java.security.InvalidKeyException
54 55 58 Class java.security.InvalidAlgorithmParameterException
60 61 62 Class javax.crypto.IllegalBlockSizeException
60 61 64 Class javax.crypto.BadPaddingException
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
element
public com.sun.org.apache.xml.internal.security.encryption.EncryptedData createEncryptedData(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: iload 1
tableswitch { // 1 - 2
1: 8
2: 3
default: 12
}
3: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.EncryptedData com.sun.org.apache.xml.internal.security.encryption.CipherData
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherReference:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;
astore 5
start local 5 4: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
iload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherData:(I)Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
astore 4
5: aload 4
aload 5
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherData.setCipherReference:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;)V
6: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptedData:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
astore 3
7: goto 12
end local 5 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherValue:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
astore 6
start local 6 9: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
iload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherData:(I)Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
astore 4
10: aload 4
aload 6
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherData.setCipherValue:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;)V
11: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptedData:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
astore 3
end local 6 12: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 13 1 type I
0 13 2 value Ljava/lang/String;
1 13 3 result Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedData;
2 13 4 data Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
4 8 5 cipherReference Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;
9 12 6 cipherValue Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
type
value
public com.sun.org.apache.xml.internal.security.encryption.EncryptedKey createEncryptedKey(int, java.lang.String);
descriptor: (ILjava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: iload 1
tableswitch { // 1 - 2
1: 8
2: 3
default: 12
}
3: StackMap locals: com.sun.org.apache.xml.internal.security.encryption.EncryptedKey com.sun.org.apache.xml.internal.security.encryption.CipherData
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherReference:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;
astore 5
start local 5 4: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
iload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherData:(I)Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
astore 4
5: aload 4
aload 5
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherData.setCipherReference:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;)V
6: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptedKey:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
astore 3
7: goto 12
end local 5 8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherValue:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
astore 6
start local 6 9: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
iload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherData:(I)Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
astore 4
10: aload 4
aload 6
invokeinterface com.sun.org.apache.xml.internal.security.encryption.CipherData.setCipherValue:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;)V
11: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 4
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptedKey:(Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
astore 3
end local 6 12: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 13 1 type I
0 13 2 value Ljava/lang/String;
1 13 3 result Lcom/sun/org/apache/xml/internal/security/encryption/EncryptedKey;
2 13 4 data Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
4 8 5 cipherReference Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;
9 12 6 cipherValue Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
Exceptions:
throws com.sun.org.apache.xml.internal.security.encryption.XMLEncryptionException
MethodParameters:
Name Flags
type
value
public com.sun.org.apache.xml.internal.security.encryption.AgreementMethod createAgreementMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/AgreementMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newAgreementMethod:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/AgreementMethod;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 algorithm Ljava/lang/String;
MethodParameters:
Name Flags
algorithm
public com.sun.org.apache.xml.internal.security.encryption.CipherData createCipherData(int);
descriptor: (I)Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
iload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherData:(I)Lcom/sun/org/apache/xml/internal/security/encryption/CipherData;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 type I
MethodParameters:
Name Flags
type
public com.sun.org.apache.xml.internal.security.encryption.CipherReference createCipherReference(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherReference:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherReference;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
public com.sun.org.apache.xml.internal.security.encryption.CipherValue createCipherValue(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newCipherValue:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/CipherValue;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public com.sun.org.apache.xml.internal.security.encryption.EncryptionMethod createEncryptionMethod(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptionMethod:(Ljava/lang/String;)Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionMethod;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 algorithm Ljava/lang/String;
MethodParameters:
Name Flags
algorithm
public com.sun.org.apache.xml.internal.security.encryption.EncryptionProperties createEncryptionProperties();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionProperties;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptionProperties:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionProperties;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
public com.sun.org.apache.xml.internal.security.encryption.EncryptionProperty createEncryptionProperty();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionProperty;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newEncryptionProperty:()Lcom/sun/org/apache/xml/internal/security/encryption/EncryptionProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
public com.sun.org.apache.xml.internal.security.encryption.ReferenceList createReferenceList(int);
descriptor: (I)Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
iload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newReferenceList:(I)Lcom/sun/org/apache/xml/internal/security/encryption/ReferenceList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 type I
MethodParameters:
Name Flags
type
public com.sun.org.apache.xml.internal.security.encryption.Transforms createTransforms();
descriptor: ()Lcom/sun/org/apache/xml/internal/security/encryption/Transforms;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newTransforms:()Lcom/sun/org/apache/xml/internal/security/encryption/Transforms;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
public com.sun.org.apache.xml.internal.security.encryption.Transforms createTransforms(org.w3c.dom.Document);
descriptor: (Lorg/w3c/dom/Document;)Lcom/sun/org/apache/xml/internal/security/encryption/Transforms;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.encryption.XMLCipher.factory:Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher$Factory;
aload 1
invokevirtual com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory.newTransforms:(Lorg/w3c/dom/Document;)Lcom/sun/org/apache/xml/internal/security/encryption/Transforms;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher;
0 1 1 doc Lorg/w3c/dom/Document;
MethodParameters:
Name Flags
doc
}
SourceFile: "XMLCipher.java"
NestMembers:
com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$AgreementMethodImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$CipherDataImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$CipherReferenceImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$CipherValueImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$EncryptedDataImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$EncryptedKeyImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$EncryptedTypeImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$EncryptionMethodImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$EncryptionPropertiesImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$EncryptionPropertyImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$ReferenceListImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$ReferenceListImpl$DataReference com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$ReferenceListImpl$KeyReference com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$ReferenceListImpl$ReferenceImpl com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory$TransformsImpl
InnerClasses:
private Factory = com.sun.org.apache.xml.internal.security.encryption.XMLCipher$Factory of com.sun.org.apache.xml.internal.security.encryption.XMLCipher
public final PSpecified = javax.crypto.spec.PSource$PSpecified of javax.crypto.spec.PSource