public final class com.sun.crypto.provider.OAEPParameters extends java.security.AlgorithmParametersSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.crypto.provider.OAEPParameters
super_class: java.security.AlgorithmParametersSpi
{
private java.lang.String mdName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.security.spec.MGF1ParameterSpec mgfSpec;
descriptor: Ljava/security/spec/MGF1ParameterSpec;
flags: (0x0002) ACC_PRIVATE
private byte[] p;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private static sun.security.util.ObjectIdentifier OID_MGF1;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.security.util.ObjectIdentifier OID_PSpecified;
descriptor: Lsun/security/util/ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new sun.security.util.ObjectIdentifier
dup
bipush 7
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
sipush 840
iastore
dup
iconst_3
ldc 113549
iastore
dup
iconst_4
iconst_1
iastore
dup
iconst_5
iconst_1
iastore
dup
bipush 6
bipush 8
iastore
invokespecial sun.security.util.ObjectIdentifier.<init>:([I)V
putstatic com.sun.crypto.provider.OAEPParameters.OID_MGF1:Lsun/security/util/ObjectIdentifier;
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: pop
3: aconst_null
putstatic com.sun.crypto.provider.OAEPParameters.OID_MGF1:Lsun/security/util/ObjectIdentifier;
4: StackMap locals:
StackMap stack:
new sun.security.util.ObjectIdentifier
dup
bipush 7
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
sipush 840
iastore
dup
iconst_3
ldc 113549
iastore
dup
iconst_4
iconst_1
iastore
dup
iconst_5
iconst_1
iastore
dup
bipush 6
bipush 9
iastore
invokespecial sun.security.util.ObjectIdentifier.<init>:([I)V
5: putstatic com.sun.crypto.provider.OAEPParameters.OID_PSpecified:Lsun/security/util/ObjectIdentifier;
6: goto 9
StackMap locals:
StackMap stack: java.io.IOException
7: pop
8: aconst_null
putstatic com.sun.crypto.provider.OAEPParameters.OID_PSpecified:Lsun/security/util/ObjectIdentifier;
9: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.io.IOException
4 6 7 Class java.io.IOException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.AlgorithmParametersSpi.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/OAEPParameters;
protected void engineInit(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.OAEPParameterSpec
ifne 4
1: new java.security.spec.InvalidParameterSpecException
dup
2: ldc "Inappropriate parameter specification"
3: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.crypto.spec.OAEPParameterSpec
astore 2
start local 2 5: aload 0
aload 2
invokevirtual javax.crypto.spec.OAEPParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
putfield com.sun.crypto.provider.OAEPParameters.mdName:Ljava/lang/String;
6: aload 2
invokevirtual javax.crypto.spec.OAEPParameterSpec.getMGFAlgorithm:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
ldc "MGF1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 11
8: new java.security.spec.InvalidParameterSpecException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported mgf "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; MGF1 only"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: javax.crypto.spec.OAEPParameterSpec java.lang.String
StackMap stack:
aload 2
invokevirtual javax.crypto.spec.OAEPParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
astore 4
start local 4 12: aload 4
instanceof java.security.spec.MGF1ParameterSpec
ifne 14
13: new java.security.spec.InvalidParameterSpecException
dup
ldc "Inappropriate mgf parameters; non-null MGF1ParameterSpec only"
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: java.security.spec.AlgorithmParameterSpec
StackMap stack:
aload 0
aload 4
checkcast java.security.spec.MGF1ParameterSpec
putfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
15: aload 2
invokevirtual javax.crypto.spec.OAEPParameterSpec.getPSource:()Ljavax/crypto/spec/PSource;
astore 5
start local 5 16: aload 5
invokevirtual javax.crypto.spec.PSource.getAlgorithm:()Ljava/lang/String;
ldc "PSpecified"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 0
aload 5
checkcast javax.crypto.spec.PSource$PSpecified
invokevirtual javax.crypto.spec.PSource$PSpecified.getValue:()[B
putfield com.sun.crypto.provider.OAEPParameters.p:[B
18: goto 22
19: StackMap locals: javax.crypto.spec.PSource
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported pSource "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 5
invokevirtual javax.crypto.spec.PSource.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; PSpecified only"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
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 23 0 this Lcom/sun/crypto/provider/OAEPParameters;
0 23 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
5 23 2 spec Ljavax/crypto/spec/OAEPParameterSpec;
7 23 3 mgfName Ljava/lang/String;
12 23 4 mgfSpec Ljava/security/spec/AlgorithmParameterSpec;
16 23 5 pSrc Ljavax/crypto/spec/PSource;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
MethodParameters:
Name Flags
paramSpec
protected void engineInit(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: new sun.security.util.DerInputStream
dup
aload 1
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 2
start local 2 1: aload 0
ldc "SHA-1"
putfield com.sun.crypto.provider.OAEPParameters.mdName:Ljava/lang/String;
2: aload 0
getstatic java.security.spec.MGF1ParameterSpec.SHA1:Ljava/security/spec/MGF1ParameterSpec;
putfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
3: aload 0
iconst_0
newarray 8
putfield com.sun.crypto.provider.OAEPParameters.p:[B
4: aload 2
iconst_3
invokevirtual sun.security.util.DerInputStream.getSequence:(I)[Lsun/security/util/DerValue;
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 51
7: StackMap locals: sun.security.util.DerInputStream sun.security.util.DerValue[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 8: aload 5
iconst_0
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 15
9: aload 0
10: aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
11: invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
12: invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
13: invokestatic sun.security.x509.AlgorithmId.getStandardDigestName:(Ljava/lang/String;)Ljava/lang/String;
putfield com.sun.crypto.provider.OAEPParameters.mdName:Ljava/lang/String;
14: goto 50
StackMap locals: sun.security.util.DerValue
StackMap stack:
15: aload 5
iconst_1
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 41
16: aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
astore 6
start local 6 17: aload 6
invokevirtual sun.security.x509.AlgorithmId.getOID:()Lsun/security/util/ObjectIdentifier;
getstatic com.sun.crypto.provider.OAEPParameters.OID_MGF1:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 19
18: new java.io.IOException
dup
ldc "Only MGF1 mgf is supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals: sun.security.x509.AlgorithmId
StackMap stack:
new sun.security.util.DerValue
dup
aload 6
invokevirtual sun.security.x509.AlgorithmId.getEncodedParams:()[B
invokespecial sun.security.util.DerValue.<init>:([B)V
20: invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
astore 7
start local 7 21: aload 7
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
22: invokestatic sun.security.x509.AlgorithmId.getStandardDigestName:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 23: aload 8
ldc "SHA-1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 0
getstatic java.security.spec.MGF1ParameterSpec.SHA1:Ljava/security/spec/MGF1ParameterSpec;
putfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
25: goto 50
StackMap locals: sun.security.x509.AlgorithmId java.lang.String
StackMap stack:
26: aload 8
ldc "SHA-224"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: aload 0
new java.security.spec.MGF1ParameterSpec
dup
ldc "SHA-224"
invokespecial java.security.spec.MGF1ParameterSpec.<init>:(Ljava/lang/String;)V
putfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
28: goto 50
StackMap locals:
StackMap stack:
29: aload 8
ldc "SHA-256"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: aload 0
getstatic java.security.spec.MGF1ParameterSpec.SHA256:Ljava/security/spec/MGF1ParameterSpec;
putfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
31: goto 50
StackMap locals:
StackMap stack:
32: aload 8
ldc "SHA-384"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: aload 0
getstatic java.security.spec.MGF1ParameterSpec.SHA384:Ljava/security/spec/MGF1ParameterSpec;
putfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
34: goto 50
StackMap locals:
StackMap stack:
35: aload 8
ldc "SHA-512"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
36: aload 0
getstatic java.security.spec.MGF1ParameterSpec.SHA512:Ljava/security/spec/MGF1ParameterSpec;
putfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
37: goto 50
38: StackMap locals:
StackMap stack:
new java.io.IOException
dup
39: ldc "Unrecognized message digest algorithm"
40: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 8 end local 7 end local 6 41: StackMap locals:
StackMap stack:
aload 5
iconst_2
invokevirtual sun.security.util.DerValue.isContextSpecific:(B)Z
ifeq 49
42: aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
astore 6
start local 6 43: aload 6
invokevirtual sun.security.x509.AlgorithmId.getOID:()Lsun/security/util/ObjectIdentifier;
getstatic com.sun.crypto.provider.OAEPParameters.OID_PSpecified:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 45
44: new java.io.IOException
dup
ldc "Wrong OID for pSpecified"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
45: StackMap locals: sun.security.x509.AlgorithmId
StackMap stack:
new sun.security.util.DerInputStream
dup
aload 6
invokevirtual sun.security.x509.AlgorithmId.getEncodedParams:()[B
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 7
start local 7 46: aload 0
aload 7
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
putfield com.sun.crypto.provider.OAEPParameters.p:[B
47: aload 7
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 50
48: new java.io.IOException
dup
ldc "Extra data for pSpecified"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 49: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid encoded OAEPParameters"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 5 50: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
51: iload 4
aload 3
arraylength
if_icmplt 7
end local 4 52: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lcom/sun/crypto/provider/OAEPParameters;
0 53 1 encoded [B
1 53 2 der Lsun/security/util/DerInputStream;
5 53 3 datum [Lsun/security/util/DerValue;
6 52 4 i I
8 50 5 data Lsun/security/util/DerValue;
17 41 6 val Lsun/security/x509/AlgorithmId;
21 41 7 params Lsun/security/x509/AlgorithmId;
23 41 8 mgfDigestName Ljava/lang/String;
43 49 6 val Lsun/security/x509/AlgorithmId;
46 49 7 dis Lsun/security/util/DerInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
protected void engineInit(byte[], java.lang.String);
descriptor: ([BLjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 3
1: aload 2
ldc "ASN.1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Only support ASN.1 format"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.crypto.provider.OAEPParameters.engineInit:([B)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/OAEPParameters;
0 5 1 encoded [B
0 5 2 decodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
decodingMethod
protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljavax/crypto/spec/OAEPParameterSpec;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
1: aload 1
2: new javax.crypto.spec.OAEPParameterSpec
dup
aload 0
getfield com.sun.crypto.provider.OAEPParameters.mdName:Ljava/lang/String;
ldc "MGF1"
aload 0
getfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
3: new javax.crypto.spec.PSource$PSpecified
dup
aload 0
getfield com.sun.crypto.provider.OAEPParameters.p:[B
invokespecial javax.crypto.spec.PSource$PSpecified.<init>:([B)V
4: invokespecial javax.crypto.spec.OAEPParameterSpec.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;Ljavax/crypto/spec/PSource;)V
5: invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.spec.AlgorithmParameterSpec
areturn
6: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
7: ldc "Inappropriate parameter specification"
8: invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/crypto/provider/OAEPParameters;
0 9 1 paramSpec Ljava/lang/Class<TT;>;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
Signature: <T::Ljava/security/spec/AlgorithmParameterSpec;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
paramSpec
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.sun.crypto.provider.OAEPParameters.mdName:Ljava/lang/String;
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
astore 4
start local 4 2: goto 7
end local 4 StackMap locals: com.sun.crypto.provider.OAEPParameters sun.security.util.DerOutputStream
StackMap stack: java.security.NoSuchAlgorithmException
3: pop
4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "AlgorithmId "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.crypto.provider.OAEPParameters.mdName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc " impl not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
start local 4 7: StackMap locals: com.sun.crypto.provider.OAEPParameters sun.security.util.DerOutputStream top top sun.security.x509.AlgorithmId
StackMap stack:
new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 8: aload 4
aload 2
invokevirtual sun.security.x509.AlgorithmId.derEncode:(Ljava/io/OutputStream;)V
9: aload 1
bipush -128
iconst_1
iconst_0
invokestatic sun.security.util.DerValue.createTag:(BZB)B
10: aload 2
11: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
12: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
13: aload 2
getstatic com.sun.crypto.provider.OAEPParameters.OID_MGF1:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
14: aload 0
getfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
astore 5
start local 5 15: goto 20
end local 5 StackMap locals: com.sun.crypto.provider.OAEPParameters sun.security.util.DerOutputStream sun.security.util.DerOutputStream top sun.security.x509.AlgorithmId
StackMap stack: java.security.NoSuchAlgorithmException
16: pop
17: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "AlgorithmId "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 0
getfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " impl not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
start local 5 20: StackMap locals: sun.security.x509.AlgorithmId
StackMap stack:
aload 5
aload 2
invokevirtual sun.security.x509.AlgorithmId.encode:(Lsun/security/util/DerOutputStream;)V
21: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 22: aload 3
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
23: aload 1
bipush -128
iconst_1
iconst_1
invokestatic sun.security.util.DerValue.createTag:(BZB)B
24: aload 3
25: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
26: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
27: aload 2
getstatic com.sun.crypto.provider.OAEPParameters.OID_PSpecified:Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
28: aload 2
aload 0
getfield com.sun.crypto.provider.OAEPParameters.p:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
29: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
30: aload 3
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
31: aload 1
bipush -128
iconst_1
iconst_2
invokestatic sun.security.util.DerValue.createTag:(BZB)B
32: aload 3
33: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
34: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 6
start local 6 35: aload 6
bipush 48
aload 1
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
36: aload 6
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 6 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 37 0 this Lcom/sun/crypto/provider/OAEPParameters;
1 37 1 tmp Lsun/security/util/DerOutputStream;
8 37 2 tmp2 Lsun/security/util/DerOutputStream;
22 37 3 tmp3 Lsun/security/util/DerOutputStream;
2 3 4 mdAlgId Lsun/security/x509/AlgorithmId;
7 37 4 mdAlgId Lsun/security/x509/AlgorithmId;
15 16 5 mgfDigestId Lsun/security/x509/AlgorithmId;
20 37 5 mgfDigestId Lsun/security/x509/AlgorithmId;
35 37 6 out Lsun/security/util/DerOutputStream;
Exception table:
from to target type
1 2 3 Class java.security.NoSuchAlgorithmException
14 15 16 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException
protected byte[] engineGetEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 1
ldc "ASN.1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "Only support ASN.1 format"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.crypto.provider.OAEPParameters.engineGetEncoded:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/crypto/provider/OAEPParameters;
0 4 1 encodingMethod Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encodingMethod
protected java.lang.String engineToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 1
new java.lang.StringBuilder
dup
ldc "MD: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.crypto.provider.OAEPParameters.mdName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
2: aload 1
new java.lang.StringBuilder
dup
ldc "MGF: MGF1"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.crypto.provider.OAEPParameters.mgfSpec:Ljava/security/spec/MGF1ParameterSpec;
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: aload 1
new java.lang.StringBuilder
dup
ldc "PSource: PSpecified "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
getfield com.sun.crypto.provider.OAEPParameters.p:[B
arraylength
ifne 5
ldc ""
goto 6
StackMap locals: com.sun.crypto.provider.OAEPParameters java.lang.StringBuffer
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder
5: new java.math.BigInteger
dup
aload 0
getfield com.sun.crypto.provider.OAEPParameters.p:[B
invokespecial java.math.BigInteger.<init>:([B)V
invokestatic sun.security.util.Debug.toHexString:(Ljava/math/BigInteger;)Ljava/lang/String;
StackMap locals: com.sun.crypto.provider.OAEPParameters java.lang.StringBuffer
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/crypto/provider/OAEPParameters;
1 9 1 sb Ljava/lang/StringBuffer;
}
SourceFile: "OAEPParameters.java"
InnerClasses:
public final PSpecified = javax.crypto.spec.PSource$PSpecified of javax.crypto.spec.PSource