The AsymmetricCrypter type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Decrypt |
Decrypts the specified encrypted file in the specified output file, using the
provided private key.
Decryption is be done by reading an encrypted "session key" from the encrypted
file and then decrypting using the private key of the receiver. If the session key
is successfully decrypted, then the message will be decrypted
using SupportedStreamAlgorithms algorithm with the decrypted session
key.
|
![]() | Encrypt |
Encrypts the specified input file and saves the encrypted bytes in the
specified output file. To do so, a "session key" will be
randomly generated and then encrypted using the publick key of the receiver.
The public key may be obtained by a digital certificate, using a
LLCertificate object.
Then the message will be encrypted then using SupportedStreamAlgorithms
algorithm supplied in the constructor with the encrypted key.
|
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | ImportPrivateKeyFromCertificate |
Imports the private key from certificate.
|
![]() ![]() | KeyFromXml |
Creates an RSA key or pair of keys (public or public with private) from an XML string.
The XML string must adhere to the RSAKeyValue XML schema.
|
![]() ![]() | LoadKeyFromXmlFile |
Loads the public key (and optionally the private key) from an XML file.
The XML file must adhere to the RSAKeyValue XML schema.
|
![]() ![]() | LoadPrivateKey |
Loads a private key from a certificate stored in the registry.
|
![]() ![]() | LoadPublicKeyFromCer |
Loads the public key from a CER certificate file.
|
![]() ![]() | LoadPublicKeyFromPem |
Loads the public key from a a PEM certificate file.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Sign |
Signs the specified original file.
|
![]() | ToString | Returns a String that represents the current Object. (Inherited from Object.) |
![]() ![]() | VerifySignature |
Verifies the signature.
|