---
title: SecKeyOperationType
framework: security
role: symbol
role_heading: Enumeration
path: security/seckeyoperationtype
---

# SecKeyOperationType

The types of operations that you can use a cryptographic key to perform.

## Declaration

```swift
enum SecKeyOperationType
```

## Topics

### Enumeration Cases

- [SecKeyOperationType.decrypt](security/seckeyoperationtype/decrypt.md)
- [SecKeyOperationType.encrypt](security/seckeyoperationtype/encrypt.md)
- [SecKeyOperationType.keyExchange](security/seckeyoperationtype/keyexchange.md)
- [SecKeyOperationType.sign](security/seckeyoperationtype/sign.md)
- [SecKeyOperationType.verify](security/seckeyoperationtype/verify.md)

### Initializers

- [init(rawValue:)](security/seckeyoperationtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
