MLKem.ExportPrivateSeed 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
ExportPrivateSeed() |
Exports the private seed. |
ExportPrivateSeed(Span<Byte>) |
Exports the private seed into the provided buffer. |
ExportPrivateSeed()
- Source:
- MLKem.cs
- Source:
- MLKem.cs
Exports the private seed.
public:
cli::array <System::Byte> ^ ExportPrivateSeed();
public byte[] ExportPrivateSeed();
member this.ExportPrivateSeed : unit -> byte[]
Public Function ExportPrivateSeed () As Byte()
Returns
The private seed.
Exceptions
The current instance cannot export a seed.
-or-
An error occurred while exporting the key.
The object has already been disposed.
Applies to
ExportPrivateSeed(Span<Byte>)
- Source:
- MLKem.cs
- Source:
- MLKem.cs
Exports the private seed into the provided buffer.
public:
void ExportPrivateSeed(Span<System::Byte> destination);
public void ExportPrivateSeed(Span<byte> destination);
member this.ExportPrivateSeed : Span<byte> -> unit
Public Sub ExportPrivateSeed (destination As Span(Of Byte))
Parameters
Exceptions
destination
is the incorrect length to receive the private seed.
The current instance cannot export a seed.
-or-
An error occurred while exporting the key.
The object has already been disposed.