'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, _
ByVal securityHandlerRevisionThe number that specifies the revision of the standard security handler.As System.Int32 _
)
public EncryptionSystem(
EncryptionAlgorithm encryptionAlgorithm,
System.Int32 encryptionKeyLength,
System.String userPassword,
System.String ownerPassword,
UserAccessPermissions userPermissions,
System.Int32 securityHandlerRevision
)
public: EncryptionSystem(
EncryptionAlgorithm encryptionAlgorithm,
System.Int32 encryptionKeyLength,
System.String userPassword,
System.String ownerPassword,
UserAccessPermissions userPermissions,
System.Int32 securityHandlerRevision
)
public:
EncryptionSystem(
EncryptionAlgorithm encryptionAlgorithm,
System.Int32 encryptionKeyLength,
System.String userPassword,
System.String ownerPassword,
UserAccessPermissions userPermissions,
System.Int32 securityHandlerRevision
)
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.
- securityHandlerRevision
- The number that specifies the revision of the standard security handler.