Global Variable

kSecOAEPMessageLengthAttributeName

The OAEP message length.

Declaration

const CFStringRef kSecOAEPMessageLengthAttributeName;

Discussion

Optionally set the value to a CFNumberRef indicating a specific message size when the kSecPaddingKey attribute is set to kSecPaddingOAEPKey. If you don't set this attribute, the minimum padding is used by default.

This attribute is ignored when padding is not set to OAEP.

See Also

Digest and Encryption Keys

kSecDigestTypeAttribute

The digest algorithm.

kSecDigestLengthAttribute

The digest length.

kSecDigestHMACKeyAttribute

The key for HMAC operation.

kSecInputIsAttributeName

The type of input to the transform.

kSecEncryptionMode

The encryption mode.

kSecEncryptKey

The encryption key for the transform.

kSecIVKey

The setting for an initialization vector.

kSecPaddingKey

The kind of padding to use.

kSecOAEPEncodingParametersAttributeName

The OAEP encoding parameters.

kSecOAEPMGF1DigestAlgorithmAttributeName

The OAEP MGF1 digest algorithm.