extract Credential Format From Message
abstract fun extractCredentialFormatFromMessage(formats: Array<AttachmentDescriptor>): CredentialType(source)
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.