parse

Parses the StaticAuthData.

Return

a StaticAuthData with the parsed data.

Throws

if the given data isn't valid CBOR or not conforming to the CDDL for its type.

if required data hasn't been set using the setter methods on this class.