1 write to _wrapped
System.Security.Cryptography (1)
System\Security\Cryptography\RSAWrapper.cs (1)
17
_wrapped
= wrapped;
49 references to _wrapped
System.Security.Cryptography (49)
System\Security\Cryptography\RSAWrapper.cs (49)
22
get =>
_wrapped
.KeySize;
23
set =>
_wrapped
.KeySize = value;
26
public override KeySizes[] LegalKeySizes =>
_wrapped
.LegalKeySizes;
31
_wrapped
.ExportEncryptedPkcs8PrivateKey(passwordBytes, pbeParameters);
36
_wrapped
.ExportEncryptedPkcs8PrivateKey(password, pbeParameters);
38
public override byte[] ExportPkcs8PrivateKey() =>
_wrapped
.ExportPkcs8PrivateKey();
40
public override byte[] ExportSubjectPublicKeyInfo() =>
_wrapped
.ExportSubjectPublicKeyInfo();
42
public override void FromXmlString(string xmlString) =>
_wrapped
.FromXmlString(xmlString);
45
_wrapped
.ToXmlString(includePrivateParameters);
48
_wrapped
.ExportParameters(includePrivateParameters);
50
public override void ImportParameters(RSAParameters parameters) =>
_wrapped
.ImportParameters(parameters);
52
public override byte[] Encrypt(byte[] data, RSAEncryptionPadding padding) =>
_wrapped
.Encrypt(data, padding);
54
public override byte[] Decrypt(byte[] data, RSAEncryptionPadding padding) =>
_wrapped
.Decrypt(data, padding);
60
_wrapped
.SignHash(hash, hashAlgorithm, padding);
67
_wrapped
.VerifyHash(hash, signature, hashAlgorithm, padding);
74
_wrapped
.TryDecrypt(data, destination, padding, out bytesWritten);
81
_wrapped
.TryEncrypt(data, destination, padding, out bytesWritten);
89
_wrapped
.TrySignHash(hash, destination, hashAlgorithm, padding, out bytesWritten);
96
_wrapped
.VerifyHash(hash, signature, hashAlgorithm, padding);
100
public override byte[] DecryptValue(byte[] rgb) =>
_wrapped
.DecryptValue(rgb);
104
public override byte[] EncryptValue(byte[] rgb) =>
_wrapped
.EncryptValue(rgb);
112
_wrapped
.SignData(data, offset, count, hashAlgorithm, padding);
115
_wrapped
.SignData(data, hashAlgorithm, padding);
123
_wrapped
.TrySignData(data, destination, hashAlgorithm, padding, out bytesWritten);
132
_wrapped
.VerifyData(data, offset, count, signature, hashAlgorithm, padding);
139
_wrapped
.VerifyData(data, signature, hashAlgorithm, padding);
141
public override byte[] ExportRSAPrivateKey() =>
_wrapped
.ExportRSAPrivateKey();
144
_wrapped
.TryExportRSAPrivateKey(destination, out bytesWritten);
146
public override byte[] ExportRSAPublicKey() =>
_wrapped
.ExportRSAPublicKey();
149
_wrapped
.TryExportRSAPublicKey(destination, out bytesWritten);
152
_wrapped
.TryExportSubjectPublicKeyInfo(destination, out bytesWritten);
155
_wrapped
.TryExportPkcs8PrivateKey(destination, out bytesWritten);
162
_wrapped
.TryExportEncryptedPkcs8PrivateKey(password, pbeParameters, destination, out bytesWritten);
169
_wrapped
.TryExportEncryptedPkcs8PrivateKey(passwordBytes, pbeParameters, destination, out bytesWritten);
172
_wrapped
.ImportSubjectPublicKeyInfo(source, out bytesRead);
175
_wrapped
.ImportRSAPublicKey(source, out bytesRead);
178
_wrapped
.ImportRSAPrivateKey(source, out bytesRead);
181
_wrapped
.ImportPkcs8PrivateKey(source, out bytesRead);
187
_wrapped
.ImportEncryptedPkcs8PrivateKey(passwordBytes, source, out bytesRead);
193
_wrapped
.ImportEncryptedPkcs8PrivateKey(password, source, out bytesRead);
196
_wrapped
.ImportFromPem(input);
199
_wrapped
.ImportFromEncryptedPem(input, password);
202
_wrapped
.ImportFromEncryptedPem(input, passwordBytes);
204
public override string? KeyExchangeAlgorithm =>
_wrapped
.KeyExchangeAlgorithm;
206
public override string SignatureAlgorithm =>
_wrapped
.SignatureAlgorithm;
212
_wrapped
.Dispose();
218
public override bool Equals(object? obj) =>
_wrapped
.Equals(obj);
220
public override int GetHashCode() =>
_wrapped
.GetHashCode();
222
public override string ToString() =>
_wrapped
.ToString()!;