public function __construct($assoc_handle, $session_type, $assoc_type, $expires_in, $server_public, $enc_mac_key)
 {
     parent::__construct($assoc_handle, $session_type, $assoc_type, $expires_in);
     $this[OpenIdProtocol::OpenIdProtocol_DHServerPublic] = $server_public;
     $this[OpenIdProtocol::OpenIdProtocol_DHEncMacKey] = $enc_mac_key;
 }
 /**
  * @param $assoc_handle
  * @param $session_type
  * @param $assoc_type
  * @param $expires_in
  * @param $secret
  */
 public function __construct($assoc_handle, $session_type, $assoc_type, $expires_in, $secret)
 {
     parent::__construct($assoc_handle, $session_type, $assoc_type, $expires_in);
     $this[OpenIdProtocol::OpenIdProtocol_MacKey] = base64_encode($secret);
 }