Openssl command can be used to generate ES256 asymmetric keys as required by the FAPI part 2 specification. Office will keep the private key and share the public key for registration with WIPO. Below is an example of script to generate ES256 asymmetric keys.
Script usage
sh ./private_key_jwt_generation.sh <output_folder_name> <files_prefix> <client_id>
For the client_id (CLIENT_NAME), please create it as follow: "das-cc-api-id"
cc = country code of the IPO in lower caps
<file_prefix>: any String that you would have to be included as prefix of the files to generate by the script
Information on how to execute the sample scripts
The following files are examples:
Files | Description |
---|---|
es256_cert.pem | Certificate file that will be communicated to WIPO for the configuration of the private_key_jwt client authentication |
es256_private.pem | Must never be communicated and kept secret, used by the client to sign the private_key_jwt authentication request |
es256_public.pem | Used only at the generation step, kept for record |
openssl.cnf | Used only at the generation step, kept for record |