Structure

SecKeyImportExportParameters

The legacy import/export parameter structure.

Declaration

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

var accessRef: Unmanaged<SecAccess>?

Specifies the initial access controls of imported private keys.

var alertPrompt: Unmanaged<CFString>

The prompt to display in the secure passphrase alert panel.

var alertTitle: Unmanaged<CFString>

The title to display in the secure passphrase alert panel.

var flags: SecKeyImportExportFlags

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

var keyAttributes: CSSM_KEYATTR_FLAGS

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

var keyUsage: CSSM_KEYUSE

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

var passphrase: Unmanaged<CFTypeRef>?

The password to use during key import or export.

var version: UInt32

The version of this structure.