org.rococoa.cocoa.security
Interface SecurityLibrary.SecKeyImportExportFlags

Enclosing interface:
SecurityLibrary

public static interface SecurityLibrary.SecKeyImportExportFlags

native declaration : /System/Library/Frameworks/Security.framework/Headers/SecImportExport.h
enum values


Field Summary
static int kSecKeyImportOnlyOne
          When true, prevents the importing of more than one private key
in a given SecKeychainItemImport().
static int kSecKeyNoAccessControl
          When true, imported private keys will have no Access Control List
(ACL) attached to them.
static int kSecKeySecurePassphrase
          When true, passphrase for import/export is obtained by user prompt
instead of by caller-supplied data (SecKeyImportExportParameters.passphrase).
 

Field Detail

kSecKeyImportOnlyOne

static final int kSecKeyImportOnlyOne
When true, prevents the importing of more than one private key
in a given SecKeychainItemImport().

See Also:
Constant Field Values

kSecKeySecurePassphrase

static final int kSecKeySecurePassphrase
When true, passphrase for import/export is obtained by user prompt
instead of by caller-supplied data (SecKeyImportExportParameters.passphrase).
This is the preferred method for obtaining a user-supplied passphrase
as it avoids having the cleartext passphrase appear in the app's
address space at any time.

See Also:
Constant Field Values

kSecKeyNoAccessControl

static final int kSecKeyNoAccessControl
When true, imported private keys will have no Access Control List
(ACL) attached to them. In the absence of both this bit and the accessRef
field in SecKeyImportExportParameters (see below), imported private
keys are given a default ACL.

See Also:
Constant Field Values


Copyright © 2009. All Rights Reserved.