1 write to _wrapped
System.Security.Cryptography (1)
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
15
_wrapped
= wrapped;
37 references to _wrapped
System.Security.Cryptography (37)
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (37)
18
public override string KeyExchangeAlgorithm =>
_wrapped
.KeyExchangeAlgorithm;
20
public override string? SignatureAlgorithm =>
_wrapped
.SignatureAlgorithm;
23
new ECDiffieHellmanPublicKeyWrapper(
_wrapped
.PublicKey);
26
_wrapped
.DeriveKeyMaterial(Unwrap(otherPartyPublicKey));
33
_wrapped
.DeriveKeyFromHash(Unwrap(otherPartyPublicKey), hashAlgorithm, secretPrepend, secretAppend);
41
_wrapped
.DeriveKeyFromHmac(Unwrap(otherPartyPublicKey), hashAlgorithm, hmacKey, secretPrepend, secretAppend);
44
_wrapped
.DeriveKeyTls(Unwrap(otherPartyPublicKey), prfLabel, prfSeed);
47
_wrapped
.DeriveRawSecretAgreement(Unwrap(otherPartyPublicKey));
49
public override void FromXmlString(string xmlString) =>
_wrapped
.FromXmlString(xmlString);
52
_wrapped
.ToXmlString(includePrivateParameters);
55
_wrapped
.ExportParameters(includePrivateParameters);
58
_wrapped
.ExportExplicitParameters(includePrivateParameters);
61
_wrapped
.ImportParameters(parameters);
63
public override void GenerateKey(ECCurve curve) =>
_wrapped
.GenerateKey(curve);
70
_wrapped
.TryExportEncryptedPkcs8PrivateKey(passwordBytes, pbeParameters, destination, out bytesWritten);
77
_wrapped
.TryExportEncryptedPkcs8PrivateKey(password, pbeParameters, destination, out bytesWritten);
86
_wrapped
.TryExportSubjectPublicKeyInfo(destination, out bytesWritten);
92
_wrapped
.ImportEncryptedPkcs8PrivateKey(passwordBytes, source, out bytesRead);
98
_wrapped
.ImportEncryptedPkcs8PrivateKey(password, source, out bytesRead);
101
_wrapped
.ImportPkcs8PrivateKey(source, out bytesRead);
104
_wrapped
.ImportSubjectPublicKeyInfo(source, out bytesRead);
107
_wrapped
.ImportECPrivateKey(source, out bytesRead);
109
public override byte[] ExportECPrivateKey() =>
_wrapped
.ExportECPrivateKey();
112
_wrapped
.TryExportECPrivateKey(destination, out bytesWritten);
114
public override void ImportFromPem(ReadOnlySpan<char> input) =>
_wrapped
.ImportFromPem(input);
117
_wrapped
.ImportFromEncryptedPem(input, password);
120
_wrapped
.ImportFromEncryptedPem(input, passwordBytes);
124
get =>
_wrapped
.KeySize;
125
set =>
_wrapped
.KeySize = value;
128
public override KeySizes[] LegalKeySizes =>
_wrapped
.LegalKeySizes;
134
_wrapped
.Dispose();
141
_wrapped
.ExportEncryptedPkcs8PrivateKey(passwordBytes, pbeParameters);
146
_wrapped
.ExportEncryptedPkcs8PrivateKey(password, pbeParameters);
153
public override byte[] ExportSubjectPublicKeyInfo() =>
_wrapped
.ExportSubjectPublicKeyInfo();
155
public override bool Equals(object? obj) =>
_wrapped
.Equals(obj);
157
public override int GetHashCode() =>
_wrapped
.GetHashCode();
159
public override string ToString() =>
_wrapped
.ToString()!;