Udostępnij przez


RsaKeyIdentifierClause.Matches Metoda

Definicja

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest odpowiednikiem określonego obiektu.

Przeciążenia

Matches(SecurityKeyIdentifierClause)

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest równoważny z określoną klauzulą identyfikatora klucza.

Matches(RSA)

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest zgodny z określonym algorytmem RSA.

Matches(SecurityKeyIdentifierClause)

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest równoważny z określoną klauzulą identyfikatora klucza.

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

Parametry

keyIdentifierClause
SecurityKeyIdentifierClause

A SecurityKeyIdentifierClause do porównania.

Zwraca

true jeśli keyIdentifierClause jest typu RsaKeyIdentifierClause , a tablice zwracane przez GetModulus() metody i GetExponent() parametru keyIdentifierClause są identyczne z bieżącym wystąpieniem; w przeciwnym razie false.

Dotyczy

Matches(RSA)

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest zgodny z określonym algorytmem 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

Parametry

rsa
RSA

Element RSA reprezentujący algorytm RSA.

Zwraca

trueExponent jeśli pola i Modulus parametru rsa są zgodne z wartościami zwracanymi przez GetModulus() metody i GetExponent() dla bieżącego wystąpienia; w przeciwnym razie false.

Dotyczy