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