Apple Environment
AppleSignEnvironment object describes a single certificate and keypair for an iOS or macOS application development.
Information can originate from a VCC environment template. You can set these values via POST Codesign/GetEnvironment.
AppleEnvironment: has these values:
- AllowUserKeyImport: The setting for key imports: true: allow private key imports, otherwise, false.
-
CustomFieldAttributes: An Items array:
- FieldName: A defined Custom Field name. In the UI, the definition is a Code Signing Environment with a Field Type of List or String . For example:
-
Values: An array of Custom Field values.
- Dn: The Distinguished Name (DN) of the environment.
-
Dirty: A value of true indicates the data changed. Otherwise, false.
- Disabled: A value of true indicates the environment is in use. Otherwise, false.
- Guid: The GUID that uniquely identifies the environment.
- IPAddressRestriction: An Items array of trusted client IP addresses.
- Id: The project 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: true.
- TemplateDN: The DN of template.
- Apple environment template Values that originate from the template.
Sample Apple Environment
{ "AppleEnvironment":{ "AllowUserKeyImport":true, "CustomFieldAttributes":{ "Items":[ ] }, "Dirty":true, "Disabled":true, "Dn":"\\VED\\Code Signing\\Projects\\Sample\\AppleEnv", "Guid":"{4e0fe96e-68ac-49ac-a3a1-0d4a36b8cd1e}", "IPAddressRestriction":{ "Items":[ ] }, "Id":1525, "KeyTimeConstraints":{ "Items":[ ] }, "PerUser":true, "TemplateDN":"\\VED\\Code Signing\\Environment Templates\\Apple", "Type":"Code Signing Apple Environment", "AppleTemplate":{ "AllowUserKeyImport":true, "Dirty":true, "Dn":"\\VED\\Code Signing\\Environment Templates\\Apple", "Guid":"{a1c59466-46a1-49e1-b1a7-083ace20df4b}", "Id":1520, "ObjectNamingPattern":"$Sign.Project$\\$Sign.Environment$\\$Sign.User$", "PerUser":true, "Type":"Code Signing Apple Environment Template", "VisibleTo":{ "Dirty":true, "Items":[ ] }, "CNPattern":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "CertificateAuthorityDN":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "CertificateSubject":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "City":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "Country":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "KeyAlgorithm":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "KeyStorageLocation":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "Organization":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "OrganizationalUnit":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "State":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } } }, "CNPattern":{ "Dirty":true, "Info":1, "TemplateValues":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "Value":"^(Apple|Mac|iPhone) (Development|Developer): [^(]*\\(([^)]*)\\)" }, "CertificateAuthorityDN":{ "Dirty":true, "Info":1, "TemplateValues":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "Value":null }, "CertificateSubject":{ "Dirty":true, "Info":1, "TemplateValues":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "Value":null }, "City":{ "Info":1, "TemplateValues":null, "Value":null }, "KeyAlgorithm":{ "Info":1, "TemplateValues":null, "Value":null }, "KeyStorageLocation":{ "Dirty":true, "Info":1, "TemplateValues":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "Value":null }, "Organization":{ "Dirty":true, "Info":1, "TemplateValues":{ "Info":1, "Value":{ "Dirty":true, "Items":[ ] } }, "Value":null }, "OrganizationalUnit":{ "Info":1, "TemplateValues":null, "Value":null }, "State":{ "Info":1, "TemplateValues":null, "Value":null }, "UserID":{ "Info":1, "TemplateValues":null, "Value":null }, "country":{ "Info":1, "TemplateValues":null, "Value":null } } }