Class AesGcmHkdfStreamingParameters
- java.lang.Object
-
- com.google.crypto.tink.Parameters
-
- com.google.crypto.tink.streamingaead.StreamingAeadParameters
-
- com.google.crypto.tink.streamingaead.AesGcmHkdfStreamingParameters
-
public class AesGcmHkdfStreamingParameters extends StreamingAeadParameters
Represents the parameters of aAesGcmHkdfStreamingKey.We refer to https://developers.google.com/tink/streaming-aead/aes_gcm_hkdf_streaming for a complete description of the values.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAesGcmHkdfStreamingParameters.BuilderHelps creating newAesGcmHkdfStreamingParametersobjects.static classAesGcmHkdfStreamingParameters.HashTypeRepresents the hash type used.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AesGcmHkdfStreamingParameters.Builderbuilder()booleanequals(java.lang.Object o)intgetCiphertextSegmentSizeBytes()Returns the size a ciphertext segment has.intgetDerivedAesGcmKeySizeBytes()Returns the size of the AES GCM key which will internally be derived.AesGcmHkdfStreamingParameters.HashTypegetHkdfHashType()Returns the type of the hash function used in HKDF.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 AesGcmHkdfStreamingParameters.Builder builder()
-
getKeySizeBytes
public int getKeySizeBytes()
Returns the size of the initial key material.
-
getDerivedAesGcmKeySizeBytes
public int getDerivedAesGcmKeySizeBytes()
Returns the size of the AES GCM key which will internally be derived.
-
getHkdfHashType
public AesGcmHkdfStreamingParameters.HashType getHkdfHashType()
Returns the type of the hash function used in HKDF.
-
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
-
-