Name
RSACryptoServiceProvider
Synopsis
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
Get Programming .NET Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.