getRawThumbprint() public static method

Get the raw thumbprint of a certificate
public static getRawThumbprint ( string $cert ) : null | string
$cert string
return null | string
Example #1
0
 /**
  * @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());
 }