The EzRsa type exposes the following members.

Constructors

  Name Description
Public method EzRsa
Constructor.

Methods

  Name Description
Public method CheckPrivateKey
Check if our private key is valid.
Public method Decrypt
Decrypt a message in PKCS#1 v1.5 format Plug compatible with RSACryptoServiceProvider.Decrypt
Protected method Dispose
Dispose. Required by AssymetricAlgorithm base class.
(Overrides AsymmetricAlgorithm..::..Dispose(Boolean).)
Public method DoPrivate
Perform an RSA private key operation on input
Public method DoPublic
Perform an RSA public key operation on input
Public method Encrypt
Encrypt a message and pack it up into PKCS#1 v1.5 format Plug compatible with RSACryptoServiceProvider.Encrypt
Public method ExportParameters
Implementation of RSACryptoServiceProvider.ExportParameters (qv)
Public method FromXmlString
Initialize an EzRsa object from an XML string Uses the same markup scheme as RSACryptoServiceProvider.FromXmlString (qv)
(Overrides AsymmetricAlgorithm..::..FromXmlString(String).)
Public method GenerateKeyPair
Generate an RSA keypair Popular exponents are 3, 17 and 65537; the bigger it is, the slower encryption becomes
Public method ImportParameters
Implemntation of RSACryptoServiceProvider.ImportParameters (qv)
Public method MapHashAlgorithmOID
Map a hash algorithm OID to a HASH_ALGORITHM HASH_ALGORITHM knows about types of hash that CryptoConfig.MapNameToOID doesn't (and vice-versa)
Public method SignData
SignData - plug compatible with RSACryptoServiceProvider.SignData, but only this one override provided
Public method SignHash(array<Byte>[]()[][], EzRsa..::..HASH_ALGORITHM)
Sign a message digest and pack it up into PKCS#1 format
Public method SignHash(array<Byte>[]()[][], String)
SignHash - plug compatible with RSACryptoServiceProvider.SignHash
Public method ToXmlString
Implementing functionality of RSACryptoServiceProvider.ToXmlString (qv)
(Overrides AsymmetricAlgorithm..::..ToXmlString(Boolean).)
Public method VerifyData
VerifyData - plug compatible with RSACryptoServiceProvider.VerifyData
Public method VerifyHash(array<Byte>[]()[][], array<Byte>[]()[][], EzRsa..::..HASH_ALGORITHM)
Verify a signed PKCS#1 message digest
Public method VerifyHash(array<Byte>[]()[][], String, array<Byte>[]()[][])
VerifyHash - plug compatible with RSACryptoServiceProvider.VerifyHash

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Properties

  Name Description
Public property KeyExchangeAlgorithm
Gets Required by AssymetricAlgorithm base class.
(Overrides AsymmetricAlgorithm..::..KeyExchangeAlgorithm.)
Public property KeySize
Gets Key size for completeness; set is not implemented
(Overrides AsymmetricAlgorithm..::..KeySize.)
Public property SignatureAlgorithm
Gets Required by AssymetricAlgorithm base class.
(Overrides AsymmetricAlgorithm..::..SignatureAlgorithm.)

See Also