MLKem.ImportDecapsulationKey 메서드

정의

오버로드

Name Description
ImportDecapsulationKey(MLKemAlgorithm, Byte[])

캡슐화 키에서 ML-KEM 키를 가져옵니다.

ImportDecapsulationKey(MLKemAlgorithm, ReadOnlySpan<Byte>)

캡슐화 키에서 ML-KEM 키를 가져옵니다.

ImportDecapsulationKey(MLKemAlgorithm, Byte[])

Source:
MLKem.cs
Source:
MLKem.cs
Source:
MLKem.cs

캡슐화 키에서 ML-KEM 키를 가져옵니다.

public:
 static System::Security::Cryptography::MLKem ^ ImportDecapsulationKey(System::Security::Cryptography::MLKemAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLKem ImportDecapsulationKey(System.Security.Cryptography.MLKemAlgorithm algorithm, byte[] source);
static member ImportDecapsulationKey : System.Security.Cryptography.MLKemAlgorithm * byte[] -> System.Security.Cryptography.MLKem
Public Shared Function ImportDecapsulationKey (algorithm As MLKemAlgorithm, source As Byte()) As MLKem

매개 변수

algorithm
MLKemAlgorithm

이 키에 대한 특정 ML-KEM 알고리즘입니다.

source
Byte[]

캡슐화 키입니다.

반품

가져온 키입니다.

예외

source 에는 ML-KEM 알고리즘에 유효하지 않은 길이가 있습니다.

algorithmnull입니다.

-또는-

sourcenull입니다.

키를 가져오는 동안 오류가 발생했습니다.

플랫폼은 ML-KEM을 지원하지 않습니다. 호출자는 이 속성을 사용하여 플랫폼이 IsSupported ML-KEM을 지원하는지 확인할 수 있습니다.

적용 대상

ImportDecapsulationKey(MLKemAlgorithm, ReadOnlySpan<Byte>)

Source:
MLKem.cs
Source:
MLKem.cs
Source:
MLKem.cs

캡슐화 키에서 ML-KEM 키를 가져옵니다.

public:
 static System::Security::Cryptography::MLKem ^ ImportDecapsulationKey(System::Security::Cryptography::MLKemAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLKem ImportDecapsulationKey(System.Security.Cryptography.MLKemAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportDecapsulationKey : System.Security.Cryptography.MLKemAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLKem
Public Shared Function ImportDecapsulationKey (algorithm As MLKemAlgorithm, source As ReadOnlySpan(Of Byte)) As MLKem

매개 변수

algorithm
MLKemAlgorithm

이 키에 대한 특정 ML-KEM 알고리즘입니다.

source
ReadOnlySpan<Byte>

캡슐화 키입니다.

반품

가져온 키입니다.

예외

source 에는 ML-KEM 알고리즘에 유효하지 않은 길이가 있습니다.

algorithmnull입니다.

키를 가져오는 동안 오류가 발생했습니다.

플랫폼은 ML-KEM을 지원하지 않습니다. 호출자는 이 속성을 사용하여 플랫폼이 IsSupported ML-KEM을 지원하는지 확인할 수 있습니다.

적용 대상