11 references to DecryptPkcs8
System.Security.Cryptography (11)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (1)
228ArraySegment<byte> decrypted = KeyFormatHelper.DecryptPkcs8(password, source, out int innerRead);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaCng.Windows.cs (1)
240return KeyFormatHelper.DecryptPkcs8(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKemCng.Windows.cs (1)
235return KeyFormatHelper.DecryptPkcs8(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (3)
314ArraySegment<byte> decrypted = DecryptPkcs8(password, source, out bytesRead); 408ArraySegment<byte> decrypted = DecryptPkcs8( 444ArraySegment<byte> decrypted = DecryptPkcs8(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (1)
514return KeyFormatHelper.DecryptPkcs8(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
178ArraySegment<byte> decrypted = KeyFormatHelper.DecryptPkcs8(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (2)
1113decrypted = KeyFormatHelper.DecryptPkcs8( 1141decrypted = KeyFormatHelper.DecryptPkcs8(
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
2026decryptedPkcs8 = KeyFormatHelper.DecryptPkcs8(password, base64Buffer.AsSpan(0, base64Written), out int bytesRead);