MCPcopy Create free account

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

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

↓ 517 callersMethodbuild
Builds a new Elliptic Curve JWK. @return The Elliptic Curve JWK. @throws IllegalStateException If the JWK parameters were
src/main/java/com/nimbusds/jose/jwk/ECKey.java:560
↓ 486 callersMethodtoString
@see #toJSONString
src/main/java/com/nimbusds/jose/jwk/JWK.java:482
↓ 359 callersMethodsize
Returns the size of this JWK. @return The JWK size, in bits.
src/main/java/com/nimbusds/jose/jwk/JWK.java:399
↓ 303 callersMethodadd
(final T alg)
src/main/java/com/nimbusds/jose/AlgorithmFamily.java:52
↓ 301 callersMethodequals
(final Object object)
src/main/java/com/nimbusds/jose/jwk/Curve.java:222
↓ 295 callersMethodgetState
Returns the state of this JWE object. @return The state.
src/main/java/com/nimbusds/jose/JWEObject.java:274
↓ 224 callersMethodgetJCAContext
Returns the Java Cryptography Architecture (JCA) context. May be used to set a specific JCA security provider or secure random generator. @return The
src/main/java/com/nimbusds/jose/jca/JCAAware.java:38
↓ 206 callersMethodget
Retrieves a list of JWKs matching the specified selector. @param jwkSelector A JWK selector. Must not be {@code null}. @param context Optional co
src/main/java/com/nimbusds/jose/jwk/source/JWKSource.java:51
↓ 206 callersMethodgetEncoded
()
src/test/java/com/nimbusds/jose/crypto/RSA1_5Test.java:642
↓ 184 callersMethodgetInstance
Returns a BouncyCastle JCA provider instance. @return The BouncyCastle JCA provider instance.
src/main/java/com/nimbusds/jose/crypto/bc/BouncyCastleProviderSingleton.java:52
↓ 177 callersMethodsupportedEncryptionMethods
Returns the names of the supported encryption methods by the JWE provier. These correspond to the {@code enc} JWE header parameter. @return The suppo
src/main/java/com/nimbusds/jose/JWEProvider.java:53
↓ 172 callersMethodgetInstance
Instantiates a cipher with an (optional) JCA provider. @param name The name of the cipher. Must not be {@code null}. @param provider The JCA prov
src/main/java/com/nimbusds/jose/crypto/CipherHelper.java:46
↓ 150 callersMethodkeyID
Sets the ID ({@code kid}) of the JWK. The key ID can be used to match a specific key. This can be used, for instance, to choose a key within a {@link
src/main/java/com/nimbusds/jose/jwk/ECKey.java:418
↓ 145 callersMethodgetKeyID
Gets the ID ({@code kid}) of this JWK. The key ID can be used to match a specific key. This can be used, for instance, to choose a key within a {@link
src/main/java/com/nimbusds/jose/jwk/JWK.java:260
↓ 128 callersMethodencode
Base64URL-encodes the specified byte array. @param bytes The byte array to encode. Must not be {@code null}. @return The resulting Base64URL object.
src/main/java/com/nimbusds/jose/util/Base64URL.java:79
↓ 126 callersMethodisSupported
Checks if the specified JWS algorithm is supported by the default system JCA provider(s). @param alg The JWS algorithm. Must not be {@code null}. @r
src/main/java/com/nimbusds/jose/jca/JCASupport.java:70
↓ 123 callersMethodgetPayload
Returns the payload of this JOSE object. @return The payload, {@code null} if not available (for an encrypted JWE object that hasn't been dec
src/main/java/com/nimbusds/jose/JOSEObject.java:119
↓ 119 callersMethodparse
Parses a JWE object from the specified string in compact form. The parsed JWE object will be given an {@link State#ENCRYPTED} state. @param s The str
src/main/java/com/nimbusds/jose/JWEObject.java:499
↓ 117 callersMethodencrypt
Encrypts this JWE object with the specified encrypter. The JWE object must be in an {@link State#UNENCRYPTED unencrypted} state. @param encrypter The
src/main/java/com/nimbusds/jose/JWEObject.java:360
↓ 116 callersMethoddecrypt
Decrypts this JWE object with the specified decrypter. The JWE object must be in a {@link State#ENCRYPTED encrypted} state. @param decrypter The JWE
src/main/java/com/nimbusds/jose/JWEObject.java:409
↓ 112 callersMethodserialize
Serialises this JWE 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/JWEObject.java:453
↓ 106 callersMethodgetKey
Gets the Key Encryption Key (KEK). @return The Key Encryption Key.
src/main/java/com/nimbusds/jose/crypto/AESCryptoProvider.java:163
↓ 103 callersMethodgetAlgorithm
()
src/test/java/com/nimbusds/jose/crypto/RSA1_5Test.java:630
↓ 98 callersMethodgetName
Returns the JOSE name of this cryptographic curve. @return The JOSE name.
src/main/java/com/nimbusds/jose/jwk/Curve.java:171
↓ 95 callersMethoddecodeToBigInteger
Decodes this Base64 object to an unsigned big integer. <p>Same as {@code new BigInteger(1, base64.decode())}. @return The resulting big integer.
src/main/java/com/nimbusds/jose/util/Base64.java:91
↓ 93 callersMethodgetKeyUse
Gets the use ({@code use}) of this JWK. @return The key use, {@code null} if not specified or if the key is intended for signing as well as e
src/main/java/com/nimbusds/jose/jwk/JWK.java:224
↓ 81 callersMethodtoString
Returns a string representation of this payload. @return The string representation.
src/main/java/com/nimbusds/jose/Payload.java:367
↓ 79 callersMethodgetProvider
Gets the JCA provider to be used for all operations. @return The JCA provider to be used for all operations where a more specific one is abse
src/main/java/com/nimbusds/jose/jca/JCAContext.java:79
↓ 78 callersMethodgetEncryptionMethod
Gets the encryption method ({@code enc}) parameter. @return The encryption method parameter.
src/main/java/com/nimbusds/jose/JWEHeader.java:929
↓ 77 callersMethodgetModulus
Gets the modulus value ({@code n}) of the RSA key. @return The RSA key modulus. It is represented as the Base64URL encoding of the value's bi
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1631
↓ 76 callersMethodgetPublicExponent
Gets the public exponent ({@code e}) of the RSA key. @return The public RSA key exponent. It is represented as the Base64URL encoding of the
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1643
↓ 73 callersMethoddecode
Decodes this Base64 object to a byte array. @return The resulting byte array.
src/main/java/com/nimbusds/jose/util/Base64.java:78
↓ 72 callersMethodgetAlgorithm
Gets the intended JOSE algorithm ({@code alg}) for this JWK. @return The intended JOSE algorithm, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWK.java:246
↓ 72 callersMethodgetKeyOperations
Gets the operations ({@code key_ops}) for this JWK. @return The key operations, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWK.java:235
↓ 67 callersMethodsetProvider
Sets the JCA provider to be used for all operations. @param provider The JCA provider to be used for all operations where a more spec
src/main/java/com/nimbusds/jose/jca/JCAContext.java:92
↓ 65 callersMethodsupportedJWEAlgorithms
Returns the names of the supported algorithms by the JWE provider instance. These correspond to the {@code alg} JWE header parameter. @return The sup
src/main/java/com/nimbusds/jose/JWEProvider.java:44
↓ 63 callersMethodgetCurve
Returns the cryptographic curve. @return The cryptographic curve.
src/main/java/com/nimbusds/jose/jwk/CurveBasedJWK.java:35
↓ 62 callersMethodgetX509CertChain
Gets the X.509 certificate chain ({@code x5c}) of this JWK. @return The X.509 certificate chain as a unmodifiable list, {@code null} if not s
src/main/java/com/nimbusds/jose/jwk/JWK.java:310
↓ 61 callersMethodsetKeyEncryptionProvider
Sets a specific JCA provider for the key encryption. @param keProvider The specific JCA provider to be used for the key encryption,
src/main/java/com/nimbusds/jose/jca/JWEJCAContext.java:111
↓ 58 callersMethodgetX509CertThumbprint
Gets the X.509 certificate SHA-1 thumbprint ({@code x5t}) of this JWK. @return The X.509 certificate SHA-1 thumbprint, {@code null} if not sp
src/main/java/com/nimbusds/jose/jwk/JWK.java:284
↓ 58 callersMethodsetContentEncryptionProvider
Sets a specific JCA provider for the content encryption. @param ceProvider The specific JCA provider to be used for the content enc
src/main/java/com/nimbusds/jose/jca/JWEJCAContext.java:137
↓ 58 callersMethodsupportedJWSAlgorithms
Returns the names of the supported algorithms by the JWS provider instance. These correspond to the {@code alg} JWS header parameter. @return The sup
src/main/java/com/nimbusds/jose/JWSProvider.java:44
↓ 55 callersMethodmatches
Returns {@code true} if the specified JWK matches. @param key The JSON Web Key (JWK). Must not be {@code null}. @return {@code true} if the JWK mat
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:1034
↓ 52 callersMethodgetX509CertSHA256Thumbprint
Gets the X.509 certificate SHA-256 thumbprint ({@code x5t#S256}) of this JWK. @return The X.509 certificate SHA-256 thumbprint, {@code null} if
src/main/java/com/nimbusds/jose/jwk/JWK.java:298
↓ 51 callersMethodclaim
Sets the specified claim (registered or custom). @param name The name of the claim to set. Must not be {@code null}. @param value The v
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:292
↓ 51 callersMethodgetString
Gets a string member of a JSON object. @param o The JSON object. Must not be {@code null}. @param key The JSON object member key. Must not be {@cod
src/main/java/com/nimbusds/jose/util/JSONObjectUtils.java:240
↓ 49 callersMethodgetType
Gets the type ({@code typ}) parameter. @return The type parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/Header.java:174
↓ 47 callersMethodgetState
Returns the state of this JWS object. @return The state.
src/main/java/com/nimbusds/jose/JWSObject.java:242
↓ 46 callersMethodgetIncludedParams
()
src/main/java/com/nimbusds/jose/JWEHeader.java:1027
↓ 46 callersMethodgetX509CertURL
Gets the X.509 certificate URL ({@code x5u}) of this JWK. @return The X.509 certificate URL, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWK.java:271
↓ 44 callersMethodgetKeyStore
Returns a reference to the underlying key store. @return The underlying key store, {@code null} if none.
src/main/java/com/nimbusds/jose/jwk/JWK.java:325
↓ 44 callersMethodgetPrivateExponent
Gets the private exponent ({@code d}) of the RSA key. @return The private RSA key exponent. It is represented as the Base64URL encoding of th
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1657
↓ 43 callersMethodtoBase64URL
Returns a Base64URL representation of the header. If the header was parsed always returns the original Base64URL (required for JWS validation and auth
src/main/java/com/nimbusds/jose/Header.java:324
↓ 41 callersMethodalgorithm
Sets the intended JOSE algorithm ({@code alg}) for the JWK. @param alg The intended JOSE algorithm, {@code null} if not specified. @retur
src/main/java/com/nimbusds/jose/jwk/ECKey.java:401
↓ 41 callersMethodcustomParam
Sets a custom (non-registered) parameter. @param name The name of the custom parameter. Must not match a registered parameter name and
src/main/java/com/nimbusds/jose/JWSHeader.java:412
↓ 41 callersMethodprivateKey
Sets the private Elliptic Curve key. The alternative method is {@link #d}. @param priv The private EC key, used to obtain the private 'd'
src/main/java/com/nimbusds/jose/jwk/ECKey.java:331
↓ 40 callersMethodgetIncludedParams
Gets the names of all included parameters (registered and custom) in the header instance. @return The included parameters.
src/main/java/com/nimbusds/jose/Header.java:247
↓ 39 callersMethodgetX
Gets the public 'x' coordinate for the elliptic curve point. @return The 'x' coordinate. It is represented as the Base64URL encoding of the c
src/main/java/com/nimbusds/jose/jwk/ECKey.java:997
↓ 39 callersMethodgetY
Gets the public 'y' coordinate for the elliptic curve point. @return The 'y' coordinate. It is represented as the Base64URL encoding of the c
src/main/java/com/nimbusds/jose/jwk/ECKey.java:1009
↓ 38 callersMethodgetCriticalParams
Gets the critical header parameters ({@code crit}) parameter. @return The names of the critical header parameters, as a unmodifiable set, {@c
src/main/java/com/nimbusds/jose/Header.java:197
↓ 38 callersMethodgetCurve
()
src/main/java/com/nimbusds/jose/jwk/ECKey.java:984
↓ 38 callersMethodverify
Checks the signature of this JWS object with the specified verifier. The JWS object must be in a {@link State#SIGNED signed} state. @param verifier T
src/main/java/com/nimbusds/jose/JWSObject.java:345
↓ 37 callersMethodgetHeader
()
src/main/java/com/nimbusds/jose/JWEObject.java:214
↓ 36 callersMethodforAlgorithm
Infers the key type for the specified JOSE algorithm. @param alg The JOSE algorithm. May be {@code null}. @return The key type, {@code null} if it c
src/main/java/com/nimbusds/jose/jwk/KeyType.java:224
↓ 36 callersMethodgetHeader
Gets the JOSE header of the JSON Web Token (JWT). @return The header.
src/main/java/com/nimbusds/jwt/JWT.java:42
↓ 36 callersMethodgetKeyType
Gets the type ({@code kty}) of this JWK. @return The key type.
src/main/java/com/nimbusds/jose/jwk/JWK.java:212
↓ 36 callersMethodkeyUse
Sets the use ({@code use}) of the JWK. @param use The key use, {@code null} if not specified or if the key is intended for signing as well
src/main/java/com/nimbusds/jose/jwk/ECKey.java:371
↓ 35 callersMethodmatches
Returns {@code true} if the specified JOSE object matches. @param joseObject The JOSE object. Must not be {@code null}. @return {@code true} if the
src/main/java/com/nimbusds/jose/proc/JOSEMatcher.java:460
↓ 34 callersMethodcriticalParams
Sets the critical header parameters ({@code crit}) parameter. @param crit The names of the critical header parameters, empty set or {@cod
src/main/java/com/nimbusds/jose/JWSHeader.java:280
↓ 33 callersMethodappend
Appends the specified JWK matcher parameter to a string builder. @param sb The string builder. Must not be {@code null}. @param key The parame
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:1151
↓ 32 callersMethodgetKeys
Gets the keys (ordered) of this JSON Web Key (JWK) set. @return The keys, empty list if none.
src/main/java/com/nimbusds/jose/jwk/JWKSet.java:157
↓ 32 callersMethodsign
Signs this JWS object with the specified signer. The JWS object must be in a {@link State#UNSIGNED unsigned} state. @param signer The JWS signer. Mus
src/main/java/com/nimbusds/jose/JWSObject.java:305
↓ 31 callersMethodgetContentType
Gets the content type ({@code cty}) parameter. @return The content type parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/Header.java:185
↓ 31 callersMethodgetCustomParam
Gets a custom (non-registered) parameter. @param name The name of the custom parameter. Must not be {@code null}. @return The custom par
src/main/java/com/nimbusds/jose/Header.java:211
↓ 31 callersMethodsubject
Sets the subject ({@code sub}) claim. @param sub The subject claim, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:182
↓ 30 callersMethodtoECParameterSpec
Returns the parameter specification for this cryptographic curve. @return The EC parameter specification, {@code null} if it cannot be determ
src/main/java/com/nimbusds/jose/jwk/Curve.java:206
↓ 30 callersMethodtoECPrivateKey
Returns a standard {@code java.security.interfaces.ECPrivateKey} representation of this Elliptic Curve JWK. Uses the default JCA provider. @return Th
src/main/java/com/nimbusds/jose/jwk/ECKey.java:1104
↓ 29 callersMethodbitLength
Returns the bit length of the specified byte length. @param byteLength The byte length. @return The bit length.
src/main/java/com/nimbusds/jose/util/ByteUtils.java:89
↓ 29 callersMethoddecode
Decodes a base 64 or base 64 URL-safe encoded string. May contain line separators. Any illegal characters are ignored. @param b64String The base 64 o
src/main/java/com/nimbusds/jose/util/Base64Codec.java:271
↓ 29 callersMethodgetAudience
Gets the audience ({@code aud}) claim. @return The audience claim, empty list if not specified.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:374
↓ 28 callersMethodgetFieldSize
()
src/main/java/com/nimbusds/jose/jwk/ECParameterTable.java:84
↓ 28 callersMethodparse
Parses a public / private RSA JWK from the specified JSON object string representation. @param s The JSON object string to parse. Must not be {@code
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:2016
↓ 28 callersMethodparse
Parses a DER-encoded X.509 certificate. @param derEncodedCert The DER-encoded X.509 certificate, as a byte array. May be {@code
src/main/java/com/nimbusds/jose/util/X509CertUtils.java:56
↓ 28 callersMethodtoByteArray
Returns a copy of this octet sequence key value as a byte array. @return The key value as a byte array.
src/main/java/com/nimbusds/jose/jwk/OctetSequenceKey.java:466
↓ 27 callersMethodgetAlgorithm
Gets the algorithm ({@code alg}) parameter. @return The algorithm parameter.
src/main/java/com/nimbusds/jose/JWSHeader.java:588
↓ 27 callersMethodgetCustomParams
Gets the custom (non-registered) parameters. @return The custom parameters, as a unmodifiable map, empty map if none.
src/main/java/com/nimbusds/jose/Header.java:223
↓ 27 callersMethodgetIssuer
Gets the issuer ({@code iss}) claim. @return The issuer claim, {@code null} if not specified.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:344
↓ 27 callersMethodparse
Parses a public / private Elliptic Curve JWK from the specified JSON object string representation. @param s The JSON object string to parse. Must not
src/main/java/com/nimbusds/jose/jwk/ECKey.java:1309
↓ 27 callersMethodserialize
Serialises the JSON Web Token (JWT) to its compact format consisting of Base64URL-encoded parts delimited by period ('.') characters. @return The ser
src/main/java/com/nimbusds/jwt/JWT.java:91
↓ 26 callersMethodprocess
(final String jwtString, final C context)
src/main/java/com/nimbusds/jwt/proc/DefaultJWTProcessor.java:271
↓ 26 callersMethodtoECPublicKey
Returns a standard {@code java.security.interfaces.ECPublicKey} representation of this Elliptic Curve JWK. Uses the default JCA provider. @return The
src/main/java/com/nimbusds/jose/jwk/ECKey.java:1041
↓ 25 callersMethodbyteLength
Returns the byte length of the specified bit length. @param bitLength The bit length. @return The byte byte length.
src/main/java/com/nimbusds/jose/util/ByteUtils.java:162
↓ 25 callersMethodgetKeyEncryptionProvider
Gets the specific JCA provider for the key encryption. @return The applicable JCA provider, {@code null} implies the default system provider.
src/main/java/com/nimbusds/jose/jca/JWEJCAContext.java:123
↓ 25 callersMethodtoJSONString
Returns the JSON object string representation of this JWK. @return The JSON object string representation.
src/main/java/com/nimbusds/jose/jwk/JWK.java:472
↓ 24 callersMethodgetPublicKey
Gets the public RSA key. @return The public RSA key.
src/main/java/com/nimbusds/jose/crypto/RSAEncrypter.java:119
↓ 24 callersMethodgetSecureRandom
Gets the secure random generator. Intended for generation of initialisation vectors and other purposes that require a secure random generator. @retur
src/main/java/com/nimbusds/jose/jca/JCAContext.java:106
↓ 24 callersMethodload
Loads a JWK from the specified JCE key store. The JWK can be a public / private {@link RSAKey RSA key}, a public / private {@link ECKey EC key}, or a
src/main/java/com/nimbusds/jose/jwk/JWK.java:606
↓ 23 callersMethodgetClaim
Gets the specified claim (registered or custom). @param name The name of the claim. Must not be {@code null}. @return The value of the claim, {@code
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:460
↓ 22 callersMethodgetD
Gets the private 'd' coordinate for the elliptic curve point. It is represented as the Base64URL encoding of the coordinate's big endian representatio
src/main/java/com/nimbusds/jose/jwk/ECKey.java:1024
↓ 22 callersMethodgetParams
()
src/test/java/com/nimbusds/jose/crypto/ECDHCurveCheckTest.java:63
next →1–100 of 1,840, ranked by callers