Edit

Share via


MLDsa.ExportSubjectPublicKeyInfoPem Method

Definition

Exports the public-key portion of the current key in a PEM-encoded representation of the X.509 SubjectPublicKeyInfo format.

public:
 System::String ^ ExportSubjectPublicKeyInfoPem();
public string ExportSubjectPublicKeyInfoPem();
member this.ExportSubjectPublicKeyInfoPem : unit -> string
Public Function ExportSubjectPublicKeyInfoPem () As String

Returns

A string containing the PEM-encoded representation of the X.509 SubjectPublicKeyInfo representation of the public-key portion of this key.

Exceptions

This instance has been disposed.

An error occurred while exporting the key.

Applies to