SlhDsa.ExportSlhDsaPublicKey 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
| ExportSlhDsaPublicKey() |
Exports the public-key portion of the current key in the FIPS 205 public key format. |
| ExportSlhDsaPublicKey(Span<Byte>) |
Exports the public-key portion of the current key in the FIPS 205 public key format. |
ExportSlhDsaPublicKey()
- Source:
- SlhDsa.cs
Exports the public-key portion of the current key in the FIPS 205 public key format.
public:
cli::array <System::Byte> ^ ExportSlhDsaPublicKey();
public byte[] ExportSlhDsaPublicKey();
member this.ExportSlhDsaPublicKey : unit -> byte[]
Public Function ExportSlhDsaPublicKey () As Byte()
Returns
The FIPS 205 public key.
Exceptions
An error occurred while exporting the key.
The object has already been disposed.
Applies to
ExportSlhDsaPublicKey(Span<Byte>)
- Source:
- SlhDsa.cs
- Source:
- SlhDsa.cs
Exports the public-key portion of the current key in the FIPS 205 public key format.
public:
void ExportSlhDsaPublicKey(Span<System::Byte> destination);
public void ExportSlhDsaPublicKey(Span<byte> destination);
member this.ExportSlhDsaPublicKey : Span<byte> -> unit
Public Sub ExportSlhDsaPublicKey (destination As Span(Of Byte))
Parameters
The buffer to receive the public key. Its length must be exactly PublicKeySizeInBytes.
Exceptions
destination is the incorrect length to receive the public key.
An error occurred while exporting the key.
The object has already been disposed.
Remarks
destination is required to be exactly PublicKeySizeInBytes in length.