CryptoProviderFactory.CustomCryptoProvider Property

Definition

Extensibility point for creating custom cryptographic operators.

public Microsoft.IdentityModel.Tokens.ICryptoProvider CustomCryptoProvider { get; set; }
member this.CustomCryptoProvider : Microsoft.IdentityModel.Tokens.ICryptoProvider with get, set
Public Property CustomCryptoProvider As ICryptoProvider

Property Value

Remarks

By default, if set, IsSupportedAlgorithm(String, Object[]) will be called before creating cryptographic operators. If true is returned, then Create(String, Object[]) will be called. The CryptoProviderFactory will throw if the Cryptographic operator returned is not of the correct type.

Applies to