# Uses of Class
org.opensaml.xmlsec.signature.support.SignatureException

Packages that use SignatureException
Package
Description
org.opensaml.saml.common.messaging
Support classes for SAML message security operations.
org.opensaml.saml.security.impl
Classes related to verifying various credentials within a SAML system.
org.opensaml.xmlsec.signature.support
Functional support for XML Signature.
org.opensaml.xmlsec.signature.support.impl
Implementations of signature evaluation functions.
org.opensaml.xmlsec.signature.support.impl.provider
Provides Santuario-specific implementation of signing and validation.

## Uses of SignatureException in org.opensaml.saml.common.messaging

Methods in org.opensaml.saml.common.messaging that throw SignatureException
Modifier and Type
Method
Description
`static void`
SAMLMessageSecuritySupport.`signMessage(MessageContext messageContext)`
Signs the SAML message represented in the message context if it is a `SignableXMLObject` and the message context contains signing parameters as determined by `SAMLMessageSecuritySupport.getContextSigningParameters(MessageContext)`.

## Uses of SignatureException in org.opensaml.saml.security.impl

Methods in org.opensaml.saml.security.impl that throw SignatureException
Modifier and Type
Method
Description
`void`
SAMLSignatureProfileValidator.`validate(Signature signature)`
Validate the signature according to the requirements represented by the validator.
`protected void`
SAMLSignatureProfileValidator.`validateObjectChildren(org.apache.xml.security.signature.XMLSignature apacheSig)`
Validate that the Signature instance does not contain any ds:Object children.
`protected org.apache.xml.security.signature.Reference`
SAMLSignatureProfileValidator.`validateReference(org.apache.xml.security.signature.XMLSignature apacheSig)`
Validate the Signature's SignedInfo Reference.
`protected void`
SAMLSignatureProfileValidator.`validateReferenceURI(String uri, String id)`
Validate the Reference URI and parent ID attribute values.
`protected void`
SAMLSignatureProfileValidator.`validateReferenceURI(String uri, SignableSAMLObject signableObject)`
Validate the Signature's Reference URI.
`protected void`
SAMLSignatureProfileValidator.`validateSignatureImpl(SignatureImpl sigImpl)`
Validate an instance of `SignatureImpl`, which is in turn based on underlying Apache XML Security `XMLSignature` instance.
`protected void`
SAMLSignatureProfileValidator.`validateTransforms(org.apache.xml.security.signature.Reference reference)`
Validate the transforms included in the Signature Reference.

## Uses of SignatureException in org.opensaml.xmlsec.signature.support

Methods in org.opensaml.xmlsec.signature.support that throw SignatureException
Modifier and Type
Method
Description
`private static SignatureValidationProvider`
SignatureValidator.`getSignatureValidationProvider()`
Obtain the `SignatureValidationProvider` instance to be used.
`private static SignerProvider`
Signer.`getSignerProvider()`
Obtain the `SignerProvider` instance to be used.
`static void`
SignatureSupport.`signObject(SignableXMLObject signable, SignatureSigningParameters parameters)`
Signs a `SignableXMLObject`.
`static void`
Signer.`signObject(Signature signature)`
Signs a single XMLObject.
`void`
SignerProvider.`signObject(Signature signature)`
Signs a single XMLObject.
`static void`
Signer.`signObjects(List<Signature> signatures)`
Signs the given XMLObject in the order provided.
`void`
SignaturePrevalidator.`validate(Signature signature)`
Validate the signature according to the requirements represented by the validator.
`void`
SignatureValidationProvider.`validate(Signature signature, Credential validationCredential)`
Validate the given XML Signature using the given candidate validation Credential.
`static void`
SignatureValidator.`validate(Signature signature, Credential validationCredential)`
Validate the given XML Signature using the given candidate validation Credential.

## Uses of SignatureException in org.opensaml.xmlsec.signature.support.impl

Methods in org.opensaml.xmlsec.signature.support.impl that throw SignatureException
Modifier and Type
Method
Description
`protected void`
SignatureAlgorithmValidator.`checkDOM(Signature signature)`
Check that Signature XMLObject has a cached DOM Element.
`protected List<String>`
SignatureAlgorithmValidator.`getDigestMethods(Signature signatureXMLObject)`
Get the list of Signature Reference DigestMethod algorithm URIs.
`protected String`
SignatureAlgorithmValidator.`getSignatureAlgorithm(Signature signatureXMLObject)`
Get the signature algorithm.
`void`
ChainingSignaturePrevalidator.`validate(Signature signature)`
Validate the signature according to the requirements represented by the validator.
`void`
SignatureAlgorithmValidator.`validate(Signature signature)`
Validate the algorithms in the signature.
`protected void`
SignatureAlgorithmValidator.`validateAlgorithmURI(String algorithmURI)`
Validate the supplied algorithm URI against the configured include and exclude lists.

## Uses of SignatureException in org.opensaml.xmlsec.signature.support.impl.provider

Methods in org.opensaml.xmlsec.signature.support.impl.provider that throw SignatureException
Modifier and Type
Method
Description
`void`
ApacheSantuarioSignerProviderImpl.`signObject(Signature signature)`
Signs a single XMLObject.
`void`
ApacheSantuarioSignatureValidationProviderImpl.`validate(Signature signature, Credential validationCredential)`
Validate the given XML Signature using the given candidate validation Credential.