CSP Environment

The Venafi Cryptographic Service Provider (CSP) object shows values that allow a CSP client to sign software. CSP information includes signing key algorithms and key locations that originate from the CSP template.

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

  • CSPEnvironment: 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.
    • CSPTemplate: The values from a CSP environment template.
    • EncryptionKeyAlgorithm: The template values for the signing key algorithm. See Environment details.
    • EncryptionKeyDN: The location of the CSP encryption key.
    • Expiration The expiration time from the template. The number of minutes until the CSP key expires. A value of zero 0 means the key will not expire. See Environment details.
    • KeyStorageLocation: The location of the private key. Software or HSM. See Environment details.
    • MaxUses The maximum number of CSP key uses. See Environment details.
    • SigningKeyAlgorithm The code signing algorithm settings from the Environment Template. See Environment details.
    • SigningKeyDN: The Distinguished Name (DN) location and name of the signing key.
  • 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.