Share via


ProviderType Property of the IFPCCookieCryptoConfiguration Interface

The ProviderType property gets or sets the type of the cryptographic service provider used for cookie encryption.

C++

HRESULT put_ProviderType(
    long lProviderType
);
HRESULT get_ProviderType(
    long* plProviderType
);

Parameters

  • lProviderType
    A 32-bit integer that specifies the cryptographic service provider type used for cookie encryption.

  • plProviderType
    Pointer to a variable that is set on return to a 32-bit integer specifying the type of the cryptographic service provider used for cookie encryption.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property ProviderType As Long

Property Value

A 32-bit integer that specifies the type of the cryptographic service provider used for cookie encryption.

Remarks

This property is read/write. The default value is the hexadecimal number 18, which indicates the PROV_RSA_AES provider type. This provider type includes cryptographic service providers that use RSA key exchange and signatures, AES encryption, and SHA-256 hashing.

A cryptographic service provider type defines a group of cryptographic service providers use the same algorithms, the same key format, the same digital signature format, the same method for deriving a session key from a hash, the same key length, and the same default modes. For more information about cryptographic service provider types, see Cryptographic Provider Types.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCCookieCryptoConfiguration

Send comments about this topic to Microsoft

Build date: 6/30/2010