public class AesCtrHmacStreamingParameters extends StreamingAeadParameters
AesCtrHmacStreamingKey.
We refer to https://developers.google.com/tink/streaming-aead/aes_ctr_hmac_streaming for a complete description of the values.
| Modifier and Type | Class and Description |
|---|---|
static class |
AesCtrHmacStreamingParameters.Builder
Helps creating new
AesCtrHmacStreamingParameters objects.. |
static class |
AesCtrHmacStreamingParameters.HashType
Represents the hash type used.
|
| Modifier and Type | Method and Description |
|---|---|
static AesCtrHmacStreamingParameters.Builder |
builder() |
boolean |
equals(Object o) |
int |
getCiphertextSegmentSizeBytes()
Returns the size a ciphertext segment has.
|
int |
getDerivedKeySizeBytes() |
AesCtrHmacStreamingParameters.HashType |
getHkdfHashType()
Returns the type of the hash function used in HKDF.
|
AesCtrHmacStreamingParameters.HashType |
getHmacHashType()
Returns the type of the hash function used in HMAC.
|
int |
getHmacTagSizeBytes()
Returns the number of bytes used in the HMAC tag.
|
int |
getKeySizeBytes()
Returns the size of the initial key material.
|
int |
hashCode() |
String |
toString() |
hasIdRequirementpublic static AesCtrHmacStreamingParameters.Builder builder()
public int getKeySizeBytes()
public int getDerivedKeySizeBytes()
public AesCtrHmacStreamingParameters.HashType getHkdfHashType()
public AesCtrHmacStreamingParameters.HashType getHmacHashType()
public int getHmacTagSizeBytes()
public int getCiphertextSegmentSizeBytes()