Sets the value of fingerprint.

@return self
976120
public function setFingerprint($fingerprint = null)
    {
        if (isset($fingerprint)) {
            $this->fingerprint = $fingerprint;
        } else {
            $this->fingerprint = 'assely-'.Str::random();
        }

        return $this;
    }
868640
public function setId(int $id): Phone
    {
        Assert::greaterThan($id, 0);

        $this->id = $id;

        return $this;
    }
259862
public function reset() : self
    {
        $this->where = [];
        $this->joins = [];
        $this->group = [];
        $this->withr = [];
        $this->order = [];
        $this->having = [];
        $this->aliases = [];
        $this->li_of = [0,0,0];
        $this->qiterator = null;
        return $this;
    }
277589
public Fingerprint fingerprintErrorColor(int fingerprintError) {
        this.fingerprintError = fingerprintError;
        this.fingerprintImageView.setBackgroundTintList(ColorStateList.valueOf(getContext().getColor(fingerprintError)));
        return this;
    }
395394
public function unsetContactId()
    {
        $this->clear(self::MTC_ID);

        if ($sessionId = $this->getSessionId()) {
            $this->clear($sessionId);
        }

        return $this;
    }
184465
public function set()
    {
        $args  = func_get_args();
        $count = func_num_args();

        if ( is_array($args[0]) )
        {
            foreach ($args[0] as $key => $value)
            {
                if ($key === 'path')
                {
                    $this->setPath($value);
                    continue;
                }

                if (property_exists($this, $key))
                {
                    $this->$key = $value;
                }
            }
        }
        elseif ($count === 2)
        {
            if ($args[0] === 'path')
            {
                $this->setPath($args[1]);
                return ;
            }

            if (property_exists($this, $args[0]))
            {
                $this[$args[0]] = $args[1];
            }
        }
    }
328441
public function set()
    {
        $args = func_get_args();

        if (count($args) == 2) {
            $this->attributes[$args[0]] = $args[1];
        } elseif (count($args) == 1 && is_array($args[0])) {
            $this->attributes = (array_merge($this->attributes, $args[0]));
        }

        return $this;
    }
222391
public function set(string $name, $value): self
    {
        $this->type = self::TYPE_SET;
        $this->name = $name;
        $this->setValue($value, $this->type);

        return $this;
    }
770756
public function reset()
    {
        $this->isBold = false;
        $this->isUnderline = false;
        $this->hasHighlightedBackground = false;
        $this->hasHighlightedForeground = false;
        $this->backgroundColor = Style::COLOR_BLACK;
        $this->foregroundColor = Style::COLOR_WHITE;

        return $this;
    }
76777
public function number() {
        $this->check_role = 'number';
        $result = is_numeric($this->value);
        $this->checkResult($result);
        return $this;
    }
16621
public function setCurrentTime(): self
	{
		return $this->modifyClone()->setTime((int) date('H'), (int) date('i'), (int) date('s'));
	}
561592
public function touch()
    {
        if ($this->storage->supportsTouching()) {
            $this->storage->touchKey($this->key);
            $this->timeModified = null;
        }

        return $this;
    }
998712
private function createFingerprint()
    {
        $fingerprint = '';
        if ($this->ipAddressFingerprinted) {
            $fingerprint .= $this->request->getClientIp();
        }
        if ($this->userAgentFingerprinted) {
            $fingerprint .= $this->request->getUserAgent();
        }
        return hash('sha256', $fingerprint);
    }
541582
public function digit()
    {
        if (!is_string($this->value)) {
            throw new InvalidStringException($this->name, $this->value);
        } elseif (!ctype_digit($this->value)) {
            throw new InvalidDigitException($this->name, $this->value);
        }

        return $this;
    }
989679
public function clear()
    {
        $this->number = 0;

        $this->store->put($this->key, $this->number, $this->time);

        return $this;
    }
1160060
public function recalculate(): self
    {
        $num = \count($this->nodes);
        $this->summaryHashState = SodiumCompat::crypto_generichash_init();
        $prevHash = $this->firstPrevHash;
        for ($i = 0; $i < $num; ++$i) {
            $thisNodesPrev = $this->nodes[$i]->getPrevHash();
            if (empty($thisNodesPrev)) {
                $this->nodes[$i]->setPrevHash($prevHash);
            }
            $prevHash = $this->nodes[$i]->getHash(true);
            SodiumCompat::crypto_generichash_update(
                $this->summaryHashState,
                $prevHash
            );
        }
        return $this;
    }
284422
public function getFingerprint()
	{
		// Calculate fingerprint if unknown
		if (null == $this->fingerprint) {
			$this->fingerprint = sha1( $this->endpointEnv . sha1_file($this->getPemFile()) );
		}

		return $this->fingerprint;
	}