SymmetricSignatureProvider Class
Provides signing and verifying operations using a SymmetricSecurityKey and specifying an algorithm.
Inheritance Hierarchy
System.Object
System.IdentityModel.Tokens.SignatureProvider
System.IdentityModel.Tokens.SymmetricSignatureProvider
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Class SymmetricSignatureProvider _
Inherits SignatureProvider
public class SymmetricSignatureProvider : SignatureProvider
public ref class SymmetricSignatureProvider : public SignatureProvider
type SymmetricSignatureProvider =
class
inherit SignatureProvider
end
public class SymmetricSignatureProvider extends SignatureProvider
The SymmetricSignatureProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SymmetricSignatureProvider | Creates an instance of a signature provider that uses an SymmetricSecurityKey to create and / or verify signatures over a array of bytes. |
Top
Properties
Name | Description | |
---|---|---|
Context | Gets or sets a user context for a SignatureProvider. (Inherited from SignatureProvider.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | Calls Dispose and SuppressFinalize (Overrides SignatureProvider.Dispose().) | |
Dispose(Boolean) | Disposes of internal components. (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 the 'input' using the SymmetricSecurityKey and 'algorithm' passed to SymmetricSignatureProvider. (Overrides SignatureProvider.Sign(Byte[]).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Verify | Verifies that a signature created over the 'input' matches the signature. Using SymmetricSecurityKey and 'algorithm' passed to SymmetricSignatureProvider. (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.