corda/sdk/sign_tool/SignTool
Angie Chinchilla 9441de4c38 Initial release of Intel SGX for Linux.
This release is used in conjunction with the linux-sgx-driver Intial release:
https://github.com/01org/linux-sgx-driver
commit-id: 0e865ce5e6b297a787bcdc12d98bada8174be6d7

Intel-id: 33399

Signed-off-by: Angie Chinchilla <angie.v.chinchilla@intel.com>
2016-06-23 18:51:53 -04:00
..
elf_helper.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
enclave_creator_sign.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
enclave_creator_sign.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
Makefile Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
manage_metadata.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
manage_metadata.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
parse_key_file.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
parse_key_file.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
README.txt Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
sign_tool.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
util_st.cpp Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00
util_st.h Initial release of Intel SGX for Linux. 2016-06-23 18:51:53 -04:00

The sgx_sign generates the enclave signature and meta-data, and inserts the 
information into the enclave file. 
Meanwhile, the sgx_sign checks the enclave compatibility and provides the detail 
information to users.

Usage:
    sgx_sign <command> [options] file...
    Commands:
        sign            Sign the enclave using the private key.
        gendata         Generate enclave signing material to be signed.
        catsig          Generate the signed enclave with the input signature 
                        file, the public key and the enclave signing material.
    Options:
        -enclave        Specify the enclave file to be signed.
                        It is a required option for the listed sgx_sign commands.
        -key            Specify the key file.
                        It is a required option for the sign and catsig commands.
        -config         Specify the configuration for the enclave.
        -out            Specify the output file.
                        It is a required option for the listed sgx_sign commands.
        -sig            Specify the signature file for the enclave signing 
                        material.
                        It is a required option for the catsig command.
        -unsigned       Specify the enclave signing material generated by the 
                        gendata command.
                        It is a required option for the catsig command.