VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Security Namespace / EncryptionSystem Class / EncryptionSystem Constructors / EncryptionSystem Constructor(EncryptionAlgorithm,Int32,String,String,UserAccessPermissions)
Syntax Requirements SeeAlso
In This Topic
EncryptionSystem Constructor(EncryptionAlgorithm,Int32,String,String,UserAccessPermissions)
In This Topic
Initializes a new instance of the EncryptionSystem class.
Syntax
'Declaration

Public Function New( _
ByVal encryptionAlgorithm
The encryption algorithm.
As EncryptionAlgorithm, _
ByVal encryptionKeyLength
The encryption key length (in bits).
As System.Int32, _
ByVal userPassword
User password string.
As System.String, _
ByVal ownerPassword
Owner password string.
As System.String, _
ByVal userPermissions
The UserAccessPermissions that specifying which access permissions should be granted when the document is opened with user access.
As UserAccessPermissions _
)
public EncryptionSystem(
EncryptionAlgorithm encryptionAlgorithm,
System.Int32 encryptionKeyLength,
System.String userPassword,
System.String ownerPassword,
UserAccessPermissions userPermissions
)

Parameters

encryptionAlgorithm
The encryption algorithm.
encryptionKeyLength
The encryption key length (in bits).
userPassword
User password string.
ownerPassword
Owner password string.
userPermissions
The UserAccessPermissions that specifying which access permissions should be granted when the document is opened with user access.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also