June 2003
Intermediate to advanced
714 pages
22h 8m
English
RSACryptoServiceProvider
public sealed class RSACryptoServiceProvider : RSA { // Public Constructors public RSACryptoServiceProvider( ); public RSACryptoServiceProvider(CspParametersparameters); public RSACryptoServiceProvider(intdwKeySize); public RSACryptoServiceProvider(intdwKeySize, CspParametersparameters); // Public Static Properties public static bool UseMachineKeyStore{set; get; } // Public Instance Properties public override string KeyExchangeAlgorithm{get; // overrides AsymmetricAlgorithm public override int KeySize{get; // overrides AsymmetricAlgorithm public bool PersistKeyInCsp{set; get; } public override string SignatureAlgorithm{get; // overrides AsymmetricAlgorithm // Public Instance Methods public byte[ ] Decrypt(byte[ ]rgb, boolfOAEP); public override byte[ ] DecryptValue(byte[ ]rgb); // overrides RSA public byte[ ] Encrypt(byte[ ]rgb, boolfOAEP); public override byte[ ] EncryptValue(byte[ ]rgb); // overrides RSA public override RSAParameters ExportParameters( boolincludePrivateParameters); // overrides RSA public override void ImportParameters( RSAParametersparameters); // overrides RSA public byte[ ] SignData(byte[ ]buffer, intoffset, intcount, objecthalg); public byte[ ] SignData(byte[ ]buffer, objecthalg); public byte[ ] SignData(System.IO.StreaminputStream, objecthalg); public byte[ ] SignHash(byte[ ]rgbHash, stringstr); public bool VerifyData(byte[ ]buffer, objecthalg, byte[ ]signature); public bool VerifyHash