9.31
change destination
9.32
change source
Author Commit Message Date Builds
Vladimir Dzhuvinov
[maven-release-plugin] prepare release 9.32
Vladimir Dzhuvinov
Adds MultiEncrypter test with example from https://datatracker.ietf.org/doc/html/rfc7516#appendix-A.4.7
Vladimir Dzhuvinov
Adds missing JWEObjectJSON tests to complete coverage
Vladimir Dzhuvinov
JWEObjectJSON.Recipient.parse is okay to throw NPE on null arg
Vladimir Dzhuvinov
Updates 9.32 change log with JWEObjectJSON related updates
Vladimir Dzhuvinov
Bumps Google Tink
Vladimir Dzhuvinov
Renames JWEObjectJSON field and method names for consistency, JavaDoc edits, adds test from https://datatracker.ietf.org/doc/html/rfc7516#appendix-A.4.7
Vladimir Dzhuvinov
Removes experimental JWEAlgorithm.JWK_ALG constant
Vladimir Dzhuvinov
Makes the JOSEObjectJSON.toGeneralJSONObject and toFlattenedJSONObject methods public
Vladimir Dzhuvinov
Edits JOSE object JavaDoc for consistency
Vladimir Dzhuvinov
Removes unused import in JWEObjectJSON
Vladimir Dzhuvinov
Updates JavaDoc overview.html with JWEObjectJSON reference
Vladimir Dzhuvinov
Adds missing JavaDocs to BaseJWEProvider.getCEK and isCEKProvided
Vladimir Dzhuvinov
Adds JavaDoc note JWEHeader.Builder.Builder(EncryptionMethod) is intended for multi-recipient JWE, makes constructor second because the most common construction will be with (JWEAlgorithm,Encryption)
Vladimir Dzhuvinov
Moves the static getAlgorithmAndEnsureNotNull from BaseJWEProvider to a dedicated JWEHeaderValidation class to remove the method from the BaseJWEProvider API
Egor Puzanov
Merged in iss517-4 (pull request #108) Outstanding MultiEncrypter + MultiDecrypter issues Approved-by: Vladimir Dzhuvinov
epuzanov
Add a getAlgorithmAndEnsureNotNull method to the BaseJWEProvider class
epuzanov
make use of JWEHeader without alg defined
epuzanov
fix Header parsing
epuzanov
add the 'join' method to the Header class
epuzanov
make use of HeaderValidation ensureDisjoint method with any protected JOSE headers
epuzanov
make the 'alg' parameter optional in the JWEHeader
Vladimir Dzhuvinov
Updates the JWT processing framework examples for the Wiki
Vladimir Dzhuvinov
Adds special JWEAlgorithm.JWK_ALG constant for use in multi-recipient JWEObjectJSON
Vladimir Dzhuvinov
Updates MultiDecrypter JavaDocs
Vladimir Dzhuvinov
Minor JWEMultipleRecipientsTest updates for better clarity
Vladimir Dzhuvinov
JWEMultipleRecipientsTest exceptions checks must use concrete exception class, not Exception
Vladimir Dzhuvinov
Improves the MultiEncrypter constructor exception messages
Vladimir Dzhuvinov
Revert "Allow the Algorithm.NONE for the JWEHeader alg attribute" This reverts commit 9839604446f85fed28f43d8223a5cf7e33ef1cb5.
Egor Puzanov
Merged in iss517 (pull request #107) Iss517
Vladimir Dzhuvinov
Fixes Proguard arg in README.md
epuzanov
Allow the Algorithm.NONE for the JWEHeader alg attribute
epuzanov
Add x5c test to the testRecipients_identicalJWEAlg_recipientMatch test case
Vladimir Dzhuvinov
Adds Proguard / R8 use note in README.md
epuzanov
Use the kid, x5u, x5t and x5c attribute for recipient matching
epuzanov
Replace multiple 'if else' statements with the single 'if' statement
epuzanov
remove commented blocks in JWEMultipleRecipientsTest
epuzanov
Validate supplied keys algs in the MultiEncrypter constructor
Vladimir Dzhuvinov
Updates JSONObjectUtils.parse(String,int) to ensure generic types not erased by obfuscation tools (iss #518)
Vladimir Dzhuvinov
Bumps Tink to 1.9.0
Vladimir Dzhuvinov
JWEObjectJSON: More readable isEmpty checks
Vladimir Dzhuvinov
DirectCryptoProvider: Removes useless cek == null check
Vladimir Dzhuvinov
Adds MultiEncrypter tests to highlight outstanding issues
Vladimir Dzhuvinov
JWEMultipleRecipientsTest: Factors out illegal arg tests
Vladimir Dzhuvinov
JWEObjectJSON: factors out the JSON object output code that is common between the JSON and the flattened serialisation
Vladimir Dzhuvinov
JWEObjectJSON: makes recipient header params static (using constants), JavaDoc and exception message edits / fixes
Vladimir Dzhuvinov
MultiEncrypter must not internally generate / set the "kid" in per recipient JWT headers
Vladimir Dzhuvinov
Renames private method in MultiEncrypter to match naming convention
Vladimir Dzhuvinov
JavaDoc edits
Vladimir Dzhuvinov
Removes the unused MultiDecrypter.getRecipientHeaderParams method, makes the common JWK + JWE header parameter names a constant, notes potential issues
Vladimir Dzhuvinov
Deletes unused imports
Vladimir Dzhuvinov
Fixes JavaDoc error in ECDH1PUEncrypter
Vladimir Dzhuvinov
Fixes JavaDoc errors
Vladimir Dzhuvinov
Minor JWEObjectJSON code cleanups, expands tests
Vladimir Dzhuvinov
The Payload of an encrypted (but not decrypted) JWEObjectJSON must be null
Vladimir Dzhuvinov
Fixes var name typo in JWEMultipleRecipientsTest.testMultipleRecipients
Vladimir Dzhuvinov
Merge branch 'master' of ssh://bitbucket.org/connect2id/nimbus-jose-jwt
Egor Puzanov
Merged in JWEJSONSerialization (pull request #105) JWE JSON Serialization
Vladimir Dzhuvinov
Bumps maven-shade-plugin
Vladimir Dzhuvinov
Updates GSon to 2.10.1
epuzanov
Add the MultiEncrypter test for empty JWKSet parameter
epuzanov
Use the null instead of A128GCM as the parameter for getCEK in the DirectCryptoProvider to return current CEK value
epuzanov
Fix the exception message string
epuzanov
Add the comment to the encryptedKey parsing block
epuzanov
Try to use the Direct SecretKey as a CEK
epuzanov
The MultiCryptoProvider does not support DIRECT AlgorithmMode
Vladimir Dzhuvinov
Adds a new RSASSASigner(RSAKey, Set<JWSSignerOption>) constructor
Vladimir Dzhuvinov
Expands CompletableJWSObjectSigning tests
Vladimir Dzhuvinov
Edits ECDSASigner and CompletableJWSObjectSigning JavaDocs, change log
Stian Svedenborg
Merged user verification support to ECDSA (pull request #106)
Stian Svedenborg
Add support for UserAuthenticationRequired to ECDSASigner This adds support for the UserAuthenticationRequired JWSSignerOption to the ECDSASigner. Additionally it adds the initialized Signature object to the ActionRequiredForJWSCompletionException to enable user authentication on platforms that require the Signature object to be part of the user authentication call.
epuzanov
The CEK support refactoring
epuzanov
add parameter validation to the JWEObjectJSON parse method
epuzanov
fix the getEncryptedKey method and add the test cases for it
epuzanov
Add the tests of the JWEObjectJSON constructor
epuzanov
Reuse of the JWEObject.State enum in the JWEObjectJSON class
epuzanov
Simplify the updatedAAD assign
epuzanov
add the tests for the MultiEncrypter and the MultiDecrypter parameters
epuzanov
More granular testing of the encrypted multirecipient JSON JWE object
epuzanov
Factoring out the AAD parsing to the protected header map. Validate the jwk argument in the MultiDecrypter constructor.
epuzanov
Add the MultiEncrypter and MultiDecrypter classes
epuzanov
Move the AAD from CryptoProvider to the JWEObject and JEWObjectJSON classes
epuzanov
add a JWEObjectJSON constructor with aad parameter
epuzanov
add AADParsing and HeaderDuplicates tests to the JWEObjectJSONTest test case
epuzanov
fix duplicated headers validation
epuzanov
add JWEObjectJSON class
Vladimir Dzhuvinov
Simplifies test public key generation in MultipleRecipientsTest
Vladimir Dzhuvinov
Renames MultipleRecipientsTest -> JWEMultipleRecipientsTest
Vladimir Dzhuvinov
Change log for v9.32 - RSA and ECDH JWE to multiple recipients
Vladimir Dzhuvinov
MultipleRecipientsTest lang level must be Java 7
Vladimir Dzhuvinov
Renames {RSACryptoProvider|ECDHCryptoProvider}.getAad() to getAAD() to follow lib convention, edits JavaDocs
Vladimir Dzhuvinov
Moves aad after clearText in ContentCryptoProvider.encrypt method signature
Egor Puzanov
Merged in customAad (pull request #103) Custom AAD. Approved-by: Vladimir Dzhuvinov
epuzanov
add the test case for multiple recipients encryption/decryption
epuzanov
Add support for the custom AAD. It needed for the multiple recipients encrypt/decrypt operations.
Thomas Rørvik Skjølberg
Merged in issue508version2 (pull request #101) Improve multithreaded tests so that they run for less flaky in CI Approved-by: Vladimir Dzhuvinov
Thomas Skjølberg
Improve multithreaded tests so that they run for less flaky in CI
Thomas Rørvik Skjølberg
Merged connect2id/nimbus-jose-jwt into master
Vladimir Dzhuvinov
[maven-release-plugin] prepare for next development iteration