Share via


CompressionProviderFactory.CreateCompressionProvider Method

Definition

Overloads

CreateCompressionProvider(String)

Creates a ICompressionProvider for a specified compression algorithm.

CreateCompressionProvider(String, Int32)

Creates a ICompressionProvider for a specific compression algorithm with a maximum deflate size limit.

CreateCompressionProvider(String)

Creates a ICompressionProvider for a specified compression algorithm.

public Microsoft.IdentityModel.Tokens.ICompressionProvider CreateCompressionProvider (string algorithm);
member this.CreateCompressionProvider : string -> Microsoft.IdentityModel.Tokens.ICompressionProvider
Public Function CreateCompressionProvider (algorithm As String) As ICompressionProvider

Parameters

algorithm
String

The compression algorithm.

Returns

An instance of ICompressionProvider for the specified algorithm.

Applies to

CreateCompressionProvider(String, Int32)

Creates a ICompressionProvider for a specific compression algorithm with a maximum deflate size limit.

public Microsoft.IdentityModel.Tokens.ICompressionProvider CreateCompressionProvider (string algorithm, int maximumDeflateSize);
member this.CreateCompressionProvider : string * int -> Microsoft.IdentityModel.Tokens.ICompressionProvider
Public Function CreateCompressionProvider (algorithm As String, maximumDeflateSize As Integer) As ICompressionProvider

Parameters

algorithm
String

The compression algorithm.

maximumDeflateSize
Int32

The maximum size limit (in characters) for deflate compression processing.

Returns

A ICompressionProvider instance.

Applies to