Structure

SecKeyImportExportParameters

The legacy import/export parameter structure.

Declaration

typedef struct {
    ...
} SecKeyImportExportParameters;

Overview

PKCS12 is an abbreviation for Public-Key Cryptography Standard # 12. This standard, by RSA Security, provides a format for external representation of keys and certificates and is described in PKCS 12 v1.0: Personal Information Exchange Syntax.

Topics

Instance Properties

accessRef

Specifies the initial access controls of imported private keys.

alertPrompt

The prompt to display in the secure passphrase alert panel.

alertTitle

The title to display in the secure passphrase alert panel.

flags

The bitwise OR of zero or more key import/export flags.

keyAttributes

A word of bits constituting the low-level attribute flags for imported keys.

keyUsage

A word of bits constituting the low-level use flags for imported keys.

passphrase

The password to use during key import or export.

version

The version of this structure.

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.

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