The EzRsa type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EzRsa |
Constructor.
|
Methods
Name | Description | |
---|---|---|
CheckPrivateKey |
Check if our private key is valid.
|
|
Decrypt |
Decrypt a message in PKCS#1 v1.5 format
Plug compatible with RSACryptoServiceProvider.Decrypt
|
|
Dispose |
Dispose. Required by AssymetricAlgorithm base class.
(Overrides AsymmetricAlgorithm..::..Dispose(Boolean).) |
|
DoPrivate |
Perform an RSA private key operation on input
|
|
DoPublic |
Perform an RSA public key operation on input
|
|
Encrypt |
Encrypt a message and pack it up into PKCS#1 v1.5 format
Plug compatible with RSACryptoServiceProvider.Encrypt
|
|
ExportParameters |
Implementation of RSACryptoServiceProvider.ExportParameters (qv)
|
|
FromXmlString |
Initialize an EzRsa object from an XML string
Uses the same markup scheme as RSACryptoServiceProvider.FromXmlString (qv)
(Overrides AsymmetricAlgorithm..::..FromXmlString(String).) |
|
GenerateKeyPair |
Generate an RSA keypair
Popular exponents are 3, 17 and 65537; the bigger it is, the slower encryption becomes
|
|
ImportParameters |
Implemntation of RSACryptoServiceProvider.ImportParameters (qv)
|
|
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)
|
|
SignData |
SignData - plug compatible with RSACryptoServiceProvider.SignData,
but only this one override provided
|
|
SignHash(array<Byte>[]()[][], EzRsa..::..HASH_ALGORITHM) |
Sign a message digest and pack it up into PKCS#1 format
|
|
SignHash(array<Byte>[]()[][], String) |
SignHash - plug compatible with RSACryptoServiceProvider.SignHash
|
|
ToXmlString |
Implementing functionality of RSACryptoServiceProvider.ToXmlString (qv)
(Overrides AsymmetricAlgorithm..::..ToXmlString(Boolean).) |
|
VerifyData |
VerifyData - plug compatible with RSACryptoServiceProvider.VerifyData
|
|
VerifyHash(array<Byte>[]()[][], array<Byte>[]()[][], EzRsa..::..HASH_ALGORITHM) |
Verify a signed PKCS#1 message digest
|
|
VerifyHash(array<Byte>[]()[][], String, array<Byte>[]()[][]) |
VerifyHash - plug compatible with RSACryptoServiceProvider.VerifyHash
|
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Properties
Name | Description | |
---|---|---|
KeyExchangeAlgorithm |
Gets Required by AssymetricAlgorithm base class.
(Overrides AsymmetricAlgorithm..::..KeyExchangeAlgorithm.) |
|
KeySize |
Gets Key size for completeness; set is not implemented
(Overrides AsymmetricAlgorithm..::..KeySize.) |
|
SignatureAlgorithm |
Gets Required by AssymetricAlgorithm base class.
(Overrides AsymmetricAlgorithm..::..SignatureAlgorithm.) |