@Test
    void verifyRsaKeyPairSigning() {
        val publicKey = "classpath:keys/RSA2048Public.key";
        val privateKey = "classpath:keys/RSA2048Private.key";
        val kp = new KeyPair(AbstractCipherExecutor.extractPublicKeyFromResource(publicKey),
            AbstractCipherExecutor.extractPrivateKeyFromResource(privateKey));
        val cipher = new RsaKeyPairCipherExecutor(kp);
        val testValue = cipher.encode("Value");
        assertEquals("Value", 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