Class AesCtrHmacStreamingParameters
- java.lang.Object
-
- com.google.crypto.tink.Parameters
-
- com.google.crypto.tink.streamingaead.StreamingAeadParameters
-
- com.google.crypto.tink.streamingaead.AesCtrHmacStreamingParameters
-
public class AesCtrHmacStreamingParameters extends StreamingAeadParameters
Represents the parameters of aAesCtrHmacStreamingKey.We refer to https://developers.google.com/tink/streaming-aead/aes_ctr_hmac_streaming for a complete description of the values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAesCtrHmacStreamingParameters.BuilderHelps creating newAesCtrHmacStreamingParametersobjects..static classAesCtrHmacStreamingParameters.HashTypeRepresents the hash type used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AesCtrHmacStreamingParameters.Builderbuilder()booleanequals(java.lang.Object o)intgetCiphertextSegmentSizeBytes()Returns the size a ciphertext segment has.intgetDerivedKeySizeBytes()AesCtrHmacStreamingParameters.HashTypegetHkdfHashType()Returns the type of the hash function used in HKDF.AesCtrHmacStreamingParameters.HashTypegetHmacHashType()Returns the type of the hash function used in HMAC.intgetHmacTagSizeBytes()Returns the number of bytes used in the HMAC tag.intgetKeySizeBytes()Returns the size of the initial key material.inthashCode()java.lang.StringtoString()-
Methods inherited from class com.google.crypto.tink.streamingaead.StreamingAeadParameters
hasIdRequirement
-
-
-
-
Method Detail
-
builder
public static AesCtrHmacStreamingParameters.Builder builder()
-
getKeySizeBytes
public int getKeySizeBytes()
Returns the size of the initial key material.
-
getDerivedKeySizeBytes
public int getDerivedKeySizeBytes()
-
getHkdfHashType
public AesCtrHmacStreamingParameters.HashType getHkdfHashType()
Returns the type of the hash function used in HKDF.
-
getHmacHashType
public AesCtrHmacStreamingParameters.HashType getHmacHashType()
Returns the type of the hash function used in HMAC.
-
getHmacTagSizeBytes
public int getHmacTagSizeBytes()
Returns the number of bytes used in the HMAC tag.
-
getCiphertextSegmentSizeBytes
public int getCiphertextSegmentSizeBytes()
Returns the size a ciphertext segment has.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-