Skip to main content

Module ffi

Module ffi 

Source
Available on crate feature raw-ffi only.
Expand description

Raw FFI declarations for the subset of Security.framework used by this crate.

Modules§

status

Constants§

kCFNumberSInt64Type
kCFStringEncodingUTF8
kSecCSDefaultFlags
kSecCSDynamicInformation
kSecCSSigningInformation

Statics§

kCFAllocatorDefault
kCFBooleanTrue
kCFTypeArrayCallBacks
kCFTypeDictionaryKeyCallBacks
kCFTypeDictionaryValueCallBacks
kSecAttrAccount
kSecAttrService
kSecClass
kSecClassGenericPassword
kSecCodeInfoEntitlementsDict
kSecCodeInfoIdentifier
kSecCodeInfoStatus
kSecCodeInfoTeamIdentifier
kSecMatchLimit
kSecMatchLimitAll
kSecMatchLimitOne
kSecRandomDefault
kSecReturnAttributes
kSecReturnData
kSecValueData

Functions§

CFArrayCreate
CFArrayGetCount
CFArrayGetTypeID
CFArrayGetValueAtIndex
CFBooleanGetTypeID
CFBooleanGetValue
CFDataCreate
CFDataGetBytePtr
CFDataGetLength
CFDataGetTypeID
CFDictionaryCreateMutable
CFDictionaryGetCount
CFDictionaryGetKeysAndValues
CFDictionaryGetTypeID
CFDictionaryGetValue
CFDictionarySetValue
CFErrorCopyDescription
CFGetTypeID
CFNumberGetTypeID
CFNumberGetValue
CFRelease
CFStringCreateWithCString
CFStringGetCString
CFStringGetLength
CFStringGetTypeID
SecCertificateCopyData
SecCertificateCopyKey
SecCertificateCopySubjectSummary
SecCertificateCreateWithData
SecCodeCopySelf
SecCodeCopySigningInformation
SecCopyErrorMessageString
SecItemAdd
SecItemCopyMatching
SecItemDelete
SecItemUpdate
SecPolicyCreateBasicX509
SecPolicyCreateSSL
SecRandomCopyBytes
SecTrustCreateWithCertificates
SecTrustEvaluateWithError
SecTrustSetPolicies

Type Aliases§

Boolean
CFAllocatorRef
CFArrayRef
CFBooleanRef
CFDataRef
CFDictionaryRef
CFErrorRef
CFIndex
CFMutableDictionaryRef
CFNumberRef
CFStringRef
CFTypeID
CFTypeRef
OSStatus
SecCSFlags
SecCertificateRef
SecCodeRef
SecKeyRef
SecPolicyRef
SecRandomRef
SecStaticCodeRef
SecTrustRef