Click or drag to resize

EncryptionManager Methods

The EncryptionManager type exposes the following members.

Methods
  NameDescription
Public methodAreDataKeysAsymmetric
Returns if data keys are asymmetric
Public methodCalculateClientUserAuthenticationHash
Calculates the hash for the user to authenticate to the server.
Public methodDecrypt
Decrypts the encryptedValue with a key
Public methodDecryptFile
Decrypts a file
Public methodEncryptContainerItem
Encrypts a MtoContainerItem over the a aes key or a rsa key depending on the EncryptionVersion and sets its encrypted value. Also sets the Public key in the data correctly. If a new key was created, its key to decrypt the data will be returned.
Public methodEncryptDocument
Encrypts a file and automatically creates a new key or reuses the existing key. If a new key was created, its key to decrypt the data will be returned.
Public methodEncryptFile
Encrypts a file
Public methodEncryptWithKey
Encrypts the plainValue with a key
Public methodEncryptWithPassword
Encrypts the plainValue with a password
Public methodEncryptWithPublicKey
Encrypts the plainValue with a public key
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGenerateDataKey
Generates a new data key
Public methodGenerateKeyPair
Generates a new asymmetric key pair
Public methodGenerateSymmetricKey
Generates a new symmetric key
Public methodGetEncryptionVersion
Returns the encryption version which is in use
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSignData
Signs the data with the private key
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyData
Checks if a data was signed with a signature
Top
See Also