|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SignatureTrustEngine
Evaluates the trustworthiness and validity of XML or raw Signatures against implementation-specific requirements.
Method Summary | |
---|---|
KeyInfoCredentialResolver |
getKeyInfoResolver()
Get the KeyInfoCredentialResolver instance used to resolve (advisory) signing credential information from KeyInfo elements contained within a Signature element. |
boolean |
validate(byte[] signature,
byte[] content,
java.lang.String algorithm,
Credential credential)
Determines whether a raw signature is valid with respect to the Credential data supplied. |
Methods inherited from interface org.opensaml.xml.security.trust.TrustEngine |
---|
validate |
Method Detail |
---|
KeyInfoCredentialResolver getKeyInfoResolver()
boolean validate(byte[] signature, byte[] content, java.lang.String algorithm, Credential credential) throws SecurityException
signature
- the signature valuecontent
- the content that was signedalgorithm
- the signature algorithm usedcredential
- credential containing the validation key for the signature
SecurityException
- thrown if there is a problem attempting to verify the signature such as the signature
algorithim not being supported
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |