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

◆ ReadEncryptedPkcs8() [1/2]

static void System.Security.Cryptography.RSAKeyFormatHelper.ReadEncryptedPkcs8 ( ReadOnlySpan< byte > source,
ReadOnlySpan< byte > passwordBytes,
out int bytesRead,
out RSAParameters key )
inlinestaticpackage

Definition at line 140 of file RSAKeyFormatHelper.cs.

141 {
142 KeyFormatHelper.ReadEncryptedPkcs8(s_validOids, source, passwordBytes, (KeyFormatHelper.KeyReader<RSAParameters>)FromPkcs1PrivateKey, out bytesRead, out key);
143 }
static void FromPkcs1PrivateKey(ReadOnlyMemory< byte > keyData, in AlgorithmIdentifierAsn algId, out RSAParameters ret)

References System.Security.Cryptography.RSAKeyFormatHelper.FromPkcs1PrivateKey(), System.key, System.Security.Cryptography.RSAKeyFormatHelper.s_validOids, and System.source.