boolean |
-
installTrustedCertFromUri
(
string uri
,
EcimPasswordString uriPassword
,
Fingerprint fingerprint
);
-
Installs a trusted certificate from the specified Uniform Resource Identifier (URI).
The action can be invoked if no other action in progress on this MO.
The action returns immediately after invocation. The progress of the action can be tracked via the reportProgress attribute.
The action returns with TRUE after successful invocation, otherwise it returns with FALSE.
The generic URI syntax is defined by RFC 3986.
Example: sftp://myuser@myhostname.ericsson.local/dir/subdir/certificate
Example: http://myhostname.ericsson.local/dir/subdir/certificate
-
Parameters
Name: uri Description: This parameter contains a URI assumed to point to the certificate file.
The generic URI syntax is defined by RFC 3986.
Example: sftp://myuser@myhostname.ericsson.local/dir/subdir/certificate
The URI must not contain any password. The password shall be provided in the second parameter of this action.
The URI may be local relative (e.g. data/dir/subdir/file), or local absolute (e.g. file:///data/dir/subdir/file), or remote (e.g. sftp://user@hostname/dir/subdir/file) or remote relative (e.g. sftp://user@hostname/~/cert.pem).
If the URI is local relative, the file is expected to be under the directory path indicated by the localFileStorePath attribute in the CertM MO.
Name: uriPassword Description: The password section of the URI.
Name: fingerprint Description: The Secure Hash Algorithm (SHA) fingerprint of the certificate to be installed.
The fingerprint is checked against the fingerprint calculated on the installed file. The hash must be calculated by the SHA algorithm indicated in fingerprintSupport of the CertMCapabilities MO.
|