static Element createDigestValueElement(Document doc,byte[] hashValue){
  Element digestValueElement=doc.createElement(PREFIX_DS + Constants._TAG_DIGESTVALUE);
  digestValueElement.setTextContent(encodeBase64(hashValue));
  return digestValueElement;
}

static Element createDigestValueElement ( Document doc , byte [ ] hashValue ) { Element digestValueElement = doc . createElement ( PREFIX_DS + Constants . _TAG_DIGESTVALUE ) ; digestValueElement . setTextContent ( encodeBase64 ( hashValue ) ) ; return digestValueElement ; }
creates and returns a ds : digestvalue element .
