16 references to WriteEncryptedPkcs8
System.Security.Cryptography (16)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (1)
1859return KeyFormatHelper.WriteEncryptedPkcs8(passwordBytes, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (1)
2161return KeyFormatHelper.WriteEncryptedPkcs8(passwordBytes, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
459return WriteEncryptedPkcs8(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (1)
2103return KeyFormatHelper.WriteEncryptedPkcs8(passwordBytes, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (3)
924KeyFormatHelper.WriteEncryptedPkcs8); 964KeyFormatHelper.WriteEncryptedPkcs8); 1078KeyFormatHelper.WriteEncryptedPkcs8);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (2)
127AsnWriter writer = KeyFormatHelper.WriteEncryptedPkcs8(passwordBytes, pkcs8, pbeParameters); 169AsnWriter writer = KeyFormatHelper.WriteEncryptedPkcs8(passwordBytes, pkcs8, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1942return KeyFormatHelper.WriteEncryptedPkcs8(passwordBytes, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (3)
498KeyFormatHelper.WriteEncryptedPkcs8); 625KeyFormatHelper.WriteEncryptedPkcs8); 727KeyFormatHelper.WriteEncryptedPkcs8);
System\Security\Cryptography\DSA.cs (1)
936AsnWriter writer = KeyFormatHelper.WriteEncryptedPkcs8(
System\Security\Cryptography\ECAlgorithm.cs (1)
149AsnWriter writer = KeyFormatHelper.WriteEncryptedPkcs8(
System\Security\Cryptography\RSA.cs (1)
839AsnWriter writer = KeyFormatHelper.WriteEncryptedPkcs8(