MLDsa.ExportSubjectPublicKeyInfo 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 public-key portion of the current key in the X.509 SubjectPublicKeyInfo format.
public:
cli::array <System::Byte> ^ ExportSubjectPublicKeyInfo();
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public byte[] ExportSubjectPublicKeyInfo();
public byte[] ExportSubjectPublicKeyInfo();
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.ExportSubjectPublicKeyInfo : unit -> byte[]
member this.ExportSubjectPublicKeyInfo : unit -> byte[]
Public Function ExportSubjectPublicKeyInfo () As Byte()
Returns
A byte array containing the X.509 SubjectPublicKeyInfo representation of the public-key portion of this key.
- Attributes
Exceptions
This instance has been disposed.
An error occurred while exporting the key.