(PHP 4 >= 4.2.0, PHP 5, PHP 7)
openssl_x509_export — Exports a certificate as a string
openssl_x509_export() stores
x509 into a string named by
output in a PEM encoded format.
x509Siehe Schlüssel-/Zertifikatsparameter für eine Auflistung der gültigen Werte.
outputOn 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.
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.