public class org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod extends org.jcp.xml.dsig.internal.dom.DOMTransform implements javax.xml.crypto.dsig.CanonicalizationMethod
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod
super_class: org.jcp.xml.dsig.internal.dom.DOMTransform
{
public void <init>(javax.xml.crypto.dsig.TransformService);
descriptor: (Ljavax/xml/crypto/dsig/TransformService;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jcp.xml.dsig.internal.dom.DOMTransform.<init>:(Ljavax/xml/crypto/dsig/TransformService;)V
1: aload 1
instanceof org.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
ifne 6
2: aload 1
invokevirtual javax.xml.crypto.dsig.TransformService.getAlgorithm:()Ljava/lang/String;
invokestatic org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.isC14Nalg:(Ljava/lang/String;)Z
ifne 6
3: new java.security.InvalidAlgorithmParameterException
dup
4: ldc "Illegal CanonicalizationMethod"
5: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod javax.xml.crypto.dsig.TransformService
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod;
0 7 1 spi Ljavax/xml/crypto/dsig/TransformService;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
spi
public void <init>(Element, javax.xml.crypto.XMLCryptoContext, java.security.Provider);
descriptor: (LElement;Ljavax/xml/crypto/XMLCryptoContext;Ljava/security/Provider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import org.w3c cannot be resolved\n\tElement cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
cmElem
context
provider
public javax.xml.crypto.Data canonicalize(javax.xml.crypto.Data, javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;)Ljavax/xml/crypto/Data;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod;
0 1 1 data Ljavax/xml/crypto/Data;
0 1 2 xc Ljavax/xml/crypto/XMLCryptoContext;
Exceptions:
throws javax.xml.crypto.dsig.TransformException
MethodParameters:
Name Flags
data
xc
public javax.xml.crypto.Data canonicalize(javax.xml.crypto.Data, javax.xml.crypto.XMLCryptoContext, java.io.OutputStream);
descriptor: (Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/OutputStream;)Ljavax/xml/crypto/Data;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.transform:(Ljavax/xml/crypto/Data;Ljavax/xml/crypto/XMLCryptoContext;Ljava/io/OutputStream;)Ljavax/xml/crypto/Data;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod;
0 1 1 data Ljavax/xml/crypto/Data;
0 1 2 xc Ljavax/xml/crypto/XMLCryptoContext;
0 1 3 os Ljava/io/OutputStream;
Exceptions:
throws javax.xml.crypto.dsig.TransformException
MethodParameters:
Name Flags
data
xc
os
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.xml.crypto.dsig.CanonicalizationMethod
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.dsig.CanonicalizationMethod
astore 2
start local 2 5: aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.getAlgorithm:()Ljava/lang/String;
aload 2
invokeinterface javax.xml.crypto.dsig.CanonicalizationMethod.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.getParameterSpec:()Ljava/security/spec/AlgorithmParameterSpec;
aload 2
invokeinterface javax.xml.crypto.dsig.CanonicalizationMethod.getParameterSpec:()Ljava/security/spec/AlgorithmParameterSpec;
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.paramsEqual:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/spec/AlgorithmParameterSpec;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: javax.xml.crypto.dsig.CanonicalizationMethod
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod;
0 9 1 o Ljava/lang/Object;
5 9 2 ocm Ljavax/xml/crypto/dsig/CanonicalizationMethod;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
istore 1
2: aload 0
invokevirtual org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.getParameterSpec:()Ljava/security/spec/AlgorithmParameterSpec;
astore 2
start local 2 3: aload 2
ifnull 5
4: bipush 31
iload 1
imul
aload 2
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
5: StackMap locals: int java.security.spec.AlgorithmParameterSpec
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod;
1 6 1 result I
3 6 2 spec Ljava/security/spec/AlgorithmParameterSpec;
private static boolean isC14Nalg(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/TR/2001/REC-xml-c14n-20010315"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
1: aload 0
ldc "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
2: aload 0
ldc "http://www.w3.org/2001/10/xml-exc-c14n#"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
3: aload 0
ldc "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
4: aload 0
ldc "http://www.w3.org/2006/12/xml-c14n11"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
5: aload 0
ldc "http://www.w3.org/2006/12/xml-c14n11#WithComments"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
StackMap locals:
StackMap stack:
7: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 alg Ljava/lang/String;
MethodParameters:
Name Flags
alg
}
SourceFile: "DOMCanonicalizationMethod.java"