final class sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher extends sun.security.ssl.SSLCipher$SSLReadCipher
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher
super_class: sun.security.ssl.SSLCipher$SSLReadCipher
{
private final javax.crypto.Cipher cipher;
descriptor: Ljavax/crypto/Cipher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.ssl.Authenticator, sun.security.ssl.ProtocolVersion, sun.security.ssl.SSLCipher, java.lang.String, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/SSLCipher;Ljava/lang/String;Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
invokespecial sun.security.ssl.SSLCipher$SSLReadCipher.<init>:(Lsun/security/ssl/Authenticator;Lsun/security/ssl/ProtocolVersion;)V
1: aload 0
aload 4
invokestatic sun.security.ssl.JsseJce.getCipher:(Ljava/lang/String;)Ljavax/crypto/Cipher;
putfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
2: aload 6
ifnonnull 4
3: new javax.crypto.spec.IvParameterSpec
dup
aload 3
getfield sun.security.ssl.SSLCipher.ivSize:I
newarray 8
invokespecial javax.crypto.spec.IvParameterSpec.<init>:([B)V
astore 6
4: StackMap locals: sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher sun.security.ssl.Authenticator sun.security.ssl.ProtocolVersion sun.security.ssl.SSLCipher java.lang.String java.security.Key java.security.spec.AlgorithmParameterSpec java.security.SecureRandom
StackMap stack:
aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
iconst_2
aload 5
aload 6
aload 7
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
5: return
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 6 0 this Lsun/security/ssl/SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher;
0 6 1 authenticator Lsun/security/ssl/Authenticator;
0 6 2 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 6 3 sslCipher Lsun/security/ssl/SSLCipher;
0 6 4 algorithm Ljava/lang/String;
0 6 5 key Ljava/security/Key;
0 6 6 params Ljava/security/spec/AlgorithmParameterSpec;
0 6 7 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.GeneralSecurityException
MethodParameters:
Name Flags
authenticator
protocolVersion
sslCipher
algorithm
key
params
random
public sun.security.ssl.Plaintext decrypt(byte, java.nio.ByteBuffer, byte[]);
descriptor: (BLjava/nio/ByteBuffer;[B)Lsun/security/ssl/Plaintext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.authenticator:Lsun/security/ssl/Authenticator;
checkcast sun.security.ssl.Authenticator$MAC
astore 5
start local 5 2: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 6
start local 6 3: aload 5
invokeinterface sun.security.ssl.Authenticator$MAC.macAlg:()Lsun/security/ssl/CipherSuite$MacAlg;
getfield sun.security.ssl.CipherSuite$MacAlg.size:I
istore 7
start local 7 4: iload 7
ifeq 9
5: aload 0
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.sanityCheck:(II)Z
ifne 9
6: new javax.crypto.BadPaddingException
dup
7: ldc "ciphertext sanity check failed"
8: invokespecial javax.crypto.BadPaddingException.<init>:(Ljava/lang/String;)V
astore 4
9: StackMap locals: sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher int java.nio.ByteBuffer byte[] javax.crypto.BadPaddingException sun.security.ssl.Authenticator$MAC int int
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 8
start local 8 10: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 9
start local 9 11: aload 2
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 10
start local 10 12: iload 8
aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
aload 10
aload 2
invokevirtual javax.crypto.Cipher.update:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
if_icmpeq 16
13: new java.lang.RuntimeException
dup
14: ldc "Unexpected number of plaintext bytes"
15: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: int int java.nio.ByteBuffer
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
aload 10
invokevirtual java.nio.ByteBuffer.position:()I
if_icmpeq 24
17: new java.lang.RuntimeException
dup
18: ldc "Unexpected ByteBuffer position"
19: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack: javax.crypto.ShortBufferException
astore 11
start local 11 21: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Cipher buffering error in JCE provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.getProvider:()Ljava/security/Provider;
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 11
23: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 11 24: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 28
ldc "plaintext"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 28
25: ldc "Padded plaintext after DECRYPTION"
iconst_1
anewarray java.lang.Object
dup
iconst_0
26: aload 2
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
iload 9
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
aastore
27: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
28: StackMap locals:
StackMap stack:
aload 2
iload 9
aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.getBlockSize:()I
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
29: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 9
30: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.getBlockSize:()I
istore 11
start local 11 31: aload 2
iload 9
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
32: aload 2
iload 7
iload 11
aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.protocolVersion:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.SSLCipher.removePadding:(Ljava/nio/ByteBuffer;IILsun/security/ssl/ProtocolVersion;)I
pop
33: goto 37
StackMap locals: sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher int java.nio.ByteBuffer byte[] javax.crypto.BadPaddingException sun.security.ssl.Authenticator$MAC int int int int java.nio.ByteBuffer int
StackMap stack: javax.crypto.BadPaddingException
34: astore 12
start local 12 35: aload 4
ifnonnull 37
36: aload 12
astore 4
end local 12 37: StackMap locals:
StackMap stack:
iload 7
ifeq 42
38: aload 5
aload 2
39: iload 1
iload 6
aload 3
40: invokestatic sun.security.ssl.SSLCipher.checkCBCMac:(Lsun/security/ssl/Authenticator$MAC;Ljava/nio/ByteBuffer;BI[B)V
41: goto 47
42: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.authenticator:Lsun/security/ssl/Authenticator;
invokevirtual sun.security.ssl.Authenticator.increaseSequenceNumber:()V
43: goto 47
StackMap locals:
StackMap stack: javax.crypto.BadPaddingException
44: astore 12
start local 12 45: aload 4
ifnonnull 47
46: aload 12
astore 4
end local 12 47: StackMap locals:
StackMap stack:
aload 4
ifnull 49
48: aload 4
athrow
49: StackMap locals:
StackMap stack:
new sun.security.ssl.Plaintext
dup
iload 1
50: getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.major:B
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.minor:B
51: iconst_m1
ldc -1
aload 2
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
52: invokespecial sun.security.ssl.Plaintext.<init>:(BBBIJLjava/nio/ByteBuffer;)V
areturn
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 53 0 this Lsun/security/ssl/SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher;
0 53 1 contentType B
0 53 2 bb Ljava/nio/ByteBuffer;
0 53 3 sequence [B
1 53 4 reservedBPE Ljavax/crypto/BadPaddingException;
2 53 5 signer Lsun/security/ssl/Authenticator$MAC;
3 53 6 cipheredLength I
4 53 7 tagLen I
10 53 8 len I
11 53 9 pos I
12 53 10 dup Ljava/nio/ByteBuffer;
21 24 11 sbe Ljavax/crypto/ShortBufferException;
31 53 11 blockSize I
35 37 12 bpe Ljavax/crypto/BadPaddingException;
45 47 12 bpe Ljavax/crypto/BadPaddingException;
Exception table:
from to target type
12 20 20 Class javax.crypto.ShortBufferException
32 33 34 Class javax.crypto.BadPaddingException
37 43 44 Class javax.crypto.BadPaddingException
Exceptions:
throws java.security.GeneralSecurityException
MethodParameters:
Name Flags
contentType
bb
sequence
void dispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
ifnull 4
1: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.doFinal:()[B
pop
2: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
3: pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
int estimateFragmentSize(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.authenticator:Lsun/security/ssl/Authenticator;
checkcast sun.security.ssl.Authenticator$MAC
invokeinterface sun.security.ssl.Authenticator$MAC.macAlg:()Lsun/security/ssl/CipherSuite$MacAlg;
getfield sun.security.ssl.CipherSuite$MacAlg.size:I
istore 3
start local 3 1: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.getBlockSize:()I
istore 4
start local 4 2: iload 1
iload 2
isub
iload 4
isub
iload 3
isub
iconst_1
isub
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher;
0 3 1 packetSize I
0 3 2 headerSize I
1 3 3 macLen I
2 3 4 nonceSize I
MethodParameters:
Name Flags
packetSize
headerSize
private boolean sanityCheck(int, int);
descriptor: (II)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher.cipher:Ljavax/crypto/Cipher;
invokevirtual javax.crypto.Cipher.getBlockSize:()I
istore 3
start local 3 1: iload 2
iload 3
irem
ifne 9
2: iload 1
iconst_1
iadd
istore 4
start local 4 3: iload 4
iload 3
if_icmplt 4
iload 4
goto 5
StackMap locals: int int
StackMap stack:
4: iload 3
StackMap locals:
StackMap stack: int
5: istore 4
6: iload 4
iload 3
iadd
istore 4
7: iload 2
iload 4
if_icmplt 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 4 9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher;
0 10 1 tagLen I
0 10 2 fragmentLen I
1 10 3 blockSize I
3 9 4 minimal I
MethodParameters:
Name Flags
tagLen
fragmentLen
}
SourceFile: "SSLCipher.java"
NestHost: sun.security.ssl.SSLCipher
InnerClasses:
abstract MAC = sun.security.ssl.Authenticator$MAC of sun.security.ssl.Authenticator
final MacAlg = sun.security.ssl.CipherSuite$MacAlg of sun.security.ssl.CipherSuite
abstract SSLReadCipher = sun.security.ssl.SSLCipher$SSLReadCipher of sun.security.ssl.SSLCipher
private final T11BlockReadCipherGenerator = sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator of sun.security.ssl.SSLCipher
final BlockReadCipher = sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator$BlockReadCipher of sun.security.ssl.SSLCipher$T11BlockReadCipherGenerator