static final class SSLCipher.T10BlockReadCipherGenerator.BlockReadCipher extends SSLCipher.SSLReadCipher
| 限定符和类型 | 字段和说明 |
|---|---|
private Cipher |
cipher |
authenticator, baseSecret, keyLimitCountdown, keyLimitEnabled, protocolVersion| 构造器和说明 |
|---|
BlockReadCipher(Authenticator authenticator,
ProtocolVersion protocolVersion,
String algorithm,
Key key,
AlgorithmParameterSpec params,
SecureRandom random) |
| 限定符和类型 | 方法和说明 |
|---|---|
Plaintext |
decrypt(byte contentType,
ByteBuffer bb,
byte[] sequence) |
(专用程序包) void |
dispose() |
(专用程序包) int |
estimateFragmentSize(int packetSize,
int headerSize) |
private boolean |
sanityCheck(int tagLen,
int fragmentLen)
Sanity check the length of a fragment before decryption.
|
atKeyLimit, isNullCipher, nullTlsReadCipherprivate final Cipher cipher
BlockReadCipher(Authenticator authenticator, ProtocolVersion protocolVersion, String algorithm, Key key, AlgorithmParameterSpec params, SecureRandom random) throws GeneralSecurityException
public Plaintext decrypt(byte contentType, ByteBuffer bb, byte[] sequence) throws GeneralSecurityException
decrypt 在类中 SSLCipher.SSLReadCipherGeneralSecurityExceptionvoid dispose()
dispose 在类中 SSLCipher.SSLReadCipherint estimateFragmentSize(int packetSize,
int headerSize)
private boolean sanityCheck(int tagLen,
int fragmentLen)
Copyright © 2023. All rights reserved.