public class AllowAllSignatureTrustEngine extends Object implements org.opensaml.xml.signature.SignatureTrustEngine
Constructor and Description |
---|
AllowAllSignatureTrustEngine(org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver keyInfoResolver) |
Modifier and Type | Method and Description |
---|---|
org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver |
getKeyInfoResolver() |
boolean |
validate(byte[] signature,
byte[] content,
String algorithmURI,
org.opensaml.xml.security.CriteriaSet trustBasisCriteria,
org.opensaml.xml.security.credential.Credential candidateCredential) |
boolean |
validate(org.opensaml.xml.signature.Signature token,
org.opensaml.xml.security.CriteriaSet trustBasisCriteria) |
public AllowAllSignatureTrustEngine(org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver keyInfoResolver)
public org.opensaml.xml.security.keyinfo.KeyInfoCredentialResolver getKeyInfoResolver()
getKeyInfoResolver
in interface org.opensaml.xml.signature.SignatureTrustEngine
public boolean validate(byte[] signature, byte[] content, String algorithmURI, org.opensaml.xml.security.CriteriaSet trustBasisCriteria, org.opensaml.xml.security.credential.Credential candidateCredential) throws org.opensaml.xml.security.SecurityException
validate
in interface org.opensaml.xml.signature.SignatureTrustEngine
org.opensaml.xml.security.SecurityException
public boolean validate(org.opensaml.xml.signature.Signature token, org.opensaml.xml.security.CriteriaSet trustBasisCriteria) throws org.opensaml.xml.security.SecurityException
validate
in interface org.opensaml.xml.security.trust.TrustEngine<org.opensaml.xml.signature.Signature>
org.opensaml.xml.security.SecurityException