JWSMacCV

tsec.jws.mac.JWSMacCV
See theJWSMacCV companion object
sealed abstract class JWSMacCV[F[_], A](implicit hs: JWSSerializer[JWSMacHeader[A]], programs: MessageAuth[F, A, MacSigningKey], M: MonadError[F, Throwable])

Our JWS Compressor, Signer and verifier (CV = Compressor and Verifier)

Type parameters

A

The mac signing algorithm

F

Our effect type

Value parameters

M

Monad instance for F

hs

our header serializer

programs

our mac program implementation

Attributes

Companion
object
Source
JWSMacCV.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def parseUnverified(jwt: String): F[JWTMac[A]]

Attributes

Source
JWSMacCV.scala
def sign(header: JWSMacHeader[A], body: JWTClaims, key: Type[A]): F[Type[A]]

Attributes

Source
JWSMacCV.scala
def signAndBuild(header: JWSMacHeader[A], body: JWTClaims, key: Type[A]): F[JWTMac[A]]

Attributes

Source
JWSMacCV.scala
def signToString(header: JWSMacHeader[A], body: JWTClaims, key: Type[A]): F[String]

Attributes

Source
JWSMacCV.scala
def toEncodedString(jwt: JWTMac[A]): String

Attributes

Source
JWSMacCV.scala
def verify(jwt: String, key: Type[A], now: Instant): F[VerificationStatus]

Attributes

Source
JWSMacCV.scala
def verifyAndParse(jwt: String, key: Type[A], now: Instant): F[JWTMac[A]]

Attributes

Source
JWSMacCV.scala
def verifyBool(jwt: String, key: Type[A], now: Instant): F[Boolean]

Attributes

Source
JWSMacCV.scala