PGPBase Members
The PGPBase type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Decrypt(array<Byte>[]()[][], RSAEncryptionPadding) |
When overridden in a derived class, decrypts the input data using the specified padding mode.
|
![]() |
DecryptValue |
When overridden in a derived class, decrypts the input data using the private key.
|
![]() |
Encrypt(array<Byte>[]()[][], RSAEncryptionPadding) |
When overridden in a derived class, encrypts the input data using the specified padding mode.
|
![]() |
EncryptValue |
Encrypts the value.
|
![]() |
ExportParameters |
Exports the parameters is not permitted.
|
![]() |
FromXmlString |
Initializes an RSA object from the key information from an XML string.
|
![]() |
ImportParameters |
Imports the parameters is not permitted.
|
![]() |
SignData(array<Byte>[]()[][], Int32, Int32, HashAlgorithmName, RSASignaturePadding) |
Computes the hash value of a portion of the specified byte array using the specified hash algorithm and padding mode, and signs the resulting hash value.
|
![]() |
SignData(Stream, HashAlgorithmName, RSASignaturePadding) |
Computes the hash value of the specified stream using the specified hash algorithm and padding mode, and signs the resulting hash value.
|
![]() |
SignHash |
When overridden in a derived class, computes the signature for the specified hash value by encrypting it with the private key using the specified padding.
|
![]() |
VerifyData |
Verifies that a digital signature is valid by calculating the hash value of the data in a portion of a byte array using the specified hash algorithm and padding, and comparing it to the provided signature.
|
![]() |
VerifyHash |
Verifies that a digital signature is valid by determining the hash value in the signature using the specified hash algorithm and padding, and comparing it to the provided hash value.
|
Properties
Name | Description | |
---|---|---|
![]() |
KeyExchangeAlgorithm |
Gets the name of the key exchange algorithm available with this implementation of RSA.
|
![]() |
KeySize |
Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.
|
![]() |
LegalKeySizes |
Gets the key sizes that are supported by the asymmetric algorithm.
|
![]() |
SignatureAlgorithm |
Gets the name of the signature algorithm available with this implementation of RSA.
|