EncryptionManager Class |
Namespace: PsrApi.Managers
public class EncryptionManager : BaseManager
The EncryptionManager type exposes the following members.
| Name | Description | |
|---|---|---|
| EncryptionManager |
Creates a new instance of EncryptionManager and uses the instance of PsrApi for all its operations.
|
| Name | Description | |
|---|---|---|
| AreDataKeysAsymmetric |
Returns if data keys are asymmetric
| |
| CalculateClientUserAuthenticationHash |
Calculates the hash for the user to authenticate to the server.
| |
| Decrypt |
Decrypts the encryptedValue with a key
| |
| DecryptFile |
Decrypts a file
| |
| EncryptContainerItem |
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.
| |
| EncryptDocument |
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.
| |
| EncryptFile |
Encrypts a file
| |
| EncryptWithKey |
Encrypts the plainValue with a key
| |
| EncryptWithPassword |
Encrypts the plainValue with a password
| |
| EncryptWithPublicKey |
Encrypts the plainValue with a public key
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GenerateDataKey |
Generates a new data key
| |
| GenerateKeyPair |
Generates a new asymmetric key pair
| |
| GenerateSymmetricKey |
Generates a new symmetric key
| |
| GetEncryptionVersion |
Returns the encryption version which is in use
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| SignData |
Signs the data with the private key
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| VerifyData |
Checks if a data was signed with a signature
|