public final class org.jcp.xml.dsig.internal.dom.Utils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jcp.xml.dsig.internal.dom.Utils
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jcp/xml/dsig/internal/dom/Utils;
public static byte[] readBytesFromStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: sipush 1024
newarray 8
astore 2
start local 2 2: StackMap locals: java.io.ByteArrayOutputStream byte[]
StackMap stack:
aload 0
aload 2
invokevirtual java.io.InputStream.read:([B)I
istore 3
start local 3 3: iload 3
iconst_m1
if_icmpne 5
4: goto 7
5: StackMap locals: int
StackMap stack:
aload 1
aload 2
iconst_0
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
6: iload 3
sipush 1024
if_icmpge 2
end local 3 7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 is Ljava/io/InputStream;
1 8 1 baos Ljava/io/ByteArrayOutputStream;
2 8 2 buf [B
3 7 3 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
static java.util.Set<Node> toNodeSet(java.util.Iterator<Node>);
descriptor: (Ljava/util/Iterator;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a variable\n\tNamedNodeMap cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Ljava/util/Iterator<LNode;>;)Ljava/util/Set<LNode;>;
MethodParameters:
Name Flags
i
public static java.lang.String parseIdFromSameDocumentURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 7
aload 1
ldc "xpointer(id("
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
4: aload 1
bipush 39
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 5: aload 1
bipush 39
iload 2
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 3
start local 3 6: aload 1
iload 2
iconst_1
iadd
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
end local 3 end local 2 7: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 uri Ljava/lang/String;
3 8 1 id Ljava/lang/String;
5 7 2 i1 I
6 7 3 i2 I
MethodParameters:
Name Flags
uri
public static boolean sameDocumentURI(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
aload 0
invokevirtual java.lang.String.length:()I
ifeq 1
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 2
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 uri Ljava/lang/String;
MethodParameters:
Name Flags
uri
static boolean secureValidation(javax.xml.crypto.XMLCryptoContext);
descriptor: (Ljavax/xml/crypto/XMLCryptoContext;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "org.jcp.xml.dsig.secureValidation"
invokestatic org.jcp.xml.dsig.internal.dom.Utils.getBoolean:(Ljavax/xml/crypto/XMLCryptoContext;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 xc Ljavax/xml/crypto/XMLCryptoContext;
MethodParameters:
Name Flags
xc
private static boolean getBoolean(javax.xml.crypto.XMLCryptoContext, java.lang.String);
descriptor: (Ljavax/xml/crypto/XMLCryptoContext;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface javax.xml.crypto.XMLCryptoContext.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 2
iconst_1
ireturn
StackMap locals: java.lang.Boolean
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 xc Ljavax/xml/crypto/XMLCryptoContext;
0 3 1 name Ljava/lang/String;
1 3 2 value Ljava/lang/Boolean;
MethodParameters:
Name Flags
xc
name
}
SourceFile: "Utils.java"