Метод | Описание | |
---|---|---|
Decrypt ( this rsa, byte bytes ) : byte[] | ||
Encrypt ( this rsa, byte bytes ) : byte[] | ||
ExportToXml ( RSAParameters csp, bool includePrivateParameters ) : string | ||
ExtractFromXml ( string xml ) : RSAParameters | ||
FromXmlString ( this rsa, string xml ) : void | ||
SignData ( this rsa, byte bytes, string hashAlgorithm ) : byte[] | ||
ToHashAlgorithmName ( string hashAlgorithm ) : HashAlgorithmName | ||
ToXmlString ( this rsa, bool includePrivateParameters ) : string | ||
VerifyData ( this rsa, byte bytes, byte signature, string hashAlgorithm ) : bool |
public static Decrypt ( this rsa, byte bytes ) : byte[] | ||
rsa | this | |
bytes | byte | |
Результат | byte[] |
public static Encrypt ( this rsa, byte bytes ) : byte[] | ||
rsa | this | |
bytes | byte | |
Результат | byte[] |
public static ExportToXml ( RSAParameters csp, bool includePrivateParameters ) : string | ||
csp | RSAParameters | |
includePrivateParameters | bool | |
Результат | string |
public static ExtractFromXml ( string xml ) : RSAParameters | ||
xml | string | |
Результат | RSAParameters |
public static FromXmlString ( this rsa, string xml ) : void | ||
rsa | this | |
xml | string | |
Результат | void |
public static SignData ( this rsa, byte bytes, string hashAlgorithm ) : byte[] | ||
rsa | this | |
bytes | byte | |
hashAlgorithm | string | |
Результат | byte[] |
public static ToHashAlgorithmName ( string hashAlgorithm ) : HashAlgorithmName | ||
hashAlgorithm | string | |
Результат | HashAlgorithmName |
public static ToXmlString ( this rsa, bool includePrivateParameters ) : string | ||
rsa | this | |
includePrivateParameters | bool | |
Результат | string |
public static VerifyData ( this rsa, byte bytes, byte signature, string hashAlgorithm ) : bool | ||
rsa | this | |
bytes | byte | |
signature | byte | |
hashAlgorithm | string | |
Результат | bool |