Export (0) Print
Expand All

X509SecurityTokenHandler Methods

.NET Framework 4.5

The X509SecurityTokenHandler type exposes the following members.

  Name Description
Public method CanReadKeyIdentifierClause Returns a value that indicates whether the specified reader is referring to an <ds:X509Data> element. (Overrides SecurityTokenHandler.CanReadKeyIdentifierClause(XmlReader).)
Public method CanReadToken(String) Returns a value that indicates whether the specified string can be deserialized as a token of the type processed by this instance. (Inherited from SecurityTokenHandler.)
Public method CanReadToken(XmlReader) Returns a value that indicates whether the reader points to an X.509 security token as defined in the WS-Security specification. (Overrides SecurityTokenHandler.CanReadToken(XmlReader).)
Public method CanWriteKeyIdentifierClause Returns a value that indicates whether the specified key identifier clause can be serialized by this handler. (Overrides SecurityTokenHandler.CanWriteKeyIdentifierClause(SecurityKeyIdentifierClause).)
Public method CreateSecurityTokenReference When overridden in a derived class, creates the security token reference for tokens processed by that class. This method is typically called by a security token service (STS). (Inherited from SecurityTokenHandler.)
Public method CreateToken When overridden in a derived class, creates a security token using the specified token descriptor. This method is called by a security token service (STS). (Inherited from SecurityTokenHandler.)
Protected method DetectReplayedToken When overridden in a derived class, throws an exception if the specified token is detected as being replayed. (Inherited from SecurityTokenHandler.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetTokenTypeIdentifiers Gets the X.509 security token type defined in the WS-Security X.509 Token Profile. (Overrides SecurityTokenHandler.GetTokenTypeIdentifiers().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadCustomConfiguration Loads custom configuration from XML. (Overrides SecurityTokenHandler.LoadCustomConfiguration(XmlNodeList).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadKeyIdentifierClause Deserializes a key identifier clause referenced by the specified XML reader. (Overrides SecurityTokenHandler.ReadKeyIdentifierClause(XmlReader).)
Public method ReadToken(String) When overridden in a derived class, deserializes the specified string to a token of the type processed by the derived class. (Inherited from SecurityTokenHandler.)
Public method ReadToken(XmlReader) Deserializes the X.509 security token referenced by the specified XML reader. (Overrides SecurityTokenHandler.ReadToken(XmlReader).)
Public method ReadToken(XmlReader, SecurityTokenResolver) When overridden in a derived class, deserializes the XML referenced by the specified XML reader to a token of the type processed by the derived class by using the specified token resolver. (Inherited from SecurityTokenHandler.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TraceTokenValidationFailure Traces the failure event during the validation of security tokens when tracing is enabled. (Inherited from SecurityTokenHandler.)
Protected method TraceTokenValidationSuccess Traces the successful validation of security tokens event when tracing is enabled. (Inherited from SecurityTokenHandler.)
Public method ValidateToken Validates the specified X.509 security token. (Overrides SecurityTokenHandler.ValidateToken(SecurityToken).)
Public method WriteKeyIdentifierClause Serializes the specified key identifier clause to the XML writer. (Overrides SecurityTokenHandler.WriteKeyIdentifierClause(XmlWriter, SecurityKeyIdentifierClause).)
Public method WriteToken(SecurityToken) When overridden in a derived class, serializes the specified security token to a string. The token must be of the type processed by the derived class. (Inherited from SecurityTokenHandler.)
Public method WriteToken(XmlWriter, SecurityToken) Serializes the specified X.509 security token to the specified XML writer. (Overrides SecurityTokenHandler.WriteToken(XmlWriter, SecurityToken).)
Top
Show:
© 2014 Microsoft