SAML Response library in JAVA

Hi all,

we have a few questions regarding SAMLResponse and how it is encrypted
which algorthitm you are using?
If you are compressing the response after the encryption (if yes using which format?)
If the SAMLResponse is encoded using standard Basic64 or custom Base64 encoder?
If the SAML response contains only EncryptedAssertion?

We are getting the SAMLResponse from an OKTA server and we would like to know if there is already a JAVA library that does all those steps already or if any of those steps needs to be done. Please let me know if you need more information.

Regards,
Yassine