public class DefaultXAdESSignatureProperties extends XAdESSignatureProperties implements org.apache.camel.CamelContextAware
XmlSignatureProperties.Input, XmlSignatureProperties.Output
HTTP_URI_ETSI_ORG_01903_V1_1_1, HTTP_URI_ETSI_ORG_01903_V1_2_2, HTTP_URI_ETSI_ORG_01903_V1_3_2, SIG_POLICY_EXPLICIT_ID, SIG_POLICY_IMPLIED, SIG_POLICY_NONE
Constructor and Description |
---|
DefaultXAdESSignatureProperties() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.CamelContext |
getCamelContext() |
protected X509Certificate |
getSigningCertificate()
Returns the signing certificate.
|
protected X509Certificate[] |
getSigningCertificateChain()
Returns the signing certificate.
|
void |
setAlias(String alias) |
void |
setCamelContext(org.apache.camel.CamelContext context) |
void |
setKeystore(KeyStore keystore) |
void |
setKeyStoreParameters(org.apache.camel.util.jsse.KeyStoreParameters parameters) |
addCertificate, addCommitmentTypeIndication, addDataObjectFormat, addSignaturePolicyIdentifier, addSignatureProductionPlace, addSignedDataObjectProperties, addSignedSignatureProperties, addSignerRole, addSigningCertificate, addSigningTime, calculateDigest, createChildFromXmlFragmentOrText, createDigSigElement, createElement, findNamespace, findPrefix, get, getChildElements, getCommitmentTypeId, getCommitmentTypeIdDescription, getCommitmentTypeIdDocumentationReferences, getCommitmentTypeIdQualifier, getCommitmentTypeQualifiers, getDataObjectFormatDescription, getDataObjectFormatIdentifier, getDataObjectFormatIdentifierDescription, getDataObjectFormatIdentifierDocumentationReferences, getDataObjectFormatIdentifierQualifier, getDataObjectFormatMimeType, getDigestAlgorithmForSigningCertificate, getMessageDigestAlgorithm, getNamespace, getPrefix, getSignaturePolicy, getSignaturePolicyDigestAlgorithm, getSignaturePolicyDigestValue, getSignatureProductionPlaceCity, getSignatureProductionPlaceCountryName, getSignatureProductionPlacePostalCode, getSignatureProductionPlaceStateOrProvince, getSignerCertifiedRoles, getSignerClaimedRoles, getSigningCertificateURIs, getSigPolicyId, getSigPolicyIdDescription, getSigPolicyIdDocumentationReferences, getSigPolicyIdQualifier, getSigPolicyQualifiers, isAddCommitmentType, isAddDataObjectFormat, isAddSignaturePolicy, isAddSignatureProductionPlace, isAddSignedDataObjectPropeties, isAddSignedSignatureProperties, isAddSignerRole, isAddSigningTime, replacePrefix, replacePrefixes, replacePrefixForNode, setAddSigningTime, setAttribute, setCommitmentTypeId, setCommitmentTypeIdDescription, setCommitmentTypeIdDocumentationReferences, setCommitmentTypeIdQualifier, setCommitmentTypeQualifiers, setDataObjectFormatDescription, setDataObjectFormatIdentifier, setDataObjectFormatIdentifierDescription, setDataObjectFormatIdentifierDocumentationReferences, setDataObjectFormatIdentifierQualifier, setDataObjectFormatMimeType, setDigestAlgorithmForSigningCertificate, setIdAttributeFromHeader, setNamespace, setPrefix, setSignaturePolicy, setSignaturePolicyDigestAlgorithm, setSignaturePolicyDigestValue, setSignatureProductionPlaceCity, setSignatureProductionPlaceCountryName, setSignatureProductionPlacePostalCode, setSignatureProductionPlaceStateOrProvince, setSignerCertifiedRoles, setSignerClaimedRoles, setSigningCertificateURIs, setSigPolicyId, setSigPolicyIdDescription, setSigPolicyIdDocumentationReferences, setSigPolicyIdQualifier, setSigPolicyQualifiers
public void setKeystore(KeyStore keystore)
public void setAlias(String alias)
public void setKeyStoreParameters(org.apache.camel.util.jsse.KeyStoreParameters parameters) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
protected X509Certificate getSigningCertificate() throws Exception
XAdESSignatureProperties
XAdESSignatureProperties.getSigningCertificateChain()
must return a value which is
different from null
or an empty array.
This implementation returns null
getSigningCertificate
in class XAdESSignatureProperties
Exception
protected X509Certificate[] getSigningCertificateChain() throws Exception
XAdESSignatureProperties
XAdESSignatureProperties.getSigningCertificate()
must return a value.
This implementation returns null
getSigningCertificateChain
in class XAdESSignatureProperties
Exception
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext context)
setCamelContext
in interface org.apache.camel.CamelContextAware
Apache Camel