class com.google.crypto.tink.subtle.StreamingAeadDecryptingStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.crypto.tink.subtle.StreamingAeadDecryptingStream
super_class: java.io.FilterInputStream
{
private static final int ;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private final java.nio.ByteBuffer ciphertextSegment;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer plaintextSegment;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int ;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean endOfCiphertext;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean endOfPlaintext;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean decryptionErrorOccured;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final byte[] aad;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int segmentNr;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final com.google.crypto.tink.subtle.StreamSegmentDecrypter decrypter;
descriptor: Lcom/google/crypto/tink/subtle/StreamSegmentDecrypter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int ciphertextSegmentSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int firstCiphertextSegmentSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.google.crypto.tink.subtle.NonceBasedStreamingAead, java.io.InputStream, byte[]);
descriptor: (Lcom/google/crypto/tink/subtle/NonceBasedStreamingAead;Ljava/io/InputStream;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: aload 0
aload 1
invokevirtual com.google.crypto.tink.subtle.NonceBasedStreamingAead.newStreamSegmentDecrypter:()Lcom/google/crypto/tink/subtle/StreamSegmentDecrypter;
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.decrypter:Lcom/google/crypto/tink/subtle/StreamSegmentDecrypter;
2: aload 0
aload 1
invokevirtual com.google.crypto.tink.subtle.NonceBasedStreamingAead.getHeaderLength:()I
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.headerLength:I
3: aload 0
aload 3
aload 3
arraylength
invokestatic java.util.Arrays.copyOf:([BI)[B
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.aad:[B
4: aload 0
aload 1
invokevirtual com.google.crypto.tink.subtle.NonceBasedStreamingAead.getCiphertextSegmentSize:()I
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegmentSize:I
5: aload 0
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegmentSize:I
iconst_1
iadd
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
6: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
7: aload 0
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegmentSize:I
aload 1
invokevirtual com.google.crypto.tink.subtle.NonceBasedStreamingAead.getCiphertextOffset:()I
isub
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.firstCiphertextSegmentSize:I
8: aload 0
aload 1
invokevirtual com.google.crypto.tink.subtle.NonceBasedStreamingAead.getPlaintextSegmentSize:()I
9: bipush 16
iadd
10: invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
11: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
12: aload 0
iconst_0
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.headerRead:Z
13: aload 0
iconst_0
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
14: aload 0
iconst_0
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfPlaintext:Z
15: aload 0
iconst_0
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.segmentNr:I
16: aload 0
iconst_0
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.decryptionErrorOccured:Z
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
0 18 1 streamAead Lcom/google/crypto/tink/subtle/NonceBasedStreamingAead;
0 18 2 ciphertextStream Ljava/io/InputStream;
0 18 3 associatedData [B
Exceptions:
throws java.security.GeneralSecurityException, java.io.IOException
MethodParameters:
Name Flags
streamAead
ciphertextStream
associatedData
private void ();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.headerRead:Z
ifeq 3
1: aload 0
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.setDecryptionErrorOccured:()V
2: new java.io.IOException
dup
ldc "Decryption failed."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.headerLength:I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 4: goto 12
5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.in:Ljava/io/InputStream;
aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.io.InputStream.read:([BII)I
istore 2
start local 2 6: iload 2
iconst_m1
if_icmpne 9
7: aload 0
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.setDecryptionErrorOccured:()V
8: new java.io.IOException
dup
ldc "Ciphertext is too short"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
iload 2
ifne 11
10: new java.io.IOException
dup
ldc "Could not read bytes from the ciphertext stream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 2 12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
ifgt 5
13: aload 1
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
14: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.decrypter:Lcom/google/crypto/tink/subtle/StreamSegmentDecrypter;
aload 1
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.aad:[B
invokeinterface com.google.crypto.tink.subtle.StreamSegmentDecrypter.init:(Ljava/nio/ByteBuffer;[B)V
15: goto 18
StackMap locals:
StackMap stack: java.security.GeneralSecurityException
16: astore 2
start local 2 17: new java.io.IOException
dup
aload 2
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.headerRead:Z
19: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
4 20 1 header Ljava/nio/ByteBuffer;
6 12 2 read I
17 18 2 ex Ljava/security/GeneralSecurityException;
Exception table:
from to target type
14 15 16 Class java.security.GeneralSecurityException
Exceptions:
throws java.io.IOException
private void setDecryptionErrorOccured();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.decryptionErrorOccured:Z
1: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
private void loadSegment();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: goto 15
1: StackMap locals:
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.in:Ljava/io/InputStream;
2: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
3: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
4: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
5: invokevirtual java.io.InputStream.read:([BII)I
6: istore 1
start local 1 7: iload 1
ifle 10
8: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iload 1
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
9: goto 15
StackMap locals: int
StackMap stack:
10: iload 1
iconst_m1
if_icmpne 13
11: aload 0
iconst_1
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
12: goto 15
StackMap locals:
StackMap stack:
13: iload 1
ifne 15
14: new java.io.IOException
dup
ldc "Could not read bytes from the ciphertext stream"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 15: StackMap locals:
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
ifne 16
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifgt 1
16: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 17: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
ifne 20
18: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iconst_1
isub
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 1
19: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
iconst_1
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
20: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
21: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
22: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.decrypter:Lcom/google/crypto/tink/subtle/StreamSegmentDecrypter;
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.segmentNr:I
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokeinterface com.google.crypto.tink.subtle.StreamSegmentDecrypter.decryptSegment:(Ljava/nio/ByteBuffer;IZLjava/nio/ByteBuffer;)V
23: goto 37
StackMap locals:
StackMap stack: java.security.GeneralSecurityException
24: astore 2
start local 2 25: aload 0
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.setDecryptionErrorOccured:()V
26: new java.io.IOException
dup
27: new java.lang.StringBuilder
dup
aload 2
invokevirtual java.security.GeneralSecurityException.getMessage:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
28: ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: aload 0
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: ldc "\nsegmentNr:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.segmentNr:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
32: ldc " endOfCiphertext:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
33: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
34: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
35: aload 2
36: invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 37: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.segmentNr:I
iconst_1
iadd
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.segmentNr:I
38: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
39: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
40: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
ifne 44
41: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
42: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegmentSize:I
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
43: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
44: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
7 15 1 read I
17 45 1 lastByte B
25 37 2 ex Ljava/security/GeneralSecurityException;
Exception table:
from to target type
22 23 24 Class java.security.GeneralSecurityException
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: iconst_1
newarray 8
astore 1
start local 1 1: aload 0
aload 1
iconst_0
iconst_1
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read:([BII)I
istore 2
start local 2 2: iload 2
iconst_1
if_icmpne 4
3: aload 1
iconst_0
baload
sipush 255
iand
ireturn
4: StackMap locals: byte[] int
StackMap stack:
iload 2
iconst_m1
if_icmpne 6
5: iload 2
ireturn
6: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Reading failed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
1 7 1 oneByte [B
2 7 2 ret I
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
0 1 1 dst [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
public synchronized int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.decryptionErrorOccured:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Decryption failed."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.headerRead:Z
ifne 6
3: aload 0
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.readHeader:()V
4: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
5: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.firstCiphertextSegmentSize:I
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfPlaintext:Z
ifeq 8
7: iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 9: goto 18
10: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 15
11: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
ifeq 14
12: aload 0
iconst_1
putfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfPlaintext:Z
13: goto 19
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.loadSegment:()V
15: StackMap locals:
StackMap stack:
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
iload 4
isub
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 16: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
aload 1
iload 4
iload 2
iadd
iload 5
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
17: iload 4
iload 5
iadd
istore 4
end local 5 18: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 10
19: StackMap locals:
StackMap stack:
iload 4
ifne 21
aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfPlaintext:Z
ifeq 21
20: iconst_m1
ireturn
21: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
0 22 1 dst [B
0 22 2 offset I
0 22 3 length I
9 22 4 bytesRead I
16 18 5 sliceSize I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst
offset
length
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.io.FilterInputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
Exceptions:
throws java.io.IOException
public synchronized int available();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
public synchronized void mark(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
0 1 1 readlimit I
MethodParameters:
Name Flags
readlimit
public boolean markSupported();
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 Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegmentSize:I
i2l
lstore 3
start local 3 1: lload 1
lstore 5
start local 5 2: lload 1
lconst_0
lcmp
ifgt 4
3: lconst_0
lreturn
4: StackMap locals: long long
StackMap stack:
lload 3
lload 5
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 7
start local 7 5: iload 7
newarray 8
astore 8
start local 8 6: goto 11
7: StackMap locals: int byte[]
StackMap stack:
aload 0
aload 8
iconst_0
iload 7
i2l
lload 5
invokestatic java.lang.Math.min:(JJ)J
l2i
invokevirtual com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.read:([BII)I
istore 9
start local 9 8: iload 9
ifgt 10
9: goto 12
10: StackMap locals: int
StackMap stack:
lload 5
iload 9
i2l
lsub
lstore 5
end local 9 11: StackMap locals:
StackMap stack:
lload 5
lconst_0
lcmp
ifgt 7
12: StackMap locals:
StackMap stack:
lload 1
lload 5
lsub
lreturn
end local 8 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
0 13 1 n J
1 13 3 maxSkipBufferSize J
2 13 5 remaining J
5 13 7 size I
6 13 8 skipBuffer [B
8 11 9 bytesRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public synchronized java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "StreamingAeadDecryptingStream"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "\nsegmentNr:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.segmentNr:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc "\nciphertextSegmentSize:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegmentSize:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
6: ldc "\nheaderRead:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.headerRead:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
8: ldc "\nendOfCiphertext:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfCiphertext:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
10: ldc "\nendOfPlaintext:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.endOfPlaintext:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
12: ldc "\ndecryptionErrorOccured:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.decryptionErrorOccured:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
14: ldc "\nciphertextSgement"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc " position:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
17: ldc " limit:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.ciphertextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
19: ldc "\nplaintextSegment"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: ldc " position:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
22: ldc " limit:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: aload 0
getfield com.google.crypto.tink.subtle.StreamingAeadDecryptingStream.plaintextSegment:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
24: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/google/crypto/tink/subtle/StreamingAeadDecryptingStream;
1 25 1 res Ljava/lang/StringBuilder;
}
SourceFile: "StreamingAeadDecryptingStream.java"