1. Move a simple function from BasicIdentityStorage to IdentityStorage
2. Simply the signing functions of IdentityManger (only signByCertificate is provided, all the signing functions of Keychain are implemented as wrappers of signByCertificate)
3. Pass certificate name (rather than certificate) to the signing function