C# Класс WebApplications.Utilities.Cryptography.RSACryptographyProvider

Implements the RSA algorithm as an AsymmetricCryptographyProvider.
Наследование: AsymmetricCryptographyProvider
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetDecryptor ( ) : ICryptoTransform
GetEncryptor ( ) : ICryptoTransform

Приватные методы

Метод Описание
Create ( RSAParameters parameters ) : RSACryptographyProvider
Create ( [ configuration ) : RSACryptographyProvider
Create ( [ algorithm, [ configurationElement ) : RSACryptographyProvider
Create ( int keySize = 1024 ) : RSACryptographyProvider
DecryptBlock ( [ provider, [ inputBuffer, int inputOffset, int inputCount, [ outputBuffer, int outputOffset ) : int

Decrypts the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

DecryptFinalBlock ( [ provider, [ inputBuffer, int inputOffset, int inputCount ) : byte[]

Decrypts the specified region of the specified byte array.

EncryptBlock ( [ algorithm, [ inputBuffer, int inputOffset, int inputCount, [ outputBuffer, int outputOffset ) : int

Encrypts the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

EncryptFinalBlock ( [ algorithm, [ inputBuffer, int inputOffset, int inputCount ) : byte[]

Encrypts the specified region of the specified byte array.

RSACryptographyProvider ( [ configuration, RSAParameters parameters, bool canEncrypt, ushort inputBlockSize, ushort outputBlockSize ) : System

Initializes a new instance of the RSACryptographyProvider class from an XML configuration.

Описание методов

GetDecryptor() публичный Метод

public GetDecryptor ( ) : ICryptoTransform
Результат ICryptoTransform

GetEncryptor() публичный Метод

public GetEncryptor ( ) : ICryptoTransform
Результат ICryptoTransform