ITrustState

This interface has implementations in both IEFRAME and MSHTML. The IID is:

ITrustState {6AC11FDB-C797-47D9-92D8-A6B796D3B42C}

This interface is not completely undocumented. It doesn’t get even a declaration in any Windows SDK header, but the corresponding IID_ITrustState is defined in the UUID.LIB library.

Methods

The ITrustState methods are:

Offset Method
0x0C GetTrustUri
0x10 GetEncryptionLevel
0x14 GetPhishingFilterState
0x18 GetIDNState

Prototypes

The following are known from Microsoft’s symbol files:

HRESULT GetTrustUri (IUri **);
HRESULT GetEncryptionLevel (ULONG *);
HRESULT GetPhishingFilterState (NAVIGATION_BAND_PF_STATE *);
HRESULT GetIDNState (IDNSTATES *);

with the following type definitions presumed for two undocumented enumerations:

typedef enum tagNAVIGATION_BAND_PF_STATE NAVIGATION_BAND_PF_STATE;
typedef enum tagIDNSTATES IDNSTATES;