@Test
    void verifyRsaKeyForJwtEncryption() throws Throwable {
        val value = "ThisValue";
        val found = EncodingUtils.encryptValueAsJwtRsaOeap256Aes256Sha512(getPublicKey(), value);
        val jwt = EncodingUtils.decryptJwtValue(getPrivateKey(), found);
        assertEquals(value, jwt);
    }
This is {@link EncodingUtilsTests}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-util/src/test/java/org/apereo/cas/util/EncodingUtilsTests.java