GetTrustList is used to retrieve the NodeId of a Trust List assigned to an Application.
GetTrustList( [in] NodeId applicationId [in] NodeId certificateGroupId [out] NodeId trustListId );
|applicationId||The identifier assigned to the Application by the GDS.|
|certificateGroupId||An identifier for a Certificate Group that the Application belongs to.|
|trustListId||The NodeId for a Trust List Object that can be used to download the Trust List assigned to the Application.|
Access permissions also apply to the Trust List Objects which are returned by this Method. This Trust List includes any Certificate Revocation Lists (CRLs) associated with issuer Certificates in the Trust List.
This Method can be invoked by a configuration tool which has provided user credentials with necessary access permissions. It can also be invoked by the Application identified by the applicationId (e.g. the private key used to create the channel shall be private key associated with the Certificate assigned to the Application).
Method Result Codes (defined in Call Service)
|Bad_NotFound||The applicationId does not refer to a registered Application.|
|Bad_InvalidArgument||The certificateGroupId parameter is not valid.
The text associated with the error shall indicate the exact problem.
|Bad_UserAccessDenied||The current user does not have the rights required.|
Table 35 specifies the AddressSpace representation for the GetTrustList Method.
Table 35 – GetTrustList Method AddressSpace Definition