---
title: keyType
framework: accessorytransportextension
role: symbol
role_heading: Instance Property
path: accessorytransportextension/securitymessage/keytype-swift.property
---

# keyType

The type of key carried by this message.

## Declaration

```swift
let keyType: SecurityMessage.KeyType
```

## See Also

### Accessing key material

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