public abstract class javax.crypto.CipherSpi
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.crypto.CipherSpi
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
protected abstract void engineSetMode(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
mode
protected abstract void engineSetPadding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
padding
protected abstract int engineGetBlockSize();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int engineGetOutputSize(int);
descriptor: (I)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
inputLen
protected abstract byte[] engineGetIV();
descriptor: ()[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void engineInit(int, java.security.Key, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
key
random
protected abstract void engineInit(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected abstract void engineInit(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected abstract byte[] engineUpdate(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected abstract int engineUpdate(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected int engineUpdate(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual javax.crypto.CipherSpi.bufferCrypt:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Z)I
1: ireturn
2: StackMap locals:
StackMap stack: javax.crypto.IllegalBlockSizeException
pop
3: new java.security.ProviderException
dup
ldc "Internal error in update()"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack: javax.crypto.BadPaddingException
pop
5: new java.security.ProviderException
dup
ldc "Internal error in update()"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/CipherSpi;
0 6 1 input Ljava/nio/ByteBuffer;
0 6 2 output Ljava/nio/ByteBuffer;
Exception table:
from to target type
0 1 2 Class javax.crypto.IllegalBlockSizeException
0 1 4 Class javax.crypto.BadPaddingException
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
input
output
protected abstract byte[] engineDoFinal(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected abstract int engineDoFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected int engineDoFinal(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual javax.crypto.CipherSpi.bufferCrypt:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Z)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
0 1 1 input Ljava/nio/ByteBuffer;
0 1 2 output Ljava/nio/ByteBuffer;
Exceptions:
throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
output
static int getTempArraySize(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: sipush 4096
iload 0
invokestatic java.lang.Math.min:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 totalSize I
MethodParameters:
Name Flags
totalSize
private int bufferCrypt(java.nio.ByteBuffer, java.nio.ByteBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Z)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=19, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 2
ifnonnull 4
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
2: ldc "Input and output buffers must not be null"
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 5: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 5
start local 5 6: iload 5
iload 4
isub
istore 6
start local 6 7: iload 3
ifeq 9
iload 6
ifne 9
8: iconst_0
ireturn
9: StackMap locals: int int int
StackMap stack:
aload 0
iload 6
invokevirtual javax.crypto.CipherSpi.engineGetOutputSize:(I)I
istore 7
start local 7 10: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 7
if_icmpge 14
11: new javax.crypto.ShortBufferException
dup
new java.lang.StringBuilder
dup
ldc "Need at least "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc " bytes of space in output buffer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
istore 8
start local 8 15: aload 2
invokevirtual java.nio.ByteBuffer.hasArray:()Z
istore 9
start local 9 16: iload 8
ifeq 29
iload 9
ifeq 29
17: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 10
start local 10 18: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 4
iadd
istore 11
start local 11 19: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
astore 12
start local 12 20: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
start local 13 21: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 13
iadd
istore 14
start local 14 22: iload 3
ifeq 25
23: aload 0
aload 10
iload 11
iload 6
aload 12
iload 14
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII[BI)I
istore 15
start local 15 24: goto 26
end local 15 25: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int byte[] int byte[] int int
StackMap stack:
aload 0
aload 10
iload 11
iload 6
aload 12
iload 14
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII[BI)I
istore 15
start local 15 26: StackMap locals: int
StackMap stack:
aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
27: aload 2
iload 13
iload 15
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
28: iload 15
ireturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 29: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int
StackMap stack:
iload 8
ifne 48
iload 9
ifeq 48
30: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 10
start local 10 31: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
astore 11
start local 11 32: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 10
iadd
istore 12
start local 12 33: iload 6
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 13
start local 13 34: iconst_0
istore 14
start local 14 35: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] int byte[] int
StackMap stack:
iload 6
aload 13
arraylength
invokestatic java.lang.Math.min:(II)I
istore 15
start local 15 36: aload 1
aload 13
iconst_0
iload 15
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
37: iload 3
ifne 38
iload 6
iload 15
if_icmpeq 40
38: StackMap locals: int
StackMap stack:
aload 0
aload 13
iconst_0
iload 15
aload 11
iload 12
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII[BI)I
istore 16
start local 16 39: goto 41
end local 16 40: StackMap locals:
StackMap stack:
aload 0
aload 13
iconst_0
iload 15
aload 11
iload 12
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII[BI)I
istore 16
start local 16 41: StackMap locals: int
StackMap stack:
iload 14
iload 16
iadd
istore 14
42: iload 12
iload 16
iadd
istore 12
43: iload 6
iload 15
isub
istore 6
end local 16 end local 15 44: iload 6
45: ifgt 35
46: aload 2
iload 10
iload 14
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
47: iload 14
ireturn
end local 14 end local 13 end local 12 end local 11 end local 10 48: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int
StackMap stack:
iload 8
ifeq 52
49: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 10
start local 10 50: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 4
iadd
istore 11
start local 11 51: goto 54
end local 11 end local 10 52: StackMap locals:
StackMap stack:
iload 6
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 10
start local 10 53: iconst_0
istore 11
start local 11 54: StackMap locals: byte[] int
StackMap stack:
iload 7
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 12
start local 12 55: aload 12
arraylength
istore 13
start local 13 56: iconst_0
istore 14
start local 14 57: iconst_0
istore 15
start local 15 58: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int byte[] int byte[] int int int
StackMap stack:
iload 6
iload 13
invokestatic java.lang.Math.min:(II)I
istore 16
start local 16 59: iload 8
ifne 62
iload 15
ifne 62
60: aload 1
aload 10
iconst_0
iload 16
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
61: iconst_0
istore 11
62: StackMap locals: int
StackMap stack:
iload 3
ifne 63
iload 6
iload 16
if_icmpeq 65
63: StackMap locals:
StackMap stack:
aload 0
aload 10
iload 11
iload 16
aload 12
iconst_0
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII[BI)I
istore 17
start local 17 64: goto 66
end local 17 65: StackMap locals:
StackMap stack:
aload 0
aload 10
iload 11
iload 16
aload 12
iconst_0
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII[BI)I
istore 17
start local 17 66: StackMap locals: int
StackMap stack:
iconst_0
istore 15
67: iload 11
iload 16
iadd
istore 11
68: iload 6
iload 16
isub
istore 6
69: aload 2
aload 12
iconst_0
iload 17
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
70: iload 14
iload 17
iadd
istore 14
end local 17 71: goto 82
StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int byte[] int byte[] int int int int
StackMap stack: javax.crypto.ShortBufferException
72: astore 17
start local 17 73: iload 15
ifeq 79
74: new java.security.ProviderException
dup
75: ldc "Could not determine buffer size"
76: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
77: aload 17
invokevirtual java.security.ProviderException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
78: checkcast java.security.ProviderException
athrow
79: StackMap locals: javax.crypto.ShortBufferException
StackMap stack:
iconst_1
istore 15
80: aload 0
iload 16
invokevirtual javax.crypto.CipherSpi.engineGetOutputSize:(I)I
istore 18
start local 18 81: iload 18
newarray 8
astore 12
end local 18 end local 17 end local 16 82: StackMap locals:
StackMap stack:
iload 6
83: ifgt 58
84: aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
85: iload 14
ireturn
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 86 0 this Ljavax/crypto/CipherSpi;
0 86 1 input Ljava/nio/ByteBuffer;
0 86 2 output Ljava/nio/ByteBuffer;
0 86 3 isUpdate Z
5 86 4 inPos I
6 86 5 inLimit I
7 86 6 inLen I
10 86 7 outLenNeeded I
15 86 8 a1 Z
16 86 9 a2 Z
18 29 10 inArray [B
19 29 11 inOfs I
20 29 12 outArray [B
21 29 13 outPos I
22 29 14 outOfs I
24 25 15 n I
26 29 15 n I
31 48 10 outPos I
32 48 11 outArray [B
33 48 12 outOfs I
34 48 13 inArray [B
35 48 14 total I
36 44 15 chunk I
39 40 16 n I
41 44 16 n I
50 52 10 inArray [B
53 86 10 inArray [B
51 52 11 inOfs I
54 86 11 inOfs I
55 86 12 outArray [B
56 86 13 outSize I
57 86 14 total I
58 86 15 resized Z
59 82 16 chunk I
64 65 17 n I
66 71 17 n I
73 82 17 e Ljavax/crypto/ShortBufferException;
81 82 18 newOut I
Exception table:
from to target type
62 71 72 Class javax.crypto.ShortBufferException
Exceptions:
throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
output
isUpdate
protected byte[] engineWrap(java.security.Key);
descriptor: (Ljava/security/Key;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
0 1 1 key Ljava/security/Key;
Exceptions:
throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected java.security.Key engineUnwrap(byte[], java.lang.String, int);
descriptor: ([BLjava/lang/String;I)Ljava/security/Key;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
0 1 1 wrappedKey [B
0 1 2 wrappedKeyAlgorithm Ljava/lang/String;
0 1 3 wrappedKeyType I
Exceptions:
throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
wrappedKey
wrappedKeyAlgorithm
wrappedKeyType
protected int engineGetKeySize(java.security.Key);
descriptor: (Ljava/security/Key;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
0 1 1 key Ljava/security/Key;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
}
SourceFile: "CipherSpi.java"