public interface SignedDataVerifierConfiguration extends CryptoCmsUnMarshallerConfiguration
Modifier and Type | Method and Description |
---|---|
SignedDataVerifierConfiguration |
copy()
Creates a copy of this instance.
|
Collection<X509Certificate> |
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.
|
Boolean |
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 |
isVerifySignaturesOfAllSigners(org.apache.camel.Exchange exchange)
If
true then the signatures of all signers are checked. |
isFromBase64
Boolean isSignedDataHeaderBase64(org.apache.camel.Exchange exchange) throws CryptoCmsException
CryptoCmsConstants.CAMEL_CRYPTO_CMS_SIGNED_DATA
is base64
encoded.CryptoCmsException
Boolean isVerifySignaturesOfAllSigners(org.apache.camel.Exchange exchange) throws CryptoCmsException
true
then the signatures of all signers are checked. If
false
then the verifier searches for a signer which matches
with one of the specified certificates and verifies only the signature of
the first found signer.CryptoCmsException
Collection<X509Certificate> getCertificates(org.apache.camel.Exchange exchange) throws CryptoCmsException
CryptoCmsException
SignedDataVerifierConfiguration copy()
Apache Camel