Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jwtk/jjwt
/ functions
Functions
1,993 in github.com/jwtk/jjwt
⨍
Functions
1,993
◇
Types & classes
477
↓ 1 callers
Method
setAudience
Sets the JWT <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.3"><code>aud</code> (audience) claim</a> as <em>a single String, <b>NOT<
api/src/main/java/io/jsonwebtoken/ClaimsMutator.java:91
↓ 1 callers
Method
setExpiration
Sets the JWT <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.4"> <code>exp</code></a> (expiration) timestamp claim. A {@code null} v
api/src/main/java/io/jsonwebtoken/ClaimsMutator.java:129
↓ 1 callers
Method
setIssuedAt
Sets the JWT <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.6"> <code>iat</code></a> (issued at) timestamp claim. A {@code null} va
api/src/main/java/io/jsonwebtoken/ClaimsMutator.java:185
↓ 1 callers
Method
setIssuer
Sets the JWT <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.1"> <code>iss</code></a> (issuer) claim. A {@code null} value will remo
api/src/main/java/io/jsonwebtoken/ClaimsMutator.java:42
↓ 1 callers
Method
setNotBefore
Sets the JWT <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.5"> <code>nbf</code></a> (not before) timestamp claim. A {@code null} v
api/src/main/java/io/jsonwebtoken/ClaimsMutator.java:157
↓ 1 callers
Method
setOperations
(Collection<? extends KeyOperation> operations)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:51
↓ 1 callers
Method
setProvider
(Provider provider)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:85
↓ 1 callers
Method
setPublicKeyUse
(String use)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:59
↓ 1 callers
Method
setRandom
(SecureRandom random)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:89
↓ 1 callers
Method
setSubject
Sets the JWT <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.2"> <code>sub</code></a> (subject) claim. A {@code null} value will rem
api/src/main/java/io/jsonwebtoken/ClaimsMutator.java:64
↓ 1 callers
Method
setZip
(CompressionAlgorithm zip)
impl/src/main/java/io/jsonwebtoken/impl/Payload.java:93
↓ 1 callers
Method
sign
(final Payload payload, final Key key, final Provider provider)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtBuilder.java:563
↓ 1 callers
Method
size
()
impl/src/main/java/io/jsonwebtoken/impl/ParameterMap.java:102
↓ 1 callers
Method
split
Split a String at the first occurrence of the delimiter. Does not include the delimiter in the result. @param toSplit the string to split @param de
api/src/main/java/io/jsonwebtoken/lang/Strings.java:1055
↓ 1 callers
Method
start
Returns the index in the character sequence to start reading from, taking into account its length. @return The start index in the character sequence
impl/src/main/java/io/jsonwebtoken/impl/io/CharSequenceReader.java:282
↓ 1 callers
Method
startsWithIgnoreCase
Returns {@code true} if the given string starts with the specified case-insensitive prefix, {@code false} otherwise. @param str the String to chec
api/src/main/java/io/jsonwebtoken/lang/Strings.java:459
↓ 1 callers
Method
subject
(String sub)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtBuilder.java:424
↓ 1 callers
Method
subject
(String sub)
impl/src/main/java/io/jsonwebtoken/impl/DelegatingClaimsMutator.java:94
↓ 1 callers
Method
supports
(Object value)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameter.java:24
↓ 1 callers
Method
supports
(T input)
impl/src/main/java/io/jsonwebtoken/impl/lang/ReflectionFunction.java:23
↓ 1 callers
Method
supports
(Key key)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractFamilyJwkFactory.java:51
↓ 1 callers
Method
supportsKeyValues
(JwkContext<?> ctx)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractFamilyJwkFactory.java:69
↓ 1 callers
Method
testTokener
(@SuppressWarnings("SameParameterValue") Reader reader)
extensions/orgjson/src/main/java/io/jsonwebtoken/orgjson/io/OrgJsonDeserializer.java:138
↓ 1 callers
Method
thumbprint
()
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:145
↓ 1 callers
Method
toCert
(final byte[] der)
impl/src/main/java/io/jsonwebtoken/impl/security/JwtX509StringConverter.java:55
↓ 1 callers
Method
toElementList
(Collection<?> c)
impl/src/main/java/io/jsonwebtoken/impl/lang/CollectionConverter.java:59
↓ 1 callers
Method
toJSONArray
(Collection<?> c)
extensions/orgjson/src/main/java/io/jsonwebtoken/orgjson/io/OrgJsonSerializer.java:149
↓ 1 callers
Method
toJSONObject
(Map<?, ?> m)
extensions/orgjson/src/main/java/io/jsonwebtoken/orgjson/io/OrgJsonSerializer.java:133
↓ 1 callers
Method
toKey
()
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:185
↓ 1 callers
Method
toMap
(Collection<? extends V> values, Function<V, K> keyFn)
impl/src/main/java/io/jsonwebtoken/impl/lang/DefaultRegistry.java:31
↓ 1 callers
Method
toPrivateKey
(final byte[] d, Provider provider)
impl/src/main/java/io/jsonwebtoken/impl/security/EdwardsCurve.java:267
↓ 1 callers
Method
toPublicKey
(byte[] x, Provider provider)
impl/src/main/java/io/jsonwebtoken/impl/security/EdwardsCurve.java:253
↓ 1 callers
Method
toRfcSalt
(byte[] inputSalt)
impl/src/main/java/io/jsonwebtoken/impl/security/Pbes2HsAkwAlgorithm.java:154
↓ 1 callers
Method
toRfcSaltPrefix
(byte[] bytes)
impl/src/main/java/io/jsonwebtoken/impl/security/Pbes2HsAkwAlgorithm.java:64
↓ 1 callers
Method
toSpecDate
Returns an RFC-compatible {@link Date} equivalent of the specified object value using heuristics. @param value object to convert to a {@code Date} us
impl/src/main/java/io/jsonwebtoken/impl/lang/JwtDateConverter.java:49
↓ 1 callers
Method
toString
Reads all content from the specified reader and returns it as a single String. @param reader the reader to read characters from @return the reader co
extensions/orgjson/src/main/java/io/jsonwebtoken/orgjson/io/OrgJsonDeserializer.java:148
↓ 1 callers
Method
toStringBuilder
()
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwt.java:50
↓ 1 callers
Method
toThumbprintJson
Returns the JWK's canonically ordered JSON for JWK thumbprint computation as defined by <a href="https://www.rfc-editor.org/rfc/rfc7638#section-3.2">R
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:130
↓ 1 callers
Method
tokenizeToStringArray
Tokenize the given String into a String array via a StringTokenizer. Trims tokens and omits empty tokens. <p>The given delimiters string is supposed t
api/src/main/java/io/jsonwebtoken/lang/Strings.java:1134
↓ 1 callers
Method
transcodeConcatToDER
Transcodes the ECDSA JWS signature into ASN.1/DER format for use by the JCA verifier. @param jwsSignature The JWS signature, consisting of the concat
impl/src/main/java/io/jsonwebtoken/impl/security/EcSignatureAlgorithm.java:303
↓ 1 callers
Method
transcodeDERToConcat
Transcodes the JCA ASN.1/DER-encoded signature into the concatenated R + S format expected by ECDSA JWS. @param derSignature The ASN1./DER-encoded. M
impl/src/main/java/io/jsonwebtoken/impl/security/EcSignatureAlgorithm.java:250
↓ 1 callers
Method
trimLeadingCharacter
Trim all occurrences of the supplied leading character from the given String. @param str the String to check @param leadingCharacter the
api/src/main/java/io/jsonwebtoken/lang/Strings.java:421
↓ 1 callers
Method
trimLeadingWhitespace
Trim leading whitespace from the given String. @param str the String to check @return the trimmed String @see java.lang.Character#isWhitespace
api/src/main/java/io/jsonwebtoken/lang/Strings.java:385
↓ 1 callers
Method
trimWhitespace
Trim leading and trailing whitespace from the given String. @param str the String to check @return the trimmed String @see java.lang.Character#isWhit
api/src/main/java/io/jsonwebtoken/lang/Strings.java:184
↓ 1 callers
Method
type
(String typ)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJweHeaderMutator.java:82
↓ 1 callers
Method
unprotected
(final Payload content)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtBuilder.java:645
↓ 1 callers
Method
updateAAD
(Cipher cipher, InputStream aad)
impl/src/main/java/io/jsonwebtoken/impl/security/AesAlgorithm.java:181
↓ 1 callers
Method
validateExpectedClaims
(Header header, Claims claims)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParser.java:728
↓ 1 callers
Method
validateLengthIfPossible
(SecretKey key)
impl/src/main/java/io/jsonwebtoken/impl/security/AesAlgorithm.java:102
↓ 1 callers
Method
validateTrailingCharacter
Validates whether decoding allows an entire final trailing character that cannot be used for a complete byte. @throws IllegalArgumentException if str
impl/src/main/java/io/jsonwebtoken/impl/io/Base64Codec.java:787
↓ 1 callers
Method
verify
(Signature sig, InputStream payload, byte[] digest)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractSignatureAlgorithm.java:73
↓ 1 callers
Method
withAlgorithmParameters
(CheckedFunction<AlgorithmParameters, R> fn)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:199
↓ 1 callers
Method
withKeyAgreement
(CheckedFunction<KeyAgreement, R> fn)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:179
↓ 1 callers
Method
withKeyFactory
(CheckedFunction<KeyFactory, R> fn)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:167
↓ 1 callers
Method
withKeyGenerator
(CheckedFunction<KeyGenerator, R> fn)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:175
↓ 1 callers
Method
withMac
(CheckedFunction<Mac, R> fn)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:195
↓ 1 callers
Method
withSecretKeyFactory
(CheckedFunction<SecretKeyFactory, R> fn)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:171
↓ 1 callers
Method
wrapFmt
Wraps the specified function to ensure that if any exception occurs, it is of the specified type and/or with the specified message. If no exception o
impl/src/main/java/io/jsonwebtoken/impl/lang/Functions.java:51
↓ 1 callers
Method
write
Writes {@code len} bytes from the specified {@code b} array starting at {@code offset} to this output stream. @param array source byte array @param
impl/src/main/java/io/jsonwebtoken/impl/io/BaseNCodecOutputStream.java:149
↓ 1 callers
Method
writeAndClose
(final OutputStream out, final byte[] data, String exMsg)
impl/src/main/java/io/jsonwebtoken/impl/io/Streams.java:152
↓ 1 callers
Method
x509Chain
(String id, String name)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:48
↓ 1 callers
Method
x509Sha1Thumbprint
(byte[] thumbprint)
impl/src/main/java/io/jsonwebtoken/impl/security/X509BuilderSupport.java:76
↓ 1 callers
Method
x509Sha256Thumbprint
(byte[] thumbprint)
impl/src/main/java/io/jsonwebtoken/impl/security/X509BuilderSupport.java:88
Method
AbstractAsymmetricJwk
(JwkContext<K> ctx, List<Parameter<?>> thumbprintParams)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractAsymmetricJwk.java:39
Method
AbstractAsymmetricJwkBuilder
(JwkContext<K> ctx)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractAsymmetricJwkBuilder.java:59
Method
AbstractAudienceCollection
(P parent, Collection<? extends String> seed)
impl/src/main/java/io/jsonwebtoken/impl/AbstractAudienceCollection.java:31
Method
AbstractCompressionAlgorithm
(String id)
impl/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionAlgorithm.java:62
Method
AbstractCurve
(String id, String jcaName)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractCurve.java:31
Method
AbstractDeserializer
Default constructor, does not initialize any internal state.
api/src/main/java/io/jsonwebtoken/io/AbstractDeserializer.java:45
Method
AbstractEcJwkFactory
(Class<K> keyType, Set<Parameter<?>> params)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractEcJwkFactory.java:59
Method
AbstractFamilyJwkFactory
(String ktyValue, Class<K> keyType, Set<Parameter<?>> params)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractFamilyJwkFactory.java:40
Method
AbstractJwk
@param ctx the backing JwkContext containing the JWK parameter values. @param thumbprintParams the required parameters to include in the
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:68
Method
AbstractJwkBuilder
(JwkContext<K> jwkContext)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwkBuilder.java:53
Method
AbstractPrivateJwk
(JwkContext<K> ctx, List<Parameter<?>> thumbprintParams, M pubJwk)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractPrivateJwk.java:34
Method
AbstractPublicJwk
(JwkContext<K> ctx, List<Parameter<?>> thumbprintParams)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractPublicJwk.java:26
Method
AbstractSecureDigestAlgorithm
(String id, String jcaName)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractSecureDigestAlgorithm.java:31
Method
AbstractSerializer
Default constructor, does not initialize any internal state.
api/src/main/java/io/jsonwebtoken/io/AbstractSerializer.java:35
Method
AbstractSignatureAlgorithm
(String id, String jcaName)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractSignatureAlgorithm.java:37
Method
AbstractX509Context
(Set<Parameter<?>> params)
impl/src/main/java/io/jsonwebtoken/impl/AbstractX509Context.java:29
Method
AesAlgorithm
(String id, final String jcaTransformation, int keyBitLength)
impl/src/main/java/io/jsonwebtoken/impl/security/AesAlgorithm.java:76
Method
AesGcmKeyAlgorithm
(int keyLen)
impl/src/main/java/io/jsonwebtoken/impl/security/AesGcmKeyAlgorithm.java:44
Method
AesWrapKeyAlgorithm
(int keyLen)
impl/src/main/java/io/jsonwebtoken/impl/security/AesWrapKeyAlgorithm.java:37
Method
AlgorithmParametersFactory
()
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:537
Method
Arrays
()
api/src/main/java/io/jsonwebtoken/lang/Arrays.java:28
Method
Assert
()
api/src/main/java/io/jsonwebtoken/lang/Assert.java:27
Method
AsymmetricJwkFactory
(FamilyJwkFactory publicFactory, FamilyJwkFactory privateFactory)
impl/src/main/java/io/jsonwebtoken/impl/security/AsymmetricJwkFactory.java:29
Method
Base64
(boolean urlsafe)
api/src/main/java/io/jsonwebtoken/io/Base64.java:65
Method
Base64Codec
Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode. <p> When encoding the line length is 0 (no chunking), and the en
impl/src/main/java/io/jsonwebtoken/impl/io/Base64Codec.java:423
Method
Base64Decoder
()
api/src/main/java/io/jsonwebtoken/io/Base64Decoder.java:28
Method
Base64Encoder
()
api/src/main/java/io/jsonwebtoken/io/Base64Encoder.java:28
Method
Base64InputStream
Creates a Base64InputStream such that all data read is Base64-decoded from the original provided InputStream. @param inputStream InputStream to wrap.
impl/src/main/java/io/jsonwebtoken/impl/io/Base64InputStream.java:65
Method
Base64OutputStream
Creates a Base64OutputStream such that all data written is Base64-encoded to the original provided OutputStream. @param outputStream OutputStream to
impl/src/main/java/io/jsonwebtoken/impl/io/Base64OutputStream.java:69
Method
Base64Support
(Base64 base64)
api/src/main/java/io/jsonwebtoken/io/Base64Support.java:29
Method
Base64UrlDecoder
()
api/src/main/java/io/jsonwebtoken/io/Base64UrlDecoder.java:26
Method
Base64UrlEncoder
()
api/src/main/java/io/jsonwebtoken/io/Base64UrlEncoder.java:26
Method
Base64UrlStreamEncoder
()
impl/src/main/java/io/jsonwebtoken/impl/io/Base64UrlStreamEncoder.java:27
Method
BaseNCodec
Note {@code lineLength} is rounded down to the nearest multiple of the encoded block size. If {@code chunkSeparatorLength} is zero, then chunking is d
impl/src/main/java/io/jsonwebtoken/impl/io/BaseNCodec.java:326
Method
BaseNCodecInputStream
Create an instance. @param inputStream the input stream @param baseNCodec the codec @param doEncode set to true to perform encoding, else decodin
impl/src/main/java/io/jsonwebtoken/impl/io/BaseNCodecInputStream.java:49
Method
BaseNCodecOutputStream
TODO should this be protected? @param outputStream the underlying output or null. @param basedCodec a BaseNCodec. @param doEncode true to encod
impl/src/main/java/io/jsonwebtoken/impl/io/BaseNCodecOutputStream.java:53
Method
ByteBase64UrlStreamEncoder
(Encoder<byte[], String> delegate)
impl/src/main/java/io/jsonwebtoken/impl/io/ByteBase64UrlStreamEncoder.java:31
← previous
next →
701–800 of 1,993, ranked by callers