MCPcopy Index your code

hub / github.com/jwtk/jjwt / functions

Functions1,993 in github.com/jwtk/jjwt

↓ 281 callersMethodnotNull
Assert that an object is not <code>null</code> . <pre class="code">Assert.notNull(clazz, "The class must not be null");</pre> @param object the obje
api/src/main/java/io/jsonwebtoken/lang/Assert.java:92
↓ 154 callersMethodgetId
Returns the JWTs <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.7"> <code>jti</code></a> (JWT ID) value or {@code null} if not prese
api/src/main/java/io/jsonwebtoken/Claims.java:142
↓ 94 callersMethodbuild
Returns the resulting Map object from this MapBuilder. @return the resulting Map object from this MapBuilder.
api/src/main/java/io/jsonwebtoken/lang/Maps.java:78
↓ 75 callersMethodequals
(Object obj)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwe.java:48
↓ 69 callersMethodhasText
Assert that the given String has valid text content; that is, it must not be <code>null</code> and must contain at least one non-whitespace character.
api/src/main/java/io/jsonwebtoken/lang/Assert.java:149
↓ 63 callersMethodget
()
impl/src/main/java/io/jsonwebtoken/impl/lang/CheckedSupplier.java:23
↓ 61 callersMethodput
(String s, Object o)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:248
↓ 59 callersMethodtoString
Returns the {@link #toByteArray()} value as a Base64URL-encoded string.
api/src/main/java/io/jsonwebtoken/security/JwkThumbprint.java:53
↓ 57 callersMethodadd
Sets the specified key/value pair in the map, overwriting any existing entry with the same key. A {@code null} or empty value will remove the entry fr
api/src/main/java/io/jsonwebtoken/lang/MapMutator.java:62
↓ 56 callersMethodgetName
()
impl/src/main/java/io/jsonwebtoken/impl/lang/Nameable.java:20
↓ 53 callersMethodgetKey
()
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:75
↓ 52 callersMethodget
(String jcaName, Provider provider)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:345
↓ 52 callersMethodnotEmpty
Assert that an array has elements; that is, it must not be <code>null</code> and must have at least one element. <pre class="code">Assert.notEmpty(arr
api/src/main/java/io/jsonwebtoken/lang/Assert.java:207
↓ 51 callersMethodlength
Returns the length of the array, or {@code 0} if the array is {@code null}. @param a the possibly-null array @param <T> the type of elements in the
api/src/main/java/io/jsonwebtoken/lang/Arrays.java:38
↓ 40 callersMethodhasText
Check whether the given CharSequence has actual text. More specifically, returns <code>true</code> if the string not <code>null</code>, its length is
api/src/main/java/io/jsonwebtoken/lang/Strings.java:117
↓ 35 callersMethodisEmpty
Return <code>true</code> if the supplied Collection is <code>null</code> or empty. Otherwise, return <code>false</code>. @param collection the Collec
api/src/main/java/io/jsonwebtoken/lang/Collections.java:209
↓ 33 callersMethodapply
(T t)
impl/src/main/java/io/jsonwebtoken/impl/lang/Function.java:20
↓ 33 callersMethodgetPayload
Returns the Payload for a JWS or Ciphertext for a JWE. @return the Payload for a JWS or Ciphertext for a JWE.
impl/src/main/java/io/jsonwebtoken/impl/TokenizedJwt.java:36
↓ 32 callersMethodforKey
Returns the value assigned the specified key or throws an {@code IllegalArgumentException} if there is no associated value. If a value is not require
api/src/main/java/io/jsonwebtoken/lang/Registry.java:49
↓ 31 callersMethodget
(Registry<String, ?> registry, String id)
api/src/main/java/io/jsonwebtoken/Jwts.java:59
↓ 31 callersMethodlength
(byte[] bytes)
impl/src/main/java/io/jsonwebtoken/impl/lang/Bytes.java:197
↓ 29 callersMethodstateNotNull
Asserts that the specified {@code value} is not null, otherwise throws an {@link IllegalStateException} with the specified {@code msg}. Intended to b
api/src/main/java/io/jsonwebtoken/lang/Assert.java:551
↓ 26 callersMethodequals
(Object obj)
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractJwk.java:278
↓ 25 callersMethodand
Add a new entry to this map builder @param key the key of an map entry to be added @param value the value of map entry to be added @return the curr
api/src/main/java/io/jsonwebtoken/lang/Maps.java:71
↓ 25 callersMethodget
(Parameter<T> param)
impl/src/main/java/io/jsonwebtoken/impl/lang/RequiredParameterReader.java:51
↓ 24 callersMethodisEmpty
(byte[] bytes)
impl/src/main/java/io/jsonwebtoken/impl/lang/Bytes.java:193
↓ 23 callersMethodnewInstance
Creates and returns a new instance of the class with the specified fully qualified class name using the classes default no-argument constructor. @par
api/src/main/java/io/jsonwebtoken/lang/Classes.java:171
↓ 22 callersMethodclean
Returns the specified string without leading or trailing whitespace, or {@code null} if there are no remaining characters. @param str the string to c
api/src/main/java/io/jsonwebtoken/lang/Strings.java:216
↓ 22 callersMethodencode
(String data)
impl/src/main/java/io/jsonwebtoken/impl/TextCodec.java:42
↓ 22 callersMethodget
Returns a result. @return a result.
api/src/main/java/io/jsonwebtoken/lang/Supplier.java:36
↓ 22 callersMethodisInstanceOf
Assert that the provided object is an instance of the provided class. <pre class="code">Assert.instanceOf(Foo.class, foo);</pre> @param <T> the typ
api/src/main/java/io/jsonwebtoken/lang/Assert.java:362
↓ 22 callersMethodjca
()
impl/src/main/java/io/jsonwebtoken/impl/security/CryptoAlgorithm.java:59
↓ 22 callersMethodof
(byte[] bytes)
impl/src/main/java/io/jsonwebtoken/impl/io/Streams.java:53
↓ 22 callersMethodput
Convenience method to put a value for an idiomatic param. @param param the param representing the property name to set @param value the value to set
impl/src/main/java/io/jsonwebtoken/impl/ParameterMap.java:135
↓ 21 callersMethodname
()
impl/src/main/java/io/jsonwebtoken/impl/lang/RequiredParameterReader.java:39
↓ 21 callersMethodwrite
(final OutputStream out, final byte[] bytes, String exMsg)
impl/src/main/java/io/jsonwebtoken/impl/io/Streams.java:137
↓ 20 callersMethodget
(Parameter<T> param)
impl/src/main/java/io/jsonwebtoken/impl/DefaultMutableJweHeader.java:33
↓ 20 callersMethodimmutable
Shorter null-safe convenience alias for {@link java.util.Collections#unmodifiableList(List)} so both classes don't need to be imported. @param m ma
api/src/main/java/io/jsonwebtoken/lang/Collections.java:127
↓ 20 callersMethodtoByteArray
Returns the actual thumbprint (aka digest) byte array value. @return the actual thumbprint (aka digest) byte array value.
api/src/main/java/io/jsonwebtoken/security/JwkThumbprint.java:40
↓ 19 callersMethodbitLength
(byte[] bytes)
impl/src/main/java/io/jsonwebtoken/impl/lang/Bytes.java:201
↓ 19 callersMethodhasLength
Check that the given CharSequence is neither <code>null</code> nor of length 0. Note: Will return <code>true</code> for a CharSequence that purely con
api/src/main/java/io/jsonwebtoken/lang/Strings.java:84
↓ 19 callersMethodisEmpty
Returns {@code true} if the specified argument: <ol> <li>is {@code null}, or</li> <li>is a CharSequence and {@link Strings#hasText(CharSequenc
api/src/main/java/io/jsonwebtoken/lang/Objects.java:107
↓ 19 callersMethodremove
Removes the specified element from the collection. @param e the element to remove. @return the mutator/builder for method chaining.
api/src/main/java/io/jsonwebtoken/lang/CollectionMutator.java:60
↓ 19 callersMethodsetConverter
(Converter<T, ?> converter)
impl/src/main/java/io/jsonwebtoken/impl/lang/ParameterBuilder.java:38
↓ 18 callersMethodbuilder
Returns a new {@link JwtBuilder} instance that can be configured and then used to create JWT compact serialized strings. @return a new {@link JwtBuil
api/src/main/java/io/jsonwebtoken/Jwts.java:1076
↓ 18 callersMethodself
()
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractSecurityBuilder.java:28
↓ 17 callersMethodapplyTo
Converts the specified (Java idiomatic type) value to the canonical RFC-required data type. @param a the preferred idiomatic value @return the canoni
impl/src/main/java/io/jsonwebtoken/impl/lang/Converter.java:26
↓ 17 callersMethodbuilder
(Class<T> type)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:54
↓ 17 callersMethodgetPayload
Returns the JWT payload, either a {@code byte[]} or a {@code Claims} instance. If the payload is a byte array, and <em>if</em> the JWT creator set th
api/src/main/java/io/jsonwebtoken/Jwt.java:86
↓ 17 callersMethodsetId
(String id)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:39
↓ 17 callersMethodsetName
(String name)
impl/src/main/java/io/jsonwebtoken/impl/lang/ParameterBuilder.java:30
↓ 17 callersMethodutf8
Returns the specified string's UTF-8 bytes, or {@code null} if the string is {@code null}. @param s the string to obtain UTF-8 bytes @return the spec
api/src/main/java/io/jsonwebtoken/lang/Strings.java:245
↓ 16 callersMethodequals
(T a, T b, Parameter<T> param)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:121
↓ 16 callersMethodnewContext
(JwkContext<?> src, K key)
impl/src/main/java/io/jsonwebtoken/impl/security/JwkFactory.java:24
↓ 15 callersMethodcast
(Object value)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameter.java:26
↓ 15 callersMethodclear
Clears the array by filling it with all zeros. Does nothing with a null or empty argument. @param bytes the (possibly null or empty) byte array to cl
impl/src/main/java/io/jsonwebtoken/impl/lang/Bytes.java:188
↓ 15 callersMethodexecute
(Class<T> clazz, CheckedFunction<T, R> callback, Provider provider)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:113
↓ 15 callersMethodof
Returns a type-safe immutable {@code List} containing the specified array elements. @param elements array elements to include in the list @param <T>
api/src/main/java/io/jsonwebtoken/lang/Collections.java:78
↓ 15 callersMethodsize
Returns the collection's size or {@code 0} if the collection is {@code null}. @param collection the collection to check. @return the collection's siz
api/src/main/java/io/jsonwebtoken/lang/Collections.java:220
↓ 15 callersMethodstring
(String id, String name)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:40
↓ 15 callersMethodtoKey
Represents the JWK as its corresponding Java {@link Key} instance for use with Java cryptographic APIs. @return the JWK's corresponding Java {@link K
api/src/main/java/io/jsonwebtoken/security/Jwk.java:176
↓ 14 callersMethodcontains
(Key key)
impl/src/main/java/io/jsonwebtoken/impl/security/ECCurve.java:129
↓ 14 callersMethodgetHeader
Returns the JWT {@link Header} or {@code null} if not present. @return the JWT {@link Header} or {@code null} if not present.
api/src/main/java/io/jsonwebtoken/Jwt.java:62
↓ 14 callersMethodgetJcaName
()
impl/src/main/java/io/jsonwebtoken/impl/security/AbstractCurve.java:41
↓ 14 callersMethodgetPublic
Returns the pair's public key. @return the pair's public key.
api/src/main/java/io/jsonwebtoken/security/KeyPair.java:36
↓ 14 callersMethodisTrue
Assert a boolean expression, throwing <code>IllegalArgumentException</code> if the test result is <code>false</code>. <pre class="code">Assert.isTrue(
api/src/main/java/io/jsonwebtoken/lang/Assert.java:39
↓ 14 callersMethodkeyPair
Ensures the builder will create a {@link PrivateJwk} for the specified Java {@link KeyPair} argument. This method is provided for congruence with the
api/src/main/java/io/jsonwebtoken/security/DynamicJwkBuilder.java:241
↓ 14 callersMethodself
()
impl/src/main/java/io/jsonwebtoken/impl/AbstractX509Context.java:33
↓ 14 callersMethodwithCipher
(CheckedFunction<Cipher, R> fn)
impl/src/main/java/io/jsonwebtoken/impl/security/JcaTemplate.java:163
↓ 13 callersMethodapplyFrom
Converts the specified canonical (RFC-compliant data type) value to the preferred Java idiomatic type. @param b the canonical value to convert @retur
impl/src/main/java/io/jsonwebtoken/impl/lang/Converter.java:34
↓ 13 callersMethodbitsMsg
(long bitLength)
impl/src/main/java/io/jsonwebtoken/impl/lang/Bytes.java:228
↓ 13 callersMethoddecode
(String encoded)
impl/src/main/java/io/jsonwebtoken/impl/TextCodec.java:46
↓ 13 callersMethodgetCurve
(final ParameterReadable reader)
impl/src/main/java/io/jsonwebtoken/impl/security/OctetJwkFactory.java:37
↓ 13 callersMethodkey
Configures the parser's supported {@link KeyAlgorithm}s used to obtain a JWE's decryption key. If the parser encounters a JWE {@link JweHeader#getAlgo
api/src/main/java/io/jsonwebtoken/JwtParserBuilder.java:643
↓ 13 callersMethodstartsWith
(byte[] src, byte[] prefix)
impl/src/main/java/io/jsonwebtoken/impl/lang/Bytes.java:140
↓ 12 callersMethodbytes
(String id, String name)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:66
↓ 12 callersMethodforName
Attempts to load the specified class name from the current thread's {@link Thread#getContextClassLoader() context class loader}, then the current Clas
api/src/main/java/io/jsonwebtoken/lang/Classes.java:69
↓ 12 callersMethodindexOf
(byte[] source, byte[] target)
impl/src/main/java/io/jsonwebtoken/impl/lang/Bytes.java:94
↓ 12 callersMethodparser
Returns a new {@link JwtParserBuilder} instance that can be configured to create an immutable/thread-safe {@link JwtParser}. @return a new {@link Jwt
api/src/main/java/io/jsonwebtoken/Jwts.java:1085
↓ 12 callersMethodsupports
(Key key)
impl/src/main/java/io/jsonwebtoken/impl/security/FamilyJwkFactory.java:25
↓ 11 callersMethodaccept
(T t, U u)
impl/src/main/java/io/jsonwebtoken/impl/lang/BiConsumer.java:20
↓ 11 callersMethodclaims
()
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtBuilder.java:123
↓ 11 callersMethodcompact
Actually builds the JWT and serializes it to a compact, URL-safe string according to the <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-
api/src/main/java/io/jsonwebtoken/JwtBuilder.java:1033
↓ 11 callersMethodget
Returns the JWTs claim ({@code claimName}) value as a {@code requiredType} instance, or {@code null} if not present. <p>JJWT only converts simple Str
api/src/main/java/io/jsonwebtoken/Claims.java:165
↓ 11 callersMethodgetAlgorithm
()
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:53
↓ 11 callersMethodgetDigest
Returns the Signature for JWS or AAD Tag for JWE. @return the Signature for JWS or AAD Tag for JWE.
impl/src/main/java/io/jsonwebtoken/impl/TokenizedJwt.java:43
↓ 11 callersMethodput
(Parameter<F> param, F value)
impl/src/main/java/io/jsonwebtoken/impl/DelegatingClaimsMutator.java:45
↓ 11 callersMethodput
(Parameter<F> param, F value)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJweHeaderMutator.java:57
↓ 10 callersMethodasList
Converts the specified array to a {@link List}. If the array is empty, an empty list will be returned. @param a the array to represent as a list @p
api/src/main/java/io/jsonwebtoken/lang/Arrays.java:49
↓ 10 callersMethodclear
Removes all elements in the collection. @return the mutator/builder for method chaining.
api/src/main/java/io/jsonwebtoken/lang/CollectionMutator.java:52
↓ 10 callersMethodcompareTo
(T value, T requirement)
api/src/main/java/io/jsonwebtoken/lang/Assert.java:466
↓ 10 callersMethodencodeAndWrite
(String name, Map<String, ?> map, OutputStream out)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtBuilder.java:795
↓ 10 callersMethodgetEncoded
(Key key)
impl/src/main/java/io/jsonwebtoken/impl/security/KeysBridge.java:143
↓ 10 callersMethodgetParams
()
impl/src/main/java/io/jsonwebtoken/impl/security/PrivateECKey.java:53
↓ 10 callersMethodgetPrivate
Returns the pair's private key. @return the pair's private key.
api/src/main/java/io/jsonwebtoken/security/KeyPair.java:43
↓ 10 callersMethodgetProvider
()
impl/src/main/java/io/jsonwebtoken/impl/security/JwkContext.java:83
↓ 10 callersMethodgetValue
Returns the JWA algorithm name constant. @return the JWA algorithm name constant.
api/src/main/java/io/jsonwebtoken/SignatureAlgorithm.java:157
↓ 10 callersMethodparse
(Reader reader)
impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParser.java:361
↓ 10 callersMethodparse
Parse the specified character sequence into a Java object. @param input the character sequence to parse into a Java object. @return the Java object r
api/src/main/java/io/jsonwebtoken/io/Parser.java:35
↓ 10 callersMethodregistry
(Parameter<?>... params)
impl/src/main/java/io/jsonwebtoken/impl/lang/Parameters.java:78
next →1–100 of 1,993, ranked by callers