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