SigningCredentials.SigningKey 属性
定义
获取用于生成数字签名的加密密钥。Gets the cryptographic key that is used to generate the digital signature.
public:
property System::IdentityModel::Tokens::SecurityKey ^ SigningKey { System::IdentityModel::Tokens::SecurityKey ^ get(); };
public System.IdentityModel.Tokens.SecurityKey SigningKey { get; }
member this.SigningKey : System.IdentityModel.Tokens.SecurityKey
Public ReadOnly Property SigningKey As SecurityKey
属性值
一个 SecurityKey,它包含用于生成数字签名的加密密钥。A SecurityKey that contains the cryptographic key that is used to generate the digital signature.
注解
若要设置 SigningKey 属性,请使用采用 signingKey 参数的构造函数。To set the SigningKey property, use a constructor that takes a signingKey parameter.