public class org.bouncycastle.asn1.misc.ScryptParams extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.misc.ScryptParams
super_class: org.bouncycastle.asn1.ASN1Object
{
private final byte[] salt;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.math.BigInteger costParameter;
descriptor: Ljava/math/BigInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.math.BigInteger blockSize;
descriptor: Ljava/math/BigInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.math.BigInteger parallelizationParameter;
descriptor: Ljava/math/BigInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.math.BigInteger keyLength;
descriptor: Ljava/math/BigInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(byte[], int, int, int);
descriptor: ([BIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
iload 3
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
iload 4
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
aconst_null
invokespecial org.bouncycastle.asn1.misc.ScryptParams.<init>:([BLjava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
0 2 1 salt [B
0 2 2 costParameter I
0 2 3 blockSize I
0 2 4 parallelizationParameter I
MethodParameters:
Name Flags
salt
costParameter
blockSize
parallelizationParameter
public void <init>(byte[], int, int, int, int);
descriptor: ([BIIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
iload 3
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
iload 4
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
iload 5
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.misc.ScryptParams.<init>:([BLjava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
1: 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 2 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
0 2 1 salt [B
0 2 2 costParameter I
0 2 3 blockSize I
0 2 4 parallelizationParameter I
0 2 5 keyLength I
MethodParameters:
Name Flags
salt
costParameter
blockSize
parallelizationParameter
keyLength
public void <init>(byte[], java.math.BigInteger, java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
descriptor: ([BLjava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aload 1
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
putfield org.bouncycastle.asn1.misc.ScryptParams.salt:[B
2: aload 0
aload 2
putfield org.bouncycastle.asn1.misc.ScryptParams.costParameter:Ljava/math/BigInteger;
3: aload 0
aload 3
putfield org.bouncycastle.asn1.misc.ScryptParams.blockSize:Ljava/math/BigInteger;
4: aload 0
aload 4
putfield org.bouncycastle.asn1.misc.ScryptParams.parallelizationParameter:Ljava/math/BigInteger;
5: aload 0
aload 5
putfield org.bouncycastle.asn1.misc.ScryptParams.keyLength:Ljava/math/BigInteger;
6: 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 7 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
0 7 1 salt [B
0 7 2 costParameter Ljava/math/BigInteger;
0 7 3 blockSize Ljava/math/BigInteger;
0 7 4 parallelizationParameter Ljava/math/BigInteger;
0 7 5 keyLength Ljava/math/BigInteger;
MethodParameters:
Name Flags
salt
costParameter
blockSize
parallelizationParameter
keyLength
public static org.bouncycastle.asn1.misc.ScryptParams getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/misc/ScryptParams;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.misc.ScryptParams
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.misc.ScryptParams
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.misc.ScryptParams
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.misc.ScryptParams.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_4
if_icmpeq 3
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_5
if_icmpeq 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid sequence: size = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.asn1.misc.ScryptParams org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 0
aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
putfield org.bouncycastle.asn1.misc.ScryptParams.salt:[B
4: aload 0
aload 1
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.misc.ScryptParams.costParameter:Ljava/math/BigInteger;
5: aload 0
aload 1
iconst_2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.misc.ScryptParams.blockSize:Ljava/math/BigInteger;
6: aload 0
aload 1
iconst_3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.misc.ScryptParams.parallelizationParameter:Ljava/math/BigInteger;
7: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_5
if_icmpne 10
8: aload 0
aload 1
iconst_4
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
putfield org.bouncycastle.asn1.misc.ScryptParams.keyLength:Ljava/math/BigInteger;
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.asn1.misc.ScryptParams.keyLength:Ljava/math/BigInteger;
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
0 12 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
MethodParameters:
Name Flags
seq
public byte[] getSalt();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.salt:[B
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
public java.math.BigInteger getCostParameter();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.costParameter:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
public java.math.BigInteger getBlockSize();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.blockSize:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
public java.math.BigInteger getParallelizationParameter();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.parallelizationParameter:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
public java.math.BigInteger getKeyLength();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.keyLength:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
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.asn1.misc.ScryptParams.salt:[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.costParameter:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
3: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.blockSize:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.parallelizationParameter:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
5: aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.keyLength:Ljava/math/BigInteger;
ifnull 7
6: aload 1
new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
getfield org.bouncycastle.asn1.misc.ScryptParams.keyLength:Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
7: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/misc/ScryptParams;
1 8 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "ScryptParams.java"