Enumeration

SecKeyImportExportFlags

The import/export parameter structure flags.

Declaration

typedef enum SecKeyImportExportFlags : uint32_t {
    ...
} SecKeyImportExportFlags;

Overview

Use an instance of this structure to set the flags property in the SecItemImportExportKeyParameters import/export structure.

Topics

Constants

kSecKeyImportOnlyOne

A flag that you set to prevent importing more than one private key.

kSecKeySecurePassphrase

A flag that indicates the user should be prompted for a passphrase on import or export.

kSecKeyNoAccessControl

A flag that indicates imported private keys have no access object attached to them.

See Also

Import and Export

SecItemImport

Imports one or more certificates, keys, or identities and optionally adds them to a keychain.

SecItemExport

Exports one or more certificates, keys, or identities.

SecExternalFormat

The external format of a keychain item.

SecExternalItemType

The import item type.

SecItemImportExportFlags

The import and export function flags.

SecItemImportExportKeyParameters

The import/export parameter structure.

SEC_KEY_IMPORT_EXPORT_PARAMS_VERSION

The import/export parameter structure version.

SecKeychainItemImport

Imports one or more certificates, keys, or identities and adds them to a keychain.

Deprecated
SecKeychainItemExport

Exports one or more certificates, keys, or identities.

Deprecated
SecKeyImportExportParameters

The legacy import/export parameter structure.