package at.gv.egovernment.moa.spss.api.impl;
import at.gv.egovernment.moa.spss.api.xmlverify.TransformParameterHash;
/**
* Default implementation of TransformParameterHash
*
* @author Fatemeh Philippi
* @version $Id$
*/
public class TransformPatameterHashImpl
extends TransformParameterImpl
implements TransformParameterHash {
/** The method used to calculate the digest value. */
private String digestMethod;
/** The digest value. */
private byte[] digestValue;
/**
* Sets method used to calculate the digest value.
* @param digestMethod The method used to calculate the digest value.
*/
public void setDigestMethod(String digestMethod) {
this.digestMethod = digestMethod;
}
public String getDigestMethod() {
return digestMethod;
}
/**
* Sets the digest value.
*
* @param digestValue The digest value.
*/
public void setDigestValue(byte[] digestValue) {
this.digestValue = digestValue;
}
public byte[] getDigestValue() {
return digestValue;
}
/**
* Gets the type of TransformParameter
.
*
* @return HASH_TRANSFORMPARAMETER
*/
public int getTransformParameterType() {
return HASH_TRANSFORMPARAMETER;
}
}