Edit

Share via


CompositeMLDsa.ExportSubjectPublicKeyInfo Method

Definition

Exports the public-key portion of the current key in the X.509 SubjectPublicKeyInfo format.

public:
 cli::array <System::Byte> ^ ExportSubjectPublicKeyInfo();
public byte[] ExportSubjectPublicKeyInfo();
member this.ExportSubjectPublicKeyInfo : unit -> byte[]
Public Function ExportSubjectPublicKeyInfo () As Byte()

Returns

Byte[]

A byte array containing 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