The AsymmetricCrypter type exposes the following members.

Methods

  NameDescription
Public methodDecrypt
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.
Public methodEncrypt
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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberImportPrivateKeyFromCertificate
Imports the private key from certificate.
Public methodStatic memberKeyFromXml
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.
Public methodStatic memberLoadKeyFromXmlFile
Loads the public key (and optionally the private key) from an XML file. The XML file must adhere to the RSAKeyValue XML schema.
Public methodStatic memberLoadPrivateKey
Loads a private key from a certificate stored in the registry.
Public methodStatic memberLoadPublicKeyFromCer
Loads the public key from a CER certificate file.
Public methodStatic memberLoadPublicKeyFromPem
Loads the public key from a a PEM certificate file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSign
Signs the specified original file.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberVerifySignature
Verifies the signature.

See Also