## JavaSPI

 swMATH ID: 23647 Software Authors: Sisto, Riccardo; Bettassa Copet, Piergiuseppe; Avalle, Matteo; Pironti, Alfredo Description: Formally sound implementations of security protocols with JavaSPI. Designing and coding security protocols is an error prone task. Several flaws are found in protocol implementations and specifications every year. Formal methods can alleviate this problem by backing implementations with rigorous proofs about their behavior. However, formally-based development typically requires domain specific knowledge available only to few experts and the development of abstract formal models that are far from real implementations. This paper presents a Java-based protocol design and implementation framework, where the user can write a security protocol symbolic model in Java, using a well defined subset of the language that corresponds to applied $$pi$$-calculus. This Java model can be symbolically executed in the Java debugger, formally verified with ProVerif, and further refined to an interoperable Java implementation of the protocol. Soundness theorems are provided to prove that, under some reasonable assumptions, a simulation relation relates the Java refined implementation to the symbolic model verified by ProVerif, so that, for the usual security properties, a property verified by ProVerif on the symbolic model is preserved in the Java refined implementation. The applicability of the framework is evaluated by developing an extensive case study on the popular SSL protocol. Homepage: https://link.springer.com/article/10.1007/s00165-017-0449-8 Keywords: security protocols; formal methods; formal verification; model-driven development Related Software: MJ; AGVI; Bouncy Castle; UMLsec; Helios; TS#; ConfiChair; ProVerif; ZKPDL; Spi2Java; ASPIER; JML; Coq Cited in: 1 Publication

### Cited by 4 Authors

 1 Avalle, Matteo 1 Bettassa Copet, Piergiuseppe 1 Pironti, Alfredo 1 Sisto, Riccardo

### Cited in 1 Serial

 1 Formal Aspects of Computing

### Cited in 1 Field

 1 Computer science (68-XX)