get_encryption_key function

Contained in package wwpro_api_provider_registry.

Call this function to retrieve the encryption key for a Web provider.

function get_encryption_key
(

p_provider_id in number

)

return varchar2;

A user must have the All Provider Manage or the All Provider Publish privilege to edit a provider record.

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_provider_id

A unique identifier for the portlet provider, allocated by Oracle Portal.

Note: The value for this parameter cannot be null.

Datatype: in integer

Returns:

This function returns the HTTP encryption key for the specified Web provider.

Exceptions:

  • If the user does not have the necessary privileges to execute the API, wwpro_api_provider.PROVIDER_SECURITY_EXCEPTION is raised.

  • If an unexpected error occurs while retrieving the encryption key, wwpro_api_provider.PROVIDER_RETRIEVAL_EXCEPTION is raised.

Example:

l_encrypt_key varchar2(80);

l_encrypt_key := wwpro_api_provider_registry.get_encryption_key
  (

p_provider_id => 23613481

);

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio