getDigitalCertFileNameByDigitalID method: DigitalCertStore class

Syntax

getDigitalCertFileNameByDigitalID(digital_ID, &file_name)

Description

Use the getDigitalCertFileNameByDigitalID method to return the name of the digital certificate file based on the specified digital ID.

Important:

Do not use this method in an implementation of the IPT_PDFSIGNATURE_INT:IPDFSignature interface class. Oracle reserves the right to modify this method in the future.

Parameters

Parameter Description

digital_ID

Specifies the digital ID for the certificate as a string value.

&file_name

Specifies an already instantiated string variable to store the returned certificate file name.

Returns

A return code as a numeric value:

Numeric Value Description

0

The method executed successfully.

65

The digital ID was specified as the empty string.

70

No file name is defined for this digital ID.

Example

&errCode = &oStore.getDigitalCertFileNameByDigitalID(&digitalID, &tmpStr);
If &errCode > 0 Then /* failure */
   &m_sError = &oStore.ErrorMessageDetail;
Else /* success */
   ...
End-If;