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:getEncryptionChain
 
wm.tn.security:getEncryptionChain
Retrieves the encryption and signing certificates of a document receiver.
Input Parameters
senderID
String The internal partner ID of the document sender.
receiverID
String The internal partner ID of the document receiver (the owner of the encryption certificates).
Output Parameters
senderID
String The internal partner ID of the document sender.
receiverID
String The internal partner ID of the document receiver (the owner of the encryption certificates).
recipientCert
Object An array of byte arrays. Each byte array represents a java.security.cert.X509Certificate. The certificates are in node-to-root order. The first certificate in the array is the encryption certificate. Each subsequent certificate is the certificate that was used to sign the previous certificate in the array.
isDefault
String Whether the encryption certificate is the receiver’s default encryption certificate. Valid values are:
*true - The encryption certificate is the recipient’s default certificate. All senders use this to encrypt outgoing documents to this receiver if no alternative encryption certificate is defined between the receiver and sender).
*false - The encryption certificate is not the recipient’s default certificate.