If a study contains a user-defined function that performs a task such as reading from or writing to a file, accessing the database or the registry, making web service calls, running an external application, sending an email, or using the event log directly, if the assembly for the user-defined function is not signed with a strong named signature that is valid and trusted, the function does not work in the InForm application.
When you create a user-defined function with an assembly that you want to secure and sign, on each machine in your environment that builds assemblies, use the following procedure to install a PFX signing file to a crypto service (CSP) certificate container. The PFX file is then used to secure and sign the assembly for the user-defined function.
// Tell compiler to use whatever key pair is stored in <container name> CSP container. Ignore
// warning that this can be done via command-line switch
#pragma warning disable 1699
[assembly: AssemblyKeyName("<container name>")]
#pragma warning restore 1699
where:
sn -i <PFX file name> <container name>.
where:
Copyright © 2013 Oracle and/or its affiliates. All rights reserved. |
---|