Interface JWACipher.EncryptedData

Enclosing interface:
JWACipher

public static interface JWACipher.EncryptedData

An encrypted data composed of the initialization vector, the authentication tag and the cipher text.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    The authentication tag resulting from the encryption.
    byte[]
    Returns the cipher text.
    byte[]
    Returns the initialization vector used to encrypt the data.
  • Method Details

    • getInitializationVector

      byte[] getInitializationVector()

      Returns the initialization vector used to encrypt the data.

      Returns:
      the initialization vector
    • getAuthenticationTag

      byte[] getAuthenticationTag()

      The authentication tag resulting from the encryption.

      Returns:
      the authentication tag
    • getCipherText

      byte[] getCipherText()

      Returns the cipher text.

      Returns:
      the cipher text