Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.jwt.internal.JwtSigner Class Reference
Collaboration diagram for dev.rafex.ether.jwt.internal.JwtSigner:

Static Public Member Functions

static String sign (final String signingInput, final JwtConfig config)
static boolean verify (final String signingInput, final String encodedSignature, final JwtConfig config)

Detailed Description

Definition at line 40 of file JwtSigner.java.

Member Function Documentation

◆ sign()

String dev.rafex.ether.jwt.internal.JwtSigner.sign ( final String signingInput,
final JwtConfig config )
static

Definition at line 45 of file JwtSigner.java.

References dev.rafex.ether.jwt.KeyProvider.algorithm(), dev.rafex.ether.jwt.KeyProvider.hmacSecret(), dev.rafex.ether.jwt.JwtAlgorithm.HS256, and dev.rafex.ether.jwt.KeyProvider.privateKey().

Referenced by dev.rafex.ether.jwt.DefaultTokenIssuer.issue().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ verify()

boolean dev.rafex.ether.jwt.internal.JwtSigner.verify ( final String signingInput,
final String encodedSignature,
final JwtConfig config )
static

Definition at line 61 of file JwtSigner.java.

References dev.rafex.ether.jwt.KeyProvider.algorithm(), dev.rafex.ether.jwt.KeyProvider.hmacSecret(), dev.rafex.ether.jwt.JwtAlgorithm.HS256, and dev.rafex.ether.jwt.KeyProvider.publicKey().

Referenced by dev.rafex.ether.jwt.DefaultTokenVerifier.verify().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file:
  • ether-jwt/ether-jwt/src/main/java/dev/rafex/ether/jwt/internal/JwtSigner.java