Modifier and Type | Method and Description |
---|---|
org.bouncycastle.cms.CMSAttributeTableGenerator |
AttributesGeneratorProvider.getAttributesGenerator(org.apache.camel.Exchange excange) |
protected KeyStore |
DefaultCryptoCmsConfiguration.getKeyStore() |
org.bouncycastle.cms.OriginatorInformation |
OriginatorInformationProvider.getOriginatorInformation(org.apache.camel.Exchange exchange) |
Boolean |
CryptoCmsUnMarshallerConfiguration.isFromBase64(org.apache.camel.Exchange exchange)
Indicates whether the message in-body is base 64 encocded.
|
protected void |
CryptoCmsMarshallerConfiguration.logErrorAndThrow(org.slf4j.Logger log,
String message) |
void |
DefaultCryptoCmsConfiguration.setKeyStoreParameters(org.apache.camel.util.jsse.KeyStoreParameters keyStoreParameters)
Keystore containing signer private keys, verifier public keys, encryptor
public keys, decryptor private keys depending on the operation.
|
Modifier and Type | Method and Description |
---|---|
X509Certificate |
TransRecipientInfo.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.
|
X509Certificate |
DefaultKeyTransRecipientInfo.getCertificate(org.apache.camel.Exchange exchange) |
protected String |
DefaultKeyTransRecipientInfo.getCertificateAlias() |
String |
TransRecipientInfo.getKeyEncryptionAlgorithm(org.apache.camel.Exchange exchange)
Currently, the key encryption algorithm is fixed to "RSA".
|
String |
DefaultKeyTransRecipientInfo.getKeyEncryptionAlgorithm(org.apache.camel.Exchange exchange)
Currently, the key encryption algorithm is fixed to "RSA".
|
protected char[] |
DefaultEnvelopedDataDecryptorConfiguration.getPassword(org.apache.camel.Exchange exchange) |
Collection<PrivateKeyWithCertificate> |
EnvelopedDataDecryptorConfiguration.getPrivateKeyCertificateCollection(org.apache.camel.Exchange exchange)
Returns the private keys with their public keys in the X.509 certificate
which can be used for the decryption.
|
Collection<PrivateKeyWithCertificate> |
DefaultEnvelopedDataDecryptorConfiguration.getPrivateKeyCertificateCollection(org.apache.camel.Exchange exchange) |
void |
EnvelopedDataEncryptorConfiguration.init() |
Modifier and Type | Class and Description |
---|---|
class |
CryptoCmsFormatException
Exception thrown when the decoding of an input stream to a cms object, like
singed data or enveloped data, fails.
|
class |
CryptoCmsInvalidKeyException
Exception thrown during singing if the key type does not fit to the signature
algorithm.
|
class |
CryptoCmsNoCertificateForRecipientsException
Exception thrown when no certificate in the keystore fits to the recipients
in the CMS enveloped data during the decryption process.
|
class |
CryptoCmsNoCertificateForSignerInfoException
Is thrown when the signature validation fails because no certificate is found
the keystore which corresponds to the a specific signer information.
|
class |
CryptoCmsNoCertificateForSignerInfosException
Is thrown when the signature validation fails because no certificate is found
in the keystore which corresponds to the sent signer infos.
|
class |
CryptoCmsNoKeyOrCertificateForAliasException
Exception which is thrown when for a specified alias a key or certificate is
not found in the keystore.
|
class |
CryptoCmsSignatureException
This exception is thrown if SignedData signature verification fails.
|
class |
CryptoCmsSignatureInvalidContentHashException
This exception is thrown if the verification of a SignedData signature fails
because the hash calculated over the content does not match to the value of
signed MessageDigest attribute value.
|
class |
CryptoCmsVerifierCertificateNotValidException
If the verifier tries to verify a signature with a certificate which is not
valid at the time given as the SignerInfo's signing time.
|
Modifier and Type | Method and Description |
---|---|
protected CryptoCmsException |
SignedDataVerifier.getContentMissingException(NullPointerException e) |
Modifier and Type | Method and Description |
---|---|
X509Certificate |
SignerInfo.getCertificate(org.apache.camel.Exchange exchange) |
X509Certificate |
DefaultSignerInfo.getCertificate(org.apache.camel.Exchange exchange) |
Certificate[] |
SignerInfo.getCertificateChain(org.apache.camel.Exchange exchange)
Certificates which should be added to the certificate list of the Signed
Data instance which belong to the private key.
|
Certificate[] |
DefaultSignerInfo.getCertificateChain(org.apache.camel.Exchange exchange) |
Collection<X509Certificate> |
SignedDataVerifierConfiguration.getCertificates(org.apache.camel.Exchange exchange)
Returns the collection of certificates whose public keys are used to
verify the signatures contained in the Signed Data object if the
certificates match the signer information given in the Signed Data
object.
|
Collection<X509Certificate> |
DefaultSignedDataVerifierConfiguration.getCertificates(org.apache.camel.Exchange exchange) |
protected char[] |
DefaultSignerInfo.getPassword(org.apache.camel.Exchange exchange) |
PrivateKey |
SignerInfo.getPrivateKey(org.apache.camel.Exchange exchange) |
PrivateKey |
DefaultSignerInfo.getPrivateKey(org.apache.camel.Exchange exchange) |
protected String |
DefaultSignerInfo.getPrivateKeyAlias(org.apache.camel.Exchange exchange) |
String |
SignerInfo.getSignatureAlgorithm(org.apache.camel.Exchange exchange) |
String |
DefaultSignerInfo.getSignatureAlgorithm(org.apache.camel.Exchange exchange) |
org.bouncycastle.cms.CMSAttributeTableGenerator |
SignerInfo.getSignedAttributeGenerator(org.apache.camel.Exchange exchange)
Returns the generator for the signed attributes.
|
org.bouncycastle.cms.CMSAttributeTableGenerator |
DefaultSignerInfo.getSignedAttributeGenerator(org.apache.camel.Exchange exchange) |
org.bouncycastle.cms.CMSAttributeTableGenerator |
SignerInfo.getUnsignedAttributeGenerator(org.apache.camel.Exchange exchange)
Returns the generator for the unsigned attributes.
|
org.bouncycastle.cms.CMSAttributeTableGenerator |
DefaultSignerInfo.getUnsignedAttributeGenerator(org.apache.camel.Exchange exchange) |
void |
SignedDataCreatorConfiguration.init() |
Boolean |
SignedDataVerifierConfiguration.isSignedDataHeaderBase64(org.apache.camel.Exchange exchange)
Indicates whether the value in the Signed Data header (given by
CryptoCmsConstants.CAMEL_CRYPTO_CMS_SIGNED_DATA is base64
encoded. |
Boolean |
DefaultSignedDataVerifierConfiguration.isSignedDataHeaderBase64(org.apache.camel.Exchange exchange) |
Boolean |
SignedDataVerifierConfiguration.isVerifySignaturesOfAllSigners(org.apache.camel.Exchange exchange)
If
true then the signatures of all signers are checked. |
Boolean |
DefaultSignedDataVerifierConfiguration.isVerifySignaturesOfAllSigners(org.apache.camel.Exchange exchange) |
Apache Camel