The AsymmetricKeyAlgorithm type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkAsymmetricKeyAlgorithm
Creates an instance of AsymmetricKeyAlgorithm.

Methods

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkCreateFrom
Creates an instance of AsymmetricKeyAlgorithm from the specified asymmetric algorithm object.
Public methodSupported by the .NET Compact FrameworkDecrypt(array<Byte>[]()[][])
Decrypts data.
Public methodSupported by the .NET Compact FrameworkDecrypt(array<Byte>[]()[][], EncryptionParameters)
Decrypts data.
Public methodSupported by the .NET Compact FrameworkDispose
Frees the resources used by this object.
Public methodSupported by the .NET Compact FrameworkEncrypt(array<Byte>[]()[][])
Encrypts data.
Public methodSupported by the .NET Compact FrameworkEncrypt(array<Byte>[]()[][], EncryptionParameters)
Encrypts data.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
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 methodStatic memberSupported by the .NET Compact FrameworkGenerateDiffieHellmanParameters
Generates Diffie-Hellman parameters corresponding to the specified key size.
Public methodSupported by the .NET Compact FrameworkGenerateKey(AsymmetricKeyAlgorithmId, Int32)
Generates a private key for the specified asymmetric algorithm with of the specified key size.
Public methodSupported by the .NET Compact FrameworkGenerateKey(AsymmetricKeyAlgorithmId, String)
Generates a private key for the specified asymmetric algorithm based on the specified curve.
Public methodSupported by the .NET Compact FrameworkGetCspParameters
Gets CSP parameters if the instance of AsymmetricKeyAlgorithm represents a key stored in a Windows Cryptographic Service Provider.
Public methodSupported by the .NET Compact FrameworkGetHashCode
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.)
Public methodSupported by the .NET Compact FrameworkGetKeyMaterialDeriver
Gets key material deriver. Only supported by Diffie-Hellman-like algorithms.
Public methodSupported by the .NET Compact FrameworkGetPrivateKey
Exports a private key to the specified private key info object.
Public methodSupported by the .NET Compact FrameworkGetPublicKey
Exports a public key to the specified private key info object.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkImportKey(DSAParameters)
Imports a key from the specified DSA parameters.
Public methodSupported by the .NET Compact FrameworkImportKey(RSAParameters)
Imports a key from the specified RSA parameters.
Public methodSupported by the .NET Compact FrameworkImportKey(DiffieHellmanParameters)
Imports a private key from the specified Diffie-Hellman parameters, or generates a new key using P and G parameters.
Public methodSupported by the .NET Compact FrameworkImportKey(PrivateKeyInfo)
Imports a key from the specified private key info object.
Public methodSupported by the .NET Compact FrameworkImportKey(PublicKeyInfo)
Imports a key from the specified public key info object.
Public methodSupported by the .NET Compact FrameworkImportKey(AsymmetricKeyAlgorithmId, String, array<Byte>[]()[][], AsymmetricKeyFormat)
Imports a private key for the specified algorithm/curve. Only some algorithms/curves are supported.
Public methodStatic memberSupported by the .NET Compact FrameworkIsSupported
Returns a value indicating whether the specified algorithm is supported.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSupported by the .NET Compact FrameworkRegister
Register custom asymmetric key algorithm.
Public methodSupported by the .NET Compact FrameworkSignHash
Computes the signature for the specified hash value.
Public methodSupported by the .NET Compact FrameworkSignMessage(array<Byte>[]()[][])
Computes the signature for the specified message (using default parameters).
Public methodSupported by the .NET Compact FrameworkSignMessage(array<Byte>[]()[][], SignatureParameters)
Computes the signature for the specified message.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkVerifyHash
Verifies the specified signature.
Public methodSupported by the .NET Compact FrameworkVerifyMessage(array<Byte>[]()[][], array<Byte>[]()[][])
Verifies the specified signature (using default parameters).
Public methodSupported by the .NET Compact FrameworkVerifyMessage(array<Byte>[]()[][], array<Byte>[]()[][], SignatureParameters)
Verifies the specified signature.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAlgorithm
Gets the current key algorithm.
Public propertySupported by the .NET Compact FrameworkKeySize
Gets the current key size.
Public propertySupported by the .NET Compact FrameworkPublicOnly
Gets a value indicating whether this instance only contains the public key.

See Also