Reading X509 "Subject Alternative Name" field in PHP

From: paul b (bisibis_at_pt.lu)
Date: 02/26/04


Date: 26 Feb 2004 00:30:53 -0800

Hello,
can someone tell me how to read the "Subject Alternative Name"-field
from an SSL-certificate. Is there any SSL-environmental variable set
for the Subject Alternative name (like for example SSL_CLIENT_S_DN_CN
for the CN)

My alternative name have the structure:
       Subject Alternative Name
                RFC882 name= <email>

how can I get this in PHP

Thanx
CB