Class SevenZipEncryptionSettings

Class SevenZipEncryptionSettings

Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)

Základní třída pro nastavení pro několik metod šifrování 7z.

public abstract class SevenZipEncryptionSettings

Dědičnost

objectSevenZipEncryptionSettings

Odvozené

SevenZipAESEncryptionSettings

Děděné členy

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Poznámky

AES-256 je jediná možná metoda šifrování pro 7z archivy. Takže Aspose.Zip.Saving.SevenZipAESEncryptionSettings je jediná implementace.

Konstruktor

SevenZipEncryptionSettings(string)

Inicializuje novou instanci třídy Aspose.Zip.Saving.SevenZipEncryptionSettings.

protected SevenZipEncryptionSettings(string password)

Parametry

password string

Heslo pro šifrování nebo dešifrování.

SevenZipEncryptionSettings()

Inicializuje novou instanci třídy Aspose.Zip.Saving.SevenZipEncryptionSettings.

protected SevenZipEncryptionSettings()

Vlastnosti

EncryptHeader

Získá nebo nastaví hodnotu indikující šifrování hlavičky.

public bool EncryptHeader { get; set; }

Hodnota vlastnosti

bool

Poznámky

Toto nastavení je ekvivalentní přepínači -mhe=on nástroje 7-Zip. V současnosti není kompatibilní se kompresí hlavičky.

Password

Získá nebo nastaví heslo pro šifrování nebo dešifrování.

public string Password { get; set; }

Hodnota vlastnosti

string

 Čeština