AsymmetricSecurityKey 类

定义

非对称密钥的基类。

public ref class AsymmetricSecurityKey abstract : System::IdentityModel::Tokens::SecurityKey
public abstract class AsymmetricSecurityKey : System.IdentityModel.Tokens.SecurityKey
type AsymmetricSecurityKey = class
    inherit SecurityKey
Public MustInherit Class AsymmetricSecurityKey
Inherits SecurityKey
继承
AsymmetricSecurityKey
派生

注解

当Windows Communication Foundation在部分信任下运行时,不能使用此类。

构造函数

名称 说明
AsymmetricSecurityKey()

初始化 AsymmetricSecurityKey 类的新实例。

属性

名称 说明
KeySize

在派生类中重写时,获取键的大小(以位为单位)。

(继承自 SecurityKey)

方法

名称 说明
DecryptKey(String, Byte[])

在派生类中重写时,解密指定的加密密钥。

(继承自 SecurityKey)
EncryptKey(String, Byte[])

在派生类中重写时,加密指定的密钥。

(继承自 SecurityKey)
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetAsymmetricAlgorithm(String, Boolean)

在派生类中重写时,获取指定的非对称加密算法。

GetHashAlgorithmForSignature(String)

在派生类中重写时,获取生成数字签名哈希的加密算法。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetSignatureDeformatter(String)

在派生类中重写时,获取数字签名的变形算法。

GetSignatureFormatter(String)

在派生类中重写时,获取数字签名的格式化程序算法。

GetType()

获取当前实例的 Type

(继承自 Object)
HasPrivateKey()

在派生类中重写时,获取一个值,该值指示私钥是否可用。

IsAsymmetricAlgorithm(String)

在派生类中重写时,获取一个值,该值指示指定的算法是否使用非对称键。

(继承自 SecurityKey)
IsSupportedAlgorithm(String)

在派生类中重写时,获取一个值,该值指示此类是否支持指定的算法。

(继承自 SecurityKey)
IsSymmetricAlgorithm(String)

在派生类中重写时,获取一个值,该值指示指定的算法是否使用对称密钥。

(继承自 SecurityKey)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于