'Declaration Public Function New( _ ByVal encryptionAlgorithm As EncryptionAlgorithm, _ ByVal encryptionKeyLength As Integer, _ ByVal userPassword As String, _ ByVal ownerPassword As String, _ ByVal userPermissions As UserAccessPermissions _ )
public EncryptionSystem( EncryptionAlgorithm encryptionAlgorithm, int encryptionKeyLength, string userPassword, string ownerPassword, UserAccessPermissions userPermissions )
public: EncryptionSystem( EncryptionAlgorithm encryptionAlgorithm, int encryptionKeyLength, string* userPassword, string* ownerPassword, UserAccessPermissions userPermissions )
public: EncryptionSystem( EncryptionAlgorithm encryptionAlgorithm, int encryptionKeyLength, String^ userPassword, 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.