JAVA_TRUST structure (capi.h)

Contains trust information.

Syntax

typedef struct _JAVA_TRUST {
  DWORD   cbSize;
  DWORD   flag;
  BOOL    fAllActiveXPermissions;
  BOOL    fAllPermissions;
  DWORD   dwEncodingType;
  PBYTE   pbJavaPermissions;
  DWORD   cbJavaPermissions;
  PBYTE   pbSigner;
  DWORD   cbSigner;
  LPCWSTR pwszZone;
  GUID    guidZone;
  HRESULT hVerify;
} JAVA_TRUST, *PJAVA_TRUST;

Members

cbSize

The size of this structure, in bytes.

flag

Reserved.

fAllActiveXPermissions

Indicates whether all ActiveX permissions were requested.

fAllPermissions

Indicates whether all Java permissions were requested.

dwEncodingType

The encoding type. This member can be X509_ASN_ENCODING or PKCS_7_ASN_ENCODING.

pbJavaPermissions

The encoded permission blob.

cbJavaPermissions

The size of the pbJavaPermissions buffer, in bytes.

pbSigner

The encoded signer.

cbSigner

The size of the pbSigner buffer, in bytes.

pwszZone

The zone index.

guidZone

Reserved.

hVerify

The authenticode policy return code.

Requirements

Requirement Value
Header capi.h

See also

DownloadJavaEX

JAVA_POLICY_PROVIDER