public class org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES 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$IES
super_class: org.bouncycastle.jce.provider.JDKAlgorithmParameters
{
org.bouncycastle.jce.spec.IESParameterSpec currentSpec;
descriptor: Lorg/bouncycastle/jce/spec/IESParameterSpec;
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$IES;
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 1
new org.bouncycastle.asn1.DEROctetString
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.currentSpec:Lorg/bouncycastle/jce/spec/IESParameterSpec;
invokevirtual org.bouncycastle.jce.spec.IESParameterSpec.getDerivationV:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
2: aload 1
new org.bouncycastle.asn1.DEROctetString
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.currentSpec:Lorg/bouncycastle/jce/spec/IESParameterSpec;
invokevirtual org.bouncycastle.jce.spec.IESParameterSpec.getEncodingV:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
3: aload 1
new org.bouncycastle.asn1.DERInteger
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.currentSpec:Lorg/bouncycastle/jce/spec/IESParameterSpec;
invokevirtual org.bouncycastle.jce.spec.IESParameterSpec.getMacKeySize:()I
invokespecial org.bouncycastle.asn1.DERInteger.<init>:(I)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
4: new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
ldc "DER"
invokevirtual org.bouncycastle.asn1.DERSequence.getEncoded:(Ljava/lang/String;)[B
5: areturn
end local 1 6: StackMap locals:
StackMap stack: java.io.IOException
pop
7: new java.lang.RuntimeException
dup
ldc "Error encoding IESParameters"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$IES;
1 6 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
Exception table:
from to target type
0 5 6 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$IES.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$IES.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$IES;
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 Lorg/bouncycastle/jce/spec/IESParameterSpec;
if_acmpne 2
1: aload 0
getfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.currentSpec:Lorg/bouncycastle/jce/spec/IESParameterSpec;
areturn
2: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
ldc "unknown parameter spec passed to ElGamal 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$IES;
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 org.bouncycastle.jce.spec.IESParameterSpec
ifne 2
1: new java.security.spec.InvalidParameterSpecException
dup
ldc "IESParameterSpec required to initialise a IES algorithm parameters object"
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast org.bouncycastle.jce.spec.IESParameterSpec
putfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.currentSpec:Lorg/bouncycastle/jce/spec/IESParameterSpec;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$IES;
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=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1Sequence
astore 2
start local 2 1: aload 0
new org.bouncycastle.jce.spec.IESParameterSpec
dup
2: aload 2
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
3: aload 2
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
4: aload 2
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERInteger
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
invokespecial org.bouncycastle.jce.spec.IESParameterSpec.<init>:([B[BI)V
5: putfield org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.currentSpec:Lorg/bouncycastle/jce/spec/IESParameterSpec;
end local 2 6: goto 11
7: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
8: new java.io.IOException
dup
ldc "Not a valid IES Parameter encoding."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
pop
10: new java.io.IOException
dup
ldc "Not a valid IES Parameter encoding."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$IES;
0 12 1 params [B
1 6 2 s Lorg/bouncycastle/asn1/ASN1Sequence;
Exception table:
from to target type
0 6 7 Class java.lang.ClassCastException
0 6 9 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 0
aload 2
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.isASN1FormatString:(Ljava/lang/String;)Z
ifne 1
aload 2
ldc "X.509"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES.engineInit:([B)V
2: goto 4
3: 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
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$IES;
0 5 1 params [B
0 5 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 "IES Parameters"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKAlgorithmParameters$IES;
}
SourceFile: "JDKAlgorithmParameters.java"
NestHost: org.bouncycastle.jce.provider.JDKAlgorithmParameters
InnerClasses:
public IES = org.bouncycastle.jce.provider.JDKAlgorithmParameters$IES of org.bouncycastle.jce.provider.JDKAlgorithmParameters