次の方法で共有


IFPCCookieCryptoConfiguration::ProviderType property

Applies to: desktop apps only

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

This property is read/write.

Syntax

HRESULT put_ProviderType(
  long lProviderType
);

HRESULT get_ProviderType(
  long *plProviderType
);
' Data type: Long

Property ProviderType( _
  ByVal lProviderType As long, _
  ByVal plProviderType As long _
) As Long

Property value

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

Error codes

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

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCCookieCryptoConfiguration

 

 

Build date: 7/12/2010