issue #22996: support for signature capture

PR in private-extensions, too.