16 references to WriteEncryptedPkcs8
System.Security.Cryptography (16)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (1)
1874
return KeyFormatHelper.
WriteEncryptedPkcs8
(password, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (1)
2176
return KeyFormatHelper.
WriteEncryptedPkcs8
(password, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
423
return
WriteEncryptedPkcs8
(
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (1)
2132
return KeyFormatHelper.
WriteEncryptedPkcs8
(password, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (3)
825
KeyFormatHelper.
WriteEncryptedPkcs8
);
1004
KeyFormatHelper.
WriteEncryptedPkcs8
);
1119
KeyFormatHelper.
WriteEncryptedPkcs8
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (2)
111
AsnWriter writer = KeyFormatHelper.
WriteEncryptedPkcs8
(password, pkcs8, pbeParameters);
151
AsnWriter writer = KeyFormatHelper.
WriteEncryptedPkcs8
(password, pkcs8, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1914
return KeyFormatHelper.
WriteEncryptedPkcs8
(password, tmp, pbeParameters);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (3)
547
KeyFormatHelper.
WriteEncryptedPkcs8
);
661
KeyFormatHelper.
WriteEncryptedPkcs8
);
764
KeyFormatHelper.
WriteEncryptedPkcs8
);
System\Security\Cryptography\DSA.cs (1)
958
AsnWriter writer = KeyFormatHelper.
WriteEncryptedPkcs8
(
System\Security\Cryptography\ECAlgorithm.cs (1)
221
AsnWriter writer = KeyFormatHelper.
WriteEncryptedPkcs8
(
System\Security\Cryptography\RSA.cs (1)
816
AsnWriter writer = KeyFormatHelper.
WriteEncryptedPkcs8
(