RsaSecurityToken Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy RsaSecurityToken.
Przeciążenia
RsaSecurityToken(RSA) |
Inicjuje RsaSecurityToken nowe wystąpienie klasy przy użyciu określonego algorytmu RSA. |
RsaSecurityToken(RSA, String) |
Inicjuje RsaSecurityToken nowe wystąpienie klasy przy użyciu określonego algorytmu RSA i unikatowego identyfikatora. |
RsaSecurityToken(RSA)
Inicjuje RsaSecurityToken nowe wystąpienie klasy przy użyciu określonego algorytmu RSA.
public:
RsaSecurityToken(System::Security::Cryptography::RSA ^ rsa);
public RsaSecurityToken (System.Security.Cryptography.RSA rsa);
new System.IdentityModel.Tokens.RsaSecurityToken : System.Security.Cryptography.RSA -> System.IdentityModel.Tokens.RsaSecurityToken
Public Sub New (rsa As RSA)
Parametry
- rsa
- RSA
Element RSA reprezentujący algorytm RSA, który może utworzyć klucz asymetryczny. Ustawia wartość Rsa właściwości.
Wyjątki
rsa
to null
.
Uwagi
Ten konstruktor generuje unikatowy identyfikator tokenu zabezpieczającego i ustawia go na wartość Id właściwości.
Dotyczy
RsaSecurityToken(RSA, String)
Inicjuje RsaSecurityToken nowe wystąpienie klasy przy użyciu określonego algorytmu RSA i unikatowego identyfikatora.
public:
RsaSecurityToken(System::Security::Cryptography::RSA ^ rsa, System::String ^ id);
public RsaSecurityToken (System.Security.Cryptography.RSA rsa, string id);
new System.IdentityModel.Tokens.RsaSecurityToken : System.Security.Cryptography.RSA * string -> System.IdentityModel.Tokens.RsaSecurityToken
Public Sub New (rsa As RSA, id As String)
Parametry
- rsa
- RSA
Element RSA reprezentujący algorytm RSA, który może utworzyć klucz asymetryczny. Ustawia wartość Rsa właściwości.