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>(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)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 0
aload 0
aload 1
invokevirtual org.jcp.xml.dsig.internal.dom.DOMKeyValue.unmarshalKeyValue:(Lorg/w3c/dom/Element;)Ljava/security/PublicKey;
putfield org.jcp.xml.dsig.internal.dom.DOMKeyValue.publicKey:Ljava/security/PublicKey;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jcp/xml/dsig/internal/dom/DOMKeyValue;
0 3 1 kvtElem Lorg/w3c/dom/Element;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
kvtElem
static javax.xml.crypto.dsig.keyinfo.KeyValue unmarshal(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljavax/xml/crypto/dsig/keyinfo/KeyValue;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getFirstChildElement:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Element;
astore 1
start local 1 1: aload 1
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
ldc "DSAKeyValue"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: new org.jcp.xml.dsig.internal.dom.DOMKeyValue$DSA
dup
aload 1
invokespecial org.jcp.xml.dsig.internal.dom.DOMKeyValue$DSA.<init>:(Lorg/w3c/dom/Element;)V
areturn
3: StackMap locals: org.w3c.dom.Element
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
ldc "RSAKeyValue"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: new org.jcp.xml.dsig.internal.dom.DOMKeyValue$RSA
dup
aload 1
invokespecial org.jcp.xml.dsig.internal.dom.DOMKeyValue$RSA.<init>:(Lorg/w3c/dom/Element;)V
areturn
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.w3c.dom.Element.getLocalName:()Ljava/lang/String;
ldc "ECKeyValue"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: new org.jcp.xml.dsig.internal.dom.DOMKeyValue$EC
dup
aload 1
invokespecial org.jcp.xml.dsig.internal.dom.DOMKeyValue$EC.<init>:(Lorg/w3c/dom/Element;)V
areturn
7: StackMap locals:
StackMap stack:
new org.jcp.xml.dsig.internal.dom.DOMKeyValue$Unknown
dup
aload 1
invokespecial org.jcp.xml.dsig.internal.dom.DOMKeyValue$Unknown.<init>:(Lorg/w3c/dom/Element;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 kvElem Lorg/w3c/dom/Element;
1 8 1 kvtElem Lorg/w3c/dom/Element;
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(org.w3c.dom.Node, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
astore 4
start local 4 1: aload 4
ldc "KeyValue"
2: ldc "http://www.w3.org/2000/09/xmldsig#"
aload 2
3: invokestatic org.jcp.xml.dsig.internal.dom.DOMUtils.createElement:(Lorg/w3c/dom/Document;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 5
start local 5 4: aload 0
aload 5
aload 4
aload 2
aload 3
invokevirtual org.jcp.xml.dsig.internal.dom.DOMKeyValue.marshalPublicKey:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Document;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
5: aload 1
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jcp/xml/dsig/internal/dom/DOMKeyValue;
0 7 1 parent Lorg/w3c/dom/Node;
0 7 2 dsPrefix Ljava/lang/String;
0 7 3 context Ljavax/xml/crypto/dom/DOMCryptoContext;
1 7 4 ownerDoc Lorg/w3c/dom/Document;
4 7 5 kvElem Lorg/w3c/dom/Element;
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
dsPrefix
context
abstract void marshalPublicKey(org.w3c.dom.Node, org.w3c.dom.Document, java.lang.String, javax.xml.crypto.dom.DOMCryptoContext);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Document;Ljava/lang/String;Ljavax/xml/crypto/dom/DOMCryptoContext;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws javax.xml.crypto.MarshalException
MethodParameters:
Name Flags
parent
doc
dsPrefix
context
abstract java.security.PublicKey unmarshalKeyValue(org.w3c.dom.Element);
descriptor: (Lorg/w3c/dom/Element;)Ljava/security/PublicKey;
flags: (0x0400) ACC_ABSTRACT
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
private static java.math.BigInteger bigInt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/math/BigInteger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.math.BigInteger
dup
aload 0
bipush 16
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
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$Curve 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