InitiatorServiceModelSecurityTokenRequirement 类
定义
指定 Windows Communication Foundation (WCF) 中针对通道创建的安全属性要求。Specifies a security property requirements specific to channel creation in the Windows Communication Foundation (WCF).
public ref class InitiatorServiceModelSecurityTokenRequirement sealed : System::ServiceModel::Security::Tokens::ServiceModelSecurityTokenRequirement
public sealed class InitiatorServiceModelSecurityTokenRequirement : System.ServiceModel.Security.Tokens.ServiceModelSecurityTokenRequirement
type InitiatorServiceModelSecurityTokenRequirement = class
inherit ServiceModelSecurityTokenRequirement
Public NotInheritable Class InitiatorServiceModelSecurityTokenRequirement
Inherits ServiceModelSecurityTokenRequirement
- 继承
-
InitiatorServiceModelSecurityTokenRequirement
注解
安全令牌管理器使用令牌要求类来指定安全令牌需要包含的内容,例如密钥大小、密钥类型以及密钥的使用方式。Token requirement classes are used by a security token manager to specify what is required of a security token, such as the key size, key type, and how the key can be used. 当确定某安全令牌符合指定条件后,可以创建 SecurityTokenProvider 和 SecurityTokenAuthenticator。When a security token can be identified that matches the specified criteria, a SecurityTokenProvider and SecurityTokenAuthenticator can be created.
此令牌要求类指定与发起方相关的要求。This token requirement class specifies initiator-related requirements.
构造函数
| InitiatorServiceModelSecurityTokenRequirement() |
初始化 InitiatorServiceModelSecurityTokenRequirement 类的新实例。Initializes a new instance of the InitiatorServiceModelSecurityTokenRequirement class. |
字段
| Namespace |
指定当前命名空间。Specifies the current namespace. (继承自 ServiceModelSecurityTokenRequirement) |
属性
| IsInitiator |
获取一个值,该值指示要创建安全令牌要求的终结点是发起方还是接收方。Gets a value that indicates whether the endpoint that is creating the security token requirement is an initiator or a recipient. (继承自 ServiceModelSecurityTokenRequirement) |
| IssuerAddress |
如果令牌要求适用于已颁发的令牌,则此属性包含颁发者的终结点地址。If the token requirement is for an issued token, this property contains the endpoint address of the issuer. (继承自 ServiceModelSecurityTokenRequirement) |
| IssuerBinding |
如果令牌需求适用于已颁发的令牌,则此属性包含用于与颁发者进行通信的绑定。If the token requirement is for an issued token, this property contains the binding to use to communicate with the issuer. (继承自 ServiceModelSecurityTokenRequirement) |
| KeySize |
获取或设置与安全令牌相关联的密钥的要求大小。Gets or sets the required size of the key associated with a security token. (继承自 SecurityTokenRequirement) |
| KeyType |
获取或设置与安全令牌相关联的密钥的类型(非对称或对称)。Gets or sets the type of key (asymmetric or symmetric) associated with a security token. (继承自 SecurityTokenRequirement) |
| KeyUsage |
获取或设置一个值,该值指定与安全令牌相关联的密钥的使用方式。Gets or sets a value that specifies how the key associated with a security token can be used. (继承自 SecurityTokenRequirement) |
| MessageSecurityVersion |
获取或设置要使用的消息安全版本(如有必要)。Gets or sets the message security version to be used (if necessary). (继承自 ServiceModelSecurityTokenRequirement) |
| Properties |
获取当前 SecurityTokenRequirement 实例的非静态属性的集合。Gets a collection of the non-static properties for the current SecurityTokenRequirement instance. (继承自 SecurityTokenRequirement) |
| RequireCryptographicToken |
获取或设置一个值,该值指示安全令牌是否必须能够执行加密操作(例如加密)。Gets or sets a value that indicates whether the security token must be capable of performing cryptographic operations, such as encryption. (继承自 SecurityTokenRequirement) |
| SecureConversationSecurityBindingElement |
获取或设置用于保护安全对话启动消息的安全绑定元素。Gets or sets a security binding element used for securing the secure conversation bootstrap messages. (继承自 ServiceModelSecurityTokenRequirement) |
| SecurityAlgorithmSuite |
获取或设置要使用的安全算法套件(如有必要)。Gets or sets the security algorithm suite to be used (if necessary). (继承自 ServiceModelSecurityTokenRequirement) |
| SecurityBindingElement |
获取或设置安全绑定元素。Gets or sets the security binding element. (继承自 ServiceModelSecurityTokenRequirement) |
| TargetAddress |
获取或设置目标地址。Gets or sets the target address. |
| TokenType |
获取或设置要求的安全令牌类型。Gets or sets the required security token type. (继承自 SecurityTokenRequirement) |
| TransportScheme |
获取或设置传输方案。Gets or sets the transport scheme. (继承自 ServiceModelSecurityTokenRequirement) |
| Via |
获取或设置途径。Gets or sets the Via. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetProperty<TValue>(String) |
获取当前 SecurityTokenRequirement 实例的指定属性。Gets the specified property for the current SecurityTokenRequirement instance. (继承自 SecurityTokenRequirement) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
输出该类实例的文本表示形式。Outputs a text representation of this instance of the class. |
| TryGetProperty<TValue>(String, TValue) |
获取当前 SecurityTokenRequirement 实例的指定属性。Gets the specified property for the current SecurityTokenRequirement instance. (继承自 SecurityTokenRequirement) |