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 | |
---|---|---|
AsymmetricSignatureProvider | Creates an instance of a signature provider that uses a AsymmetricSecurityKey for creating and verifying signatures. |
Top
Properties
Name | Description | |
---|---|---|
Context | Gets or sets a user context for a SignatureProvider. (Inherited from SignatureProvider.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | (Overrides SignatureProvider.Dispose().) | |
Dispose(Boolean) | (Overrides SignatureProvider.Dispose(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Sign | Produces a signature over input using the AsymmetricSecurityKey and an algorithm passed to AsymmetricSignatureProvider. (Overrides SignatureProvider.Sign(Byte[]).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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.