public class org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams 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.symmetric.CAST5$AlgParams
super_class: org.bouncycastle.jce.provider.JDKAlgorithmParameters
{
private byte[] iv;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int keyLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.bouncycastle.jce.provider.JDKAlgorithmParameters.<init>:()V
1: aload 0
sipush 128
putfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.keyLength:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/symmetric/CAST5$AlgParams;
protected byte[] engineGetEncoded();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
arraylength
newarray 8
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
iconst_0
aload 1
iconst_0
aload 0
getfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/symmetric/CAST5$AlgParams;
1 3 1 tmp [B
protected byte[] engineGetEncoded(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.isASN1FormatString:(Ljava/lang/String;)Z
ifeq 2
1: new org.bouncycastle.asn1.misc.CAST5CBCParameters
dup
aload 0
invokevirtual org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.engineGetEncoded:()[B
aload 0
getfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.keyLength:I
invokespecial org.bouncycastle.asn1.misc.CAST5CBCParameters.<init>:([BI)V
invokevirtual org.bouncycastle.asn1.misc.CAST5CBCParameters.getEncoded:()[B
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "RAW"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
invokevirtual org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.engineGetEncoded:()[B
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/symmetric/CAST5$AlgParams;
0 5 1 format Ljava/lang/String;
Exceptions:
throws java.io.IOException
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/IvParameterSpec;
if_acmpne 2
1: new javax.crypto.spec.IvParameterSpec
dup
aload 0
getfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
areturn
2: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
ldc "unknown parameter spec passed to CAST5 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/symmetric/CAST5$AlgParams;
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.IvParameterSpec
ifeq 3
1: aload 0
aload 1
checkcast javax.crypto.spec.IvParameterSpec
invokevirtual javax.crypto.spec.IvParameterSpec.getIV:()[B
putfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
2: goto 4
3: StackMap locals:
StackMap stack:
new java.security.spec.InvalidParameterSpecException
dup
ldc "IvParameterSpec required to initialise a CAST5 parameters algorithm parameters object"
invokespecial java.security.spec.InvalidParameterSpecException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/symmetric/CAST5$AlgParams;
0 5 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=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
arraylength
newarray 8
putfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
1: aload 1
iconst_0
aload 0
getfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
iconst_0
aload 0
getfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/symmetric/CAST5$AlgParams;
0 3 1 params [B
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=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.isASN1FormatString:(Ljava/lang/String;)Z
ifeq 6
1: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
astore 3
start local 3 2: aload 3
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.misc.CAST5CBCParameters.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/misc/CAST5CBCParameters;
astore 4
start local 4 3: aload 0
aload 4
invokevirtual org.bouncycastle.asn1.misc.CAST5CBCParameters.getKeyLength:()I
putfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.keyLength:I
4: aload 0
aload 4
invokevirtual org.bouncycastle.asn1.misc.CAST5CBCParameters.getIV:()[B
putfield org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.iv:[B
5: return
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 2
ldc "RAW"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
aload 1
invokevirtual org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams.engineInit:([B)V
8: return
9: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Unknown parameters format in IV parameters object"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/jce/provider/symmetric/CAST5$AlgParams;
0 10 1 params [B
0 10 2 format Ljava/lang/String;
2 6 3 aIn Lorg/bouncycastle/asn1/ASN1InputStream;
3 6 4 p Lorg/bouncycastle/asn1/misc/CAST5CBCParameters;
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 "CAST5 Parameters"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/symmetric/CAST5$AlgParams;
}
SourceFile: "CAST5.java"
NestHost: org.bouncycastle.jce.provider.symmetric.CAST5
InnerClasses:
public AlgParams = org.bouncycastle.jce.provider.symmetric.CAST5$AlgParams of org.bouncycastle.jce.provider.symmetric.CAST5