TBD54566975 / web5-go

Apache License 2.0
6 stars 6 forks source link

Remove jws.Payload type alias in favor of []byte type #116

Closed KendallWeihe closed 3 months ago

KendallWeihe commented 3 months ago

Originally brought up here https://github.com/TBD54566975/web5-go/pull/114#discussion_r1529797659

We can safely assume the JWS Payload will always be a byte array (reference)

JWS Payload The sequence of octets to be secured -- a.k.a. the message. The payload can contain an arbitrary sequence of octets