core/sys/darwin/Security

Security

Types

3

errSec

errSec :: enum OSStatus { Success = 0, // No error. Unimplemented = -4, // Function or operation not implemented. DiskFull = -34, // The disk is full. IO = -36, // I/O error. OpWr = -49, // File already open with with write permission. Param = -50, // One or more parameters passed to a function were not valid. WrPerm = -61, // Write permissions error. Allocate = -108, // Failed to allocate memory. UserCanceled = -128, // User canceled the operation. BadReq = -909, // Bad parameter or invalid state for operation. InternalComponent = -2070, CoreFoundationUnknown = -4960, MissingEntitlement = -4959, // A required entitlement isn't present. RestrictedAPI = -4958, // Client is restricted and is not permitted to perform this operation. NotAvailable = -25291, // No keychain is available. You may need to restart your computer. ReadOnly = -25292, // This keychain cannot be modified. AuthFailed = -25293, // The user name or passphrase you entered is not correct. NoSuchKeychain = -25294, // The specified keychain could not be found. InvalidKeychain = -25295, // The specified keychain is not a valid keychain file. DuplicateKeychain = -25296, // A keychain with the same name already exists. DuplicateCallback = -25297, // The specified callback function is already installed. InvalidCallback = -25298, // The specified callback function is not valid. DuplicateItem = -25299, // The specified item already exists in the keychain. ItemNotFound = -25300, // The specified item could not be found in the keychain. BufferTooSmall = -25301, // There is not enough memory available to use the specified item. DataTooLarge = -25302, // This item contains information which is too large or in a format that cannot be displayed. NoSuchAttr = -25303, // The specified attribute does not exist. InvalidItemRef = -25304, // The specified item is no longer valid. It may have been deleted from the keychain. InvalidSearchRef = -25305, // Unable to search the current keychain. NoSuchClass = -25306, // The specified item does not appear to be a valid keychain item. NoDefaultKeychain = -25307, // A default keychain could not be found. InteractionNotAllowed = -25308, // User interaction is not allowed. ReadOnlyAttr = -25309, // The specified attribute could not be modified. WrongSecVersion = -25310, // This keychain was created by a different version of the system software and cannot be opened. KeySizeNotAllowed = -25311, // This item specifies a key size which is too large or too small. NoStorageModule = -25312, // A required component (data storage module) could not be loaded. You may need to restart your computer. NoCertificateModule = -25313, // A required component (certificate module) could not be loaded. You may need to restart your computer. NoPolicyModule = -25314, // A required component (policy module) could not be loaded. You may need to restart your computer. InteractionRequired = -25315, // User interaction is required, but is currently not allowed. DataNotAvailable = -25316, // The contents of this item cannot be retrieved. DataNotModifiable = -25317, // The contents of this item cannot be modified. CreateChainFailed = -25318, // One or more certificates required to validate this certificate cannot be found. InvalidPrefsDomain = -25319, // The specified preferences domain is not valid. InDarkWake = -25320, // In dark wake, no UI possible ACLNotSimple = -25240, // The specified access control list is not in standard (simple) form. PolicyNotFound = -25241, // The specified policy cannot be found. InvalidTrustSetting = -25242, // The specified trust setting is invalid. NoAccessForItem = -25243, // The specified item has no access control. InvalidOwnerEdit = -25244, // Invalid attempt to change the owner of this item. TrustNotAvailable = -25245, // No trust results are available. UnsupportedFormat = -25256, // Import/Export format unsupported. UnknownFormat = -25257, // Unknown format in import. KeyIsSensitive = -25258, // Key material must be wrapped for export. MultiplePrivKeys = -25259, // An attempt was made to import multiple private keys. PassphraseRequired = -25260, // Passphrase is required for import/export. InvalidPasswordRef = -25261, // The password reference was invalid. InvalidTrustSettings = -25262, // The Trust Settings Record was corrupted. NoTrustSettings = -25263, // No Trust Settings were found. Pkcs12VerifyFailure = -25264, // MAC verification failed during PKCS12 import (wrong password?) NotSigner = -26267, // A certificate was not signed by its proposed parent. Decode = -26275, // Unable to decode the provided data. ServiceNotAvailable = -67585, // The required service is not available. InsufficientClientID = -67586, // The client ID is not correct. DeviceReset = -67587, // A device reset has occurred. DeviceFailed = -67588, // A device failure has occurred. AppleAddAppACLSubject = -67589, // Adding an application ACL subject failed. ApplePublicKeyIncomplete = -67590, // The public key is incomplete. AppleSignatureMismatch = -67591, // A signature mismatch has occurred. AppleInvalidKeyStartDate = -67592, // The specified key has an invalid start date. AppleInvalidKeyEndDate = -67593, // The specified key has an invalid end date. ConversionError = -67594, // A conversion error has occurred. AppleSSLv2Rollback = -67595, // A SSLv2 rollback error has occurred. QuotaExceeded = -67596, // The quota was exceeded. FileTooBig = -67597, // The file is too big. InvalidDatabaseBlob = -67598, // The specified database has an invalid blob. InvalidKeyBlob = -67599, // The specified database has an invalid key blob. IncompatibleDatabaseBlob = -67600, // The specified database has an incompatible blob. IncompatibleKeyBlob = -67601, // The specified database has an incompatible key blob. HostNameMismatch = -67602, // A host name mismatch has occurred. UnknownCriticalExtensionFlag = -67603, // There is an unknown critical extension flag. NoBasicConstraints = -67604, // No basic constraints were found. NoBasicConstraintsCA = -67605, // No basic CA constraints were found. InvalidAuthorityKeyID = -67606, // The authority key ID is not valid. InvalidSubjectKeyID = -67607, // The subject key ID is not valid. InvalidKeyUsageForPolicy = -67608, // The key usage is not valid for the specified policy. InvalidExtendedKeyUsage = -67609, // The extended key usage is not valid. InvalidIDLinkage = -67610, // The ID linkage is not valid. PathLengthConstraintExceeded = -67611, // The path length constraint was exceeded. InvalidRoot = -67612, // The root or anchor certificate is not valid. CRLExpired = -67613, // The CRL has expired. CRLNotValidYet = -67614, // The CRL is not yet valid. CRLNotFound = -67615, // The CRL was not found. CRLServerDown = -67616, // The CRL server is down. CRLBadURI = -67617, // The CRL has a bad Uniform Resource Identifier. UnknownCertExtension = -67618, // An unknown certificate extension was encountered. UnknownCRLExtension = -67619, // An unknown CRL extension was encountered. CRLNotTrusted = -67620, // The CRL is not trusted. CRLPolicyFailed = -67621, // The CRL policy failed. IDPFailure = -67622, // The issuing distribution point was not valid. SMIMEEmailAddressesNotFound = -67623, // An email address mismatch was encountered. SMIMEBadExtendedKeyUsage = -67624, // The appropriate extended key usage for SMIME was not found. SMIMEBadKeyUsage = -67625, // The key usage is not compatible with SMIME. SMIMEKeyUsageNotCritical = -67626, // The key usage extension is not marked as critical. SMIMENoEmailAddress = -67627, // No email address was found in the certificate. SMIMESubjAltNameNotCritical = -67628, // The subject alternative name extension is not marked as critical. SSLBadExtendedKeyUsage = -67629, // The appropriate extended key usage for SSL was not found. OCSPBadResponse = -67630, // The OCSP response was incorrect or could not be parsed. OCSPBadRequest = -67631, // The OCSP request was incorrect or could not be parsed. OCSPUnavailable = -67632, // OCSP service is unavailable. OCSPStatusUnrecognized = -67633, // The OCSP server did not recognize this certificate. EndOfData = -67634, // An end-of-data was detected. IncompleteCertRevocationCheck = -67635, // An incomplete certificate revocation check occurred. NetworkFailure = -67636, // A network failure occurred. OCSPNotTrustedToAnchor = -67637, // The OCSP response was not trusted to a root or anchor certificate. RecordModified = -67638, // The record was modified. OCSPSignatureError = -67639, // The OCSP response had an invalid signature. OCSPNoSigner = -67640, // The OCSP response had no signer. OCSPResponderMalformedReq = -67641, // The OCSP responder was given a malformed request. OCSPResponderInternalError = -67642, // The OCSP responder encountered an internal error. OCSPResponderTryLater = -67643, // The OCSP responder is busy, try again later. OCSPResponderSignatureRequired = -67644, // The OCSP responder requires a signature. OCSPResponderUnauthorized = -67645, // The OCSP responder rejected this request as unauthorized. OCSPResponseNonceMismatch = -67646, // The OCSP response nonce did not match the request. CodeSigningBadCertChainLength = -67647, // Code signing encountered an incorrect certificate chain length. CodeSigningNoBasicConstraints = -67648, // Code signing found no basic constraints. CodeSigningBadPathLengthConstraint = -67649, // Code signing encountered an incorrect path length constraint. CodeSigningNoExtendedKeyUsage = -67650, // Code signing found no extended key usage. CodeSigningDevelopment = -67651, // Code signing indicated use of a development-only certificate. ResourceSignBadCertChainLength = -67652, // Resource signing has encountered an incorrect certificate chain length. ResourceSignBadExtKeyUsage = -67653, // Resource signing has encountered an error in the extended key usage. TrustSettingDeny = -67654, // The trust setting for this policy was set to Deny. InvalidSubjectName = -67655, // An invalid certificate subject name was encountered. UnknownQualifiedCertStatement = -67656, // An unknown qualified certificate statement was encountered. MobileMeRequestQueued = -67657, MobileMeRequestRedirected = -67658, MobileMeServerError = -67659, MobileMeServerNotAvailable = -67660, MobileMeServerAlreadyExists = -67661, MobileMeServerServiceErr = -67662, MobileMeRequestAlreadyPending = -67663, MobileMeNoRequestPending = -67664, MobileMeCSRVerifyFailure = -67665, MobileMeFailedConsistencyCheck = -67666, NotInitialized = -67667, // A function was called without initializing CSSM. InvalidHandleUsage = -67668, // The CSSM handle does not match with the service type. PVCReferentNotFound = -67669, // A reference to the calling module was not found in the list of authorized callers. FunctionIntegrityFail = -67670, // A function address was not within the verified module. InternalError = -67671, // An internal error has occurred. MemoryError = -67672, // A memory error has occurred. InvalidData = -67673, // Invalid data was encountered. MDSError = -67674, // A Module Directory Service error has occurred. InvalidPointer = -67675, // An invalid pointer was encountered. SelfCheckFailed = -67676, // Self-check has failed. FunctionFailed = -67677, // A function has failed. ModuleManifestVerifyFailed = -67678, // A module manifest verification failure has occurred. InvalidGUID = -67679, // An invalid GUID was encountered. InvalidHandle = -67680, // An invalid handle was encountered. InvalidDBList = -67681, // An invalid DB list was encountered. InvalidPassthroughID = -67682, // An invalid passthrough ID was encountered. InvalidNetworkAddress = -67683, // An invalid network address was encountered. CRLAlreadySigned = -67684, // The certificate revocation list is already signed. InvalidNumberOfFields = -67685, // An invalid number of fields were encountered. VerificationFailure = -67686, // A verification failure occurred. UnknownTag = -67687, // An unknown tag was encountered. InvalidSignature = -67688, // An invalid signature was encountered. InvalidName = -67689, // An invalid name was encountered. InvalidCertificateRef = -67690, // An invalid certificate reference was encountered. InvalidCertificateGroup = -67691, // An invalid certificate group was encountered. TagNotFound = -67692, // The specified tag was not found. InvalidQuery = -67693, // The specified query was not valid. InvalidValue = -67694, // An invalid value was detected. CallbackFailed = -67695, // A callback has failed. ACLDeleteFailed = -67696, // An ACL delete operation has failed. ACLReplaceFailed = -67697, // An ACL replace operation has failed. ACLAddFailed = -67698, // An ACL add operation has failed. ACLChangeFailed = -67699, // An ACL change operation has failed. InvalidAccessCredentials = -67700, // Invalid access credentials were encountered. InvalidRecord = -67701, // An invalid record was encountered. InvalidACL = -67702, // An invalid ACL was encountered. InvalidSampleValue = -67703, // An invalid sample value was encountered. IncompatibleVersion = -67704, // An incompatible version was encountered. PrivilegeNotGranted = -67705, // The privileSource

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.