PHP Dokumentation: Function openssl-x509-export
12. Januar 2010 von werner
openssl_x509_export
(PHP 4 >= 4.2.0, PHP 5)
openssl_x509_export — Exports a certificate as a string
Beschreibung
openssl_x509_export() stores x509 into a string named by output in a PEM encoded format.
Parameter-Liste
- x509
- output
On success, this will hold the PEM.
- notext
Der optionale Parameternotext beinflusst die Ausführlichkeit der Ausgabe. Wenn er auf FALSE gesetzt wird, werden zusätzliche lesbare Informationen in die Ausgabe aufgenommen. Der Vorgabewert für notext ist TRUE.
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.