Share via


SignatureProvider Class

This class defines the object model for types that provide signature services.

Inheritance Hierarchy

System.Object
  System.IdentityModel.Tokens.SignatureProvider
    System.IdentityModel.Tokens.AsymmetricSignatureProvider
    System.IdentityModel.Tokens.SymmetricSignatureProvider

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public MustInherit Class SignatureProvider _
    Implements IDisposable
public abstract class SignatureProvider : IDisposable
public ref class SignatureProvider abstract : IDisposable
[<AbstractClass>]
type SignatureProvider =  
    class 
        interface IDisposable 
    end
public abstract class SignatureProvider implements IDisposable

The SignatureProvider type exposes the following members.

Constructors

  Name Description
Protected method SignatureProvider

Top

Properties

  Name Description
Public property Context Gets or sets a user context for a SignatureProvider.

Top

Methods

  Name Description
Public method Dispose() Implement in derived derived class for resource cleanup.
Protected method Dispose(Boolean) Can be over written in descendants to dispose of internal components.
Public method Equals 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 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Sign Produces a signature over the 'input'
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Verify Verifies that a signature created over the 'input' matches the signature.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.IdentityModel.Tokens Namespace