<!--
{
  "documentType" : "article",
  "framework" : "Security",
  "identifier" : "/documentation/Security/guest-creation-flags",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Guest Creation Flags"
}
-->

# Guest Creation Flags

Use these supplemental flags to create a guest object.

## Discussion

These flags supplement the flags described in [`SecCSFlags`](/documentation/Security/SecCSFlags). Use these additional constants with the flags parameter of the [`SecHostCreateGuest`](/documentation/Security/SecHostCreateGuest) function.

## Topics

### Constants

[`var kSecCSDedicatedHost: UInt32`](/documentation/Security/kSecCSDedicatedHost)

Declares dedicated hosting for the given host.

[`var kSecCSGenerateGuestHash: UInt32`](/documentation/Security/kSecCSGenerateGuestHash)

Ask the host to generate the unique binary identifier ([`kSecCodeInfoUnique`](/documentation/Security/kSecCodeInfoUnique)) from the copy on disk at the path given.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)