Sprache

MLKem.ImportSubjectPublicKeyInfo Methode

Definition

Importiert einen ML-KEM Kapselungsschlüssel aus einer X.509 SubjectPublicKeyInfo-Struktur.

Überlädt

Name Beschreibung
ImportSubjectPublicKeyInfo(Byte[])

Importiert einen ML-KEM Kapselungsschlüssel aus einer X.509 SubjectPublicKeyInfo-Struktur.

ImportSubjectPublicKeyInfo(ReadOnlySpan<Byte>)

Importiert einen ML-KEM Kapselungsschlüssel aus einer X.509 SubjectPublicKeyInfo-Struktur.

ImportSubjectPublicKeyInfo(Byte[])

Quelle:
MLKem.cs
Quelle:
MLKem.cs
Quelle:
MLKem.cs

Importiert einen ML-KEM Kapselungsschlüssel aus einer X.509 SubjectPublicKeyInfo-Struktur.

public:
 static System::Security::Cryptography::MLKem ^ ImportSubjectPublicKeyInfo(cli::array <System::Byte> ^ source);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.MLKem ImportSubjectPublicKeyInfo(byte[] source);
public static System.Security.Cryptography.MLKem ImportSubjectPublicKeyInfo(byte[] source);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member ImportSubjectPublicKeyInfo : byte[] -> System.Security.Cryptography.MLKem
static member ImportSubjectPublicKeyInfo : byte[] -> System.Security.Cryptography.MLKem
Public Shared Function ImportSubjectPublicKeyInfo (source As Byte()) As MLKem

Parameter

source
Byte[]

Die Bytes einer X.509 SubjectPublicKeyInfo-Struktur in der ASN.1-DER-Codierung.

Gibt zurück

Der importierte Schlüssel.

Attribute

Ausnahmen

source ist null

Gilt für:

ImportSubjectPublicKeyInfo(ReadOnlySpan<Byte>)

Quelle:
MLKem.cs
Quelle:
MLKem.cs
Quelle:
MLKem.cs

Importiert einen ML-KEM Kapselungsschlüssel aus einer X.509 SubjectPublicKeyInfo-Struktur.

public:
 static System::Security::Cryptography::MLKem ^ ImportSubjectPublicKeyInfo(ReadOnlySpan<System::Byte> source);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.MLKem ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source);
public static System.Security.Cryptography.MLKem ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member ImportSubjectPublicKeyInfo : ReadOnlySpan<byte> -> System.Security.Cryptography.MLKem
static member ImportSubjectPublicKeyInfo : ReadOnlySpan<byte> -> System.Security.Cryptography.MLKem
Public Shared Function ImportSubjectPublicKeyInfo (source As ReadOnlySpan(Of Byte)) As MLKem

Parameter

source
ReadOnlySpan<Byte>

Die Bytes einer X.509 SubjectPublicKeyInfo-Struktur in der ASN.1-DER-Codierung.

Gibt zurück

Der importierte Schlüssel.

Attribute

Ausnahmen

Der Inhalt stellt source keine ASN.1-der-codierte X.509 SubjectPublicKeyInfo-Struktur dar.

-oder-

Der SubjectPublicKeyInfo-Wert stellt keinen ML-KEM Schlüssel dar.

-oder-

Fehler beim algorithmusspezifischen Import.

Die Plattform unterstützt ML-KEM nicht. Anrufer können die IsSupported Eigenschaft verwenden, um festzustellen, ob die Plattform ML-KEM unterstützt.

Gilt für: