MCPcopy Create free account

hub / github.com/felx/nimbus-jose-jwt / functions

Functions1,840 in github.com/felx/nimbus-jose-jwt

↓ 22 callersMethodgetValue
Gets the value of this key type. Values are case sensitive. @return The key type.
src/main/java/com/nimbusds/jose/jwk/KeyType.java:121
↓ 22 callersMethodkeyOperations
Sets the operations ({@code key_ops}) of the JWK. @param ops The key operations, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jose/jwk/ECKey.java:386
↓ 22 callersMethodparse
Parses a JSON object. <p>Specific JSON to Java entity mapping (as per JSON Smart): <ul> <li>JSON true|false map to {@code java.lang.Boolean}.
src/main/java/com/nimbusds/jose/util/JSONObjectUtils.java:65
↓ 22 callersMethodparse
Parses a JSON Web Token (JWT) claims set from the specified JSON object representation. @param json The JSON object to parse. Must not be {@code null
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:868
↓ 22 callersMethodsign
Signs the specified {@link JWSObject#getSigningInput input} of a {@link JWSObject JWS object}. @param header The JSON Web Signature (JWS) heade
src/main/java/com/nimbusds/jose/JWSSigner.java:49
↓ 21 callersMethodareConsistent
Checks if the specified key use and key operations are consistent. @param use The key use. May be {@code null}. @param ops The key operations. May be
src/main/java/com/nimbusds/jose/jwk/KeyUseAndOpsConsistency.java:68
↓ 21 callersMethodgetKeyValue
Returns the value of this octet sequence key. @return The key value. It is represented as the Base64URL encoding of the value's big endian re
src/main/java/com/nimbusds/jose/jwk/OctetSequenceKey.java:455
↓ 21 callersMethodtoRSAPublicKey
Returns a standard {@code java.security.interfaces.RSAPublicKey} representation of this RSA JWK. @return The public RSA key. @throws JOSEException I
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1759
↓ 20 callersMethodgetSubject
Gets the subject ({@code sub}) claim. @return The subject claim, {@code null} if not specified.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:359
↓ 20 callersMethodisPrivate
()
src/main/java/com/nimbusds/jose/jwk/ECKey.java:1243
↓ 20 callersMethodparse
Parses a JWS object from the specified string in compact format. The parsed JWS object will be given a {@link State#SIGNED} state. @param s The strin
src/main/java/com/nimbusds/jose/JWSObject.java:411
↓ 19 callersMethodgetOtherPrimes
Gets the other primes information ({@code oth}) for the private RSA key, should they exist. @return The RSA other primes information, {@code null} or
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1743
↓ 19 callersMethodisAfter
Check if the specified date is after the specified reference, given the maximum accepted negative clock skew. <p>Formula: <pre> return date + clock_
src/main/java/com/nimbusds/jwt/util/DateUtils.java:84
↓ 19 callersMethodisPrivate
()
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1923
↓ 19 callersMethodsafeBitLength
Returns the bit length of the specified byte length, preventing integer overflow. @param byteLength The byte length. @return The bit length. @throw
src/main/java/com/nimbusds/jose/util/ByteUtils.java:105
↓ 19 callersMethodtoJSONObject
Returns the JSON object representation of the claims set. The claims are serialised according to their insertion order. @return The JSON object repre
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:798
↓ 19 callersMethodtoString
()
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:1103
↓ 18 callersMethodcekBitLength
Gets the length of the associated Content Encryption Key (CEK). @return The Content Encryption Key (CEK) bit length, zero if not specified.
src/main/java/com/nimbusds/jose/EncryptionMethod.java:206
↓ 18 callersMethodcreateJWSVerifier
(final JWSHeader header, final Key key)
src/main/java/com/nimbusds/jose/crypto/factories/DefaultJWSVerifierFactory.java:86
↓ 18 callersMethodisPrivate
Returns {@code true} if this JWK contains private or sensitive (non-public) parameters. @return {@code true} if this JWK contains private parameters,
src/main/java/com/nimbusds/jose/jwk/JWK.java:381
↓ 18 callersMethodparse
Parses a JWE algorithm from the specified string. @param s The string to parse. Must not be {@code null}. @return The JWE algorithm (matching standa
src/main/java/com/nimbusds/jose/JWEAlgorithm.java:294
↓ 18 callersMethodparse
Parses a JWS header from the specified JSON object. @param jsonObject The JSON object to parse. Must not be {@code null}. @return
src/main/java/com/nimbusds/jose/JWSHeader.java:606
↓ 18 callersMethodprocess
(final String compactJOSE, final C context)
src/main/java/com/nimbusds/jose/proc/DefaultJOSEProcessor.java:182
↓ 18 callersMethodtoRSAPrivateKey
Returns a standard {@code java.security.interfaces.RSAPrivateKey} representation of this RSA JWK. @return The private RSA key, {@code null} if not sp
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1790
↓ 17 callersMethodgetFirstCRTCoefficient
Gets the first Chinese Remainder Theorem (CRT) coefficient ({@code qi})} of the private RSA key. @return The RSA first CRT coefficient. It is represe
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1730
↓ 17 callersMethodgetFirstFactorCRTExponent
Gets the first factor Chinese Remainder Theorem (CRT) exponent ({@code dp}) of the private RSA key. @return The RSA first factor CRT exponent. It is
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1700
↓ 17 callersMethodgetFirstPrimeFactor
Gets the first prime factor ({@code p}) of the private RSA key. @return The RSA first prime factor. It is represented as the Base64URL encodi
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1671
↓ 17 callersMethodgetSecondFactorCRTExponent
Gets the second factor Chinese Remainder Theorem (CRT) exponent ({@code dq}) of the private RSA key. @return The RSA second factor CRT exponent. It i
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1715
↓ 17 callersMethodgetSecondPrimeFactor
Gets the second prime factor ({@code q}) of the private RSA key. @return The RSA second prime factor. It is represented as the Base64URL enco
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1685
↓ 17 callersMethodselect
Selects the keys from the specified JWK set according to the matcher's criteria. @param jwkSet The JWK set. May be {@code null}. @return The selecte
src/main/java/com/nimbusds/jose/jwk/JWKSelector.java:78
↓ 16 callersMethodaddAll
(final Collection<? extends T> algs)
src/main/java/com/nimbusds/jose/AlgorithmFamily.java:58
↓ 16 callersMethodencodeToString
Encodes a byte array into a base 64 encoded string. @param byteArray The bytes to convert. If {@code null} or length 0 an empty arra
src/main/java/com/nimbusds/jose/util/Base64Codec.java:253
↓ 16 callersMethodforJWSAlgorithm
Gets the cryptographic curve(s) for the specified JWS algorithm. @param alg The JWS algorithm. May be {@code null}. @return The curve(s), {@code nul
src/main/java/com/nimbusds/jose/jwk/Curve.java:322
↓ 16 callersMethodgetAlgorithm
Gets the algorithm ({@code alg}) parameter. @return The algorithm parameter.
src/main/java/com/nimbusds/jose/JWEHeader.java:918
↓ 16 callersMethodgetJWTClaimsSet
()
src/main/java/com/nimbusds/jwt/PlainJWT.java:91
↓ 16 callersMethodgetMACProvider
Gets the specific JCA provider for the MAC computation (where required by the JWE encryption method). @return The applicable JCA provider, {@code nul
src/main/java/com/nimbusds/jose/jca/JWEJCAContext.java:178
↓ 16 callersMethodgetProcessedCriticalHeaderParams
Returns the names of the critical ({@code crit}) header parameters that are understood and processed by the JWS verifier / JWE decrypter. @return The
src/main/java/com/nimbusds/jose/CriticalHeaderParamsAware.java:47
↓ 16 callersMethodgetX
Gets the public 'x' parameter. @return The public 'x' parameter.
src/main/java/com/nimbusds/jose/jwk/OctetKeyPair.java:605
↓ 16 callersMethodissuer
Sets the issuer ({@code iss}) claim. @param iss The issuer claim, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:168
↓ 16 callersMethodsetJWSKeySelector
(final JWSKeySelector<C> jwsKeySelector)
src/main/java/com/nimbusds/jwt/proc/DefaultJWTProcessor.java:155
↓ 15 callersMethodcomputeDigestCycles
Computes the required digest (hashing) cycles for the specified message digest length and derived key length. @param digestLengthBits The length of t
src/main/java/com/nimbusds/jose/crypto/ConcatKDF.java:237
↓ 15 callersMethodcomputeEncodedLength
Computes the base 64 encoded character length for the specified input byte length. @param inputLength The input byte length. @param urlSafe {@cod
src/main/java/com/nimbusds/jose/util/Base64Codec.java:77
↓ 15 callersMethodgetCurve
()
src/main/java/com/nimbusds/jose/jwk/OctetKeyPair.java:593
↓ 15 callersMethodgetParsedBase64URL
Gets the original Base64URL used to create this header. @return The parsed Base64URL, {@code null} if the header was created from scratch.
src/main/java/com/nimbusds/jose/Header.java:235
↓ 15 callersMethodhasKeyID
Returns {@code true} if keys with a set use are matched. @return {@code true} if keys with a set ID are matched, else {@code false}.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:925
↓ 15 callersMethodjwkURL
Sets the JSON Web Key (JWK) Set URL ({@code jku}) parameter. @param jku The JSON Web Key (JWK) Set URL parameter, {@code null} if not spec
src/main/java/com/nimbusds/jose/JWSHeader.java:295
↓ 15 callersMethodparse
Parses a JWS algorithm from the specified string. @param s The string to parse. Must not be {@code null}. @return The JWS algorithm (matching standa
src/main/java/com/nimbusds/jose/JWSAlgorithm.java:231
↓ 15 callersMethodreadFileToString
Reads the content of the specified file into a string. @param file The file. Must not be {@code null}. @param charset The expected character set.
src/main/java/com/nimbusds/jose/util/IOUtils.java:73
↓ 15 callersMethodtoBytes
Returns a four byte array representation of the specified integer. @param intValue The integer to be converted. @return The byte array representatio
src/main/java/com/nimbusds/jose/util/IntegerUtils.java:37
↓ 14 callersMethodgetContentEncryptionProvider
Gets the specific JCA provider for the content encryption. @return The applicable JCA provider, {@code null} implies the default system provi
src/main/java/com/nimbusds/jose/jca/JWEJCAContext.java:149
↓ 14 callersMethodgetEphemeralPublicKey
Gets the Ephemeral Public Key ({@code epk}) parameter. @return The Ephemeral Public Key parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:941
↓ 14 callersMethodgetJWKURL
Gets the JSON Web Key (JWK) Set URL ({@code jku}) parameter. @return The JSON Web Key (JWK) Set URL parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/CommonSEHeader.java:174
↓ 14 callersMethodgetKeySizes
Returns the key sizes. @return The key sizes in bits, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:1010
↓ 14 callersMethodgetOID
Returns the standard object identifier (OID) of this cryptographic curve. @return The OID, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/Curve.java:194
↓ 14 callersMethodgetStdName
Returns the standard name of this cryptographic curve. @return The standard name, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/Curve.java:182
↓ 14 callersMethodisPrivate
()
src/main/java/com/nimbusds/jose/jwk/OctetKeyPair.java:659
↓ 14 callersMethodresolveAlgorithm
Resolves the matching EC DSA algorithm for the specified EC key (public or private). @param ecKey The EC key. Must not be {@code null}. @return The
src/main/java/com/nimbusds/jose/crypto/ECDSA.java:51
↓ 14 callersMethodserialize
Serialises this JWS object to its compact format consisting of Base64URL-encoded parts delimited by period ('.') characters. It must be in a {@link St
src/main/java/com/nimbusds/jose/JWSObject.java:391
↓ 14 callersMethodverify
Verifies the specified {@link JWSObject#getSignature signature} of a {@link JWSObject JWS object}. @param header The JSON Web Signature (JWS) h
src/main/java/com/nimbusds/jose/JWSVerifier.java:53
↓ 13 callersMethodagreementPartyUInfo
Sets the agreement PartyUInfo ({@code apu}) parameter. @param apu The agreement PartyUInfo parameter, {@code null} if not specified. @ret
src/main/java/com/nimbusds/jose/JWEHeader.java:527
↓ 13 callersMethodagreementPartyVInfo
Sets the agreement PartyVInfo ({@code apv}) parameter. @param apv The agreement PartyVInfo parameter, {@code null} if not specified. @ret
src/main/java/com/nimbusds/jose/JWEHeader.java:542
↓ 13 callersMethodcomputeThumbprint
Computes the SHA-256 thumbprint of this JWK. See RFC 7638 for more information. @return The SHA-256 thumbprint. @throws JOSEException If the SHA-256
src/main/java/com/nimbusds/jose/jwk/JWK.java:350
↓ 13 callersMethodencode
Base64-encodes the specified byte array. @param bytes The byte array to encode. Must not be {@code null}. @return The resulting Base64 object.
src/main/java/com/nimbusds/jose/util/Base64.java:170
↓ 13 callersMethodencodeCoordinate
Returns the Base64URL encoding of the specified elliptic curve 'x', 'y' or 'd' coordinate, with leading zero padding up to the specified field size in
src/main/java/com/nimbusds/jose/jwk/ECKey.java:595
↓ 13 callersMethodgenerateCEK
Generates a Content Encryption Key (CEK) for the specified JOSE encryption method. @param enc The encryption method. Must not be {@code null}.
src/main/java/com/nimbusds/jose/crypto/ContentCryptoProvider.java:102
↓ 13 callersMethodgenerateECJWK
(final Curve curve)
src/test/java/com/nimbusds/jose/crypto/ECDHCryptoTest.java:55
↓ 13 callersMethodgetD
Gets the private 'd' parameter. @return The private 'd' coordinate, {@code null} if not specified (for a public key).
src/main/java/com/nimbusds/jose/jwk/OctetKeyPair.java:617
↓ 13 callersMethodgetExpirationTime
Gets the expiration time ({@code exp}) claim. @return The expiration time, {@code null} if not specified.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:398
↓ 13 callersMethodgetHeader
()
src/main/java/com/nimbusds/jose/JWSObject.java:179
↓ 13 callersMethodgetParsedString
Gets the original parsed string used to create the JSON Web Token (JWT). @see #getParsedParts @return The parsed string used to create the JWT, {@co
src/main/java/com/nimbusds/jwt/JWT.java:79
↓ 13 callersMethodgetStringClaim
Gets the specified claim (registered or custom) as {@link java.lang.String}. @param name The name of the claim. Must not be {@code null}. @return Th
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:477
↓ 13 callersMethodidentifier
Returns the identifier of this public key use. @return The identifier.
src/main/java/com/nimbusds/jose/jwk/KeyUse.java:80
↓ 13 callersMethodnormalizeEncodedString
Normalises a base 64 encoded string by ensuring any URL-safe characters are replaced with their regular base64 representation and any truncated '=' pa
src/main/java/com/nimbusds/jose/util/Base64Codec.java:110
↓ 13 callersMethodsplit
Splits a compact serialised JOSE object into its Base64URL-encoded parts. @param s The compact serialised JOSE object to split. Must not be
src/main/java/com/nimbusds/jose/JOSEObject.java:211
↓ 13 callersMethodtoJSONObject
Returns a JSON object representation of this JWK. This method is intended to be called from extending classes. <p>Example: <pre> { "kty" : "RSA",
src/main/java/com/nimbusds/jose/jwk/JWK.java:418
↓ 13 callersMethodx509CertChain
Sets the X.509 certificate chain ({@code x5c}) of the JWK. @param x5c The X.509 certificate chain as a unmodifiable list, {@code null} if
src/main/java/com/nimbusds/jose/jwk/ECKey.java:530
↓ 12 callersMethodcountIllegalChars
Counts the illegal / separator characters in the specified base 64 or base 64 URL-safe encoded string. @param b64String The base 64 or base 64 URL-sa
src/main/java/com/nimbusds/jose/util/Base64Codec.java:151
↓ 12 callersMethodgetAlgorithms
Returns the JOSE algorithms to match. @return The JOSE algorithms, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:890
↓ 12 callersMethodgetAuthenticationTag
Gets the authentication tag. @return The authentication tag.
src/main/java/com/nimbusds/jose/crypto/AuthenticatedCipherText.java:84
↓ 12 callersMethodgetCipherText
Gets the cipher text. @return The cipher text.
src/main/java/com/nimbusds/jose/crypto/AuthenticatedCipherText.java:73
↓ 12 callersMethodgetClaims
Gets the claims (registered and custom). <p>Note that the registered claims Expiration-Time ({@code exp}), Not-Before-Time ({@code nbf}) and Issued-A
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:786
↓ 12 callersMethodgetJWK
Gets the JSON Web Key (JWK) ({@code jwk}) parameter. @return The JSON Web Key (JWK) parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/CommonSEHeader.java:186
↓ 12 callersMethodgetKeyIDs
Returns the key IDs to match. @return The key IDs, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:901
↓ 12 callersMethodgetKeyTypes
Returns the key types to match. @return The key types, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:857
↓ 12 callersMethodparse
Parses an octet sequence JWK from the specified JSON object string representation. @param s The JSON object string to parse. Must not be {@code null}
src/main/java/com/nimbusds/jose/jwk/OctetSequenceKey.java:570
↓ 12 callersMethodsubArray
Returns a portion of the specified byte array. @param byteArray The byte array. Must not be {@code null}. @param beginIndex The beginning index, inc
src/main/java/com/nimbusds/jose/util/ByteUtils.java:74
↓ 12 callersMethodx509CertThumbprint
Sets the X.509 certificate SHA-1 thumbprint ({@code x5t}) of the JWK. @param x5t The X.509 certificate SHA-1 thumbprint, {@code null} if n
src/main/java/com/nimbusds/jose/jwk/ECKey.java:498
↓ 12 callersMethodx509CertURL
Sets the X.509 certificate URL ({@code x5u}) of the JWK. @param x5u The X.509 certificate URL, {@code null} if not specified. @return Thi
src/main/java/com/nimbusds/jose/jwk/ECKey.java:482
↓ 11 callersMethodaudience
Sets the audience ({@code aud}) claim. @param aud The audience claim, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:197
↓ 11 callersMethodcompressionAlgorithm
Sets the compression algorithm ({@code zip}) parameter. @param zip The compression algorithm parameter, {@code null} if not specified. @r
src/main/java/com/nimbusds/jose/JWEHeader.java:512
↓ 11 callersMethodexpirationTime
Sets the expiration time ({@code exp}) claim. @param exp The expiration time, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:231
↓ 11 callersMethodgetKeyOperations
Returns the key operations to match. @return The key operations, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:879
↓ 11 callersMethodgetKeyUses
Returns the public key uses to match. @return The public key uses, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:868
↓ 11 callersMethodhasKeyUse
Returns {@code true} if keys with a set use are matched. @return {@code true} if keys with a set use are matched, else {@code false}.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:913
↓ 11 callersMethodisBefore
Checks if the specified date is before the specified reference, given the maximum accepted positive clock skew. <p>Formula: <pre> return date - cloc
src/main/java/com/nimbusds/jwt/util/DateUtils.java:119
↓ 11 callersMethodnotBeforeTime
Sets the not-before ({@code nbf}) claim. @param nbf The not-before claim, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:246
↓ 11 callersMethodparse
Parses the specified string representing a JSON Web Key (JWK) set. @param s The string to parse. Must not be {@code null}. @return The JWK set. @th
src/main/java/com/nimbusds/jose/jwk/JWKSet.java:301
↓ 10 callersMethodcompute
Computes a Hash-based Message Authentication Code (HMAC) for the specified secret and message. @param alg The Java Cryptography Architecture (JC
src/main/java/com/nimbusds/jose/crypto/HMAC.java:90
↓ 10 callersMethodcreateECKeyPair
(final AlgorithmParameterSpec spec)
src/test/java/com/nimbusds/jose/crypto/ECDSARoundTripTest.java:117
↓ 10 callersMethodcreateJWEDecrypter
(final JWEHeader header, final Key key)
src/main/java/com/nimbusds/jose/crypto/factories/DefaultJWEDecrypterFactory.java:107
← previousnext →101–200 of 1,840, ranked by callers