RecipientInfo Event
Fired for each recipient certificate of the encrypted message.
Syntax
public class DefaultSmimeEventListener implements SmimeEventListener { ... public void recipientInfo(SmimeRecipientInfoEvent e) {} ... } public class SmimeRecipientInfoEvent { public String issuer; public String serialNumber; public String subjectKeyIdentifier; public String encryptionAlgorithm; }
Remarks
When GetRecipientInfo is called on a valid encrypted message, this event will fire once for each recipient certificate that the message has been encrypted for. This may be used to identify the certificate to load.
Issuer is the subject of the issuer certificate.
SerialNumber is the serial number of the encryption certificate.
SubjectKeyIdentifier is the X.509 subjectKeyIdentifier extension value of the certificate used to sign the message encoded as a hex string.
EncryptionAlgorithm is the encryption algorithm used to encrypt the message. Possible values are:
- "3DES"
- "DES"
- "RC2CBC40"
- "RC2CBC64"
- "RC2CBC128" or "RC2"
- "AESCBC128" or "AES"
- "AESCBC192"
- "AESCBC256"