public interface TransRecipientInfo extends RecipientInfo
Represents the "key transport" recipient info alternative: The content-encryption key is encrypted with the public key of the recipient. This technique is compatible to PKCS#7 when creating a RecipientInfo for the public key of the recipient's certificate, identified by issuer and serial number. CMS recommends to use RSA for encrypting the content encryption key.
Modifier and Type | Method and Description |
---|---|
X509Certificate |
getCertificate(org.apache.camel.Exchange exchange)
Returns the certificate containign the public key which is used for the
encryption and the issuer and serial number which is added to the
recipient information.
|
String |
getKeyEncryptionAlgorithm(org.apache.camel.Exchange exchange)
Currently, the key encryption algorithm is fixed to "RSA".
|
String getKeyEncryptionAlgorithm(org.apache.camel.Exchange exchange) throws CryptoCmsException
CryptoCmsException
X509Certificate getCertificate(org.apache.camel.Exchange exchange) throws CryptoCmsException
CryptoCmsException
Apache Camel