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=18, 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 49
iload 9
ifeq 49
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: iload 15
ifle 38
37: aload 1
aload 13
iconst_0
iload 15
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
38: StackMap locals: int
StackMap stack:
iload 3
ifne 39
iload 6
iload 15
if_icmpeq 41
39: StackMap locals:
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 40: goto 42
end local 16 41: 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 42: StackMap locals: int
StackMap stack:
iload 14
iload 16
iadd
istore 14
43: iload 12
iload 16
iadd
istore 12
44: iload 6
iload 15
isub
istore 6
end local 16 end local 15 45: iload 6
46: ifgt 35
47: aload 2
iload 10
iload 14
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
48: iload 14
ireturn
end local 14 end local 13 end local 12 end local 11 end local 10 49: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int
StackMap stack:
iload 8
ifeq 53
50: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 10
start local 10 51: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 4
iadd
istore 11
start local 11 52: goto 55
end local 11 end local 10 53: StackMap locals:
StackMap stack:
iload 6
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 10
start local 10 54: iconst_0
istore 11
start local 11 55: StackMap locals: byte[] int
StackMap stack:
iload 7
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 12
start local 12 56: aload 12
arraylength
istore 13
start local 13 57: iconst_0
istore 14
start local 14 58: iconst_0
istore 15
start local 15 59: 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
ifne 60
aload 10
arraylength
goto 61
StackMap locals:
StackMap stack: int
60: iload 13
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: int int
61: invokestatic java.lang.Math.min:(II)I
62: istore 16
start local 16 63: iload 8
ifne 66
iload 15
ifne 66
iload 16
ifle 66
64: aload 1
aload 10
iconst_0
iload 16
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
65: iconst_0
istore 11
66: StackMap locals: int
StackMap stack:
iload 3
ifne 67
iload 6
iload 16
if_icmpeq 69
67: 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 68: goto 70
end local 17 69: 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 70: StackMap locals: int
StackMap stack:
iconst_0
istore 15
71: iload 11
iload 16
iadd
istore 11
72: iload 6
iload 16
isub
istore 6
73: iload 17
ifle 87
74: aload 2
aload 12
iconst_0
iload 17
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
75: iload 14
iload 17
iadd
istore 14
end local 17 76: goto 87
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
77: astore 17
start local 17 78: iload 15
ifeq 84
79: new java.security.ProviderException
dup
80: ldc "Could not determine buffer size"
81: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
82: aload 17
invokevirtual java.security.ProviderException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
83: checkcast java.security.ProviderException
athrow
84: StackMap locals: javax.crypto.ShortBufferException
StackMap stack:
iconst_1
istore 15
85: aload 0
iload 16
invokevirtual javax.crypto.CipherSpi.engineGetOutputSize:(I)I
istore 13
86: iload 13
newarray 8
astore 12
end local 17 end local 16 87: StackMap locals:
StackMap stack:
iload 6
88: ifgt 59
89: iload 8
ifeq 91
90: aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
91: StackMap locals:
StackMap stack:
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 92 0 this Ljavax/crypto/CipherSpi;
0 92 1 input Ljava/nio/ByteBuffer;
0 92 2 output Ljava/nio/ByteBuffer;
0 92 3 isUpdate Z
5 92 4 inPos I
6 92 5 inLimit I
7 92 6 inLen I
10 92 7 outLenNeeded I
15 92 8 a1 Z
16 92 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 49 10 outPos I
32 49 11 outArray [B
33 49 12 outOfs I
34 49 13 inArray [B
35 49 14 total I
36 45 15 chunk I
40 41 16 n I
42 45 16 n I
51 53 10 inArray [B
54 92 10 inArray [B
52 53 11 inOfs I
55 92 11 inOfs I
56 92 12 outArray [B
57 92 13 outSize I
58 92 14 total I
59 92 15 resized Z
63 87 16 chunk I
68 69 17 n I
70 76 17 n I
78 87 17 e Ljavax/crypto/ShortBufferException;
Exception table:
from to target type
66 76 77 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
protected void engineUpdateAAD(byte[], int, int);
descriptor: ([BII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
1: ldc "The underlying Cipher implementation does not support this method"
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CipherSpi;
0 3 1 src [B
0 3 2 offset I
0 3 3 len I
MethodParameters:
Name Flags
src
offset
len
protected void engineUpdateAAD(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
1: ldc "The underlying Cipher implementation does not support this method"
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CipherSpi;
0 3 1 src Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
}
SourceFile: "CipherSpi.java"