---
title: kSecPaddingOAEPKey
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecpaddingoaepkey
---

# kSecPaddingOAEPKey

PKCS7 padding will be used when encrypting or decrypting.

## Declaration

```swift
let kSecPaddingOAEPKey: CFString
```

## Discussion

Discussion When using this padding type, consider also setting the kSecOAEPMessageLengthAttributeName, kSecOAEPEncodingParametersAttributeName, and kSecOAEPMGF1DigestAlgorithmAttributeName attributes.
