System::Security::Cryptography::AsymmetricAlgorithm class

AsymmetricAlgorithm class

Abstract base class for asymmetric encryption algorithms. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class AsymmetricAlgorithm : public virtual System::Object,
                            public System::IDisposable

Methods

MethodDescription
Clear()Releases all resources.
static Create()Creates a default algorithm. Not implemented.
static Create(const String&)Creates algorithm by name. Not implemented.
Dispose() overrideReleases resources owned by the current object.
virtual FromXmlString(String)Reads algorithm parameters from XML string.
virtual get_KeyExchangeAlgorithm()Gets key exchange algorithm to use.
virtual get_KeySize()RTTI information.
virtual get_LegalKeySizes()Gets array of allowed key sizes.
virtual get_SignatureAlgorithm()Gets signature algorithm to use.
virtual set_KeySize(int32_t)Sets key size.
virtual ToXmlString(bool)Writes algorithm parameters to XML string.

See Also