public class org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP extends org.bouncycastle.jce.provider.JDKAlgorithmParameters
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP
super_class: org.bouncycastle.jce.provider.JDKAlgorithmParameters
{
javax.crypto.spec.OAEPParameterSpec currentSpec;
descriptor: Ljavax/crypto/spec/OAEPParameterSpec;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.bouncycastle.jce.provider.JDKAlgorithmParameters.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=7, args_size=1
start local 0 0: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
1: aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.currentSpec:Ljavax/crypto/spec/OAEPParameterSpec;
invokevirtual javax.crypto.spec.OAEPParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.JCEDigestUtil.getOID:(Ljava/lang/String;)Lorg/bouncycastle/asn1/DERObjectIdentifier;
2: new org.bouncycastle.asn1.DERNull
dup
invokespecial org.bouncycastle.asn1.DERNull.<init>:()V
3: invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
astore 1
start local 1 4: aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.currentSpec:Ljavax/crypto/spec/OAEPParameterSpec;
invokevirtual javax.crypto.spec.OAEPParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
checkcast java.security.spec.MGF1ParameterSpec
astore 2
start local 2 5: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
6: getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_mgf1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
7: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 2
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.JCEDigestUtil.getOID:(Ljava/lang/String;)Lorg/bouncycastle/asn1/DERObjectIdentifier;
new org.bouncycastle.asn1.DERNull
dup
invokespecial org.bouncycastle.asn1.DERNull.<init>:()V
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
8: invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
astore 3
start local 3 9: aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.currentSpec:Ljavax/crypto/spec/OAEPParameterSpec;
invokevirtual javax.crypto.spec.OAEPParameterSpec.getPSource:()Ljavax/crypto/spec/PSource;
checkcast javax.crypto.spec.PSource$PSpecified
astore 4
start local 4 10: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
11: getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_pSpecified:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.asn1.DEROctetString
dup
aload 4
invokevirtual javax.crypto.spec.PSource$PSpecified.getValue:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
12: invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
astore 5
start local 5 13: new org.bouncycastle.asn1.pkcs.RSAESOAEPparams
dup
aload 1
aload 3
aload 5
invokespecial org.bouncycastle.asn1.pkcs.RSAESOAEPparams.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
astore 6
start local 6 14: aload 6
ldc "DER"
invokevirtual org.bouncycastle.asn1.pkcs.RSAESOAEPparams.getEncoded:(Ljava/lang/String;)[B
15: areturn
16: StackMap locals: org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP org.bouncycastle.asn1.x509.AlgorithmIdentifier java.security.spec.MGF1ParameterSpec org.bouncycastle.asn1.x509.AlgorithmIdentifier javax.crypto.spec.PSource$PSpecified org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.pkcs.RSAESOAEPparams
StackMap stack: java.io.IOException
pop
17: new java.lang.RuntimeException
dup
ldc "Error encoding OAEPParameters"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
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 18 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
4 18 1 hashAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
5 18 2 mgfSpec Ljava/security/spec/MGF1ParameterSpec;
9 18 3 maskGenAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
10 18 4 pSource Ljavax/crypto/spec/PSource$PSpecified;
13 18 5 pSourceAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
14 18 6 oaepP Lorg/bouncycastle/asn1/pkcs/RSAESOAEPparams;
Exception table:
from to target type
14 15 16 Class java.io.IOException
protected byte[] engineGetEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.isASN1FormatString:(Ljava/lang/String;)Z
ifne 1
aload 1
ldc "X.509"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.engineGetEncoded:()[B
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
0 3 1 format Ljava/lang/String;
MethodParameters:
Name Flags
format
protected java.security.spec.AlgorithmParameterSpec localEngineGetParameterSpec(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljavax/crypto/spec/OAEPParameterSpec;
if_acmpne 2
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.currentSpec:Ljavax/crypto/spec/OAEPParameterSpec;
ifnull 2
1: aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.currentSpec:Ljavax/crypto/spec/OAEPParameterSpec;
areturn
2: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
ldc "unknown parameter spec passed to OAEP parameters object."
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
0 3 1 paramSpec Ljava/lang/Class;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
MethodParameters:
Name Flags
paramSpec
protected void engineInit(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.crypto.spec.OAEPParameterSpec
ifne 2
1: new java.security.spec.InvalidParameterSpecException
dup
ldc "OAEPParameterSpec required to initialise an OAEP algorithm parameters object"
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.crypto.spec.OAEPParameterSpec
putfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.currentSpec:Ljavax/crypto/spec/OAEPParameterSpec;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
0 4 1 paramSpec Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.spec.InvalidParameterSpecException
MethodParameters:
Name Flags
paramSpec
protected void engineInit(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: new org.bouncycastle.asn1.pkcs.RSAESOAEPparams
dup
aload 1
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.pkcs.RSAESOAEPparams.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 2
start local 2 1: aload 0
new javax.crypto.spec.OAEPParameterSpec
dup
2: aload 2
invokevirtual org.bouncycastle.asn1.pkcs.RSAESOAEPparams.getHashAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
3: aload 2
invokevirtual org.bouncycastle.asn1.pkcs.RSAESOAEPparams.getMaskGenAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
4: new java.security.spec.MGF1ParameterSpec
dup
aload 2
invokevirtual org.bouncycastle.asn1.pkcs.RSAESOAEPparams.getMaskGenAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getParameters:()Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.x509.AlgorithmIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
invokespecial java.security.spec.MGF1ParameterSpec.<init>:(Ljava/lang/String;)V
5: new javax.crypto.spec.PSource$PSpecified
dup
aload 2
invokevirtual org.bouncycastle.asn1.pkcs.RSAESOAEPparams.getPSourceAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getParameters:()Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial javax.crypto.spec.PSource$PSpecified.<init>:([B)V
invokespecial javax.crypto.spec.OAEPParameterSpec.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;Ljavax/crypto/spec/PSource;)V
6: putfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.currentSpec:Ljavax/crypto/spec/OAEPParameterSpec;
end local 2 7: goto 12
8: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
9: new java.io.IOException
dup
ldc "Not a valid OAEP Parameter encoding."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
pop
11: new java.io.IOException
dup
ldc "Not a valid OAEP Parameter encoding."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
0 13 1 params [B
1 7 2 oaepP Lorg/bouncycastle/asn1/pkcs/RSAESOAEPparams;
Exception table:
from to target type
0 7 8 Class java.lang.ClassCastException
0 7 10 Class java.lang.ArrayIndexOutOfBoundsException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
params
protected void engineInit(byte[], java.lang.String);
descriptor: ([BLjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "X.509"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 2
1: aload 2
ldc "ASN.1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP.engineInit:([B)V
3: goto 5
4: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unknown parameter format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
0 6 1 params [B
0 6 2 format Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
params
format
protected java.lang.String engineToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "OAEP Parameters"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$OAEP;
}
SourceFile: "JDKAlgorithmParameters.java"
NestHost: org.bouncycastle.jce.provider.JDKAlgorithmParameters
InnerClasses:
public final PSpecified = javax.crypto.spec.PSource$PSpecified of javax.crypto.spec.PSource
public OAEP = org.bouncycastle.jce.provider.JDKAlgorithmParameters$OAEP of org.bouncycastle.jce.provider.JDKAlgorithmParameters