MLKem.ExportPkcs8PrivateKeyPem Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exports the current key in a PEM-encoded representation of the PKCS#8 PrivateKeyInfo format.
public:
 System::String ^ ExportPkcs8PrivateKeyPem();[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public string ExportPkcs8PrivateKeyPem();public string ExportPkcs8PrivateKeyPem();[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.ExportPkcs8PrivateKeyPem : unit -> stringmember this.ExportPkcs8PrivateKeyPem : unit -> stringPublic Function ExportPkcs8PrivateKeyPem () As StringReturns
A string containing the PEM-encoded representation of the PKCS#8 PrivateKeyInfo.
- Attributes
Exceptions
This instance has been disposed.
An error occurred while exporting the key.