Class AesCtrHmacStreamingParameters


  • public class AesCtrHmacStreamingParameters
    extends StreamingAeadParameters
    Represents the parameters of a AesCtrHmacStreamingKey.

    We refer to https://developers.google.com/tink/streaming-aead/aes_ctr_hmac_streaming for a complete description of the values.

    • Method Detail

      • getKeySizeBytes

        public int getKeySizeBytes()
        Returns the size of the initial key material.
      • getDerivedKeySizeBytes

        public int getDerivedKeySizeBytes()
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object