SecurityKeyIdentifierClause.CreateKey Metoda

Definicja

Tworzy klucz na podstawie parametrów przekazanych do konstruktora.

public:
 virtual System::IdentityModel::Tokens::SecurityKey ^ CreateKey();
public virtual System.IdentityModel.Tokens.SecurityKey CreateKey ();
abstract member CreateKey : unit -> System.IdentityModel.Tokens.SecurityKey
override this.CreateKey : unit -> System.IdentityModel.Tokens.SecurityKey
Public Overridable Function CreateKey () As SecurityKey

Zwraca

Element SecurityKey zawierający utworzony klucz.

Uwagi

Gdy klucz można utworzyć przy użyciu parametrów przekazywanych do konstruktora, przesłoń CanCreateKey metodę w celu zwrócenia true i zaimplementowania CreateKey metody.

Dotyczy