/** * @throws \LightSaml\Error\LightSamlException * * @return string */ public function getFingerprint() { if (false == $this->data) { throw new LightSamlException('Certificate data not set'); } return XMLSecurityKey::getRawThumbprint($this->toPem()); }