Microsoft.IdentityModel.Tokens.CryptoProviderFactory
Creates cryptographic operators by specifying a SecurityKey's and algorithms.
Returns the default CryptoProviderFactory instance.
Gets or sets the default value for caching of SignatureProvider's.
Gets or sets the maximum size of the object pool used by the SignatureProvider that are used for crypto objects.
Gets or sets a bool controlling if SignatureProvider should be cached.
Gets the CryptoProviderCache.
Extensibility point for creating custom cryptographic operators.
Gets or sets the maximum size of the object pool used by the SignatureProvider that are used for crypto objects.
public CryptoProviderFactory()
Initializes a new instance of the CryptoProviderFactory class.
Initializes a new instance of the CryptoProviderFactory class.
Initializes a new instance of the CryptoProviderFactory class.
public virtual AuthenticatedEncryptionProvider CreateAuthenticatedEncryptionProvider(SecurityKey key, string algorithm)
public virtual SignatureProvider CreateForSigning(SecurityKey key, string algorithm, bool cacheProvider)
public virtual SignatureProvider CreateForVerifying(SecurityKey key, string algorithm, bool cacheProvider)
Creates a HashAlgorithm instance for a specific hash algorithm.
Creates a HashAlgorithm instance for a specific hash algorithm.
Creates a KeyedHashAlgorithm instance for a specific keyed hash algorithm.
Determines whether the specified hash algorithm is supported.
Checks if the specified algorithm and SecurityKey are supported.
Releases resources associated with a HashAlgorithm instance. The default behavior is to call Dispose.
Releases resources associated with a KeyWrapProvider instance.
Releases resources associated with an RsaKeyWrapProvider instance.
Releases resources associated with a SignatureProvider instance.