docs: public boolean checkDataWithPublicKey(final String publicKeyAlias,
                                            final byte[] data,
                                            final byte[] signature) throws KeyStoreException,
                                                                   NoSuchAlgorithmException,
                                                                   InvalidKeyException,
                                                                   SignatureException {
          if( pubKeyStore == null ) {
              throw new RuntimeException( "Key store with public key not configured. Please configure it properly before using signed serialization." );
          }
          Certificate cert = pubKeyStore.getCertificate( publicKeyAlias );
          if( cert == null ) {
              throw new RuntimeException( "Public certificate for key '"+publicKeyAlias+"' not found in the configured key store. Impossible to deserialize the object." );
          }
          Signature sig = Signature.getInstance( "MD5withRSA" );
          sig.initVerify( cert.getPublicKey() );
          sig.update( data );
          return sig.verify( signature );
      }