Class FileEncryptionInfo.Builder

    • Method Detail

      • encryptionKey

        public FileEncryptionInfo.Builder encryptionKey​(byte[] encryptionKey)
        “The key used to encrypt the file content.”
        Parameters:
        encryptionKey - value of encryptionKey property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileDigest

        public FileEncryptionInfo.Builder fileDigest​(byte[] fileDigest)
        “The file digest prior to encryption.”
        Parameters:
        fileDigest - value of fileDigest property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • fileDigestAlgorithm

        public FileEncryptionInfo.Builder fileDigestAlgorithm​(String fileDigestAlgorithm)
        “The file digest algorithm.”
        Parameters:
        fileDigestAlgorithm - value of fileDigestAlgorithm property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • initializationVector

        public FileEncryptionInfo.Builder initializationVector​(byte[] initializationVector)
        “The initialization vector used for the encryption algorithm.”
        Parameters:
        initializationVector - value of initializationVector property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • mac

        public FileEncryptionInfo.Builder mac​(byte[] mac)
        “The hash of the encrypted file content + IV (content hash).”
        Parameters:
        mac - value of mac property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • macKey

        public FileEncryptionInfo.Builder macKey​(byte[] macKey)
        “The key used to get mac.”
        Parameters:
        macKey - value of macKey property (as defined in service metadata)
        Returns:
        this (for method chaining)
      • profileIdentifier

        public FileEncryptionInfo.Builder profileIdentifier​(String profileIdentifier)
        “The the profile identifier.”
        Parameters:
        profileIdentifier - value of profileIdentifier property (as defined in service metadata)
        Returns:
        this (for method chaining)