AsymmetricSignatureProvider Class

A class that provides signing and verifying operations when working with an AsymmetricSecurityKey.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class AsymmetricSignatureProvider _
    Inherits SignatureProvider
public class AsymmetricSignatureProvider : SignatureProvider
public ref class AsymmetricSignatureProvider : public SignatureProvider
type AsymmetricSignatureProvider =  
    class 
        inherit SignatureProvider 
    end
public class AsymmetricSignatureProvider extends SignatureProvider

The AsymmetricSignatureProvider type exposes the following members.

Constructors

  Name Description
Public method AsymmetricSignatureProvider Creates an instance of a signature provider that uses a AsymmetricSecurityKey for creating and verifying signatures.

Top

Properties

  Name Description
Public property Context Gets or sets a user context for a SignatureProvider. (Inherited from SignatureProvider.)

Top

Methods

  Name Description
Public method Dispose() (Overrides SignatureProvider.Dispose().)
Protected method Dispose(Boolean) (Overrides SignatureProvider.Dispose(Boolean).)
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 input using the AsymmetricSecurityKey and an algorithm passed to AsymmetricSignatureProvider. (Overrides SignatureProvider.Sign(Byte[]).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Verify Verifies that a signature of input matches the signature. (Overrides SignatureProvider.Verify(Byte[], Byte[]).)

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