static final class SSLCipher.T13GcmReadCipherGenerator.GcmReadCipher extends SSLCipher.SSLReadCipher
| 限定符和类型 | 字段和说明 |
|---|---|
private Cipher |
cipher |
private byte[] |
iv |
private Key |
key |
private SecureRandom |
random |
private int |
tagSize |
authenticator, baseSecret, keyLimitCountdown, keyLimitEnabled, protocolVersion| 构造器和说明 |
|---|
GcmReadCipher(Authenticator authenticator,
ProtocolVersion protocolVersion,
SSLCipher sslCipher,
String algorithm,
Key key,
AlgorithmParameterSpec params,
SecureRandom random) |
| 限定符和类型 | 方法和说明 |
|---|---|
Plaintext |
decrypt(byte contentType,
ByteBuffer bb,
byte[] sequence) |
(专用程序包) void |
dispose() |
(专用程序包) int |
estimateFragmentSize(int packetSize,
int headerSize) |
atKeyLimit, isNullCipher, nullTlsReadCipherprivate final Cipher cipher
private final int tagSize
private final Key key
private final byte[] iv
private final SecureRandom random
GcmReadCipher(Authenticator authenticator, ProtocolVersion protocolVersion, SSLCipher sslCipher, 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)
Copyright © 2023. All rights reserved.