from Message
Converts a Message object to a ProposeCredential object.
Return
A ProposeCredential object created from the input Message.
Parameters
from Message
The input Message object to convert.
Throws
If the input message does not represent the expected protocol type or if it does not have "from" and "to" fields.