public abstract class org.jcp.xml.dsig.internal.dom.DOMKeyValue extends org.jcp.xml.dsig.internal.dom.DOMStructure implements javax.xml.crypto.dsig.keyinfo.KeyValue
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jcp.xml.dsig.internal.dom.DOMKeyValue
super_class: org.jcp.xml.dsig.internal.dom.DOMStructure
{
private static final java.lang.String XMLDSIG_11_XMLNS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2009/xmldsig11#"
private final java.security.PublicKey publicKey;
descriptor: Ljava/security/PublicKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jcp.xml.dsig.internal.dom.DOMStructure.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "key cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMKeyValue java.security.PublicKey
StackMap stack:
aload 0
aload 1
putfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jcp/xml/dsig/internal/dom/DOMKeyValue;
0 5 1 key Ljava/security/PublicKey;
Exceptions:
throws java.security.KeyException
MethodParameters:
Name Flags
key
public void <init>(Element);
descriptor: (LElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tThe type DOMKeyValue.RSA must implement the inherited abstract method DOMKeyValue.marshalPublicKey(Node, Document, String, DOMCryptoContext)\n\tThe type DOMKeyValue.RSA must implement the inherited abstract method DOMStructure.marshal(Node, String, DOMCryptoContext)\n\tThe type DOMKeyValue.RSA must implement the inherited abstract method DOMKeyValue.unmarshalKeyValue(Element)\n\tElement cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tThe type DOMKeyValue.DSA must implement the inherited abstract method DOMKeyValue.marshalPublicKey(Node, Document, String, DOMCryptoContext)\n\tThe type DOMKeyValue.DSA must implement the inherited abstract method DOMStructure.marshal(Node, String, DOMCryptoContext)\n\tThe type DOMKeyValue.DSA must implement the inherited abstract method DOMKeyValue.unmarshalKeyValue(Element)\n\tElement cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tThe type DOMKeyValue.EC must implement the inherited abstract method DOMKeyValue.marshalPublicKey(Node, Document, String, DOMCryptoContext)\n\tThe type DOMKeyValue.EC must implement the inherited abstract method DOMStructure.marshal(Node, String, DOMCryptoContext)\n\tThe type DOMKeyValue.EC must implement the inherited abstract method DOMKeyValue.unmarshalKeyValue(Element)\n\tElement cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tThe type DOMKeyValue.Unknown must implement the inherited abstract method DOMKeyValue.marshalPublicKey(Node, Document, String, DOMCryptoContext)\n\tThe type DOMKeyValue.Unknown must implement the inherited abstract method DOMStructure.marshal(Node, String, DOMCryptoContext)\n\tThe type DOMKeyValue.Unknown must implement the inherited abstract method DOMKeyValue.unmarshalKeyValue(Element)\n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tThe method getNode() from the type DOMStructure refers to the missing type Node\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/DOMKeyValue;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
kvtElem
static javax.xml.crypto.dsig.keyinfo.KeyValue unmarshal(Element);
descriptor: (LElement;)Ljavax/xml/crypto/dsig/keyinfo/KeyValue;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tElement cannot be resolved to a type\n\tElement cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
kvElem
public java.security.PublicKey getPublicKey();
descriptor: ()Ljava/security/PublicKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
ifnonnull 2
1: new java.security.KeyException
dup
ldc "can't convert KeyValue to PublicKey"
invokespecial java.security.KeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMKeyValue;
Exceptions:
throws java.security.KeyException
public void marshal(Node, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (LNode;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)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\tNode cannot be resolved to a type\n\tDocument cannot be resolved to a type\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/DOMKeyValue;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
dsPrefix
context
void marshalPublicKey(Node, Document, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (LNode;LDocument;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNode cannot be resolved to a type\n\tDocument 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/DOMKeyValue;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
doc
dsPrefix
context
java.security.PublicKey unmarshalKeyValue(Element);
descriptor: (LElement;)Ljava/security/PublicKey;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \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/DOMKeyValue;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
kvtElem
private static java.security.PublicKey generatePublicKey(java.security.KeyFactory, java.security.spec.KeySpec);
descriptor: (Ljava/security/KeyFactory;Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
1: areturn
2: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
pop
3: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 kf Ljava/security/KeyFactory;
0 4 1 keyspec Ljava/security/spec/KeySpec;
Exception table:
from to target type
0 1 2 Class java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
kf
keyspec
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.keyinfo.KeyValue
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.crypto.dsig.keyinfo.KeyValue
astore 2
start local 2 5: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
ifnonnull 8
6: aload 2
invokeinterface javax.xml.crypto.dsig.keyinfo.KeyValue.getPublicKey:()Ljava/security/PublicKey;
ifnull 12
7: iconst_0
ireturn
8: StackMap locals: javax.xml.crypto.dsig.keyinfo.KeyValue
StackMap stack:
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
aload 2
invokeinterface javax.xml.crypto.dsig.keyinfo.KeyValue.getPublicKey:()Ljava/security/PublicKey;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 12
9: iconst_0
ireturn
end local 2 10: StackMap locals: org.jcp.xml.dsig.internal.dom.DOMKeyValue java.lang.Object
StackMap stack: java.security.KeyException
pop
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jcp/xml/dsig/internal/dom/DOMKeyValue;
0 13 1 obj Ljava/lang/Object;
5 10 2 kv Ljavax/xml/crypto/dsig/keyinfo/KeyValue;
Exception table:
from to target type
4 7 10 Class java.security.KeyException
8 9 10 Class java.security.KeyException
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
ifnull 3
2: bipush 31
iload 1
imul
aload 0
getfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jcp/xml/dsig/internal/dom/DOMKeyValue;
1 4 1 result I
}
SourceFile: "DOMKeyValue.java"
NestMembers:
org.jcp.xml.dsig.internal.dom.DOMKeyValue$DSA org.jcp.xml.dsig.internal.dom.DOMKeyValue$EC org.jcp.xml.dsig.internal.dom.DOMKeyValue$EC$1 org.jcp.xml.dsig.internal.dom.DOMKeyValue$EC$2 org.jcp.xml.dsig.internal.dom.DOMKeyValue$RSA org.jcp.xml.dsig.internal.dom.DOMKeyValue$Unknown
InnerClasses:
final DSA = org.jcp.xml.dsig.internal.dom.DOMKeyValue$DSA of org.jcp.xml.dsig.internal.dom.DOMKeyValue
final EC = org.jcp.xml.dsig.internal.dom.DOMKeyValue$EC of org.jcp.xml.dsig.internal.dom.DOMKeyValue
final RSA = org.jcp.xml.dsig.internal.dom.DOMKeyValue$RSA of org.jcp.xml.dsig.internal.dom.DOMKeyValue
final Unknown = org.jcp.xml.dsig.internal.dom.DOMKeyValue$Unknown of org.jcp.xml.dsig.internal.dom.DOMKeyValue