---
title: SecGuestRef
framework: security
role: symbol
role_heading: Type Alias
path: security/secguestref
---

# SecGuestRef

A reference to a guest object, which identifies a particular block of guest code in the context of its code signing host.

## Declaration

```swift
typealias SecGuestRef = UInt32
```

## Discussion

Discussion Guest handles are assigned by the host at will, with kSecNoGuest being reserved as the NULL value. They can be reused for new children if desired.
