Share via


RsaKeyIdentifierClause.Matches 메서드

정의

이 인스턴스의 키 식별자가 지정된 개체와 동일한지 여부를 나타내는 값을 반환합니다.

오버로드

Matches(SecurityKeyIdentifierClause)

이 인스턴스의 키 식별자가 지정된 키 식별자 절과 동일한지 여부를 나타내는 값을 반환합니다.

Matches(RSA)

이 인스턴스의 키 식별자가 지정된 RSA 알고리즘과 일치하는지 여부를 나타내는 값을 반환합니다.

Matches(SecurityKeyIdentifierClause)

이 인스턴스의 키 식별자가 지정된 키 식별자 절과 동일한지 여부를 나타내는 값을 반환합니다.

public:
 override bool Matches(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause);
public override bool Matches (System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause);
override this.Matches : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function Matches (keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

매개 변수

keyIdentifierClause
SecurityKeyIdentifierClause

비교할 SecurityKeyIdentifierClause입니다.

반환

keyIdentifierClauseRsaKeyIdentifierClause 형식이고 keyIdentifierClause 매개 변수에 대해 GetModulus()GetExponent() 메서드에서 반환된 배열이 현재 인스턴스와 동일하면 true이고, 그렇지 않으면 false입니다.

적용 대상

Matches(RSA)

이 인스턴스의 키 식별자가 지정된 RSA 알고리즘과 일치하는지 여부를 나타내는 값을 반환합니다.

public:
 bool Matches(System::Security::Cryptography::RSA ^ rsa);
public bool Matches (System.Security.Cryptography.RSA rsa);
override this.Matches : System.Security.Cryptography.RSA -> bool
Public Function Matches (rsa As RSA) As Boolean

매개 변수

rsa
RSA

RSA 알고리즘을 나타내는 RSA입니다.

반환

rsa 매개 변수의 ExponentModulus 필드가 현재 인스턴스의 GetModulus()GetExponent() 메서드에서 반환된 값과 일치하면 true이고, 그렇지 않으면 false입니다.

적용 대상