Available on crate feature
raw-ffi only.Expand description
Raw FFI declarations for the subset of Security.framework used by this crate.
Modules§
Constants§
- kCFNumberS
Int64 Type - kCFString
EncodingUT F8 - kSec
Access Control And - kSec
Access Control Application Password - kSec
Access Control Biometry Any - kSec
Access Control Biometry Current Set - kSec
Access Control Companion - kSec
Access Control Device Passcode - kSec
Access Control Or - kSec
Access Control Private KeyUsage - kSec
Access Control User Presence - kSecCS
Default Flags - kSecCS
Dynamic Information - kSecCS
Signing Information - kSec
KeyOperation Type Decrypt - kSec
KeyOperation Type Encrypt - kSec
KeyOperation Type KeyExchange - kSec
KeyOperation Type Sign - kSec
KeyOperation Type Verify - kSec
RevocationCRL Method - kSec
Revocation Network Access Disabled - kSec
RevocationOCSP Method - kSec
Revocation PreferCRL - kSec
Revocation Require Positive Response - kSec
Revocation UseAny Available Method
Statics§
- kCFAllocator
Default ⚠ - kCFBoolean
True ⚠ - kCFType
Array ⚠Call Backs - kCFType
Dictionary ⚠KeyCall Backs - kCFType
Dictionary ⚠Value Call Backs - kSec
Attr ⚠Access - kSec
Attr ⚠Access Control - kSec
Attr ⚠Access Group - kSec
Attr ⚠Access Group Token - kSec
Attr ⚠Accessible - kSec
Attr ⚠Accessible After First Unlock - kSec
Attr ⚠Accessible After First Unlock This Device Only - kSec
Attr ⚠Accessible When Passcode SetThis Device Only - kSec
Attr ⚠Accessible When Unlocked - kSec
Attr ⚠Accessible When Unlocked This Device Only - kSec
Attr ⚠Account - kSec
Attr ⚠Application Label - kSec
Attr ⚠Application Tag - kSec
Attr ⚠Authentication Type - kSec
Attr ⚠Authentication TypeDPA - kSec
Attr ⚠Authentication Type Default - kSec
Attr ⚠Authentication TypeHTML Form - kSec
Attr ⚠Authentication TypeHTTP Basic - kSec
Attr ⚠Authentication TypeHTTP Digest - kSec
Attr ⚠Authentication TypeMSN - kSec
Attr ⚠Authentication TypeNTLM - kSec
Attr ⚠Authentication TypeRPA - kSec
Attr ⚠CanDecrypt - kSec
Attr ⚠CanDerive - kSec
Attr ⚠CanEncrypt - kSec
Attr ⚠CanSign - kSec
Attr ⚠CanUnwrap - kSec
Attr ⚠CanVerify - kSec
Attr ⚠CanWrap - kSec
Attr ⚠Certificate Encoding - kSec
Attr ⚠Certificate Type - kSec
Attr ⚠Comment - kSec
Attr ⚠Creation Date - kSec
Attr ⚠Creator - kSec
Attr ⚠Description - kSec
Attr ⚠Effective KeySize - kSec
Attr ⚠Generic - kSec
Attr ⚠IsExtractable - kSec
Attr ⚠IsInvisible - kSec
Attr ⚠IsNegative - kSec
Attr ⚠IsPermanent - kSec
Attr ⚠IsSensitive - kSec
Attr ⚠Issuer - kSec
Attr ⚠KeyClass - kSec
Attr ⚠KeyClass Private - kSec
Attr ⚠KeyClass Public - kSec
Attr ⚠KeyClass Symmetric - kSec
Attr ⚠KeySize InBits - kSec
Attr ⚠KeyType - kSec
Attr ⚠KeyType3DES - kSec
Attr ⚠KeyTypeAES - kSec
Attr ⚠KeyTypeCAST - kSec
Attr ⚠KeyTypeDES - kSec
Attr ⚠KeyTypeDSA - kSec
Attr ⚠KeyTypeEC - kSec
Attr ⚠KeyTypeECDSA - kSec
Attr ⚠KeyTypeECSEC Prime Random - kSec
Attr ⚠KeyTypeR C2 - kSec
Attr ⚠KeyTypeR C4 - kSec
Attr ⚠KeyTypeRSA - kSec
Attr ⚠Label - kSec
Attr ⚠Modification Date - kSec
AttrPRF ⚠ - kSec
AttrPRF ⚠Hmac AlgSH A1 - kSec
AttrPRF ⚠Hmac AlgSH A224 - kSec
AttrPRF ⚠Hmac AlgSH A256 - kSec
AttrPRF ⚠Hmac AlgSH A384 - kSec
AttrPRF ⚠Hmac AlgSH A512 - kSec
Attr ⚠Path - kSec
Attr ⚠Persistant Reference - kSec
Attr ⚠Persistent Reference - kSec
Attr ⚠Port - kSec
Attr ⚠Protocol - kSec
Attr ⚠ProtocolAFP - kSec
Attr ⚠Protocol Apple Talk - kSec
Attr ⚠ProtocolDAAP - kSec
Attr ⚠ProtocolEPPC - kSec
Attr ⚠ProtocolFTP - kSec
Attr ⚠ProtocolFTP Account - kSec
Attr ⚠ProtocolFTP Proxy - kSec
Attr ⚠ProtocolFTPS - kSec
Attr ⚠ProtocolHTTP - kSec
Attr ⚠ProtocolHTTP Proxy - kSec
Attr ⚠ProtocolHTTPS - kSec
Attr ⚠ProtocolHTTPS Proxy - kSec
Attr ⚠ProtocolIMAP - kSec
Attr ⚠ProtocolIMAPS - kSec
Attr ⚠ProtocolIPP - kSec
Attr ⚠ProtocolIRC - kSec
Attr ⚠ProtocolIRCS - kSec
Attr ⚠ProtocolLDAP - kSec
Attr ⚠ProtocolLDAPS - kSec
Attr ⚠ProtocolNNTP - kSec
Attr ⚠ProtocolNNTPS - kSec
Attr ⚠ProtocolPO P3 - kSec
Attr ⚠ProtocolPO P3S - kSec
Attr ⚠ProtocolRTSP - kSec
Attr ⚠ProtocolRTSP Proxy - kSec
Attr ⚠ProtocolSMB - kSec
Attr ⚠ProtocolSMTP - kSec
Attr ⚠ProtocolSOCKS - kSec
Attr ⚠ProtocolSSH - kSec
Attr ⚠Protocol Telnet - kSec
Attr ⚠Protocol TelnetS - kSec
Attr ⚠Public KeyHash - kSec
Attr ⚠Rounds - kSec
Attr ⚠Salt - kSec
Attr ⚠Security Domain - kSec
Attr ⚠Serial Number - kSec
Attr ⚠Server - kSec
Attr ⚠Service - kSec
Attr ⚠Subject - kSec
Attr ⚠Subject KeyID - kSec
Attr ⚠Sync View Hint - kSec
Attr ⚠Synchronizable - kSec
Attr ⚠Synchronizable Any - kSec
Attr ⚠TokenID - kSec
Attr ⚠TokenID Secure Enclave - kSec
Attr ⚠Type - kSec
Class ⚠ - kSec
Class ⚠Certificate - kSec
Class ⚠Generic Password - kSec
Class ⚠Identity - kSec
Class ⚠Internet Password - kSec
Class ⚠Key - kSec
Code ⚠Info Entitlements Dict - kSec
Code ⚠Info Identifier - kSec
Code ⚠Info Status - kSec
Code ⚠Info Team Identifier - kSec
KeyAlgorithmECDH ⚠KeyExchange Cofactor - kSec
KeyAlgorithmECDH ⚠KeyExchange Cofactor X963SH A1 - kSec
KeyAlgorithmECDH ⚠KeyExchange Cofactor X963SH A224 - kSec
KeyAlgorithmECDH ⚠KeyExchange Cofactor X963SH A256 - kSec
KeyAlgorithmECDH ⚠KeyExchange Cofactor X963SH A384 - kSec
KeyAlgorithmECDH ⚠KeyExchange Cofactor X963SH A512 - kSec
KeyAlgorithmECDH ⚠KeyExchange Standard - kSec
KeyAlgorithmECDH ⚠KeyExchange Standard X963SH A1 - kSec
KeyAlgorithmECDH ⚠KeyExchange Standard X963SH A224 - kSec
KeyAlgorithmECDH ⚠KeyExchange Standard X963SH A256 - kSec
KeyAlgorithmECDH ⚠KeyExchange Standard X963SH A384 - kSec
KeyAlgorithmECDH ⚠KeyExchange Standard X963SH A512 - kSec
KeyAlgorithmECDSA ⚠Signature DigestRF C4754 - kSec
KeyAlgorithmECDSA ⚠Signature DigestRF C4754SH A1 - kSec
KeyAlgorithmECDSA ⚠Signature DigestRF C4754SH A224 - kSec
KeyAlgorithmECDSA ⚠Signature DigestRF C4754SH A256 - kSec
KeyAlgorithmECDSA ⚠Signature DigestRF C4754SH A384 - kSec
KeyAlgorithmECDSA ⚠Signature DigestRF C4754SH A512 - kSec
KeyAlgorithmECDSA ⚠Signature Digest X962 - kSec
KeyAlgorithmECDSA ⚠Signature Digest X962SH A1 - kSec
KeyAlgorithmECDSA ⚠Signature Digest X962SH A224 - kSec
KeyAlgorithmECDSA ⚠Signature Digest X962SH A256 - kSec
KeyAlgorithmECDSA ⚠Signature Digest X962SH A384 - kSec
KeyAlgorithmECDSA ⚠Signature Digest X962SH A512 - kSec
KeyAlgorithmECDSA ⚠Signature MessageRF C4754SH A1 - kSec
KeyAlgorithmECDSA ⚠Signature MessageRF C4754SH A224 - kSec
KeyAlgorithmECDSA ⚠Signature MessageRF C4754SH A256 - kSec
KeyAlgorithmECDSA ⚠Signature MessageRF C4754SH A384 - kSec
KeyAlgorithmECDSA ⚠Signature MessageRF C4754SH A512 - kSec
KeyAlgorithmECDSA ⚠Signature Message X962SH A1 - kSec
KeyAlgorithmECDSA ⚠Signature Message X962SH A224 - kSec
KeyAlgorithmECDSA ⚠Signature Message X962SH A256 - kSec
KeyAlgorithmECDSA ⚠Signature Message X962SH A384 - kSec
KeyAlgorithmECDSA ⚠Signature Message X962SH A512 - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor VariableIV X963SH A224AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor VariableIV X963SH A256AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor VariableIV X963SH A384AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor VariableIV X963SH A512AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor X963SH A1AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor X963SH A224AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor X963SH A256AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor X963SH A384AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Cofactor X963SH A512AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard VariableIV X963SH A224AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard VariableIV X963SH A256AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard VariableIV X963SH A384AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard VariableIV X963SH A512AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard X963SH A1AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard X963SH A224AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard X963SH A256AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard X963SH A384AESGCM - kSec
KeyAlgorithmECIES ⚠Encryption Standard X963SH A512AESGCM - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A1 - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A1AESGCM - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A224 - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A256 - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A384 - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A512 - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A224AESGCM - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A256AESGCM - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A384AESGCM - kSec
KeyAlgorithmRSA ⚠EncryptionOAEPSH A512AESGCM - kSec
KeyAlgorithmRSA ⚠EncryptionPKC S1 - kSec
KeyAlgorithmRSA ⚠Encryption Raw - kSec
KeyAlgorithmRSA ⚠Signature DigestPKC S1v15 Raw - kSec
KeyAlgorithmRSA ⚠Signature DigestPKC S1v15SH A1 - kSec
KeyAlgorithmRSA ⚠Signature DigestPKC S1v15SH A224 - kSec
KeyAlgorithmRSA ⚠Signature DigestPKC S1v15SH A256 - kSec
KeyAlgorithmRSA ⚠Signature DigestPKC S1v15SH A384 - kSec
KeyAlgorithmRSA ⚠Signature DigestPKC S1v15SH A512 - kSec
KeyAlgorithmRSA ⚠Signature DigestPSSSH A1 - kSec
KeyAlgorithmRSA ⚠Signature DigestPSSSH A224 - kSec
KeyAlgorithmRSA ⚠Signature DigestPSSSH A256 - kSec
KeyAlgorithmRSA ⚠Signature DigestPSSSH A384 - kSec
KeyAlgorithmRSA ⚠Signature DigestPSSSH A512 - kSec
KeyAlgorithmRSA ⚠Signature MessagePKC S1v15SH A1 - kSec
KeyAlgorithmRSA ⚠Signature MessagePKC S1v15SH A224 - kSec
KeyAlgorithmRSA ⚠Signature MessagePKC S1v15SH A256 - kSec
KeyAlgorithmRSA ⚠Signature MessagePKC S1v15SH A384 - kSec
KeyAlgorithmRSA ⚠Signature MessagePKC S1v15SH A512 - kSec
KeyAlgorithmRSA ⚠Signature MessagePSSSH A1 - kSec
KeyAlgorithmRSA ⚠Signature MessagePSSSH A224 - kSec
KeyAlgorithmRSA ⚠Signature MessagePSSSH A256 - kSec
KeyAlgorithmRSA ⚠Signature MessagePSSSH A384 - kSec
KeyAlgorithmRSA ⚠Signature MessagePSSSH A512 - kSec
KeyAlgorithmRSA ⚠Signature Raw - kSec
KeyKey ⚠Exchange Parameter Requested Size - kSec
KeyKey ⚠Exchange Parameter Shared Info - kSec
Match ⚠Case Insensitive - kSec
Match ⚠Diacritic Insensitive - kSec
Match ⚠Email Address IfPresent - kSec
Match ⚠Host OrSubdomain OfHost - kSec
Match ⚠Issuers - kSec
Match ⚠Item List - kSec
Match ⚠Limit - kSec
Match ⚠Limit All - kSec
Match ⚠Limit One - kSec
Match ⚠Policy - kSec
Match ⚠Search List - kSec
Match ⚠Subject Contains - kSec
Match ⚠Subject Ends With - kSec
Match ⚠Subject Starts With - kSec
Match ⚠Subject Whole String - kSec
Match ⚠Trusted Only - kSec
Match ⚠Valid OnDate - kSec
Match ⚠Width Insensitive - kSec
Policy ⚠Apple Code Signing - kSec
Policy ⚠AppleEAP - kSec
Policy ⚠AppleEAP Client - kSec
Policy ⚠AppleEAP Server - kSec
Policy ⚠AppleID Validation - kSec
Policy ⚠AppleIP SecClient - kSec
Policy ⚠AppleIP SecServer - kSec
Policy ⚠AppleI Psec - kSec
Policy ⚠ApplePKINIT Client - kSec
Policy ⚠ApplePKINIT Server - kSec
Policy ⚠Apple Passbook Signing - kSec
Policy ⚠Apple PayIssuer Encryption - kSec
Policy ⚠Apple Revocation - kSec
Policy ⚠AppleSMIME - kSec
Policy ⚠AppleSSL - kSec
Policy ⚠AppleSSL Client - kSec
Policy ⚠AppleSSL Server - kSec
Policy ⚠Apple Time Stamping - kSec
Policy ⚠Apple X509 Basic - kSec
Policy ⚠Client - kSec
PolicyKU_ ⚠CRLSign - kSec
PolicyKU_ ⚠Data Encipherment - kSec
PolicyKU_ ⚠Decipher Only - kSec
PolicyKU_ ⚠Digital Signature - kSec
PolicyKU_ ⚠Encipher Only - kSec
PolicyKU_ ⚠KeyAgreement - kSec
PolicyKU_ ⚠KeyCert Sign - kSec
PolicyKU_ ⚠KeyEncipherment - kSec
PolicyKU_ ⚠NonRepudiation - kSec
Policy ⚠MacApp Store Receipt - kSec
Policy ⚠Name - kSec
Policy ⚠Oid - kSec
Policy ⚠Revocation Flags - kSec
Policy ⚠Team Identifier - kSec
Private ⚠KeyAttrs - kSec
Public ⚠KeyAttrs - kSec
Random ⚠Default - kSec
Return ⚠Attributes - kSec
Return ⚠Data - kSec
Return ⚠Persistent Ref - kSec
Return ⚠Ref - kSec
UseAuthentication ⚠Context - kSec
UseAuthenticationUI ⚠ - kSec
UseAuthenticationUI ⚠Skip - kSec
UseData ⚠Protection Keychain - kSec
UseKeychain ⚠ - kSec
Value ⚠Data - kSec
Value ⚠Persistent Ref - kSec
Value ⚠Ref
Functions§
- CFArray
Create ⚠ - CFArray
GetCount ⚠ - CFArray
GetTypeID ⚠ - CFArray
GetValue ⚠AtIndex - CFBoolean
GetTypeID ⚠ - CFBoolean
GetValue ⚠ - CFData
Create ⚠ - CFData
GetByte ⚠Ptr - CFData
GetLength ⚠ - CFData
GetTypeID ⚠ - CFDictionary
Create ⚠Mutable - CFDictionary
GetCount ⚠ - CFDictionary
GetKeys ⚠AndValues - CFDictionary
GetTypeID ⚠ - CFDictionary
GetValue ⚠ - CFDictionary
SetValue ⚠ - CFError
Copy ⚠Description - CFGet
TypeID ⚠ - CFNumber
GetTypeID ⚠ - CFNumber
GetValue ⚠ - CFRelease⚠
- CFString
Create ⚠WithC String - CFString
GetC ⚠String - CFString
GetLength ⚠ - CFString
GetTypeID ⚠ - SecAccess
Control ⚠Create With Flags - SecAccess
Control ⚠GetTypeID - SecCertificate
Copy ⚠Data - SecCertificate
Copy ⚠Key - SecCertificate
Copy ⚠Subject Summary - SecCertificate
Create ⚠With Data - SecCode
Copy ⚠Self - SecCode
Copy ⚠Signing Information - SecCopy
Error ⚠Message String - SecItem
Add ⚠ - SecItem
Copy ⚠Matching - SecItem
Delete ⚠ - SecItem
Update ⚠ - SecKey
Copy ⚠Attributes - SecKey
Copy ⚠External Representation - SecKey
Copy ⚠KeyExchange Result - SecKey
Copy ⚠Public Key - SecKey
Create ⚠Decrypted Data - SecKey
Create ⚠Encrypted Data - SecKey
Create ⚠Random Key - SecKey
Create ⚠Signature - SecKey
Create ⚠With Data - SecKey
GetBlock ⚠Size - SecKey
GetTypeID ⚠ - SecKey
IsAlgorithm ⚠Supported - SecKey
Verify ⚠Signature - SecPolicy
Copy ⚠Properties - SecPolicy
Create ⚠Basic X509 - SecPolicy
Create ⚠Revocation - SecPolicy
CreateSSL ⚠ - SecPolicy
Create ⚠With Properties - SecPolicy
GetTypeID ⚠ - SecRandom
Copy ⚠Bytes - SecTrust
Create ⚠With Certificates - SecTrust
Evaluate ⚠With Error - SecTrust
SetPolicies ⚠
Type Aliases§
- Boolean
- CFAllocator
Ref - CFArray
Ref - CFBoolean
Ref - CFData
Ref - CFDictionary
Ref - CFError
Ref - CFIndex
- CFMutable
Dictionary Ref - CFNumber
Ref - CFOption
Flags - CFString
Ref - CFTypeID
- CFType
Ref - OSStatus
- SecAccess
Control Create Flags - SecAccess
Control Ref - SecCS
Flags - SecCertificate
Ref - SecCode
Ref - SecKey
Algorithm - SecKey
KeyExchange Parameter - SecKey
Operation Type - SecKey
Ref - SecPolicy
Ref - SecRandom
Ref - SecStatic
Code Ref - SecTrust
Ref