Gets a certificate from a file.
Supported Platforms: Android
getSignedCertificateFromFile( filePath, password )
| Name | Type | Description |
| filePath | String | The absolute path to the file. |
| password | String | The password needed to access the certificate's private data. |
// The following script gets the signed certificate data for the first
// p12 file found on the sdcard
var certStore = CertificateStore.getDefault();
var certPaths = certStore.listAvailableCertificatesFromFileSystem("/sdcard/", "p12");
var cert = certStore.getSignedCertificateFromFile(certPaths[0], "password");