Encryption functional architecture
To send encrypted data to a receiver, senders locate the public key of the receiver in the XKMS repository via Service Qname, and use this public key to encrypt the data.
The receiver will now be able to decrypt the data with the private key that corresponds to the public key used for encryption.