JwtSecurityToken.SigningKey Property
Gets or sets the SecurityKey that signed this instance.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Property SigningKey As SecurityKey
public SecurityKey SigningKey { get; set; }
public:
property SecurityKey^ SigningKey {
SecurityKey^ get ();
void set (SecurityKey^ value);
}
member SigningKey : SecurityKey with get, set
function get SigningKey () : SecurityKey
function set SigningKey (value : SecurityKey)
Property Value
Type: System.IdentityModel.Tokens.SecurityKey
Returns SecurityKey.
Remarks
[JwtSecurityTokenHandler.ValidateSignature()] sets this value when a SecurityKey is used to successfully validate a signature.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.