DotNet Environment

The DotNet Environment is for service clients that use .NET strong name signing. A .NET strong name signing adds a unique identity to your .NET binaries.

Information can originate from a VCC environment template. You can set these values via POST Codesign/GetEnvironment.

  • DotNetEnvironment: has these values:

    • AllowUserKeyImport: Applies only to PerUser templates. The setting for key import: true: users can import their own signing keys. false: no key import.
    • Disabled: A value of true indicates the environment is in use. Otherwise, false.
    • Dn: The Distinguished Name (DN) of the environment.
    • Guid: The GUID that uniquely identifies the environment.
    • IPAddressRestriction: An Items array of trusted client IP addresses.
    • Id: The environment ID.
    • KeyTimeConstraints: An Items array of signing Time Constraints from VCC.
    • KeyUseFlowDN: The Distinguished Name (DN) location of the Code Signing Flow. In VCC, the flow shows required approvals, checks, and actions that enable key usage.
    • PerUser:  Only appears if the value is true. The mode that supports multiple cryptographic objects and macros to use for signing. This field determines how objects are created for the Environment.
    • TemplateDN: The location of the template.
    • DotNetTemplate: The values from a DotNet environment template.
    • Expiration: The expiration time from the template. The number of minutes until key expires. A value of zero 0 means the key will not expire. Info: Suggests or locks this value as mandatory. Value: When value originated from the template, the Dirty flag is true. Also includes an Items array of acceptable values.

    • KeyAlgorithm: Acceptable key algorithms for the certificate. See Environment details.

    • KeyDN:  the Distinguished Name (DN) location of the key container

    • KeyStorageLocation: The location of the private key. Software or HSM. See Environment details.
    • MaxUses: environment values for the maximum number of key pair uses. See Environment details.

  • Error: Appears only when Success is false. An error message that accompanies the Result. Check your payload input values.
  • Result: The Result code of this API call. For more information, see Sign Result Codes.
  • Success: The result of this API call: A value of false indicates the request failed due to an Error. Otherwise, true.