public class com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue extends com.sun.org.apache.xml.internal.security.utils.Signature11ElementProxy implements com.sun.org.apache.xml.internal.security.keys.content.KeyInfoContent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue
super_class: com.sun.org.apache.xml.internal.security.utils.Signature11ElementProxy
{
private static final java.lang.String[] supportedKeyTypes;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "RSA"
aastore
dup
iconst_1
ldc "DSA"
aastore
dup
iconst_2
ldc "EC"
aastore
putstatic com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.supportedKeyTypes:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.w3c.dom.Element, java.lang.String);
descriptor: (Lorg/w3c/dom/Element;Ljava/lang/String;)V
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
invokespecial com.sun.org.apache.xml.internal.security.utils.Signature11ElementProxy.<init>:(Lorg/w3c/dom/Element;Ljava/lang/String;)V
1: return
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/keys/content/DEREncodedKeyValue;
0 2 1 element Lorg/w3c/dom/Element;
0 2 2 BaseURI Ljava/lang/String;
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
MethodParameters:
Name Flags
element
BaseURI
public void <init>(org.w3c.dom.Document, java.security.PublicKey);
descriptor: (Lorg/w3c/dom/Document;Ljava/security/PublicKey;)V
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
invokespecial com.sun.org.apache.xml.internal.security.utils.Signature11ElementProxy.<init>:(Lorg/w3c/dom/Document;)V
1: aload 0
aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.getEncodedDER:(Ljava/security/PublicKey;)[B
invokevirtual com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.addBase64Text:([B)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/keys/content/DEREncodedKeyValue;
0 3 1 doc Lorg/w3c/dom/Document;
0 3 2 publicKey Ljava/security/PublicKey;
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
MethodParameters:
Name Flags
doc
publicKey
public void <init>(org.w3c.dom.Document, byte[]);
descriptor: (Lorg/w3c/dom/Document;[B)V
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
invokespecial com.sun.org.apache.xml.internal.security.utils.Signature11ElementProxy.<init>:(Lorg/w3c/dom/Document;)V
1: aload 0
aload 2
invokevirtual com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.addBase64Text:([B)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/keys/content/DEREncodedKeyValue;
0 3 1 doc Lorg/w3c/dom/Document;
0 3 2 encodedKey [B
MethodParameters:
Name Flags
doc
encodedKey
public void setId(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: aload 0
getfield com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Id"
aload 1
invokeinterface org.w3c.dom.Element.setAttributeNS:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
2: aload 0
getfield com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Id"
iconst_1
invokeinterface org.w3c.dom.Element.setIdAttributeNS:(Ljava/lang/String;Ljava/lang/String;Z)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Id"
invokeinterface org.w3c.dom.Element.removeAttributeNS:(Ljava/lang/String;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xml/internal/security/keys/content/DEREncodedKeyValue;
0 6 1 id Ljava/lang/String;
MethodParameters:
Name Flags
id
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.constructionElement:Lorg/w3c/dom/Element;
aconst_null
ldc "Id"
invokeinterface org.w3c.dom.Element.getAttributeNS:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/keys/content/DEREncodedKeyValue;
public java.lang.String getBaseLocalName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "DEREncodedKeyValue"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/keys/content/DEREncodedKeyValue;
public java.security.PublicKey getPublicKey();
descriptor: ()Ljava/security/PublicKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.getBytesFromTextChild:()[B
astore 1
start local 1 1: getstatic com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue.supportedKeyTypes:[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 12
StackMap locals: com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue byte[] top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 6
start local 6 4: new java.security.spec.X509EncodedKeySpec
dup
aload 1
invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
astore 7
start local 7 5: aload 6
aload 7
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
astore 8
start local 8 6: aload 8
ifnull 11
7: aload 8
8: areturn
end local 8 end local 7 end local 6 9: StackMap locals: com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue byte[] java.lang.String int int java.lang.String[]
StackMap stack: java.security.NoSuchAlgorithmException
pop
goto 11
10: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
pop
end local 2 11: StackMap locals: com.sun.org.apache.xml.internal.security.keys.content.DEREncodedKeyValue byte[] top int int java.lang.String[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 4
if_icmplt 2
13: new com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
dup
ldc "DEREncodedKeyValue.UnsupportedEncodedKey"
invokespecial com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/xml/internal/security/keys/content/DEREncodedKeyValue;
1 14 1 encodedKey [B
3 11 2 keyType Ljava/lang/String;
4 9 6 keyFactory Ljava/security/KeyFactory;
5 9 7 keySpec Ljava/security/spec/X509EncodedKeySpec;
6 9 8 publicKey Ljava/security/PublicKey;
Exception table:
from to target type
3 8 9 Class java.security.NoSuchAlgorithmException
3 8 10 Class java.security.spec.InvalidKeySpecException
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
protected byte[] getEncodedDER(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 2
start local 2 1: aload 2
aload 1
ldc Ljava/security/spec/X509EncodedKeySpec;
invokevirtual java.security.KeyFactory.getKeySpec:(Ljava/security/Key;Ljava/lang/Class;)Ljava/security/spec/KeySpec;
checkcast java.security.spec.X509EncodedKeySpec
astore 3
start local 3 2: aload 3
invokevirtual java.security.spec.X509EncodedKeySpec.getEncoded:()[B
3: areturn
end local 3 end local 2 4: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 2
start local 2 5: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokeinterface java.security.PublicKey.getFormat:()Ljava/lang/String;
aastore
dup
iconst_2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
astore 3
start local 3 6: new com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
dup
ldc "DEREncodedKeyValue.UnsupportedPublicKey"
aload 3
aload 2
invokespecial com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException.<init>:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Exception;)V
athrow
end local 3 end local 2 7: StackMap locals:
StackMap stack: java.security.spec.InvalidKeySpecException
astore 2
start local 2 8: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokeinterface java.security.PublicKey.getFormat:()Ljava/lang/String;
aastore
dup
iconst_2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
astore 3
start local 3 9: new com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
dup
ldc "DEREncodedKeyValue.UnsupportedPublicKey"
aload 3
aload 2
invokespecial com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException.<init>:(Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Exception;)V
athrow
end local 3 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/keys/content/DEREncodedKeyValue;
0 10 1 publicKey Ljava/security/PublicKey;
1 4 2 keyFactory Ljava/security/KeyFactory;
2 4 3 keySpec Ljava/security/spec/X509EncodedKeySpec;
5 7 2 e Ljava/security/NoSuchAlgorithmException;
6 7 3 exArgs [Ljava/lang/Object;
8 10 2 e Ljava/security/spec/InvalidKeySpecException;
9 10 3 exArgs [Ljava/lang/Object;
Exception table:
from to target type
0 3 4 Class java.security.NoSuchAlgorithmException
0 3 7 Class java.security.spec.InvalidKeySpecException
Exceptions:
throws com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException
MethodParameters:
Name Flags
publicKey
}
SourceFile: "DEREncodedKeyValue.java"