MLDsa.ExportMLDsaPrivateKey Metodo

Definizione

Overload

Nome Descrizione
ExportMLDsaPrivateKey()

Esporta la chiave corrente nel formato di chiave privata FIPS 204.

ExportMLDsaPrivateKey(Span<Byte>)

Esporta la chiave corrente nel formato di chiave privata FIPS 204.

ExportMLDsaPrivateKey()

Origine:
MLDsa.cs
Origine:
MLDsa.cs
Origine:
MLDsa.cs

Esporta la chiave corrente nel formato di chiave privata FIPS 204.

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

Valori restituiti

Byte[]

Chiave privata FIPS 204.

Eccezioni

L'istanza corrente non può esportare una chiave privata.

oppure

Errore durante l'esportazione della chiave.

L'oggetto è già stato eliminato.

Si applica a

ExportMLDsaPrivateKey(Span<Byte>)

Origine:
MLDsa.cs
Origine:
MLDsa.cs
Origine:
MLDsa.cs

Esporta la chiave corrente nel formato di chiave privata FIPS 204.

public:
 void ExportMLDsaPrivateKey(Span<System::Byte> destination);
public void ExportMLDsaPrivateKey(Span<byte> destination);
member this.ExportMLDsaPrivateKey : Span<byte> -> unit
Public Sub ExportMLDsaPrivateKey (destination As Span(Of Byte))

Parametri

destination
Span<Byte>

Buffer da ricevere la chiave privata. La lunghezza deve essere esattamente PrivateKeySizeInBytes.

Eccezioni

destination è la lunghezza non corretta per ricevere la chiave privata.

Errore durante l'esportazione della chiave.

Si applica a