How to find an application by its OSType signature ?

NSWorkspace provides applicationForFile but this not what I a looking for…
The solution is in LaunchServices.h: LSGetApplicationForInfo.
CFURLRef urlToApp;
FSRef appFSRef;
OSStatus err = LSGetApplicationForInfo(kAnyFileType,
signature, kAnyExtension, kLSRolesAll, NULL, &urlToApp);