ExtractCertificateByAuthorizedUser method: DigitalCertStore class
Syntax
ExtractCertificateByAuthorizedUser(digital_ID, auth_user, dest_location, &keystore_pwd)
Description
Use the ExtractCertificateByAuthorizedUser method to retrieve a digital certificate file to the specified location on the application server based on the specified digital ID and whether the current user is the specified user. This method also returns the encrypted password for the certificate file.
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. |
|
auth_user |
Specifies a user ID as a string value. |
|
dest_location |
Specifies the absolute URL to store the certificate file on the application server as a string value. |
|
&keystore_pwd |
Specifies an already instantiated string variable to store the returned encrypted password. |
Returns
A return code as a numeric value:
| Numeric Value | Description |
|---|---|
|
0 |
The method executed successfully. |
|
54 |
The digital ID, user ID, or the destination location is invalid due to being specified as an empty string. |
|
55 |
There is no certificate file or password available to the specified user ID. |
|
56 |
The specified user ID is not authorized or cannot be found. |
|
57 |
There was an error downloading the certificate file from the database. |
|
78 |
The specified user ID is not the current user. |