Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Security Folder | Summary of Elements in this Folder | wm.tn.security:queryExpiredCertificates
 
wm.tn.security:queryExpiredCertificates
Retrieves certificates that are about to expire and optionally certificates that have already expired.
Input Parameters
numOfDaysToExpire
String The number of days (including today) until the certificates expire.
inclExpiredCerts
String (optional) Whether to return information about certificates that have already expired. Specify one of the following:
*true - Include expired certificates.
*false - Do not include expired certificates. This is the default.
Output Parameters
output
Document The information about the certificates that are expiring. The document contains the following variables:
*certinfo Document List Returns the following fields for each certificate in the output:
Key
Description
certId
String The internal certificate ID.
fromPartnerID
String The internal partner ID for the partner defined as the sending partner for the certificate.
fromPartnerCorporationName
String The corporation name of the sending partner for the certificate.
fromPartnerOrgUnitName
String The organization unit of the sending partner for the certificate. Null if not defined.
toPartnerID
String The internal partner ID of the receiving partner for the certificate.
toPartnerCorporationName
String The corporation name of the receiving partner for the certificate.
toPartnerOrgUnitName
String The organization unit of the receiving partner for the certificate. Null if not defined.
usage
String How the certificate is used. Valid values are sign (for Sign/Verify), decrypt (for Encrypt/Decrypt), and ssl (for SSL connections).
subject
String List The subject from the certificate.
expirationDate
String The expiration date of the certificate, specified in Coordinated Universal Time (UTC) format (for example, Monday, 2007-07-09T03:25UTC).
*errorMessages String List Error messages for errors that the service encountered during execution, if any.