certificate = $certificate; } public function getObject(): \OpenSSLCertificate { return $this->certificate; } public function getFingerprint(): string { return openssl_x509_fingerprint($this->certificate); } public function parse(): array { return openssl_x509_parse($this->certificate); } }