AsymmetricSecurityKey.GetAsymmetricAlgorithm(String, Boolean) 메서드

정의

파생 클래스에서 재정의되는 경우 지정된 비대칭 암호화 알고리즘을 가져옵니다.

public:
 abstract System::Security::Cryptography::AsymmetricAlgorithm ^ GetAsymmetricAlgorithm(System::String ^ algorithm, bool privateKey);
public abstract System.Security.Cryptography.AsymmetricAlgorithm GetAsymmetricAlgorithm(string algorithm, bool privateKey);
abstract member GetAsymmetricAlgorithm : string * bool -> System.Security.Cryptography.AsymmetricAlgorithm
Public MustOverride Function GetAsymmetricAlgorithm (algorithm As String, privateKey As Boolean) As AsymmetricAlgorithm

매개 변수

algorithm
String

만들 비대칭 알고리즘입니다.

privateKey
Boolean

true알고리즘을 만드는 데 프라이빗 키가 필요한 경우 그렇지 않으면 . false

반품

AsymmetricAlgorithm 지정된 비대칭 암호화 알고리즘을 나타내는 값입니다.

일반적으로 true 암호 해독에 privateKey 프라이빗 키가 필요하므로 매개 변수에 전달됩니다.

설명

클래스의 SecurityAlgorithms 정적 필드를 사용하여 알고리즘을 지정합니다.

적용 대상