static interface Authenticator.MAC
| 限定符和类型 | 方法和说明 |
|---|---|
default byte[] |
compute(byte type,
ByteBuffer bb,
boolean isSimulated)
Compute and returns the MAC for the remaining data
in this ByteBuffer.
|
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() |
CipherSuite.MacAlg macAlg()
byte[] compute(byte type,
ByteBuffer bb,
byte[] sequence,
boolean isSimulated)
type - record typebb - a ByteBuffer in which the position and limit
demarcate the data to be MAC'd.isSimulated - if true, simulate the MAC computationsequence - the explicit sequence number, or null if using
the implicit sequence number for the computationdefault byte[] compute(byte type,
ByteBuffer bb,
boolean isSimulated)
type - record typebb - a ByteBuffer in which the position and limit
demarcate the data to be MAC'd.isSimulated - if true, simulate the MAC computationCopyright © 2023. All rights reserved.