Class FileEncryptionInfo

java.lang.Object
com.microsoft.graph.models.FileEncryptionInfo
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class FileEncryptionInfo extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the File Encryption Info.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • encryptionKey

      @SerializedName(value="encryptionKey", alternate="EncryptionKey") @Expose @Nullable public byte[] encryptionKey
      The Encryption Key. The key used to encrypt the file content.
    • fileDigest

      @SerializedName(value="fileDigest", alternate="FileDigest") @Expose @Nullable public byte[] fileDigest
      The File Digest. The file digest prior to encryption. ProfileVersion1 requires a non-null FileDigest.
    • fileDigestAlgorithm

      @SerializedName(value="fileDigestAlgorithm", alternate="FileDigestAlgorithm") @Expose @Nullable public String fileDigestAlgorithm
      The File Digest Algorithm. The file digest algorithm. ProfileVersion1 currently only supports SHA256 for the FileDigestAlgorithm.
    • initializationVector

      @SerializedName(value="initializationVector", alternate="InitializationVector") @Expose @Nullable public byte[] initializationVector
      The Initialization Vector. The initialization vector (IV) used for the encryption algorithm. Must be 16 bytes.
    • mac

      @SerializedName(value="mac", alternate="Mac") @Expose @Nullable public byte[] mac
      The Mac. The hash of the concatenation of the IV and encrypted file content. Must be 32 bytes.
    • macKey

      @SerializedName(value="macKey", alternate="MacKey") @Expose @Nullable public byte[] macKey
      The Mac Key. The key used to compute the message authentication code of the concatenation of the IV and encrypted file content. Must be 32 bytes.
    • profileIdentifier

      @SerializedName(value="profileIdentifier", alternate="ProfileIdentifier") @Expose @Nullable public String profileIdentifier
      The Profile Identifier. The profile identifier. Maps to the strategy used to encrypt the file. Currently, only ProfileVersion1 is supported.
  • Constructor Details

    • FileEncryptionInfo

      public FileEncryptionInfo()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to