Package | Description |
---|---|
io.jsonwebtoken | |
io.jsonwebtoken.security |
Modifier and Type | Field and Description |
---|---|
static SecureDigestAlgorithm<Key,Key> |
Jwts.SIG.NONE
The "none" signature algorithm as defined by
RFC 7518, Section 3.6.
|
Modifier and Type | Method and Description |
---|---|
static Registry<String,SecureDigestAlgorithm<?,?>> |
Jwts.SIG.get()
Returns all standard JWA Cryptographic
Algorithms for Digital Signatures and MACs defined in the
JSON Web Signature and Encryption
Algorithms Registry.
|
NestedCollection<SecureDigestAlgorithm<?,?>,JwtParserBuilder> |
JwtParserBuilder.sig()
Configures the parser's supported
SignatureAlgorithm and
MacAlgorithm s used to verify JWS signatures. |
Modifier and Type | Method and Description |
---|---|
<K extends Key> |
JwtBuilder.signWith(K key,
SecureDigestAlgorithm<? super K,?> alg)
Signs the constructed JWT with the specified key using the specified algorithm, producing a JWS.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MacAlgorithm
A
SecureDigestAlgorithm that uses symmetric SecretKey s to both compute and verify digests as
message authentication codes (MACs). |
interface |
SignatureAlgorithm
A digital signature algorithm computes and
verifies digests using asymmetric public/private key cryptography.
|
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.