EncryptedKeyIdentifierClause.Matches Metoda

Definicja

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

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(Byte[], String, String)

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest równoważny z określonym zaszyfrowanym kluczem, metodą szyfrowania i nazwą czytelną dla użytkownika.

Matches(SecurityKeyIdentifierClause)

Źródło:
EncryptedKeyIdentifierClause.cs
Źródło:
EncryptedKeyIdentifierClause.cs
Źródło:
EncryptedKeyIdentifierClause.cs

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

truejeśli keyIdentifierClause jest typu EncryptedKeyIdentifierClause i ma ten sam zaszyfrowany klucz, metodę szyfrowania i nazwę czytelną dla użytkownika co bieżące wystąpienie; w przeciwnym razie . false

Wyjątki

keyIdentifierClause to null.

Zobacz też

Dotyczy

Matches(Byte[], String, String)

Źródło:
EncryptedKeyIdentifierClause.cs
Źródło:
EncryptedKeyIdentifierClause.cs
Źródło:
EncryptedKeyIdentifierClause.cs

Zwraca wartość wskazującą, czy identyfikator klucza dla tego wystąpienia jest równoważny z określonym zaszyfrowanym kluczem, metodą szyfrowania i nazwą czytelną dla użytkownika.

public:
 bool Matches(cli::array <System::Byte> ^ encryptedKey, System::String ^ encryptionMethod, System::String ^ carriedKeyName);
public bool Matches (byte[] encryptedKey, string encryptionMethod, string carriedKeyName);
override this.Matches : byte[] * string * string -> bool
Public Function Matches (encryptedKey As Byte(), encryptionMethod As String, carriedKeyName As String) As Boolean

Parametry

encryptedKey
Byte[]

Tablica zawierająca Byte zaszyfrowany klucz.

encryptionMethod
String

Algorytm kryptograficzny używany do szyfrowania klucza.

carriedKeyName
String

Nazwa czytelna dla użytkownika skojarzona z zaszyfrowanym kluczem.

Zwraca

trueencryptedKeyjeśli parametry , encryptionMethod i carriedKeyName mają te same wartości zwracane przez metodę GetEncryptedKey() i EncryptionMethod i CarriedKeyName właściwości odpowiednio; w przeciwnym razie false.

Dotyczy