add getConsentSignature API to support SDK integration tests

Add getConsentSignature API to support SDK integration tests.

This is a pre-CR with minimal testing, just to get some initial feedback. Will follow up once testing is complete.