openssl_x509_fingerprint

(PHP 5 >= 5.6.0, PHP 7, PHP 8)

openssl_x509_fingerprintCalculates the fingerprint, or digest, of a given X.509 certificate

Beschreibung

openssl_x509_fingerprint(OpenSSLCertificate|string $certificate, string $digest_algo = "sha1", bool $binary = false): string|false

openssl_x509_fingerprint() returns the digest of certificate as a string.

Parameter-Liste

x509

Siehe Schlüssel-/Zertifikatsparameter für eine Auflistung der gültigen Werte.

digest_algo

The digest method or hash algorithm to use, e.g. "sha256", one of openssl_get_md_methods().

binary

When set to true, outputs raw binary data. false outputs lowercase hexits.

Rückgabewerte

Returns a string containing the calculated certificate fingerprint as lowercase hexits unless binary is set to true in which case the raw binary representation of the message digest is returned.

Returns false on failure.

Changelog

Version Beschreibung
8.0.0 certificate accepts an OpenSSLCertificate instance now; previously, a Ressource of type OpenSSL X.509 was accepted.

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

Block breaker is one of the most exciting and addictive online games available today

Totally agree, games like Block Breaker stay addictive because they’re simple yet satisfying to play in short bursts. I’ve noticed the same wi ...

Geschrieben von purin am 14.04.2026 10:17:24
Forum: PHP Developer Forum
Block breaker is one of the most exciting and addictive online games available today

, it’s interesting how light entertainment keeps people coming back consistently.​

Geschrieben von purin am 14.04.2026 10:16:51
Forum: PHP Developer Forum
U4GM ARC Raiders A First Foothold Tips for Every Objective

Blue Gate teaches you pretty fast that distance is the real enemy. “A First Foothold” sounds simple on paper, sure, but once you start crossin ...

Geschrieben von Hartmann846 am 14.04.2026 09:33:07
Forum: Off-Topic Diskussionen
U4GM How to Make Sense of Black Ops 7 Haunting Leak

Seasonal leaks hit differently in Call of Duty, especially when Halloween content starts showing up in the files. This time the talk is all about ...

Geschrieben von Hartmann846 am 14.04.2026 09:31:35
Forum: Off-Topic Diskussionen