RsaEndpointIdentity RsaEndpointIdentity RsaEndpointIdentity RsaEndpointIdentity Class

定义

指定服务终结点的 RSA 标识。Specifies an RSA identity for the service endpoint.

public ref class RsaEndpointIdentity : System::ServiceModel::EndpointIdentity
public class RsaEndpointIdentity : System.ServiceModel.EndpointIdentity
type RsaEndpointIdentity = class
    inherit EndpointIdentity
Public Class RsaEndpointIdentity
Inherits EndpointIdentity
继承
RsaEndpointIdentityRsaEndpointIdentityRsaEndpointIdentityRsaEndpointIdentity

注解

RSA 是用于签名和加密消息的公钥加密算法。RSA is a public-key encryption algorithm used for signing and encrypting messages. 它包含一个所有人已知的用于加密的公钥,以及一个用于解密消息的私钥。It involves a public key known to everyone which is used for encrypting, and a private key that is used to decrypt messages.

构造函数

RsaEndpointIdentity(Claim) RsaEndpointIdentity(Claim) RsaEndpointIdentity(Claim) RsaEndpointIdentity(Claim)

使用声明初始化 RsaEndpointIdentity 类的新实例。Initializes a new instance of the RsaEndpointIdentity class from a claim.

RsaEndpointIdentity(String) RsaEndpointIdentity(String) RsaEndpointIdentity(String) RsaEndpointIdentity(String)

初始化公钥中的 RsaEndpointIdentity 类的新实例。Initializes a new instance of the RsaEndpointIdentity class from a public key.

RsaEndpointIdentity(X509Certificate2) RsaEndpointIdentity(X509Certificate2) RsaEndpointIdentity(X509Certificate2) RsaEndpointIdentity(X509Certificate2)

初始化 RsaEndpointIdentity 类的新实例。Initializes a new instance of the RsaEndpointIdentity class.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

返回一个值,该值确定指定的对象是否与当前的标识对象相等,或者它们是否拥有相等的安全属性。Returns a value that determines whether a specified object is equal to the current identity object or if they have equal security properties.

(Inherited from EndpointIdentity)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

提供当前标识实例的哈希代码。Provides a hash code for the current instance of the identity.

(Inherited from EndpointIdentity)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
Initialize(Claim) Initialize(Claim) Initialize(Claim) Initialize(Claim)

使用指定的声明初始化 EndpointIdentityInitializes an EndpointIdentity with the specified claim.

(Inherited from EndpointIdentity)
Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>)

使用指定的声明和接口初始化 EndpointIdentity 并对相等性进行比较。Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

(Inherited from EndpointIdentity)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回标识。Returns the identity.

(Inherited from EndpointIdentity)

属性

IdentityClaim IdentityClaim IdentityClaim IdentityClaim

获取对应于此标识的标识声明。Gets the identity claim that corresponds to the identity.

(Inherited from EndpointIdentity)

适用于