Enumeration

SecExternalItemType

The import item type.

Declaration

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

Topics

Constants

kSecItemTypeUnknown

Indicates that the caller does not know the type of information being imported or exported.

kSecItemTypePrivateKey

Indicates a private key.

kSecItemTypePublicKey

Indicates a public key.

kSecItemTypeSessionKey

Indicates a session key.

kSecItemTypeCertificate

Indicates a certificate.

kSecItemTypeAggregate

Indicates a set of certificates or certificates and private keys.

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.

SecItemImportExportFlags

The import and export function flags.

SecItemImportExportKeyParameters

The import/export parameter structure.

SecKeyImportExportFlags

The import/export parameter structure flags.

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.