src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (14)
989/// <inheritdoc cref="ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan{char}, PbeParameters)"/>
995PbeParameters pbeParameters)
1032PbeParameters pbeParameters)
1076PbeParameters pbeParameters)
1088/// <inheritdoc cref="ExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters)"/>
1092public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)
1128public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
1173public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)
1191/// <inheritdoc cref="TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters, Span{byte}, out int)"/>
1197PbeParameters pbeParameters,
1244PbeParameters pbeParameters,
1304PbeParameters pbeParameters,
1852private AsnWriter WriteEncryptedPkcs8PrivateKeyToAsnWriter(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
1867private AsnWriter WriteEncryptedPkcs8PrivateKeyToAsnWriter(ReadOnlySpan<char> password, PbeParameters pbeParameters)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (11)
1240public string ExportEncryptedPkcs8PrivateKeyPem(string password, PbeParameters pbeParameters)
1275public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char> password, PbeParameters pbeParameters)
1317public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
1356public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)
1390public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)
1437public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
1493PbeParameters pbeParameters,
1540PbeParameters pbeParameters,
1600PbeParameters pbeParameters,
2154private AsnWriter WriteEncryptedPkcs8PrivateKeyToAsnWriter(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
2169private AsnWriter WriteEncryptedPkcs8PrivateKeyToAsnWriter(ReadOnlySpan<char> password, PbeParameters pbeParameters)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (14)
865public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)
912public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
930/// <inheritdoc cref="ExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters)"/>
934public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)
979PbeParameters pbeParameters,
1039PbeParameters pbeParameters,
1059/// <inheritdoc cref="TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters, Span{byte}, out int)"/>
1065PbeParameters pbeParameters,
1104PbeParameters pbeParameters)
1148PbeParameters pbeParameters)
1160/// <inheritdoc cref="ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan{char}, PbeParameters)"/>
1166PbeParameters pbeParameters)
2082private AsnWriter ExportEncryptedPkcs8PrivateKeyCore(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
2111private AsnWriter ExportEncryptedPkcs8PrivateKeyCore(ReadOnlySpan<char> password, PbeParameters pbeParameters)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (10)
814PbeParameters pbeParameters,
867PbeParameters pbeParameters,
913PbeParameters pbeParameters,
955public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
995public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)
1035public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)
1069public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
1110public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char> password, PbeParameters pbeParameters)
1151public string ExportEncryptedPkcs8PrivateKeyPem(string password, PbeParameters pbeParameters)
1766PbeParameters pbeParameters,
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (14)
735public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)
782public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
800/// <inheritdoc cref="ExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters)"/>
804public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)
849PbeParameters pbeParameters,
909PbeParameters pbeParameters,
929/// <inheritdoc cref="TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters, Span{byte}, out int)"/>
935PbeParameters pbeParameters,
974PbeParameters pbeParameters)
1025PbeParameters pbeParameters)
1044/// <inheritdoc cref="ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan{char}, PbeParameters)"/>
1050PbeParameters pbeParameters)
1894private AsnWriter ExportEncryptedPkcs8PrivateKeyCore(ReadOnlySpan<char> password, PbeParameters pbeParameters)
1922private AsnWriter ExportEncryptedPkcs8PrivateKeyCore(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (10)
487PbeParameters pbeParameters,
536PbeParameters pbeParameters,
585PbeParameters pbeParameters,
616public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
652public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)
688public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)
718public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
755public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char> password, PbeParameters pbeParameters)
792public string ExportEncryptedPkcs8PrivateKeyPem(string password, PbeParameters pbeParameters)
1554PbeParameters pbeParameters,
System\Security\Cryptography\AsymmetricAlgorithm.cs (18)
116PbeParameters pbeParameters)
126PbeParameters pbeParameters)
144PbeParameters pbeParameters,
153PbeParameters pbeParameters,
424/// An implementation for <see cref="ExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters)" /> or
425/// <see cref="TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters, Span{byte}, out int)" /> has not been provided.
447public unsafe string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char> password, PbeParameters pbeParameters)
477/// An implementation for <see cref="ExportEncryptedPkcs8PrivateKey(ReadOnlySpan{byte}, PbeParameters)" /> or
478/// <see cref="TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan{byte}, PbeParameters, Span{byte}, out int)" /> has not been provided.
495public unsafe string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)
665/// An implementation for <see cref="TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan{char}, PbeParameters, Span{byte}, out int)" />
688public bool TryExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char> password, PbeParameters pbeParameters, Span<char> destination, out int charsWritten)
693PbeParameters pbeParameters,
732/// An implementation for <see cref="TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan{byte}, PbeParameters, Span{byte}, out int)" />
750public bool TryExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters, Span<char> destination, out int charsWritten)
755PbeParameters pbeParameters,
773PbeParameters pbeParameters,
781PbeParameters pbeParameters,