VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Security Namespace / EncryptionSystem Class / EncryptionSystem Constructor
The Encryption Algorithm.
The Encryption Key length (in bits).
User password string.
Owner password string.
The UserAccessPermissions that specifying which access permissions should be granted when the document is opened with user access.



In This Topic
    EncryptionSystem Constructor
    In This Topic
    Initializes a new instance of the EncryptionSystem class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal algorithm As EncryptionAlgorithm, _
       ByVal keyLength As Integer, _
       ByVal userPassword As String, _
       ByVal ownerPassword As String, _
       ByVal userPermissions As UserAccessPermissions _
    )

    Parameters

    algorithm
    The Encryption Algorithm.
    keyLength
    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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also