US 12,498,905 B1
Client and test code generation of encoded security policies
Jinhua Chen, Hefei (CN); Hao Hu, Hefei (CN); Tao Li, Hefei (CN); Di Qi, Hefei (CN); Wudi Tang, Hefei (CN); and Shicheng Yu, Hefei (CN)
Assigned to Zoom Communications, Inc., San Jose, CA (US)
Filed by Zoom Video Communications, Inc., San Jose, CA (US)
Filed on Oct. 31, 2023, as Appl. No. 18/385,691.
Int. Cl. G06F 8/30 (2018.01)
CPC G06F 8/30 (2013.01) 20 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving, by a computing device configured for code generation, a serialized representation of a network location, wherein the serialized representation is based on a specification of an application programming interface (API) associated with the network location, comprising one or more security policies associated with the network location;
for each of the one or more security policies, encoding, by the computing device, instructions for complying with the security policy;
generating, by the computing device, first client code for sending a request to the network location, comprising the encoded security policy compliance code for each of the one or more security policies;
generating, by the computing device, second client code for receiving a response from the network location responsive to the request;
generating, by the computing device, first test code for testing the first client code and the second client code using the computing device, comprising second instructions to verify compliance with the one or more security policies; and
outputting the first client code, the second client code, and the first test code.