public function subjectAlternativeName(): Ext\SubjectAlternativeNameExtension
    {
        /** @var Extension\SubjectAlternativeNameExtension $subjectAltName */
        $subjectAltName = $this->get(Ext\Extension::OID_SUBJECT_ALT_NAME);
        return $subjectAltName;
    }
public function subjectAlternativeName(): Ext\SubjectAlternativeNameExtension
    {
        /** @var Extension\SubjectAlternativeNameExtension $subjectAltName */
        $subjectAltName = $this->get(Ext\Extension::OID_SUBJECT_ALT_NAME);
        return $subjectAltName;
    }
public function subjectAlternativeName ( ) : Ext \ SubjectAlternativeNameExtension { /** @var Extension\SubjectAlternativeNameExtension $subjectAltName */ $ subjectAltName = $ this -> get ( Ext \ Extension :: OID_SUBJECT_ALT_NAME ) ; return $ subjectAltName ; }
Get 'Subject Alternative Name' extension.

@throws \LogicException If extension is not present
@return \X509\Certificate\Extension\SubjectAlternativeNameExtension
Get Subject Alternative Name extension .