Encrypts the envelope's subject with one fresh content key and adds a hasRecipient assertion for each of recipients (the reference's encrypt_subject_to_recipients); an empty list is accepted.
hasRecipient
recipients
encrypt_subject_to_recipients
The recipients' public keys (each implements Encrypter)
A new envelope with encrypted subject and recipient assertions
EnvelopeError InvalidParameter when a recipient is not an Encrypter; Components when components cannot seal to a key
InvalidParameter
Encrypter
Components
Encrypts the envelope's subject with one fresh content key and adds a
hasRecipientassertion for each ofrecipients(the reference'sencrypt_subject_to_recipients); an empty list is accepted.