Microsoft.IdentityModel.Tokens.SignatureProvider
Provides signature services, signing and verifying.
Gets the signature algorithm.
Gets or sets a user context for a SignatureProvider.
Gets or sets the CryptoProviderCache that is associated with this SignatureProvider
Gets the SecurityKey.
Gets or sets a bool indicating if this SignatureProvider is expected to create signatures.
Initializes a new instance of the SignatureProvider class used to create and verify signatures.
Calls Dispose and SuppressFinalize
Can be over written in descendants to dispose of internal components.
This must be overridden to produce a signature over the 'input'.
Produces a signature over the specified region of the input.
Verifies that the signature over input using the
SecurityKey and Algorithm specified by this
SignatureProvider are consistent.
public virtual bool Verify(byte[] input, int inputOffset, int inputLength, byte[] signature, int signatureOffset, int signatureLength)
Verifies that a signature created over the 'input' matches the signature. Using SecurityKey and 'algorithm' passed to #ctor.