extractCredentialFormatFromMessage

Extracts the credential format from the given array of attachment descriptors.

Return

The credential format as a CredentialType enum value.

Parameters

formats

The array of attachment descriptors.