public class

SecretKeyValidator

extends Object
implements SignatureValidator
java.lang.Object
   ↳ org.mule.module.xmlsecurity.validator.SecretKeyValidator

Class Overview

Validator of xmls signed with a Secret key

Summary

Fields
private String key
private String keyAlgorithm
Public Constructors
SecretKeyValidator(String keyAlgorithm, String key)
Constructore
Public Methods
boolean validate(Document doc)
Validates a xml document
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.module.xmlsecurity.validator.SignatureValidator

Fields

private String key

private String keyAlgorithm

Public Constructors

public SecretKeyValidator (String keyAlgorithm, String key)

Constructore

Parameters
keyAlgorithm The secret key algorithm (used to encode it)
key The secret password

Public Methods

public boolean validate (Document doc)

Validates a xml document

Parameters
doc The document that needs to be validated
Returns
  • true/false if it is valid