code: public AuthorizationHeader createAuthorizationHeader() throws HawkException {
  
  		String hmac = this.generateHmac();
  
  		AuthorizationBuilder headerBuilder = AuthorizationHeader
  				.authorization().ts(ts).nonce(nonce).id(getId()).mac(hmac);
  		if (hasExt()) {
  			headerBuilder.ext(getExt());
  		}
          if (hasApp()) {
              headerBuilder.app(getApp());
              if (hasDlg()) {
                  headerBuilder.dlg(getDlg());
              }
  
          }
  		if (hasHash()) {
  			headerBuilder.hash(getHash());
  		}
  
  		return headerBuilder.build();
  	}
docs: Create an Authorization header from this HawkContext.
  
  The method returns a new AuthorizationHeader instance from the data in
  this HawkContext. For this the HMAC of the contained data is calculated
  and put into the header with the other parameters required by the
  specification.
  
  
  @see net.jalg.hawkj.AuthorizationHeader
  
  @return The newly created header object.
  @throws HawkException