CompositeMLDsa.ExportCompositeMLDsaPublicKey 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.
Overloads
| ExportCompositeMLDsaPublicKey() | Exports the public-key portion of the current key. | 
| ExportCompositeMLDsaPublicKey(Span<Byte>) | Exports the public-key portion of the current key into the provided buffer. | 
ExportCompositeMLDsaPublicKey()
- Source:
- CompositeMLDsa.cs
Exports the public-key portion of the current key.
public:
 cli::array <System::Byte> ^ ExportCompositeMLDsaPublicKey();public byte[] ExportCompositeMLDsaPublicKey();member this.ExportCompositeMLDsaPublicKey : unit -> byte[]Public Function ExportCompositeMLDsaPublicKey () As Byte()Returns
The Composite ML-DSA public key.
Exceptions
An error occurred while exporting the key.
The object has already been disposed.
Applies to
ExportCompositeMLDsaPublicKey(Span<Byte>)
- Source:
- CompositeMLDsa.cs
Exports the public-key portion of the current key into the provided buffer.
public:
 int ExportCompositeMLDsaPublicKey(Span<System::Byte> destination);public int ExportCompositeMLDsaPublicKey(Span<byte> destination);member this.ExportCompositeMLDsaPublicKey : Span<byte> -> intPublic Function ExportCompositeMLDsaPublicKey (destination As Span(Of Byte)) As IntegerParameters
Returns
The number of bytes written to the destination buffer.
Exceptions
This instance has been disposed.
  destination was too not large enough to hold the result.
-or-
An error occurred while exporting the key.