Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ImportEncryptedPkcs8PrivateKey() [1/2]

override void System.Security.Cryptography.ECDsaImplementation.ECDsaCng.ImportEncryptedPkcs8PrivateKey ( ReadOnlySpan< byte > passwordBytes,
ReadOnlySpan< byte > source,
out int bytesRead )
inlinevirtual

Reimplemented from System.Security.Cryptography.ECDsa.

Definition at line 240 of file ECDsaImplementation.cs.

241 {
243 int bytesRead2;
244 CngPkcs8.Pkcs8Response response = CngPkcs8.ImportEncryptedPkcs8PrivateKey(passwordBytes, source, out bytesRead2);
245 ProcessPkcs8Response(response);
246 bytesRead = bytesRead2;
247 }

References System.Security.Cryptography.CngPkcs8.ImportEncryptedPkcs8PrivateKey(), System.Security.Cryptography.ECDsaImplementation.ECDsaCng.ProcessPkcs8Response(), System.source, and System.Security.Cryptography.ECDsaImplementation.ECDsaCng.ThrowIfDisposed().