@UriParams public class DefaultKeyTransRecipientInfo extends DefaultCryptoCmsConfiguration implements TransRecipientInfo
Constructor and Description |
---|
DefaultKeyTransRecipientInfo() |
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.
|
protected String |
getCertificateAlias() |
String |
getKeyEncryptionAlgorithm(org.apache.camel.Exchange exchange)
Currently, the key encryption algorithm is fixed to "RSA".
|
void |
setCertificateAlias(String certificateAlias)
Keytstore alias for looking up the X.509 certificate whose public key is
used to encrypt the secret symmetric encryption key.
|
String |
toString() |
getKeyStore, getKeyStoreParameters, setKeyStore, setKeyStoreParameters
protected String getCertificateAlias() throws CryptoCmsException
CryptoCmsException
public void setCertificateAlias(String certificateAlias)
certificateAlias
- aliaspublic String getKeyEncryptionAlgorithm(org.apache.camel.Exchange exchange) throws CryptoCmsException
getKeyEncryptionAlgorithm
in interface TransRecipientInfo
CryptoCmsException
public X509Certificate getCertificate(org.apache.camel.Exchange exchange) throws CryptoCmsException
TransRecipientInfo
getCertificate
in interface TransRecipientInfo
CryptoCmsException
Apache Camel