257 return "data" !=
null;
259 if (signature !=
null)
261 return "offset" !=
null;
263 return "signature" !=
null;
269 if (data ==
null || signature !=
null)
271 return "data" !=
null;
273 return "signature" !=
null;
304 return "hashAlgorithm";
class f__AnonymousType0<< Count > j__TPar
static byte[] FromBase64String(string s)
static string GetResourceString(string key)
static Exception HashAlgorithmNameNullOrEmpty()
virtual byte[] SignData(Stream data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
bool VerifyData(Stream data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
static RSA Create(int keySizeInBits)
virtual bool VerifyHash(ReadOnlySpan< byte > hash, ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
virtual byte[] EncryptValue(byte[] rgb)
virtual byte[] DecryptValue(byte[] rgb)
virtual byte[] Decrypt(byte[] data, RSAEncryptionPadding padding)
virtual bool TrySignHash(ReadOnlySpan< byte > hash, Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, [Out] int bytesWritten)
virtual bool VerifyData(ReadOnlySpan< byte > data, ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
virtual byte[] Encrypt(byte[] data, RSAEncryptionPadding padding)
virtual bool TryDecrypt(ReadOnlySpan< byte > data, Span< byte > destination, RSAEncryptionPadding padding, [Out] int bytesWritten)
RSAParameters ExportParameters(bool includePrivateParameters)
virtual byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
virtual byte[] ExportRSAPrivateKey()
virtual bool TryExportRSAPublicKey(Span< byte > destination, [Out] int bytesWritten)
virtual bool TryHashData(ReadOnlySpan< byte > data, Span< byte > destination, HashAlgorithmName hashAlgorithm, [Out] int bytesWritten)
virtual void ImportRSAPublicKey(ReadOnlySpan< byte > source, [Out] int bytesRead)
virtual byte[] ExportRSAPublicKey()
byte[] SignData(byte[] data, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
static Exception DerivedClassMustOverride()
virtual bool VerifyData(byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
virtual byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm)
static new RSA Create(string algName)
bool VerifyData(byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
override void FromXmlString(string xmlString)
virtual byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
override string ToXmlString(bool includePrivateParameters)
virtual bool TrySignData(ReadOnlySpan< byte > data, Span< byte > destination, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding, [Out] int bytesWritten)
virtual bool TryExportRSAPrivateKey(Span< byte > destination, [Out] int bytesWritten)
virtual bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
static RSA Create(RSAParameters parameters)
virtual bool TryEncrypt(ReadOnlySpan< byte > data, Span< byte > destination, RSAEncryptionPadding padding, [Out] int bytesWritten)
void ImportParameters(RSAParameters parameters)
virtual void ImportRSAPrivateKey(ReadOnlySpan< byte > source, [Out] int bytesRead)
override string SignatureAlgorithm
virtual byte[] SignData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
override string KeyExchangeAlgorithm
static string DiscardWhiteSpaces(string inputBuffer)
string SearchForTextOfLocalName(string strLocalName)
static void ThrowArgumentOutOfRangeException()