public function nameConstraints(): Ext\NameConstraintsExtension
    {
        /** @var Extension\NameConstraintsExtension $nameConstraints */
        $nameConstraints = $this->get(Ext\Extension::OID_NAME_CONSTRAINTS);
        return $nameConstraints;
    }
public function nameConstraints(): Ext\NameConstraintsExtension
    {
        /** @var Extension\NameConstraintsExtension $nameConstraints */
        $nameConstraints = $this->get(Ext\Extension::OID_NAME_CONSTRAINTS);
        return $nameConstraints;
    }
public function nameConstraints ( ) : Ext \ NameConstraintsExtension { /** @var Extension\NameConstraintsExtension $nameConstraints */ $ nameConstraints = $ this -> get ( Ext \ Extension :: OID_NAME_CONSTRAINTS ) ; return $ nameConstraints ; }
Get 'Name Constraints' extension.

@throws \LogicException If extension is not present
@return \X509\Certificate\Extension\NameConstraintsExtension
Get Name Constraints extension .