private static final class Authenticator.TLS10Mac extends Authenticator.TLS10Authenticator implements Authenticator.MAC
Authenticator.MAC| 限定符和类型 | 字段和说明 |
|---|---|
private Authenticator.MacImpl |
macImpl |
block| 构造器和说明 |
|---|
TLS10Mac(ProtocolVersion protocolVersion,
CipherSuite.MacAlg macAlg,
SecretKey key) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
compute(byte type,
ByteBuffer bb,
byte[] sequence,
boolean isSimulated)
Compute and returns the MAC for the remaining data
in this ByteBuffer.
|
CipherSuite.MacAlg |
macAlg() |
acquireAuthenticationBytesseqNumIsHuge, seqNumOverflowincreaseSequenceNumber, nullTlsMac, sequenceNumber, toLong, valueOf, valueOfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeprivate final Authenticator.MacImpl macImpl
public TLS10Mac(ProtocolVersion protocolVersion, CipherSuite.MacAlg macAlg, SecretKey key) throws NoSuchAlgorithmException, InvalidKeyException
public CipherSuite.MacAlg macAlg()
macAlg 在接口中 Authenticator.MACpublic byte[] compute(byte type,
ByteBuffer bb,
byte[] sequence,
boolean isSimulated)
Authenticator.MACcompute 在接口中 Authenticator.MACtype - record typebb - a ByteBuffer in which the position and limit
demarcate the data to be MAC'd.sequence - the explicit sequence number, or null if using
the implicit sequence number for the computationisSimulated - if true, simulate the MAC computationCopyright © 2023. All rights reserved.