26 references to SecurityTokenHandlers
System.IdentityModel (26)
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (2)
88rst.ValidateTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 265context.SecurityTokenHandlers.WriteToken(writer, tokenElement.GetSecurityToken());
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (24)
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); 365if (!context.SecurityTokenHandlers.CanReadToken(reader)) 370SecurityToken originalUseKeyToken = context.SecurityTokenHandlers.ReadToken(reader); 539rst.CancelTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 1048context.SecurityTokenHandlers.WriteToken(writer, tokenElement.GetSecurityToken()); 1104if (!context.SecurityTokenHandlers.CanWriteToken(useKey.Token)) 1111context.SecurityTokenHandlers.WriteToken(writer, useKey.Token); 1173context.SecurityTokenHandlers.WriteToken(writer, token.GetSecurityToken()); 1192context.SecurityTokenHandlers.WriteToken(writer, token.GetSecurityToken()); 1211context.SecurityTokenHandlers.WriteToken(writer, token.GetSecurityToken()); 1283context.SecurityTokenHandlers.WriteToken(writer, tokenElement.GetSecurityToken()); 1533rstr.RequestedAttachedReference = context.SecurityTokenHandlers.ReadKeyIdentifierClause(reader); 1550rstr.RequestedUnattachedReference = context.SecurityTokenHandlers.ReadKeyIdentifierClause(reader); 1913context.SecurityTokenHandlers.WriteToken(writer, requestedToken.SecurityToken); 1947context.SecurityTokenHandlers.WriteKeyIdentifierClause(writer, (SecurityKeyIdentifierClause)elementValue); 1955context.SecurityTokenHandlers.WriteKeyIdentifierClause(writer, (SecurityKeyIdentifierClause)elementValue); 2365else if (context.SecurityTokenHandlers.CanReadKeyIdentifierClause(reader)) 2368EncryptedKeyIdentifierClause encryptedKeyClause = context.SecurityTokenHandlers.ReadKeyIdentifierClause(reader) as EncryptedKeyIdentifierClause; 2421context.SecurityTokenHandlers.WriteKeyIdentifierClause(writer, clause); 2934tokenHandlerCollection = context.SecurityTokenHandlers; 2949context.SecurityTokenHandlers.WriteToken(writer, token);