@Test
    void verifyRsaKeyPairResource() {
        val publicKey = "classpath:keys/RSA2048Public.key";
        val privateKey = "classpath:keys/RSA2048Private.key";
        val cipher = new RsaKeyPairCipherExecutor(privateKey, publicKey, privateKey, publicKey);
        val testValue = cipher.encode("TestValue");
        assertNotNull(testValue);
        assertEquals("TestValue", cipher.decode(testValue));
    }
This is {@link RsaKeyPairCipherExecutorTests}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-util/src/test/java/org/apereo/cas/util/cipher/RsaKeyPairCipherExecutorTests.java