SignatureProviderFactory Class
Creates SignatureProviders by specifying a SecurityKey and algorithm.Supports both AsymmetricSecurityKey and SymmetricSecurityKey.
Inheritance Hierarchy
System.Object
System.IdentityModel.Tokens.SignatureProviderFactory
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Class SignatureProviderFactory
public class SignatureProviderFactory
public ref class SignatureProviderFactory
type SignatureProviderFactory = class end
public class SignatureProviderFactory
The SignatureProviderFactory type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
SignatureProviderFactory |
Top
Properties
| Name | Description | |
|---|---|---|
![]() ![]() |
MinimumAsymmetricKeySizeInBitsForSigning | Gets or sets the minimum AsymmetricSecurityKey.KeySize for creating signatures. |
![]() ![]() |
MinimumAsymmetricKeySizeInBitsForVerifying | Gets or sets the minimum AsymmetricSecurityKey.KeySize for verifying signatures.'value' is smaller than AbsoluteMinimumAsymmetricKeySizeInBitsForVerfying. |
![]() ![]() |
MinimumSymmetricKeySizeInBits | Gets or sets the minimum SymmetricSecurityKey.KeySize"/>. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
CreateForSigning | Creates a SignatureProvider that supports the SecurityKey and algorithm. |
![]() |
CreateForVerifying | Returns a SignatureProvider instance supports the SecurityKey and algorithm. |
![]() |
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.) |
![]() |
ReleaseProvider | When finished with a SignatureProvider call this method for cleanup. The default behavior is to call Dispose |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]() |
AbsoluteMinimumAsymmetricKeySizeInBitsForSigning | This is the minimum AsymmetricSecurityKey.KeySize when creating signatures. |
![]() ![]() |
AbsoluteMinimumAsymmetricKeySizeInBitsForVerfying | This is the minimum AsymmetricSecurityKey.KeySize when verifying signatures. |
![]() ![]() |
AbsoluteMinimumSymmetricKeySizeInBits | This is the minimum SymmetricSecurityKey.KeySize when creating and verifying signatures. |
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.
.gif)
.gif)
.gif)
.gif)
.gif)