MCPcopy Create free account

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

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

↓ 10 callersMethoddecodeToString
Decodes this Base64 object to a string. @return The resulting string, in the UTF-8 character set.
src/main/java/com/nimbusds/jose/util/Base64.java:102
↓ 10 callersMethodencodeDataWithLength
Encodes the specified data as {@code data.length || data}. @param data The data to encode, may be {@code null}. @return The encoded data.
src/main/java/com/nimbusds/jose/crypto/ConcatKDF.java:290
↓ 10 callersMethodgetExpectedJWSAlgorithm
Returns the expected JWS algorithm. @return The expected JWS algorithm.
src/main/java/com/nimbusds/jose/proc/JWSVerificationKeySelector.java:74
↓ 10 callersMethodgetJCAContext
()
src/main/java/com/nimbusds/jose/crypto/factories/DefaultJWEDecrypterFactory.java:100
↓ 10 callersMethodgetPublicKey
Gets the public RSA key. @return The public RSA key.
src/main/java/com/nimbusds/jose/crypto/RSASSAVerifier.java:126
↓ 10 callersMethodread
()
src/main/java/com/nimbusds/jose/util/BoundedInputStream.java:100
↓ 10 callersMethodsetPayload
Sets the payload of this JOSE object. @param payload The payload, {@code null} if not available (e.g. for an encrypted JWE object).
src/main/java/com/nimbusds/jose/JOSEObject.java:107
↓ 10 callersMethodunsupportedJWEAlgorithm
Returns a message that the specified JWE algorithm is not supported. @param unsupported The unsupported JWE algorithm. Must not be
src/main/java/com/nimbusds/jose/crypto/AlgorithmSupportMessage.java:96
↓ 10 callersMethodx509CertSHA256Thumbprint
Sets the X.509 certificate SHA-256 thumbprint ({@code x5t#S256}) of the JWK. @param x5t256 The X.509 certificate SHA-256 thumbprint, {@
src/main/java/com/nimbusds/jose/jwk/ECKey.java:515
↓ 9 callersMethodconcat
Concatenates the specified byte arrays. @param byteArrays The byte arrays to concatenate, may be {@code null}. @return The resulti
src/main/java/com/nimbusds/jose/util/ByteUtils.java:42
↓ 9 callersMethodd
Sets the private 'd' coordinate for the elliptic curve point. The alternative method is {@link #privateKey}. @param d The private 'd' coordinate. It
src/main/java/com/nimbusds/jose/jwk/ECKey.java:313
↓ 9 callersMethodderiveSharedSecret
Derives a shared secret (also called 'Z') from the specified ECDH key agreement. @param publicKey The public EC key, i.e. the consumer's public EC
src/main/java/com/nimbusds/jose/crypto/ECDH.java:153
↓ 9 callersMethodencodeStringData
Encodes the specified string data as {@code data.length || data}. @param data The string data, UTF-8 encoded. May be {@code null}. @return The encod
src/main/java/com/nimbusds/jose/crypto/ConcatKDF.java:276
↓ 9 callersMethodgetAlgorithm
Gets the algorithm ({@code alg}) parameter. @return {@link Algorithm#NONE}.
src/main/java/com/nimbusds/jose/PlainHeader.java:351
↓ 9 callersMethodgetGeneric
Gets a generic 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
src/main/java/com/nimbusds/jose/util/JSONObjectUtils.java:117
↓ 9 callersMethodgetIssueTime
Gets the issued-at ({@code iat}) claim. @return The issued-at claim, {@code null} if not specified.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:428
↓ 9 callersMethodgetJWKURLs
Returns the JWK URLs to match. @return The JWK URLs, {@code null} if not specified.
src/main/java/com/nimbusds/jose/proc/JOSEMatcher.java:436
↓ 9 callersMethodgetKeyIDs
Returns the key IDs to match. @return The key IDs, {@code null} if not specified.
src/main/java/com/nimbusds/jose/proc/JOSEMatcher.java:447
↓ 9 callersMethodgetMaxKeySize
Returns the maximum key size. @return The maximum key size in bits, zero implies no maximum size limit.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:999
↓ 9 callersMethodgetMinKeySize
Returns the minimum key size. @return The minimum key size in bits, zero implies no minimum size limit.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:974
↓ 9 callersMethodisPrivateOnly
Returns {@code true} if only private keys are matched. @return {@code true} if only private keys are matched, else {@code false}.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:937
↓ 9 callersMethodisPublicOnly
Returns {@code true} if only public keys are matched. @return {@code true} if only public keys are selected, else {@code false}.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:949
↓ 9 callersMethodissueTime
Sets the issued-at ({@code iat}) claim. @param iat The issued-at claim, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:261
↓ 9 callersMethodkeyType
Sets a single key type to match. @param kty The key type, {@code null} if not specified. @return This builder.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:231
↓ 9 callersMethodparse
Parses a signed JSON Web Token (JWT) from the specified string in compact format. @param s The string to parse. Must not be {@code null}. @return Th
src/main/java/com/nimbusds/jwt/SignedJWT.java:107
↓ 9 callersMethodsetDeferredCriticalHeaderParams
Sets the names of the critical ({@code crit}) header parameters that are deferred to the application for processing. @param defCritHeaders The names
src/main/java/com/nimbusds/jose/crypto/CriticalHeaderParamsDeferral.java:81
↓ 9 callersMethodsetJWEKeySelector
(final JWEKeySelector<C> jweKeySelector)
src/main/java/com/nimbusds/jwt/proc/DefaultJWTProcessor.java:169
↓ 9 callersMethodtoPublicJWK
Returns a copy of this RSA JWK with any private values removed. @return The copied public RSA JWK.
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:1947
↓ 8 callersMethodcontentType
Sets the content type ({@code cty}) parameter. @param cty The content type parameter, {@code null} if not specified. @return This builder
src/main/java/com/nimbusds/jose/JWSHeader.java:264
↓ 8 callersMethodencrypt
Encrypts the specified clear text (content). @param header The final JWE header. Must not be {@code null}. @param clearText The clear text t
src/main/java/com/nimbusds/jose/crypto/ContentCryptoProvider.java:156
↓ 8 callersMethodforStdName
Gets the cryptographic curve for the specified standard name. @param stdName The standard curve name. May be {@code null}. @return The curve, {@code
src/main/java/com/nimbusds/jose/jwk/Curve.java:271
↓ 8 callersMethodgenerateRSAPublicKey
()
src/test/java/com/nimbusds/jose/proc/DefaultJWSVerifierFactoryTest.java:122
↓ 8 callersMethodget
Gets the parameter specification for the specified elliptic curve. @param curve The JWK elliptic curve. May be {@code null}. @return The EC paramete
src/main/java/com/nimbusds/jose/jwk/ECParameterTable.java:137
↓ 8 callersMethodget
Gets the contained item. @return The item, {@code null} if none.
src/main/java/com/nimbusds/jose/util/Container.java:69
↓ 8 callersMethodgetAESKey
Gets the extracted encryption key. @return The extracted encryption key.
src/main/java/com/nimbusds/jose/crypto/CompositeKey.java:153
↓ 8 callersMethodgetAlgorithms
Returns the JOSE algorithms to match. @return The JOSE algorithms, {@code null} if not specified.
src/main/java/com/nimbusds/jose/proc/JOSEMatcher.java:414
↓ 8 callersMethodgetCompressionAlgorithm
Gets the compression algorithm ({@code zip}) parameter. @return The compression algorithm parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:953
↓ 8 callersMethodgetContent
Gets the content of this resource. @return The content, empty string if none.
src/main/java/com/nimbusds/jose/util/Resource.java:67
↓ 8 callersMethodgetContentType
Gets the content type of this resource. @return The content type, {@code null} if not specified.
src/main/java/com/nimbusds/jose/util/Resource.java:78
↓ 8 callersMethodgetCurves
Returns the curves to match (for EC and OKP keys). @return The curves, {@code null} if not specified.
src/main/java/com/nimbusds/jose/jwk/JWKMatcher.java:1021
↓ 8 callersMethodgetEncryptedKey
Returns the encrypted key of this JWE object. @return The encrypted key, {@code null} not applicable or the JWE object has not been encrypted
src/main/java/com/nimbusds/jose/JWEObject.java:227
↓ 8 callersMethodgetJOSEClasses
Returns the JOSE classes to match. @return The JOSE classes, {@code null} if not specified.
src/main/java/com/nimbusds/jose/proc/JOSEMatcher.java:403
↓ 8 callersMethodgetJWTClaimsSet
()
src/main/java/com/nimbusds/jwt/EncryptedJWT.java:90
↓ 8 callersMethodgetKeyByKeyId
Gets the key from this JSON Web Key (JWK) set as identified by its Key ID (kid) member. <p>If more than one key exists in the JWK Set with the same i
src/main/java/com/nimbusds/jose/jwk/JWKSet.java:175
↓ 8 callersMethodgetMACKey
Gets the extracted MAC key. @return The extracted MAC key.
src/main/java/com/nimbusds/jose/crypto/CompositeKey.java:131
↓ 8 callersMethodgetPBES2Count
Gets the PBES2 count ({@code p2c}) parameter. @return The PBES2 count parameter, zero if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:999
↓ 8 callersMethodgetPBES2Salt
Gets the PBES2 salt ({@code p2s}) parameter. @return The PBES2 salt parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:988
↓ 8 callersMethodgetSecret
Gets the secret bytes. @return The secret bytes.
src/main/java/com/nimbusds/jose/crypto/MACProvider.java:141
↓ 8 callersMethodkeyStore
Sets the underlying key store. @param keyStore Reference to the underlying key store, {@code null} if none. @return This builder.
src/main/java/com/nimbusds/jose/jwk/ECKey.java:545
↓ 8 callersMethodload
Loads a public / private Elliptic Curve JWK from the specified JCA key store. Requires BouncyCastle. <p><strong>Important:</strong> The X.509 certifi
src/main/java/com/nimbusds/jose/jwk/ECKey.java:1464
↓ 8 callersMethodload
Loads a public / private RSA JWK from the specified JCA key store. <p><strong>Important:</strong> The X.509 certificate is not validated! @param key
src/main/java/com/nimbusds/jose/jwk/RSAKey.java:2183
↓ 8 callersMethodparse
Parses a JWE 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/JWEHeader.java:1146
↓ 8 callersMethodparse
Parses a public / private Octet Key Pair 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/OctetKeyPair.java:718
↓ 8 callersMethodretrieveResource
(final URL url)
src/main/java/com/nimbusds/jose/util/DefaultResourceRetriever.java:83
↓ 8 callersMethodtoString
Returns a Base64 string representation of this object. The string will be chunked into 76 character blocks separated by CRLF. @return The Base64 stri
src/main/java/com/nimbusds/jose/util/Base64.java:127
↓ 8 callersMethodunsupportedJWSAlgorithm
Returns a message that the specified JWS algorithm is not supported. @param unsupported The unsupported JWS algorithm. Must not be
src/main/java/com/nimbusds/jose/crypto/AlgorithmSupportMessage.java:79
↓ 7 callersMethodclose
()
src/main/java/com/nimbusds/jose/util/BoundedInputStream.java:160
↓ 7 callersMethodcreateJWKMatcher
Creates a JWK matcher for the expected JWS algorithm and the specified JWS header. @param jwsHeader The JWS header. Must not be {@code null}. @retur
src/main/java/com/nimbusds/jose/proc/JWSVerificationKeySelector.java:88
↓ 7 callersMethodgetAgreementPartyUInfo
Gets the agreement PartyUInfo ({@code apu}) parameter. @return The agreement PartyUInfo parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:965
↓ 7 callersMethodgetAgreementPartyVInfo
Gets the agreement PartyVInfo ({@code apv}) parameter. @return The agreement PartyVInfo parameter, {@code null} if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:977
↓ 7 callersMethodgetCompatibleAlgorithms
Returns the compatible JWS HMAC algorithms for the specified secret length. @param secretLength The secret length in bits. Must not be negative. @re
src/main/java/com/nimbusds/jose/crypto/MACSigner.java:98
↓ 7 callersMethodgetDateClaim
Gets the specified claim (registered or custom) as {@link java.util.Date}. The claim may be represented by a Date object or a number of a seconds sinc
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:673
↓ 7 callersMethodgetEncryptionMethods
Returns the JOSE encryption methods to match. @return The JOSE encryption methods, {@code null} if not specified.
src/main/java/com/nimbusds/jose/proc/JOSEMatcher.java:425
↓ 7 callersMethodgetJWTClaimsSetVerifier
()
src/main/java/com/nimbusds/jwt/proc/DefaultJWTProcessor.java:204
↓ 7 callersMethodgetJWTClaimsVerifier
()
src/main/java/com/nimbusds/jwt/proc/DefaultJWTProcessor.java:219
↓ 7 callersMethodgetNotBeforeTime
Gets the not-before ({@code nbf}) claim. @return The not-before claim, {@code null} if not specified.
src/main/java/com/nimbusds/jwt/JWTClaimsSet.java:413
↓ 7 callersMethodgetRequirement
Gets the implementation requirement of this algorithm. @return The implementation requirement, {@code null} if not known.
src/main/java/com/nimbusds/jose/Algorithm.java:114
↓ 7 callersMethodgetS
()
src/test/java/com/nimbusds/jose/crypto/ECDHCurveCheckTest.java:83
↓ 7 callersMethodgetSignature
Returns the signature of this JWS object. @return The signature, {@code null} if the JWS object is not signed yet.
src/main/java/com/nimbusds/jose/JWSObject.java:231
↓ 7 callersMethodgetSizeLimit
Gets the HTTP entity size limit. @return The HTTP entity size limit, in bytes, zero for infinite.
src/main/java/com/nimbusds/jose/util/RestrictedResourceRetriever.java:68
↓ 7 callersMethodheaderPasses
Returns {@code true} if the specified header passes the critical parameters check. @param header The JWS or JWE header to check. Must not be
src/main/java/com/nimbusds/jose/crypto/CriticalHeaderParamsDeferral.java:102
↓ 7 callersMethodkeyIDFromThumbprint
Sets the ID ({@code kid}) of the JWK to its SHA-256 JWK thumbprint (RFC 7638). The key ID can be used to match a specific key. This can be used, for i
src/main/java/com/nimbusds/jose/jwk/ECKey.java:438
↓ 7 callersMethodloadHSMProvider
(final String hsmConfig)
src/test/java/com/nimbusds/jose/crypto/HSMTest.java:78
↓ 7 callersMethodselectJWSKeys
(final JWSHeader jwsHeader, final C context)
src/main/java/com/nimbusds/jose/proc/JWSVerificationKeySelector.java:115
↓ 7 callersMethodsetJWSKeySelector
(final JWSKeySelector<C> jwsKeySelector)
src/main/java/com/nimbusds/jose/proc/DefaultJOSEProcessor.java:133
↓ 7 callersMethodsetSecureRandom
Sets a specific secure random generator for the initialisation vector and other purposes requiring a random number. @param randomGen The secure rando
src/main/java/com/nimbusds/jose/jca/JCAContext.java:119
↓ 7 callersMethodsupportedJWEAlgorithms
()
src/main/java/com/nimbusds/jose/crypto/factories/DefaultJWEDecrypterFactory.java:86
↓ 7 callersMethodtoJWSObject
Returns a JWS object representation of this payload. Intended for signed then encrypted JOSE objects. @return The JWS object representation, {@code n
src/main/java/com/nimbusds/jose/Payload.java:445
↓ 6 callersMethodareEqual
Checks the specified arrays for equality in constant time. Intended to mitigate timing attacks. @param a The first array. Must not be {@code null}. @
src/main/java/com/nimbusds/jose/crypto/utils/ConstantTimeUtils.java:40
↓ 6 callersMethodcompute
Computes the Additional Authenticated Data (AAD) for the specified JWE header. @param jweHeader The JWE header. Must not be {@code null}. @return Th
src/main/java/com/nimbusds/jose/crypto/AAD.java:49
↓ 6 callersMethodcreateDataArray
()
src/test/java/com/nimbusds/jose/util/BoundedInputStreamTest.java:31
↓ 6 callersMethodcreateJWKMatcher
Creates a JWK matcher for the expected JWE algorithms and the specified JWE header. @param jweHeader The JWE header. Must not be {@code null}. @retu
src/main/java/com/nimbusds/jose/proc/JWEDecryptionKeySelector.java:113
↓ 6 callersMethoddecrypt
Decrypts the specified cipher text. @param header The JWE header. Must not be {@code null}. @param encryptedKey The encrypted key, {@code null}
src/main/java/com/nimbusds/jose/crypto/ContentCryptoProvider.java:244
↓ 6 callersMethodencodeIntData
Encodes the specified integer data as a four byte array. @param data The integer data to encode. @return The encoded data.
src/main/java/com/nimbusds/jose/crypto/ConcatKDF.java:263
↓ 6 callersMethodencodeNoData
Encodes no / empty data as an empty byte array. @return The encoded data.
src/main/java/com/nimbusds/jose/crypto/ConcatKDF.java:250
↓ 6 callersMethodencryptAuthenticated
Encrypts the specified plain text using AES/CBC/PKCS5Padding/ HMAC-SHA2. <p>See RFC 7518 (JWA), section 5.2.2.1 <p>See draft-mcgrew-aead-aes-cbc-hma
src/main/java/com/nimbusds/jose/crypto/AESCBC.java:180
↓ 6 callersMethodequals
Overrides {@code Object.equals()}. @param object The object to compare to. @return {@code true} if the objects have the same value, otherwise
src/main/java/com/nimbusds/jose/Algorithm.java:140
↓ 6 callersMethodfixAlg
(final ECPublicKey key)
src/test/java/com/nimbusds/jose/crypto/OpenSSLWithECKeyTest.java:50
↓ 6 callersMethodforECParameterSpec
Gets the cryptographic curve for the specified parameter specification. @param spec The EC parameter spec. May be {@code null}. @return The curve, {
src/main/java/com/nimbusds/jose/jwk/Curve.java:351
↓ 6 callersMethodget
{@inheritDoc} The security context is ignored.
src/main/java/com/nimbusds/jose/jwk/source/RemoteJWKSet.java:212
↓ 6 callersMethodgetAdditionalMembers
Gets the additional custom members of this JSON Web Key (JWK) set. @return The additional custom members, empty map if none.
src/main/java/com/nimbusds/jose/jwk/JWKSet.java:194
↓ 6 callersMethodgetAuthTag
Gets the authentication tag ({@code tag}) parameter. @return The authentication tag, {@code null} if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:1021
↓ 6 callersMethodgetAuthenticationTag
Gets the authentication tag. @return The authentication tag, {@code null} if the encryption algorithm provides built-in integrity checking.
src/main/java/com/nimbusds/jose/JWECryptoParts.java:181
↓ 6 callersMethodgetCachedJWKSet
Returns the cached JWK set. @return The cached JWK set, {@code null} if none.
src/main/java/com/nimbusds/jose/jwk/source/RemoteJWKSet.java:180
↓ 6 callersMethodgetCipherText
Gets the cipher text. @return The cipher text.
src/main/java/com/nimbusds/jose/JWECryptoParts.java:169
↓ 6 callersMethodgetConnectTimeout
Gets the HTTP connect timeout. @return The HTTP connect timeout, in milliseconds, zero for infinite.
src/main/java/com/nimbusds/jose/util/RestrictedResourceRetriever.java:34
↓ 6 callersMethodgetHeader
Gets the modified JWE header. @return The modified JWE header, {@code null} of not.
src/main/java/com/nimbusds/jose/JWECryptoParts.java:134
↓ 6 callersMethodgetIV
Gets the initialisation vector ({@code iv}) parameter. @return The initialisation vector, {@code null} if not specified.
src/main/java/com/nimbusds/jose/JWEHeader.java:1010
↓ 6 callersMethodgetInitializationVector
Gets the initialisation vector (IV). @return The initialisation vector (IV), {@code null} if not required by the JWE algorithm.
src/main/java/com/nimbusds/jose/JWECryptoParts.java:158
↓ 6 callersMethodgetJSONArray
Gets a JSON array 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 {
src/main/java/com/nimbusds/jose/util/JSONObjectUtils.java:282
← previousnext →201–300 of 1,840, ranked by callers