Class PdfEncryptionDetails
Pôvodný názov: Aspose.Tasks.Saving Zhromaždenie: Aspose.Tasks.dll (25.5.0)
Obsahuje podrobnosti pre šifrovanie PDF.
public class PdfEncryptionDetailsInheritance
Z dedičných členov
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PdfEncryptionDetails(struny, struny, PdfEncryptionAlgorithm)
Iniciuje novú inštanciu triedy Aspose.Tasks.Saving.PdfEncryptionDetails.
public PdfEncryptionDetails(string userPassword, string ownerPassword, PdfEncryptionAlgorithm encryptionAlgorithm)Parameters
userPassword string
Užívateľské heslo, ktoré umožňuje otvoriť chránené dokumenty.
ownerPassword string
Vlastník hesla umožňuje otvoriť chránené dokumenty.
encryptionAlgorithm PdfEncryptionAlgorithm
Aspose.Tasks.Saving.PdfEncryptionAlgorithm príklad, ktorý naznačuje šifrovanie algoritmus.
Properties
EncryptionAlgorithm
Získajte alebo nastavíte režim šifrovania.
public PdfEncryptionAlgorithm EncryptionAlgorithm { get; set; }Hodnota nehnuteľnosti
OwnerPassword
Získať alebo nastaviť heslo majiteľa.
public string OwnerPassword { get; set; }Hodnota nehnuteľnosti
Remarks
Otvorenie dokumentu s správnym heslom majiteľa (podľa predpokladu, že nie jerovnaký ako užívateľské heslo) umožňuje úplný (vlastník) prístup k dokumentu.neobmedzený prístup zahŕňa možnosť zmeniť heslá dokumentu aprístupové povolenia .
Permissions
Dostane alebo udelí povolenia.
public PdfPermissions Permissions { get; set; }Hodnota nehnuteľnosti
UserPassword
Dostane alebo nastaví používateľské heslo.
public string UserPassword { get; set; }Hodnota nehnuteľnosti
Remarks
Otvorenie dokumentu správnym užívateľským heslom (alebo otvorenie dokumentu)ktorý nemá užívateľské heslo) umožňuje dodatočné operácievykonávané v súlade s povolením prístupu používateľa uvedeným v dokumenteŠifrovanie slovníka .