public class org.jasypt.iv.StringFixedIvGenerator implements org.jasypt.iv.FixedIvGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jasypt.iv.StringFixedIvGenerator
super_class: java.lang.Object
{
private static final java.lang.String DEFAULT_CHARSET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "UTF-8"
private final java.lang.String iv;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String charset;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] ivBytes;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.jasypt.iv.StringFixedIvGenerator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jasypt/iv/StringFixedIvGenerator;
0 2 1 iv Ljava/lang/String;
MethodParameters:
Name Flags
iv final
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "IV cannot be set null"
invokestatic org.jasypt.commons.CommonUtils.validateNotNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.jasypt.iv.StringFixedIvGenerator.iv:Ljava/lang/String;
3: aload 0
aload 2
ifnull 4
aload 2
goto 5
StackMap locals: org.jasypt.iv.StringFixedIvGenerator java.lang.String java.lang.String
StackMap stack: org.jasypt.iv.StringFixedIvGenerator
4: ldc "UTF-8"
StackMap locals: org.jasypt.iv.StringFixedIvGenerator java.lang.String java.lang.String
StackMap stack: org.jasypt.iv.StringFixedIvGenerator java.lang.String
5: putfield org.jasypt.iv.StringFixedIvGenerator.charset:Ljava/lang/String;
6: aload 0
aload 0
getfield org.jasypt.iv.StringFixedIvGenerator.iv:Ljava/lang/String;
aload 0
getfield org.jasypt.iv.StringFixedIvGenerator.charset:Ljava/lang/String;
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
putfield org.jasypt.iv.StringFixedIvGenerator.ivBytes:[B
7: goto 12
StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
8: pop
9: new org.jasypt.exceptions.EncryptionInitializationException
dup
10: new java.lang.StringBuilder
dup
ldc "Invalid charset specified: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jasypt.iv.StringFixedIvGenerator.charset:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial org.jasypt.exceptions.EncryptionInitializationException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jasypt/iv/StringFixedIvGenerator;
0 13 1 iv Ljava/lang/String;
0 13 2 charset Ljava/lang/String;
Exception table:
from to target type
6 7 8 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
iv final
charset final
public byte[] generateIv(int);
descriptor: (I)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jasypt.iv.StringFixedIvGenerator.ivBytes:[B
arraylength
iload 1
if_icmpge 4
1: new org.jasypt.exceptions.EncryptionInitializationException
dup
2: ldc "Requested IV larger than set"
3: invokespecial org.jasypt.exceptions.EncryptionInitializationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
newarray 8
astore 2
start local 2 5: aload 0
getfield org.jasypt.iv.StringFixedIvGenerator.ivBytes:[B
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jasypt/iv/StringFixedIvGenerator;
0 7 1 lengthBytes I
5 7 2 generatedIv [B
MethodParameters:
Name Flags
lengthBytes final
public boolean includePlainIvInEncryptionResults();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jasypt/iv/StringFixedIvGenerator;
}
SourceFile: "StringFixedIvGenerator.java"