DownloadJavaEX function

Downloads the .cab file signature, verifies the permissions associated with the packages, and executes them based on authentication.

Syntax

HRESULT WINAPI DownloadJavaEX(
  _In_ PALLOCATOR               Reserved,
  _In_ PCRYPT_PROVIDER_DATA     pProviderData,
  _In_ PJAVA_POLICY_PROVIDER    pJava,
  _In_ CRYPT_PROVIDER_FUNCTIONS *pFunctions,
  _In_ BOOL                     fCertificate,
  _In_ PJAVA_TRUST              pTrust
);

Parameters

Reserved [in]

This parameter is reserved.

pProviderData [in]

A CRYPT_PROVIDER_DATA structure that contains certificate data such as file and zone permissions.

pJava [in]

A JAVA_POLICY_PROVIDER structure that contains data related to the policy provider.

pFunctions [in]

A CRYPT_PROVIDER_FUNCTIONS structure that contains a list of methods to verify certificate objects, signatures, and final policies.

fCertificate [in]

If a certificate is present, this parameter is TRUE. Otherwise, it is FALSE.

pTrust [in]

A JAVA_TRUST structure that contains trust information such as encoded permission, encoder signature, and authentic return policy code.

Return value

If the function succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.

Requirements

Requirement Value
DLL
Javacypt.dll