public HashChainBuilder(String hashAlgorithm) throws Exception {
  this.hashAlgorithm=hashAlgorithm;
  hashAlgorithmUri=getDigestAlgorithmURI(hashAlgorithm);
  marshaller=jaxbCtx.createMarshaller();
  marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT,Boolean.TRUE);
}

public HashChainBuilder ( String hashAlgorithm ) throws Exception { this . hashAlgorithm = hashAlgorithm ; hashAlgorithmUri = getDigestAlgorithmURI ( hashAlgorithm ) ; marshaller = jaxbCtx . createMarshaller ( ) ; marshaller . setProperty ( Marshaller . JAXB_FORMATTED_OUTPUT , Boolean . TRUE ) ; }
constructs a hash chain builder .
