The AsymmetricKeyAlgorithm type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateFrom |
Creates an instance of AsymmetricKeyAlgorithm from the specified asymmetric algorithm object.
| |
Decrypt(array<Byte>[]()[][]) |
Decrypts data.
| |
Decrypt(array<Byte>[]()[][], EncryptionParameters) |
Decrypts data.
| |
Dispose |
Frees the resources used by this object.
| |
Encrypt(array<Byte>[]()[][]) |
Encrypts data.
| |
Encrypt(array<Byte>[]()[][], EncryptionParameters) |
Encrypts data.
| |
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.) | |
GenerateDiffieHellmanParameters |
Generates Diffie-Hellman parameters corresponding to the specified key size.
| |
GenerateKey(AsymmetricKeyAlgorithmId, Int32) |
Generates a private key for the specified asymmetric algorithm with of the specified key size.
| |
GenerateKey(AsymmetricKeyAlgorithmId, String) |
Generates a private key for the specified asymmetric algorithm based on the specified curve.
| |
GetCspParameters |
Gets CSP parameters if the instance of AsymmetricKeyAlgorithm represents a key stored in a Windows Cryptographic Service Provider.
| |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetKeyMaterialDeriver |
Gets key material deriver. Only supported by Diffie-Hellman-like algorithms.
| |
GetPrivateKey |
Exports a private key to the specified private key info object.
| |
GetPublicKey |
Exports a public key to the specified private key info object.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImportKey(DSAParameters) |
Imports a key from the specified DSA parameters.
| |
ImportKey(RSAParameters) |
Imports a key from the specified RSA parameters.
| |
ImportKey(DiffieHellmanParameters) |
Imports a private key from the specified Diffie-Hellman parameters, or generates a new key using P and G parameters.
| |
ImportKey(PrivateKeyInfo) |
Imports a key from the specified private key info object.
| |
ImportKey(PublicKeyInfo) |
Imports a key from the specified public key info object.
| |
ImportKey(AsymmetricKeyAlgorithmId, String, array<Byte>[]()[][], AsymmetricKeyFormat) |
Imports a private key for the specified algorithm/curve. Only some algorithms/curves are supported.
| |
IsSupported |
Returns a value indicating whether the specified algorithm is supported.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Register |
Register custom asymmetric key algorithm.
| |
SignHash |
Computes the signature for the specified hash value.
| |
SignMessage(array<Byte>[]()[][]) |
Computes the signature for the specified message (using default parameters).
| |
SignMessage(array<Byte>[]()[][], SignatureParameters) |
Computes the signature for the specified message.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
VerifyHash |
Verifies the specified signature.
| |
VerifyMessage(array<Byte>[]()[][], array<Byte>[]()[][]) |
Verifies the specified signature (using default parameters).
| |
VerifyMessage(array<Byte>[]()[][], array<Byte>[]()[][], SignatureParameters) |
Verifies the specified signature.
|