JWS

soidc.jwt.JWS
See theJWS companion object
final case class JWS(header: Base64String, claims: Base64String, signature: Option[Base64String])

A JSON Web Signature.

See RFC7515 (https://datatracker.ietf.org/doc/html/rfc7515)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def decode[H : ByteDecoder, C : ByteDecoder]: Either[DecodeError, JWSDecoded[H, C]]
def signWith(key: JWK): Either[SignError, JWS]
def unsafeSignWith(key: JWK): JWS
def verifySignature(key: JWK): Either[VerifyError, Boolean]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val compact: String
lazy val payload: ByteVector