---
title: SecurityMessage.KeyType.encapsulatedKey
framework: accessorytransportextension
role: symbol
role_heading: Case
path: accessorytransportextension/securitymessage/keytype-swift.enum/encapsulatedkey
---

# SecurityMessage.KeyType.encapsulatedKey

An encapsulated key, sent from the host to the accessory.

## Declaration

```swift
case encapsulatedKey
```

## Mentioned in

Receiving iOS notifications on an accessory

## See Also

### Identifying key types

- [SecurityMessage.KeyType.publicKey](accessorytransportextension/securitymessage/keytype-swift.enum/publickey.md)
