| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final boolean | |
| private final byte[] | |
| private final boolean | |
| private final TlsSuiteHMac | |
| private final TlsSuiteHMac |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public TlsDecodeResult | decodeCiphertext(long
sequence number of the message represented by ciphertext. seqNo, short content type used in the record for this message. recordType, ProtocolVersion ProtocolVersion used for the record.array holding input ciphertext to the cipher. ciphertext, int offset into input array the ciphertext starts at. offset, int length of the ciphertext in the array. len)Implements org. Decode the passed in ciphertext using the current bulk cipher. |
| public TlsEncodeResult | encodePlaintext(long
sequence number of the message represented by plaintext. seqNo, short content type of the message represented by plaintext. contentType, ProtocolVersion ProtocolVersion used for the record.extra bytes to allocate at start of returned byte array. headerAllocation, byte[] array holding input plaintext to the cipher. plaintext, int offset into input array the plaintext starts at. offset, int length of the plaintext in the array. len)Implements org. Encode the passed in plaintext using the current bulk cipher. |
| public int | getCiphertextDecodeLimit(int
the maximum output size for the plaintext. plaintextLimit)Implements org. Return the maximum input size for a ciphertext given a maximum output size for the plaintext of plaintextLimit bytes. |
| public int | getCiphertextEncodeLimit(int
the maximum input size for the plaintext. plaintextLimit)Implements org. Return the maximum output size for a ciphertext given a maximum input size for the plaintext of plaintextLimit bytes. |
| public int | getPlaintextDecodeLimit(int
the maximum input size for the ciphertext. ciphertextLimit)Implements org. Return the maximum output size for the plaintext given a maximum input size for the ciphertext of ciphertextLimit bytes. |
| public int | getPlaintextEncodeLimit(int
the maximum output size for the ciphertext. ciphertextLimit)Implements org. Return the maximum input size for the plaintext given a maximum output size for the ciphertext of ciphertextLimit bytes. |
| public void | |
| public void | |
| public boolean | |
| public boolean |
| decryptConnectionID | back to summary |
|---|---|
| private final byte[] decryptConnectionID | |
| decryptUseInnerPlaintext | back to summary |
|---|---|
| private final boolean decryptUseInnerPlaintext | |
| encryptConnectionID | back to summary |
|---|---|
| private final byte[] encryptConnectionID | |
| encryptUseInnerPlaintext | back to summary |
|---|---|
| private final boolean encryptUseInnerPlaintext | |
| readMac | back to summary |
|---|---|
| private final TlsSuiteHMac readMac | |
| writeMac | back to summary |
|---|---|
| private final TlsSuiteHMac writeMac | |
| TlsNullCipher | back to summary |
|---|---|
| public TlsNullCipher(TlsCryptoParameters cryptoParams, TlsHMAC clientMac, TlsHMAC serverMac) throws IOException | |
| decodeCiphertext | back to summary |
|---|---|
| public TlsDecodeResult decodeCiphertext(long seqNo, short recordType, ProtocolVersion recordVersion, byte[] ciphertext, int offset, int len) throws IOException Implements org. Doc from org. Decode the passed in ciphertext using the current bulk cipher.
| |
| encodePlaintext | back to summary |
|---|---|
| public TlsEncodeResult encodePlaintext(long seqNo, short contentType, ProtocolVersion recordVersion, int headerAllocation, byte[] plaintext, int offset, int len) throws IOException Implements org. Doc from org. Encode the passed in plaintext using the current bulk cipher.
| |
| getCiphertextDecodeLimit | back to summary |
|---|---|
| public int getCiphertextDecodeLimit(int plaintextLimit) Implements org. Doc from org. Return the maximum input size for a ciphertext given a maximum output size for the plaintext of plaintextLimit bytes.
| |
| getCiphertextEncodeLimit | back to summary |
|---|---|
| public int getCiphertextEncodeLimit(int plaintextLimit) Implements org. Doc from org. Return the maximum output size for a ciphertext given a maximum input size for the plaintext of plaintextLimit bytes.
| |
| getPlaintextDecodeLimit | back to summary |
|---|---|
| public int getPlaintextDecodeLimit(int ciphertextLimit) Implements org. Doc from org. Return the maximum output size for the plaintext given a maximum input size for the ciphertext of ciphertextLimit bytes.
| |
| getPlaintextEncodeLimit | back to summary |
|---|---|
| public int getPlaintextEncodeLimit(int ciphertextLimit) Implements org. Doc from org. Return the maximum input size for the plaintext given a maximum output size for the ciphertext of ciphertextLimit bytes.
| |
| rekeyDecoder | back to summary |
|---|---|
| public void rekeyDecoder() throws IOException Implements org. | |
| rekeyEncoder | back to summary |
|---|---|
| public void rekeyEncoder() throws IOException Implements org. | |
| usesOpaqueRecordTypeDecode | back to summary |
|---|---|
| public boolean usesOpaqueRecordTypeDecode() Implements org. | |
| usesOpaqueRecordTypeEncode | back to summary |
|---|---|
| public boolean usesOpaqueRecordTypeEncode() Implements org. | |