RsaEndpointIdentity 類別

定義

指定服務端點的 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
繼承
RsaEndpointIdentity

備註

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 類別的新執行個體。Initializes a new instance of the RsaEndpointIdentity class from a claim.

RsaEndpointIdentity(String)

從公開金鑰初始化 RsaEndpointIdentity 類別的新執行個體。Initializes a new instance of the RsaEndpointIdentity class from a public key.

RsaEndpointIdentity(X509Certificate2)

初始化 RsaEndpointIdentity 類別的新執行個體。Initializes a new instance of the RsaEndpointIdentity class.

屬性

IdentityClaim

取得對應到身分識別的身分識別宣告。Gets the identity claim that corresponds to the identity.

(繼承來源 EndpointIdentity)

方法

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.

(繼承來源 EndpointIdentity)
GetHashCode()

針對身分識別目前的執行個體提供雜湊程式碼。Provides a hash code for the current instance of the identity.

(繼承來源 EndpointIdentity)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
Initialize(Claim)

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

(繼承來源 EndpointIdentity)
Initialize(Claim, IEqualityComparer<Claim>)

使用指定的宣告及介面來初始化 EndpointIdentity 並比較是否相等。Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

(繼承來源 EndpointIdentity)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回身分識別。Returns the identity.

(繼承來源 EndpointIdentity)

適用於