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
↓ 2 callers
Method
noFamily
(Key key, String kty)
impl/src/main/java/io/jsonwebtoken/impl/security/DispatchingJwkFactory.java:104
↓ 2 callers
Method
normalize
@since 0.10.0
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParser.java:721
↓ 2 callers
Method
nullSafeClassName
Determine the class name for the given object. <p>Returns <code>"null"</code> if <code>obj</code> is <code>null</code>. @param obj the object to intr
api/src/main/java/io/jsonwebtoken/lang/Objects.java:659
↓ 2 callers
Method
nullSafeFlush
Iterate over the specified {@link Flushable} instances, invoking {@link Flushable#flush()} on each one, ignoring any potential {@link IOException}s.
api/src/main/java/io/jsonwebtoken/lang/Objects.java:1020
↓ 2 callers
Method
octetKey
Ensures the builder will create an {@link OctetPublicJwk} for the specified Edwards-curve {@code PublicKey} argument. The {@code PublicKey} must be a
api/src/main/java/io/jsonwebtoken/security/DynamicJwkBuilder.java:274
↓ 2 callers
Method
parseSignedContent
Parses the {@code jws} argument, expected to be a cryptographically-signed content JWS. If the JWS creator set the (optional) {@link Header#getContent
api/src/main/java/io/jsonwebtoken/JwtParser.java:268
↓ 2 callers
Method
privateKeyPkcs8Prefix
(int byteLength, byte[] ASN1_OID, boolean ber)
impl/src/main/java/io/jsonwebtoken/impl/security/EdwardsCurve.java:85
↓ 2 callers
Method
privateKeySpec
(byte[] d, boolean standard)
impl/src/main/java/io/jsonwebtoken/impl/security/EdwardsCurve.java:261
↓ 2 callers
Method
propagate
(CheckedFunction<T, R> fn, String msg)
impl/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionAlgorithm.java:43
↓ 2 callers
Method
reader
(byte[] bytes)
impl/src/main/java/io/jsonwebtoken/impl/io/Streams.java:61
↓ 2 callers
Method
refresh
()
impl/src/main/java/io/jsonwebtoken/impl/security/DefaultJwkSetBuilder.java:70
↓ 2 callers
Method
remove
(Object key)
impl/src/main/java/io/jsonwebtoken/impl/ParameterMap.java:199
↓ 2 callers
Method
replace
(Parameter<?> param)
impl/src/main/java/io/jsonwebtoken/impl/ParameterMap.java:84
↓ 2 callers
Method
replace
(Registry<String, ? extends Parameter<?>> registry, Parameter<?> param)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:93
↓ 2 callers
Method
resolveSigningKey
Returns the signing key that should be used to validate a digital signature for the Claims JWS with the specified header and claims. @param header th
api/src/main/java/io/jsonwebtoken/SigningKeyResolver.java:63
↓ 2 callers
Method
resolveSigningKeyBytes
Convenience method invoked by {@link #resolveSigningKey(JwsHeader, Claims)} that obtains the necessary signing key bytes. This implementation simply
api/src/main/java/io/jsonwebtoken/SigningKeyResolverAdapter.java:100
↓ 2 callers
Method
root
If the specified {@code key} is a {@link KeySupplier}, the 'root' (lowest level) key that may exist in a {@code KeySupplier} chain is returned, otherw
impl/src/main/java/io/jsonwebtoken/impl/security/KeysBridge.java:65
↓ 2 callers
Method
run
(Callable<V> c, String ioExMsg)
impl/src/main/java/io/jsonwebtoken/impl/io/Streams.java:160
↓ 2 callers
Method
self
()
impl/src/main/java/io/jsonwebtoken/impl/io/AbstractParserBuilder.java:32
↓ 2 callers
Method
setClaimsExpected
(boolean claimsExpected)
impl/src/main/java/io/jsonwebtoken/impl/Payload.java:101
↓ 2 callers
Method
setIdThumbprintAlgorithm
(HashAlgorithm alg)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:41
↓ 2 callers
Method
setIv
Sets the initialization vector used during encryption. @param iv the initialization vector used during encryption. @return the AeadResult for method
api/src/main/java/io/jsonwebtoken/security/AeadResult.java:52
↓ 2 callers
Method
setTag
Sets the AEAD authentication tag. @param tag the AEAD authentication tag. @return the AeadResult for method chaining.
api/src/main/java/io/jsonwebtoken/security/AeadResult.java:44
↓ 2 callers
Method
setType
(String type)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:47
↓ 2 callers
Method
shaSize
(int orderBitLength)
impl/src/main/java/io/jsonwebtoken/impl/security/EcSignatureAlgorithm.java:70
↓ 2 callers
Method
sign
(byte[] aad, byte[] iv, InputStream ciphertext, byte[] macKeyBytes)
impl/src/main/java/io/jsonwebtoken/impl/security/HmacAesAeadAlgorithm.java:138
↓ 2 callers
Method
size
()
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:190
↓ 2 callers
Method
stringSet
(String id, String name)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:58
↓ 2 callers
Method
toDate
Returns a {@link Date} equivalent of the specified object value using heuristics. @param v the object value to represent as a Date. @return a {@link
impl/src/main/java/io/jsonwebtoken/impl/lang/JwtDateConverter.java:76
↓ 2 callers
Method
toList
(JSONArray a)
extensions/orgjson/src/main/java/io/jsonwebtoken/orgjson/io/OrgJsonDeserializer.java:88
↓ 2 callers
Method
toMap
(JSONObject o)
extensions/orgjson/src/main/java/io/jsonwebtoken/orgjson/io/OrgJsonDeserializer.java:75
↓ 2 callers
Method
toObjectArray
Convert the given array (which may be a primitive array) to an object array (if necessary of primitive wrapper objects). <p>A <code>null</code> source
api/src/main/java/io/jsonwebtoken/lang/Objects.java:255
↓ 2 callers
Method
toString
Serializes the specified org.json instance a JSON String. @param o the org.json instance to convert to a String @return the JSON String
extensions/orgjson/src/main/java/io/jsonwebtoken/orgjson/io/OrgJsonSerializer.java:167
↓ 2 callers
Method
tokenize
(Reader reader)
impl/src/main/java/io/jsonwebtoken/impl/JwtTokenizer.java:42
↓ 2 callers
Method
typeString
(Jwk<?> jwk)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkConverter.java:87
↓ 2 callers
Method
unexpectedIAE
(Jwk<?> jwk)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkConverter.java:116
↓ 2 callers
Method
unsupportedKey
(Key key, Exception e)
impl/src/main/java/io/jsonwebtoken/impl/security/DefaultDynamicJwkBuilder.java:82
↓ 2 callers
Method
uri
(String id, String name)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:62
↓ 2 callers
Method
validate
(Key key, boolean encryption)
impl/src/main/java/io/jsonwebtoken/impl/security/DefaultRsaKeyAlgorithm.java:57
↓ 2 callers
Method
validateCharacter
Validates whether decoding the final trailing character is possible in the context of the set of possible base 64 values. <p> The character is valid i
impl/src/main/java/io/jsonwebtoken/impl/io/Base64Codec.java:772
↓ 2 callers
Method
validateKey
(Key key, boolean signing)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractSecureDigestAlgorithm.java:39
↓ 2 callers
Method
validateLength
(SecretKey key, int requiredBitLength, boolean propagate)
impl/src/main/java/io/jsonwebtoken/impl/security/AesAlgorithm.java:112
↓ 2 callers
Method
validateLocalePart
(String localePart)
api/src/main/java/io/jsonwebtoken/lang/Strings.java:870
↓ 2 callers
Method
values
()
impl/src/main/java/io/jsonwebtoken/impl/lang/DelegatingMap.java:54
↓ 2 callers
Method
verifySignature
(final TokenizedJwt tokenized, final JwsHeader jwsHeader, final String alg,
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParser.java:268
↓ 2 callers
Method
verifyWith
(SecretKey key)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParserBuilder.java:267
↓ 2 callers
Method
writeValue
(Object o, java.io.Writer writer)
extensions/gson/src/main/java/io/jsonwebtoken/gson/io/GsonSerializer.java:78
↓ 2 callers
Method
x509Url
Sets the {@code x5u} (X.509 URL) that refers to a resource containing the X.509 public key certificate or certificate chain of the associated JWT or J
api/src/main/java/io/jsonwebtoken/security/X509Mutator.java:65
↓ 1 callers
Method
add
(String key, Object value)
impl/src/main/java/io/jsonwebtoken/impl/security/DefaultJwkSetBuilder.java:58
↓ 1 callers
Method
algorithm
Sets the JWK <a href="https://www.rfc-editor.org/rfc/rfc7517.html#section-4.4">{@code alg} (Algorithm) Parameter</a>. <p>The {@code alg} (algorithm)
api/src/main/java/io/jsonwebtoken/security/JwkBuilder.java:61
↓ 1 callers
Method
andThen
Returns a composed function that first applies the {@code before} function to its input, and then applies the {@code after} function to the result. If
impl/src/main/java/io/jsonwebtoken/impl/lang/Functions.java:73
↓ 1 callers
Method
apply
(Parameter<T> param, Object rawValue)
impl/src/main/java/io/jsonwebtoken/impl/ParameterMap.java:165
↓ 1 callers
Method
apply
(Reader in)
impl/src/main/java/io/jsonwebtoken/impl/io/JsonObjectDeserializer.java:47
↓ 1 callers
Method
arrayToDelimitedString
Convenience method to return a String array as a delimited (e.g. CSV) String. E.g. useful for <code>toString()</code> implementations. @param arr t
api/src/main/java/io/jsonwebtoken/lang/Strings.java:1316
↓ 1 callers
Method
ascii
Returns {@code new String(asciiBytes, StandardCharsets.US_ASCII)}. @param asciiBytes US_ASCII bytes to use with the {@code String} constructor. @retu
api/src/main/java/io/jsonwebtoken/lang/Strings.java:274
↓ 1 callers
Method
assertActive
()
impl/src/main/java/io/jsonwebtoken/impl/security/PasswordSpec.java:43
↓ 1 callers
Method
assertAlgorithmName
(SecretKey key, boolean signing)
impl/src/main/java/io/jsonwebtoken/impl/security/DefaultMacAlgorithm.java:130
↓ 1 callers
Method
assertBytePayload
(byte[] payload)
impl/src/main/java/io/jsonwebtoken/impl/security/DefaultMessage.java:31
↓ 1 callers
Method
assertIterations
(int iterations)
impl/src/main/java/io/jsonwebtoken/impl/security/Pbes2HsAkwAlgorithm.java:83
↓ 1 callers
Method
assertJcaCurve
(ECKey key)
impl/src/main/java/io/jsonwebtoken/impl/security/ECCurve.java:63
↓ 1 callers
Method
assertKeyBitLength
(byte[] bytes, MacAlgorithm alg)
impl/src/main/java/io/jsonwebtoken/impl/security/SecretJwkFactory.java:73
↓ 1 callers
Method
assertSymmetric
(Identifiable alg)
impl/src/main/java/io/jsonwebtoken/impl/security/SecretJwkFactory.java:90
↓ 1 callers
Method
audienceSingle
(String aud)
impl/src/main/java/io/jsonwebtoken/impl/DelegatingClaimsMutator.java:116
↓ 1 callers
Method
b64Url
(Encoder<OutputStream, OutputStream> encoder)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtBuilder.java:156
↓ 1 callers
Method
b64Url
(Decoder<InputStream, InputStream> decoder)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParserBuilder.java:151
↓ 1 callers
Method
builder
(SecretKey key)
impl/src/main/java/io/jsonwebtoken/impl/security/KeysBridge.java:49
↓ 1 callers
Method
castClaimValue
(String name, Object value, Class<T> requiredType)
impl/src/main/java/io/jsonwebtoken/impl/DefaultClaims.java:129
↓ 1 callers
Method
clean
Returns the byte array unaltered if it is non-null and has a positive length, otherwise {@code null}. @param bytes the byte array to check. @return t
api/src/main/java/io/jsonwebtoken/lang/Arrays.java:69
↓ 1 callers
Method
clear
()
impl/src/main/java/io/jsonwebtoken/impl/DefaultJweHeaderMutator.java:62
↓ 1 callers
Method
clock
(Clock clock)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParserBuilder.java:213
↓ 1 callers
Method
clockSkewSeconds
(long seconds)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParserBuilder.java:235
↓ 1 callers
Method
close
()
impl/src/main/java/io/jsonwebtoken/impl/io/TeeOutputStream.java:35
↓ 1 callers
Method
commaDelimitedListToStringArray
Convert a CSV list into an array of Strings. @param str the input String @return an array of Strings, or the empty array in case of empty input
api/src/main/java/io/jsonwebtoken/lang/Strings.java:1240
↓ 1 callers
Method
compactIfPossible
(String cty)
impl/src/main/java/io/jsonwebtoken/impl/lang/CompactMediaTypeIdConverter.java:29
↓ 1 callers
Method
compress
(final OutputStream out)
impl/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionAlgorithm.java:100
↓ 1 callers
Method
computeHashCode
Compute and return the JWK hashCode. As JWKs are immutable, this value will be cached as a final constant upon JWK instantiation. This uses the JWK's
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:95
↓ 1 callers
Method
concatToDER
Converts the specified concat-encoded signature to a DER-encoded signature. @param jwsSignature concat-encoded signature @return correpsonding DER-en
impl/src/main/java/io/jsonwebtoken/impl/security/EcSignatureAlgorithm.java:320
↓ 1 callers
Method
contains
Returns {@code true} if the specified key is known to represent a point on the curve, {@code false} otherwise. @param key the key to test @return {@c
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractCurve.java:77
↓ 1 callers
Method
containsAlphabetOrPad
Tests a given byte array to see if it contains any characters within the alphabet or PAD. <p> Intended for use in checking line-ending arrays @param
impl/src/main/java/io/jsonwebtoken/impl/io/BaseNCodec.java:388
↓ 1 callers
Method
content
(String content)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtBuilder.java:337
↓ 1 callers
Method
contentType
(String cty)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJweHeaderMutator.java:77
↓ 1 callers
Method
contentType
Sets the compact <a href="https://www.rfc-editor.org/rfc/rfc7515.html#section-4.1.10"> <code>cty</code> (Content Type)</a> header parameter value, use
api/src/main/java/io/jsonwebtoken/HeaderMutator.java:95
↓ 1 callers
Method
createDefaultFactories
()
impl/src/main/java/io/jsonwebtoken/impl/security/DispatchingJwkFactory.java:31
↓ 1 callers
Method
createGetBytesFunction
(Class<? extends RuntimeException> clazz)
impl/src/main/java/io/jsonwebtoken/impl/security/X509BuilderSupport.java:48
↓ 1 callers
Method
createHeader
Returns a new {@link Header} instance with the specified map state. @param m the header state @return a new header instance.
impl/src/main/java/io/jsonwebtoken/impl/TokenizedJwt.java:51
↓ 1 callers
Method
createJwkFromKey
(JwkContext<K> ctx)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractFamilyJwkFactory.java:117
↓ 1 callers
Method
createJwkFromValues
(JwkContext<SecretKey> ctx)
impl/src/main/java/io/jsonwebtoken/impl/security/SecretJwkFactory.java:98
↓ 1 callers
Method
createJwkFromValues
(JwkContext<K> ctx)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractFamilyJwkFactory.java:120
↓ 1 callers
Method
createOtherInfo
(int keydatalen, String AlgorithmID, byte[] PartyUInfo, byte[] PartyVInfo)
impl/src/main/java/io/jsonwebtoken/impl/security/EcdhKeyAlgorithm.java:108
↓ 1 callers
Method
createPositiveCapacity
Create a positive capacity at least as large the minimum required capacity. If the minimum capacity is negative then this throws an OutOfMemoryError a
impl/src/main/java/io/jsonwebtoken/impl/io/BaseNCodec.java:249
↓ 1 callers
Method
decode
Convert the specified encoded data value into the desired data type. @param t the encoded data @return the resulting expected data @throws DecodingEx
api/src/main/java/io/jsonwebtoken/io/Decoder.java:34
↓ 1 callers
Method
decodeFast
Decodes a BASE64-encoded {@code CharSequence} that is known to be reasonably well formatted. The preconditions are:<br> + The sequence must have a lin
api/src/main/java/io/jsonwebtoken/io/Base64.java:238
↓ 1 callers
Method
decompress
(CompressionAlgorithm alg)
impl/src/main/java/io/jsonwebtoken/impl/Payload.java:124
↓ 1 callers
Method
decompress
(InputStream is)
impl/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionAlgorithm.java:107
↓ 1 callers
Method
decrypt
Decrypts ciphertext and authenticates any {@link DecryptAeadRequest#getAssociatedData() associated data}, writing the decrypted plaintext to the provi
api/src/main/java/io/jsonwebtoken/security/AeadAlgorithm.java:90
↓ 1 callers
Method
derivePublic
(final JwkContext<RSAPrivateKey> ctx)
impl/src/main/java/io/jsonwebtoken/impl/security/RsaPrivateJwkFactory.java:85
↓ 1 callers
Method
derivePublic
Computes the PublicKey associated with the specified Edwards-curve PrivateKey. @param pk the Edwards-curve {@code PrivateKey} to inspect. @return the
impl/src/main/java/io/jsonwebtoken/impl/security/EdwardsCurve.java:304
↓ 1 callers
Method
digest
(final Request<InputStream> request)
impl/src/main/java/io/jsonwebtoken/impl/security/DefaultHashAlgorithm.java:37
↓ 1 callers
Method
doBuild
()
impl/src/main/java/io/jsonwebtoken/impl/security/ProvidedKeyBuilder.java:40
↓ 1 callers
Method
doBuild
()
impl/src/main/java/io/jsonwebtoken/impl/io/AbstractParserBuilder.java:58
← previous
next →
401–500 of 1,993, ranked by callers