SigningCredentials.SigningKey Property

 

Gets the cryptographic key that is used to generate the digital signature.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public SecurityKey SigningKey { get; }

Property Value

Type: System.IdentityModel.Tokens.SecurityKey

A SecurityKey that contains the cryptographic key that is used to generate the digital signature.

To set the SigningKey property, use a constructor that takes a signingKey parameter.

.NET Framework
Available since 3.0
Return to top
Show: