Skip to main content
All docs
V26.1
  • SecureZipPolicy.Options.EncryptionPolicy Property

    Gets the effective encryption policy; this resolves Default to FipsStrict or ReadLegacyOnly based on the OS FIPS setting.

    Namespace: DevExpress.Utils.Zip

    Assembly: DevExpress.Data.v26.1.dll

    Declaration

    public SecureZipPolicy.EncryptionPolicy EncryptionPolicy { get; }

    Property Value

    Type Description
    SecureZipPolicy.EncryptionPolicy

    Effective encryption policy for options.

    Available values:

    Name Description
    Default

    Resolves to ReadLegacyOnly when the OS does not enforce FIPS, and to FipsStrict when FIPS is enforced.

    Unrestricted

    Obsolete. ZipCrypto and AES are both permitted for reading and writing.

    AesRequired

    ZipCrypto is denied for both reading and writing. AES encryption is required. Algorithms of unknown compliance are also permitted.

    ReadLegacyOnly

    ZipCrypto is allowed for reading existing archives only. Writing always uses AES.

    FipsStrict

    Only FIPS 140-2 confirmed algorithms are accepted for both reading and writing. Algorithms of unknown compliance are denied.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to EncryptionPolicy
    SecureZipPolicy
    .GlobalOptions .EncryptionPolicy
    See Also