Interface SignatureTrustEngine
- All Superinterfaces:
TrustEngine<Signature>
- All Known Implementing Classes:
BaseSignatureTrustEngine,ChainingSignatureTrustEngine,ExplicitKeySignatureTrustEngine,PKIXSignatureTrustEngine
Evaluates the trustworthiness and validity of XML or raw Signatures against implementation-specific requirements.
-
Method Summary
Modifier and TypeMethodDescriptionGet the KeyInfoCredentialResolver instance used to resolve (advisory) signing credential information from KeyInfo elements contained within a Signature element.booleanvalidate(byte[] signature, byte[] content, String algorithmURI, CriteriaSet trustBasisCriteria, Credential candidateCredential) Determines whether a raw signature over specified content is valid and signed by a trusted credential.Methods inherited from interface org.opensaml.security.trust.TrustEngine
validate
-
Method Details
-
getKeyInfoResolver
Get the KeyInfoCredentialResolver instance used to resolve (advisory) signing credential information from KeyInfo elements contained within a Signature element. Note that credential(s) obtained via this resolver are not themselves trusted. They must be evaluated against the trusted credential information obtained from the trusted credential resolver.- Returns:
- a KeyInfoCredentialResolver instance
-