Révision 19b58bab
Ajouté par Remy Menard il y a plus de 11 ans
SigMa/SigMa/src/main/java/fr/unicaen/iota/sigma/service/SigMaService.java | ||
---|---|---|
/*
|
||
* This program is a part of the IoTa Project.
|
||
* This program is a part of the IoTa project.
|
||
*
|
||
* Copyright © 2012 Université de Caen Basse-Normandie, GREYC
|
||
* Copyright © 2012-2013 Université de Caen Basse-Normandie, GREYC
|
||
*
|
||
* This program is free software: you can redistribute it and/or modify
|
||
* it under the terms of the GNU General Public License as published by
|
||
... | ... | |
boolean value;
|
||
try {
|
||
SigMaFunctions sigMAFunctions = new SigMaFunctions(Constants.KEY_STORE_FILE_PATH, Constants.KEY_STORE_PASSWORD);
|
||
//value = sigMAFunctions.verify(event);
|
||
value = true;
|
||
value = sigMAFunctions.verify(event);
|
||
// value = true;
|
||
response.setValue(value);
|
||
} catch (Exception e) {
|
||
log.error(e.getMessage());
|
||
log.error("Error during verification", e);
|
||
response.setMessage(e.getMessage());
|
||
}
|
||
verification.setVerifyResponse(response);
|
Formats disponibles : Unified diff
Version 1.9
- use TLS for secured links
- SigMa is now fully functionnal
- completed documention
- a lot of bugs fixed!
- signature creation from the canonical form of the event
- signature creation using ECDSA algorithm
- signature is correctly verified
- manage the extension identifying the owner of the event
- if no identity is provided, the identity of the certificate is used
- access to the web interface of policy management is made by
certificate
- if no identity is provided, the identity of the certificate is used
- create and use certificates for TLS
- configure Apache Tomcat for TLS
- show SigMa library (SigMa-Commons)