| .. | .. |
|---|
| 210 | 210 | */ |
|---|
| 211 | 211 | public void assertLicenseIsValid(File licenseFile) throws SeCurisException, IOException { |
|---|
| 212 | 212 | LicenseBean lic = validateLicense(licenseFile); |
|---|
| 213 | | - |
|---|
| 214 | | - ConnectionManager.getInstance().executePost(Command.VALIDATE, LicenseBean.class, lic); |
|---|
| 215 | | - |
|---|
| 213 | + // We need to snd the signed version to validate signature on server |
|---|
| 214 | + ConnectionManager.getInstance().executePost(Command.VALIDATE, LicenseBean.class, new SignedLicenseBean(lic)); |
|---|
| 216 | 215 | } |
|---|
| 217 | 216 | |
|---|
| 218 | 217 | public void testServer() throws SeCurisException { |
|---|