10 instantiations of SecurityTokenElement
System.IdentityModel (10)
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (1)
88rst.ValidateTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (7)
124rst.ProofEncryption = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 139rst.Encryption = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 154rst.DelegateTo = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 280rst.RenewTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 298rst.OnBehalfOf = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.Usage.OnBehalfOf]); 321rst.ActAs = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.Usage.ActAs]); 539rst.CancelTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers);
System\IdentityModel\Tokens\SecurityTokenElement.cs (2)
82/// <see cref="SecurityTokenElement(XmlElement, SecurityTokenHandlerCollection)"/>. 96/// <see cref="SecurityTokenElement(SecurityToken)"/>, <see cref="ReadSecurityToken"/>
35 references to SecurityTokenElement
System.IdentityModel (35)
System\IdentityModel\Protocols\WSTrust\RequestSecurityToken.cs (16)
22SecurityTokenElement _renewTarget; 23SecurityTokenElement _proofEncryption; 25SecurityTokenElement _onBehalfOf; 27SecurityTokenElement _actAs; 28SecurityTokenElement _delegateTo; 31SecurityTokenElement _cancelTarget; 32SecurityTokenElement _validateTarget; 34SecurityTokenElement _encryption; 98public SecurityTokenElement Encryption 154public SecurityTokenElement DelegateTo 188public SecurityTokenElement OnBehalfOf 255public SecurityTokenElement ActAs 271public SecurityTokenElement CancelTarget 287public SecurityTokenElement ProofEncryption 319public SecurityTokenElement RenewTarget 352public SecurityTokenElement ValidateTarget
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (3)
251SecurityTokenElement tokenElement = elementValue as SecurityTokenElement; 255throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, WSTrust13Constants.ElementNames.ValidateTarget, WSTrust13Constants.NamespaceURI, typeof(SecurityTokenElement), elementValue));
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (16)
1034SecurityTokenElement tokenElement = elementValue as SecurityTokenElement; 1037throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, trustConstants.Elements.RenewTarget, trustConstants.NamespaceURI, typeof(SecurityTokenElement), elementValue)); 1058WriteTokenElement((SecurityTokenElement)elementValue, SecurityTokenHandlerCollectionManager.Usage.OnBehalfOf, context, writer); 1067WriteTokenElement((SecurityTokenElement)elementValue, SecurityTokenHandlerCollectionManager.Usage.ActAs, context, writer); 1163SecurityTokenElement token = (SecurityTokenElement)elementValue; 1182SecurityTokenElement token = (SecurityTokenElement)elementValue; 1201SecurityTokenElement token = (SecurityTokenElement)elementValue; 1268SecurityTokenElement tokenElement = elementValue as SecurityTokenElement; 1272throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222, trustConstants.Elements.CancelTarget, trustConstants.NamespaceURI, typeof(SecurityTokenElement), elementValue)); 2914/// <param name="tokenElement">The <see cref="SecurityTokenElement"/> to write.</param> 2918private static void WriteTokenElement(SecurityTokenElement tokenElement, string usage, WSTrustSerializationContext context, XmlWriter writer)