'Declaration Public Function New( _
ByVal encryptionAlgorithmThe encryption algorithm.As EncryptionAlgorithm, _
ByVal encryptionKeyLengthThe encryption key length (in bits).As System.Int32, _
ByVal userPasswordUser password string.As System.String, _
ByVal ownerPasswordOwner password string.As System.String, _
ByVal userPermissionsThe 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
)
public: EncryptionSystem(
EncryptionAlgorithm encryptionAlgorithm,
System.Int32 encryptionKeyLength,
System.String userPassword,
System.String ownerPassword,
UserAccessPermissions userPermissions
)
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.