Documentation
¶
Overview ¶
Package security provides Go bindings for the Security framework.
Secure the data your app manages, and control access to your app.
Use the Security framework to protect information, establish trust, and control access to software. Broadly, security services support these goals:
Essentials ¶
- Security updates: Learn about important changes to Security.
Authorization and authentication ¶
- Password AutoFill: Streamline your app’s login and onboarding procedures.
- Shared Web Credentials: Share credentials between iOS apps and their website counterparts.
- Authorization Services: Access restricted areas of the operating system, and control access to particular features of your macOS app. (AuthorizationFlags, AuthorizationRef, AuthorizationItem, AuthorizationItemSet, AuthorizationRights)
- Authorization Plug-ins: Extend the authorization services API by creating plug-ins that can participate in authorization decisions.
- Sessions: Manage login, authorization, and security sessions in macOS. (SessionCreationFlags, SessionAttributeBits, SecuritySessionId)
- One-time codes: Streamline entry of authentication and recovery codes.
Secure data ¶
- Keychain services: Securely store small chunks of data on behalf of the user.
- Preventing Insecure Network Connections: Enforce secure network links in your app by relying on App Transport Security.
Secure code ¶
- Code Signing Services: Examine and validate signed code running on the system. (SecCSFlags, SecCodeSignatureFlags, SecCSDigestAlgorithm, SecRequirementType, SecCodeStatus)
- Notarizing macOS software before distribution: Give users even more confidence in your macOS software by submitting it to Apple for notarization.
- Preparing your app to work with pointer authentication: Test your app against the arm64e architecture to ensure that it works seamlessly with enhanced security features.
- App Sandbox: Restrict access to system resources and user data in macOS apps to contain damage if an app becomes compromised.
- Hardened Runtime: Manage security protections and resource access for your macOS apps.
- Disabling and Enabling System Integrity Protection: Disable system protections only temporarily during development to test drivers, kernel extensions, and other low-level code.
- Using the latest code signature format: Update legacy app code signatures so your app runs on current OS releases.
- Updating Mac Software: Implement Mac software updates without causing code-signing crashes.
- TN3125: Inside Code Signing: Provisioning Profiles: Learn how provisioning profiles enable third-party code to run on Apple platforms.
Launch environment constraints ¶
- Applying launch environment and library constraints: Limit the libraries your process loads, and the situations where it runs.
- Defining launch environment and library constraints: Restrict your app’s components to their expected contexts.
- Constraining a tool’s launch environment: Improve the security of your macOS app by limiting the ways its components can run.
Cryptography ¶
- Complying with Encryption Export Regulations: Declare the use of encryption in your app to streamline the app submission process.
- Certificate, Key, and Trust Services: Establish trust using certificates and cryptographic keys.
- Cryptographic Message Syntax Services: Cryptographically sign and encrypt S/MIME messages. (CMSSignedAttributes, CMSCertificateChainMode, CMSSignerStatus)
- Randomization Services: Generate cryptographically secure random numbers. (SecRandomRef)
- Security Transforms: Perform cryptographic functions like encoding, encryption, signing, and signature verification. (SecTransformInstanceBlock, SecTransformImplementationRef, SecTransformMetaAttributeType, SecTransformDataBlock, SecMessageBlock)
- ASN.1: Encode and decode Distinguished Encoding Rules (DER) and Basic Encoding Rules (BER) data streams. (SecAsn1Template_struct, SecAsn1Template_struct, SecAsn1AlgId, SecAsn1PubKeyInfo)
Result codes ¶
- Security Framework Result Codes: Evaluate result codes common to many Security framework functions.
Legacy interfaces ¶
- Common Security Services Manager: A set of open source modules underpinning the legacy implementation of the Security framework. (Cssm_applecspdl_db_change_password_parameters, Cssm_applecspdl_db_is_locked_parameters, Cssm_applecspdl_db_settings_parameters, Cssm_appledl_open_parameters, Cssm_authorizationgroup)
- Secure Transport: Secure network communication using standardized transport layer security mechanisms. (SSLProtocolSide, SSLConnectionType, SSLSessionOption, SSLReadFunc, SSLWriteFunc)
- Secure Download: Implement Apple’s Secure Download System in macOS.
- Security legacy reference: Learn about legacy APIs. (MDS_HANDLE, OS_sec_certificate, OS_sec_identity, OS_sec_object, OS_sec_protocol_metadata)
Variables ¶
- CSSM_APPLE_PRIVATE_CSPDL_CODE_28
- TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256
- errSecMissingQualifiedCertStatement
- kSecPolicyAppleEAPClient
- kSecPolicyAppleEAPServer
- kSecPolicyAppleIPSecClient
- kSecPolicyAppleIPSecServer
- kSecPolicyAppleSSLClient
- kSecPolicyAppleSSLServer
- kSecTrustQCStatements
- kSecTrustQWACValidation
Functions ¶
- SecIdentityCreate(_:_:_:)
- sec_protocol_metadata_copy_negotiated_protocol(_:)
- sec_protocol_metadata_copy_server_name(_:)
Type Aliases ¶
- CE_DataType
- CE_ExtendedKeyUsage
- CE_GeneralNameType
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func AuthorizationCopyInfo(authorization AuthorizationRef, tag AuthorizationString, ...) int32
- func AuthorizationCopyRights(authorization AuthorizationRef, rights *AuthorizationRights, ...) int32
- func AuthorizationCopyRightsAsync(authorization AuthorizationRef, rights *AuthorizationRights, ...)
- func AuthorizationCreate(rights *AuthorizationRights, environment *AuthorizationEnvironment, ...) int32
- func AuthorizationCreateFromExternalForm(extForm *AuthorizationExternalForm, authorization *AuthorizationRef) int32
- func AuthorizationFree(authorization AuthorizationRef, flags AuthorizationFlags) int32
- func AuthorizationFreeItemSet(set *AuthorizationItemSet) int32
- func AuthorizationMakeExternalForm(authorization AuthorizationRef, extForm *AuthorizationExternalForm) int32
- func AuthorizationRightGet(rightName string, rightDefinition *corefoundation.CFDictionaryRef) int32
- func AuthorizationRightRemove(authRef AuthorizationRef, rightName string) int32
- func AuthorizationRightSet(authRef AuthorizationRef, rightName string, ...) int32
- func CMSDecoderCopyAllCerts(cmsDecoder CMSDecoderRef, certsOut *corefoundation.CFArrayRef) int32
- func CMSDecoderCopyContent(cmsDecoder CMSDecoderRef, contentOut *corefoundation.CFDataRef) int32
- func CMSDecoderCopyDetachedContent(cmsDecoder CMSDecoderRef, detachedContentOut *corefoundation.CFDataRef) int32
- func CMSDecoderCopyEncapsulatedContentType(cmsDecoder CMSDecoderRef, eContentTypeOut *corefoundation.CFDataRef) int32
- func CMSDecoderCopySignerCert(cmsDecoder CMSDecoderRef, signerIndex uintptr, ...) int32
- func CMSDecoderCopySignerEmailAddress(cmsDecoder CMSDecoderRef, signerIndex uintptr, ...) int32
- func CMSDecoderCopySignerSigningTime(cmsDecoder CMSDecoderRef, signerIndex uintptr, ...) int32
- func CMSDecoderCopySignerStatus(cmsDecoder CMSDecoderRef, signerIndex uintptr, ...) int32
- func CMSDecoderCopySignerTimestamp(cmsDecoder CMSDecoderRef, signerIndex uintptr, ...) int32
- func CMSDecoderCopySignerTimestampCertificates(cmsDecoder CMSDecoderRef, signerIndex uintptr, ...) int32
- func CMSDecoderCopySignerTimestampWithPolicy(cmsDecoder CMSDecoderRef, timeStampPolicy corefoundation.CFTypeRef, ...) int32
- func CMSDecoderCreate(cmsDecoderOut *CMSDecoderRef) int32
- func CMSDecoderFinalizeMessage(cmsDecoder CMSDecoderRef) int32
- func CMSDecoderGetNumSigners(cmsDecoder CMSDecoderRef, numSignersOut *uintptr) int32
- func CMSDecoderGetTypeID() uint
- func CMSDecoderIsContentEncrypted(cmsDecoder CMSDecoderRef, isEncryptedOut *bool) int32
- func CMSDecoderSetDetachedContent(cmsDecoder CMSDecoderRef, detachedContent corefoundation.CFDataRef) int32
- func CMSDecoderSetSearchKeychain(cmsDecoder CMSDecoderRef, keychainOrArray corefoundation.CFTypeRef) int32deprecated
- func CMSDecoderUpdateMessage(cmsDecoder CMSDecoderRef, msgBytes unsafe.Pointer, msgBytesLen uintptr) int32
- func CMSEncode(signers corefoundation.CFTypeRef, recipients corefoundation.CFTypeRef, ...) int32deprecated
- func CMSEncodeContent(signers corefoundation.CFTypeRef, recipients corefoundation.CFTypeRef, ...) int32
- func CMSEncoderAddRecipients(cmsEncoder CMSEncoderRef, recipientOrArray corefoundation.CFTypeRef) int32
- func CMSEncoderAddSignedAttributes(cmsEncoder CMSEncoderRef, signedAttributes CMSSignedAttributes) int32
- func CMSEncoderAddSigners(cmsEncoder CMSEncoderRef, signerOrArray corefoundation.CFTypeRef) int32
- func CMSEncoderAddSupportingCerts(cmsEncoder CMSEncoderRef, certOrArray corefoundation.CFTypeRef) int32
- func CMSEncoderCopyEncapsulatedContentType(cmsEncoder CMSEncoderRef, eContentTypeOut *corefoundation.CFDataRef) int32
- func CMSEncoderCopyEncodedContent(cmsEncoder CMSEncoderRef, encodedContentOut *corefoundation.CFDataRef) int32
- func CMSEncoderCopyRecipients(cmsEncoder CMSEncoderRef, recipientsOut *corefoundation.CFArrayRef) int32
- func CMSEncoderCopySignerTimestamp(cmsEncoder CMSEncoderRef, signerIndex uintptr, ...) int32
- func CMSEncoderCopySignerTimestampWithPolicy(cmsEncoder CMSEncoderRef, timeStampPolicy corefoundation.CFTypeRef, ...) int32
- func CMSEncoderCopySigners(cmsEncoder CMSEncoderRef, signersOut *corefoundation.CFArrayRef) int32
- func CMSEncoderCopySupportingCerts(cmsEncoder CMSEncoderRef, certsOut *corefoundation.CFArrayRef) int32
- func CMSEncoderCreate(cmsEncoderOut *CMSEncoderRef) int32
- func CMSEncoderGetCertificateChainMode(cmsEncoder CMSEncoderRef, chainModeOut *CMSCertificateChainMode) int32
- func CMSEncoderGetHasDetachedContent(cmsEncoder CMSEncoderRef, detachedContentOut *bool) int32
- func CMSEncoderGetTypeID() uint
- func CMSEncoderSetCertificateChainMode(cmsEncoder CMSEncoderRef, chainMode CMSCertificateChainMode) int32
- func CMSEncoderSetEncapsulatedContentType(cmsEncoder CMSEncoderRef, eContentType unsafe.Pointer) int32deprecated
- func CMSEncoderSetEncapsulatedContentTypeOID(cmsEncoder CMSEncoderRef, eContentTypeOID corefoundation.CFTypeRef) int32
- func CMSEncoderSetHasDetachedContent(cmsEncoder CMSEncoderRef, detachedContent bool) int32
- func CMSEncoderSetSignerAlgorithm(cmsEncoder CMSEncoderRef, digestAlgorithm corefoundation.CFStringRef) int32
- func CMSEncoderUpdateContent(cmsEncoder CMSEncoderRef, content unsafe.Pointer, contentLen uintptr) int32
- func CssmAlgToOid(algId CSSM_ALGORITHMS) unsafe.Pointer
- func CssmOidToAlg(oid unsafe.Pointer, alg unsafe.Pointer) bool
- func CssmPerror(how string, err CSSM_RETURN)
- func SecAccessControlGetTypeID() uint
- func SecAddSharedWebCredential(fqdn corefoundation.CFStringRef, account corefoundation.CFStringRef, ...)deprecated
- func SecAsn1AllocCopy(coder uintptr, src unsafe.Pointer, len_ uintptr, dest unsafe.Pointer) int32deprecated
- func SecAsn1AllocCopyItem(coder uintptr, src unsafe.Pointer, dest unsafe.Pointer) int32deprecated
- func SecAsn1AllocItem(coder uintptr, item unsafe.Pointer, len_ uintptr) int32deprecated
- func SecAsn1CoderCreate(coder unsafe.Pointer) int32deprecated
- func SecAsn1CoderRelease(coder uintptr) int32deprecated
- func SecAsn1Decode(coder uintptr, src unsafe.Pointer, len_ uintptr, templates unsafe.Pointer, ...) int32deprecated
- func SecAsn1DecodeData(coder uintptr, src unsafe.Pointer, templ unsafe.Pointer, dest unsafe.Pointer) int32deprecated
- func SecAsn1EncodeItem(coder uintptr, src unsafe.Pointer, templates unsafe.Pointer, ...) int32deprecated
- func SecAsn1Malloc(coder uintptr, len_ uintptr) unsafe.Pointerdeprecated
- func SecAsn1OidCompare(oid1 unsafe.Pointer, oid2 unsafe.Pointer) booldeprecated
- func SecCertificateAddToKeychain(certificate SecCertificateRef, keychain SecKeychainRef) int32
- func SecCertificateCopyCommonName(certificate SecCertificateRef, commonName *corefoundation.CFStringRef) int32
- func SecCertificateCopyData(certificate SecCertificateRef) corefoundation.CFDataRef
- func SecCertificateCopyEmailAddresses(certificate SecCertificateRef, emailAddresses *corefoundation.CFArrayRef) int32
- func SecCertificateCopyLongDescription(alloc corefoundation.CFAllocatorRef, certificate SecCertificateRef, ...) corefoundation.CFStringRef
- func SecCertificateCopyNormalizedIssuerSequence(certificate SecCertificateRef) corefoundation.CFDataRef
- func SecCertificateCopyNormalizedSubjectSequence(certificate SecCertificateRef) corefoundation.CFDataRef
- func SecCertificateCopyNotValidAfterDate(certificate SecCertificateRef) corefoundation.CFDateRef
- func SecCertificateCopyNotValidBeforeDate(certificate SecCertificateRef) corefoundation.CFDateRef
- func SecCertificateCopyPreference(name corefoundation.CFStringRef, keyUsage uint32, ...) int32deprecated
- func SecCertificateCopySerialNumberData(certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
- func SecCertificateCopyShortDescription(alloc corefoundation.CFAllocatorRef, certificate SecCertificateRef, ...) corefoundation.CFStringRef
- func SecCertificateCopySubjectSummary(certificate SecCertificateRef) corefoundation.CFStringRef
- func SecCertificateCopyValues(certificate SecCertificateRef, keys corefoundation.CFArrayRef, ...) corefoundation.CFDictionaryRef
- func SecCertificateGetAlgorithmID(certificate SecCertificateRef, algid unsafe.Pointer) int32deprecated
- func SecCertificateGetCLHandle(certificate SecCertificateRef, clHandle unsafe.Pointer) int32deprecated
- func SecCertificateGetData(certificate SecCertificateRef, data unsafe.Pointer) int32deprecated
- func SecCertificateGetIssuer(certificate SecCertificateRef, issuer unsafe.Pointer) int32deprecated
- func SecCertificateGetSubject(certificate SecCertificateRef, subject unsafe.Pointer) int32deprecated
- func SecCertificateGetType(certificate SecCertificateRef, certificateType unsafe.Pointer) int32deprecated
- func SecCertificateGetTypeID() uint
- func SecCertificateSetPreference(certificate SecCertificateRef, name corefoundation.CFStringRef, ...) int32deprecated
- func SecCertificateSetPreferred(certificate SecCertificateRef, name corefoundation.CFStringRef, ...) int32
- func SecCodeCheckValidity(code SecCodeRef, flags SecCSFlags, requirement SecRequirementRef) int32
- func SecCodeCheckValidityWithErrors(code SecCodeRef, flags SecCSFlags, requirement SecRequirementRef, ...) int32
- func SecCodeCopyDesignatedRequirement(code SecStaticCodeRef, flags SecCSFlags, requirement *SecRequirementRef) int32
- func SecCodeCopyGuestWithAttributes(host SecCodeRef, attributes corefoundation.CFDictionaryRef, flags SecCSFlags, ...) int32
- func SecCodeCopyHost(guest SecCodeRef, flags SecCSFlags, host *SecCodeRef) int32
- func SecCodeCopyPath(staticCode SecStaticCodeRef, flags SecCSFlags, path *corefoundation.CFURLRef) int32
- func SecCodeCopySelf(flags SecCSFlags, self *SecCodeRef) int32
- func SecCodeCopySigningInformation(code SecStaticCodeRef, flags SecCSFlags, ...) int32
- func SecCodeCopyStaticCode(code SecCodeRef, flags SecCSFlags, staticCode *SecStaticCodeRef) int32
- func SecCodeCreateWithXPCMessage(message unsafe.Pointer, flags SecCSFlags, target *SecCodeRef) int32
- func SecCodeGetTypeID() uint
- func SecCodeMapMemory(code SecStaticCodeRef, flags SecCSFlags) int32
- func SecCodeValidateFileResource(code SecStaticCodeRef, relativePath corefoundation.CFStringRef, ...) int32
- func SecCopyErrorMessageString(status int32, reserved unsafe.Pointer) corefoundation.CFStringRef
- func SecCreateSharedWebCredentialPassword() corefoundation.CFStringRef
- func SecHostCreateGuest(host SecGuestRef, status uint32, path corefoundation.CFURLRef, ...) int32deprecated
- func SecHostRemoveGuest(host SecGuestRef, guest SecGuestRef, flags SecCSFlags) int32deprecated
- func SecHostSelectGuest(guestRef SecGuestRef, flags SecCSFlags) int32deprecated
- func SecHostSelectedGuest(flags SecCSFlags, guestRef *SecGuestRef) int32deprecated
- func SecHostSetGuestStatus(guestRef SecGuestRef, status uint32, attributes corefoundation.CFDictionaryRef, ...) int32deprecated
- func SecHostSetHostingPort(hostingPort uint32, flags SecCSFlags) int32deprecated
- func SecIdentityCopyCertificate(identityRef SecIdentityRef, certificateRef *SecCertificateRef) int32
- func SecIdentityCopyPreference(name corefoundation.CFStringRef, keyUsage CSSM_KEYUSE, ...) int32deprecated
- func SecIdentityCopyPrivateKey(identityRef SecIdentityRef, privateKeyRef *SecKeyRef) int32
- func SecIdentityCopySystemIdentity(domain corefoundation.CFStringRef, idRef *SecIdentityRef, ...) int32
- func SecIdentityCreateWithCertificate(keychainOrArray corefoundation.CFTypeRef, certificateRef SecCertificateRef, ...) int32
- func SecIdentityGetTypeID() uint
- func SecIdentitySearchCopyNext(searchRef SecIdentitySearchRef, identity *SecIdentityRef) int32deprecated
- func SecIdentitySearchCreate(keychainOrArray corefoundation.CFTypeRef, keyUsage CSSM_KEYUSE, ...) int32deprecated
- func SecIdentitySearchGetTypeID() uintdeprecated
- func SecIdentitySetPreference(identity SecIdentityRef, name corefoundation.CFStringRef, keyUsage CSSM_KEYUSE) int32deprecated
- func SecIdentitySetPreferred(identity SecIdentityRef, name corefoundation.CFStringRef, ...) int32
- func SecIdentitySetSystemIdentity(domain corefoundation.CFStringRef, idRef SecIdentityRef) int32
- func SecItemAdd(attributes corefoundation.CFDictionaryRef, result *corefoundation.CFTypeRef) int32
- func SecItemCopyMatching(query corefoundation.CFDictionaryRef, result *corefoundation.CFTypeRef) int32
- func SecItemDelete(query corefoundation.CFDictionaryRef) int32
- func SecItemExport(secItemOrArray corefoundation.CFTypeRef, outputFormat SecExternalFormat, ...) int32
- func SecItemImport(importedData corefoundation.CFDataRef, ...) int32
- func SecItemUpdate(query corefoundation.CFDictionaryRef, ...) int32
- func SecKeyCopyAttributes(key SecKeyRef) corefoundation.CFDictionaryRef
- func SecKeyCopyExternalRepresentation(key SecKeyRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
- func SecKeyCopyKeyExchangeResult(privateKey SecKeyRef, algorithm SecKeyAlgorithm, publicKey SecKeyRef, ...) corefoundation.CFDataRef
- func SecKeyCreateDecryptedData(key SecKeyRef, algorithm SecKeyAlgorithm, ciphertext corefoundation.CFDataRef, ...) corefoundation.CFDataRef
- func SecKeyCreateEncryptedData(key SecKeyRef, algorithm SecKeyAlgorithm, plaintext corefoundation.CFDataRef, ...) corefoundation.CFDataRef
- func SecKeyCreatePair(keychainRef SecKeychainRef, algorithm CSSM_ALGORITHMS, keySizeInBits uint32, ...) int32deprecated
- func SecKeyCreateSignature(key SecKeyRef, algorithm SecKeyAlgorithm, dataToSign corefoundation.CFDataRef, ...) corefoundation.CFDataRef
- func SecKeyGenerate(keychainRef SecKeychainRef, algorithm CSSM_ALGORITHMS, keySizeInBits uint32, ...) int32deprecated
- func SecKeyGetBlockSize(key SecKeyRef) uintptr
- func SecKeyGetCSPHandle(keyRef SecKeyRef, cspHandle unsafe.Pointer) int32deprecated
- func SecKeyGetCSSMKey(key SecKeyRef, cssmKey unsafe.Pointer) int32deprecated
- func SecKeyGetCredentials(keyRef SecKeyRef, operation CSSM_ACL_AUTHORIZATION_TAG, ...) int32deprecated
- func SecKeyGetTypeID() uint
- func SecKeyIsAlgorithmSupported(key SecKeyRef, operation SecKeyOperationType, algorithm SecKeyAlgorithm) bool
- func SecKeyVerifySignature(key SecKeyRef, algorithm SecKeyAlgorithm, signedData corefoundation.CFDataRef, ...) bool
- func SecKeychainSearchGetTypeID() uintdeprecated
- func SecPKCS12Import(pkcs12_data corefoundation.CFDataRef, options corefoundation.CFDictionaryRef, ...) int32
- func SecPolicyCopyProperties(policyRef SecPolicyRef) corefoundation.CFDictionaryRef
- func SecPolicyGetOID(policyRef SecPolicyRef, oid unsafe.Pointer) int32deprecated
- func SecPolicyGetTPHandle(policyRef SecPolicyRef, tpHandle unsafe.Pointer) int32deprecated
- func SecPolicyGetTypeID() uint
- func SecPolicyGetValue(policyRef SecPolicyRef, value unsafe.Pointer) int32deprecated
- func SecPolicySearchCopyNext(searchRef SecPolicySearchRef, policyRef *SecPolicyRef) int32deprecated
- func SecPolicySearchCreate(certType CSSM_CERT_TYPE, policyOID unsafe.Pointer, value unsafe.Pointer, ...) int32deprecated
- func SecPolicySearchGetTypeID() uintdeprecated
- func SecPolicySetProperties(policyRef SecPolicyRef, properties corefoundation.CFDictionaryRef) int32deprecated
- func SecPolicySetValue(policyRef SecPolicyRef, value unsafe.Pointer) int32deprecated
- func SecRandomCopyBytes(rnd SecRandomRef, count uintptr, bytes unsafe.Pointer) int
- func SecRequirementCopyData(requirement SecRequirementRef, flags SecCSFlags, ...) int32
- func SecRequirementCopyString(requirement SecRequirementRef, flags SecCSFlags, ...) int32
- func SecRequirementCreateWithData(data corefoundation.CFDataRef, flags SecCSFlags, ...) int32
- func SecRequirementCreateWithString(text corefoundation.CFStringRef, flags SecCSFlags, ...) int32
- func SecRequirementCreateWithStringAndErrors(text corefoundation.CFStringRef, flags SecCSFlags, ...) int32
- func SecRequirementGetTypeID() uint
- func SecStaticCodeCheckValidity(staticCode SecStaticCodeRef, flags SecCSFlags, requirement SecRequirementRef) int32
- func SecStaticCodeCheckValidityWithErrors(staticCode SecStaticCodeRef, flags SecCSFlags, requirement SecRequirementRef, ...) int32
- func SecStaticCodeCreateWithPath(path corefoundation.CFURLRef, flags SecCSFlags, staticCode *SecStaticCodeRef) int32
- func SecStaticCodeCreateWithPathAndAttributes(path corefoundation.CFURLRef, flags SecCSFlags, ...) int32
- func SecStaticCodeGetTypeID() uint
- func SecTaskCopySigningIdentifier(task SecTaskRef, err *corefoundation.CFErrorRef) corefoundation.CFStringRef
- func SecTaskCopyValueForEntitlement(task SecTaskRef, entitlement corefoundation.CFStringRef, ...) corefoundation.CFTypeRef
- func SecTaskCopyValuesForEntitlements(task SecTaskRef, entitlements corefoundation.CFArrayRef, ...) corefoundation.CFDictionaryRef
- func SecTaskGetTypeID() uint
- func SecTrustCopyAnchorCertificates(anchors *corefoundation.CFArrayRef) int32
- func SecTrustCopyCertificateChain(trust SecTrustRef) corefoundation.CFArrayRef
- func SecTrustCopyCustomAnchorCertificates(trust SecTrustRef, anchors *corefoundation.CFArrayRef) int32
- func SecTrustCopyExceptions(trust SecTrustRef) corefoundation.CFDataRef
- func SecTrustCopyPolicies(trust SecTrustRef, policies *corefoundation.CFArrayRef) int32
- func SecTrustCopyProperties(trust SecTrustRef) corefoundation.CFArrayRefdeprecated
- func SecTrustCopyResult(trust SecTrustRef) corefoundation.CFDictionaryRef
- func SecTrustCreateWithCertificates(certificates corefoundation.CFTypeRef, policies corefoundation.CFTypeRef, ...) int32
- func SecTrustEvaluateAsyncWithError(trust SecTrustRef, queue dispatch.Queue, result SecTrustWithErrorCallback) int32
- func SecTrustEvaluateWithError(trust SecTrustRef, err *corefoundation.CFErrorRef) bool
- func SecTrustGetCertificateCount(trust SecTrustRef) int
- func SecTrustGetCssmResult(trust SecTrustRef, result unsafe.Pointer) int32deprecated
- func SecTrustGetCssmResultCode(trust SecTrustRef, resultCode *int32) int32deprecated
- func SecTrustGetNetworkFetchAllowed(trust SecTrustRef, allowFetch *bool) int32
- func SecTrustGetResult(trustRef SecTrustRef, result *SecTrustResultType, ...) int32deprecated
- func SecTrustGetTPHandle(trust SecTrustRef, handle unsafe.Pointer) int32deprecated
- func SecTrustGetTrustResult(trust SecTrustRef, result *SecTrustResultType) int32
- func SecTrustGetTypeID() uint
- func SecTrustGetVerifyTime(trust SecTrustRef) corefoundation.CFAbsoluteTime
- func SecTrustSetAnchorCertificates(trust SecTrustRef, anchorCertificates corefoundation.CFArrayRef) int32
- func SecTrustSetAnchorCertificatesOnly(trust SecTrustRef, anchorCertificatesOnly bool) int32
- func SecTrustSetExceptions(trust SecTrustRef, exceptions corefoundation.CFDataRef) bool
- func SecTrustSetKeychains(trust SecTrustRef, keychainOrArray corefoundation.CFTypeRef) int32deprecated
- func SecTrustSetNetworkFetchAllowed(trust SecTrustRef, allowFetch bool) int32
- func SecTrustSetOCSPResponse(trust SecTrustRef, responseData corefoundation.CFTypeRef) int32
- func SecTrustSetOptions(trustRef SecTrustRef, options SecTrustOptionFlags) int32
- func SecTrustSetParameters(trustRef SecTrustRef, action CSSM_TP_ACTION, ...) int32deprecated
- func SecTrustSetPolicies(trust SecTrustRef, policies corefoundation.CFTypeRef) int32
- func SecTrustSetSignedCertificateTimestamps(trust SecTrustRef, sctArray corefoundation.CFArrayRef) int32
- func SecTrustSetVerifyDate(trust SecTrustRef, verifyDate corefoundation.CFDateRef) int32
- func SecTrustSettingsCopyCertificates(domain SecTrustSettingsDomain, certArray *corefoundation.CFArrayRef) int32
- func SecTrustSettingsCopyModificationDate(certRef SecCertificateRef, domain SecTrustSettingsDomain, ...) int32
- func SecTrustSettingsCopyTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain, ...) int32
- func SecTrustSettingsCreateExternalRepresentation(domain SecTrustSettingsDomain, trustSettings *corefoundation.CFDataRef) int32
- func SecTrustSettingsImportExternalRepresentation(domain SecTrustSettingsDomain, trustSettings corefoundation.CFDataRef) int32
- func SecTrustSettingsRemoveTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain) int32
- func SecTrustSettingsSetTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain, ...) int32
- func Sec_identity_access_certificates(identity Sec_identity_t) bool
- func Sec_identity_copy_certificates_ref(identity Sec_identity_t) corefoundation.CFArrayRef
- func Sec_protocol_metadata_access_distinguished_names(metadata Sec_protocol_metadata_t) bool
- func Sec_protocol_metadata_access_ocsp_response(metadata Sec_protocol_metadata_t) bool
- func Sec_protocol_metadata_access_peer_certificate_chain(metadata Sec_protocol_metadata_t) bool
- func Sec_protocol_metadata_access_pre_shared_keys(metadata Sec_protocol_metadata_t) bool
- func Sec_protocol_metadata_access_supported_signature_algorithms(metadata Sec_protocol_metadata_t) bool
- func Sec_protocol_metadata_challenge_parameters_are_equal(metadataA Sec_protocol_metadata_t, metadataB Sec_protocol_metadata_t) bool
- func Sec_protocol_metadata_copy_negotiated_protocol(metadata Sec_protocol_metadata_t) *byte
- func Sec_protocol_metadata_copy_peer_public_key(metadata Sec_protocol_metadata_t) dispatch.Data
- func Sec_protocol_metadata_copy_server_name(metadata Sec_protocol_metadata_t) *byte
- func Sec_protocol_metadata_create_secret(metadata Sec_protocol_metadata_t, label_len uintptr, label string, ...) dispatch.Data
- func Sec_protocol_metadata_create_secret_with_context(metadata Sec_protocol_metadata_t, label_len uintptr, label string, ...) dispatch.Data
- func Sec_protocol_metadata_get_early_data_accepted(metadata Sec_protocol_metadata_t) bool
- func Sec_protocol_metadata_get_negotiated_protocol(metadata Sec_protocol_metadata_t) *bytedeprecated
- func Sec_protocol_metadata_get_negotiated_tls_ciphersuite(metadata Sec_protocol_metadata_t) uint16
- func Sec_protocol_metadata_get_negotiated_tls_protocol_version(metadata Sec_protocol_metadata_t) uint16
- func Sec_protocol_metadata_get_server_name(metadata Sec_protocol_metadata_t) *bytedeprecated
- func Sec_protocol_metadata_peers_are_equal(metadataA Sec_protocol_metadata_t, metadataB Sec_protocol_metadata_t) bool
- func Sec_protocol_options_add_pre_shared_key(options Sec_protocol_options_t, psk dispatch.Data, psk_identity dispatch.Data)
- func Sec_protocol_options_add_tls_application_protocol(options Sec_protocol_options_t, application_protocol string)
- func Sec_protocol_options_append_tls_ciphersuite(options Sec_protocol_options_t, ciphersuite uint16)
- func Sec_protocol_options_append_tls_ciphersuite_group(options Sec_protocol_options_t, group uint16)
- func Sec_protocol_options_are_equal(optionsA Sec_protocol_options_t, optionsB Sec_protocol_options_t) bool
- func Sec_protocol_options_get_default_max_dtls_protocol_version() uint16
- func Sec_protocol_options_get_default_max_tls_protocol_version() uint16
- func Sec_protocol_options_get_default_min_dtls_protocol_version() uint16
- func Sec_protocol_options_get_default_min_tls_protocol_version() uint16
- func Sec_protocol_options_get_enable_encrypted_client_hello(options Sec_protocol_options_t) bool
- func Sec_protocol_options_get_quic_use_legacy_codepoint(options Sec_protocol_options_t) bool
- func Sec_protocol_options_set_challenge_block(options Sec_protocol_options_t, challenge_block Sec_protocol_challenge_t, ...)
- func Sec_protocol_options_set_enable_encrypted_client_hello(options Sec_protocol_options_t, enable_encrypted_client_hello bool)
- func Sec_protocol_options_set_key_update_block(options Sec_protocol_options_t, key_update_block Sec_protocol_key_update_t, ...)
- func Sec_protocol_options_set_local_identity(options Sec_protocol_options_t, identity Sec_identity_t)
- func Sec_protocol_options_set_max_tls_protocol_version(options Sec_protocol_options_t, version uint16)
- func Sec_protocol_options_set_min_tls_protocol_version(options Sec_protocol_options_t, version uint16)
- func Sec_protocol_options_set_peer_authentication_optional(options Sec_protocol_options_t, peer_authentication_optional bool)
- func Sec_protocol_options_set_peer_authentication_required(options Sec_protocol_options_t, peer_authentication_required bool)
- func Sec_protocol_options_set_pre_shared_key_selection_block(options Sec_protocol_options_t, ...)
- func Sec_protocol_options_set_quic_use_legacy_codepoint(options Sec_protocol_options_t, quic_use_legacy_codepoint bool)
- func Sec_protocol_options_set_tls_false_start_enabled(options Sec_protocol_options_t, false_start_enabled bool)
- func Sec_protocol_options_set_tls_is_fallback_attempt(options Sec_protocol_options_t, is_fallback_attempt bool)
- func Sec_protocol_options_set_tls_max_version(options Sec_protocol_options_t, version SSLProtocol)deprecated
- func Sec_protocol_options_set_tls_min_version(options Sec_protocol_options_t, version SSLProtocol)deprecated
- func Sec_protocol_options_set_tls_ocsp_enabled(options Sec_protocol_options_t, ocsp_enabled bool)
- func Sec_protocol_options_set_tls_pre_shared_key_identity_hint(options Sec_protocol_options_t, psk_identity_hint dispatch.Data)
- func Sec_protocol_options_set_tls_renegotiation_enabled(options Sec_protocol_options_t, renegotiation_enabled bool)
- func Sec_protocol_options_set_tls_resumption_enabled(options Sec_protocol_options_t, resumption_enabled bool)
- func Sec_protocol_options_set_tls_sct_enabled(options Sec_protocol_options_t, sct_enabled bool)
- func Sec_protocol_options_set_tls_server_name(options Sec_protocol_options_t, server_name string)
- func Sec_protocol_options_set_tls_tickets_enabled(options Sec_protocol_options_t, tickets_enabled bool)
- func Sec_protocol_options_set_verify_block(options Sec_protocol_options_t, verify_block Sec_protocol_verify_t, ...)
- func Sec_release(obj unsafe.Pointer)
- func Sec_retain(obj unsafe.Pointer) unsafe.Pointer
- func SecureDownloadCopyCreationDate(downloadRef SecureDownloadRef, date *corefoundation.CFDateRef) int32deprecated
- func SecureDownloadCopyName(downloadRef SecureDownloadRef, name *corefoundation.CFStringRef) int32deprecated
- func SecureDownloadCopyTicketLocation(url corefoundation.CFURLRef, ticketLocation *corefoundation.CFURLRef) int32deprecated
- func SecureDownloadCopyURLs(downloadRef SecureDownloadRef, urls *corefoundation.CFArrayRef) int32deprecated
- func SecureDownloadCreateWithTicket(ticket corefoundation.CFDataRef, setup unsafe.Pointer, ...) int32deprecated
- func SecureDownloadFinished(downloadRef SecureDownloadRef) int32deprecated
- func SecureDownloadGetDownloadSize(downloadRef SecureDownloadRef, downloadSize *int64) int32deprecated
- func SecureDownloadRelease(downloadRef SecureDownloadRef) int32deprecated
- func SecureDownloadUpdateWithData(downloadRef SecureDownloadRef, data corefoundation.CFDataRef) int32deprecated
- func SessionCreate(flags SessionCreationFlags, attributes SessionAttributeBits) int32
- func SessionGetInfo(session SecuritySessionId, sessionId *SecuritySessionId, ...) int32
- type AuthorizationAsyncCallback
- type AuthorizationCallbacks
- type AuthorizationContextFlags
- type AuthorizationEngineRef
- type AuthorizationEnvironment
- type AuthorizationExternalForm
- type AuthorizationFlags
- type AuthorizationItem
- type AuthorizationItemSet
- type AuthorizationMechanismId
- type AuthorizationMechanismRef
- type AuthorizationPluginId
- type AuthorizationPluginInterface
- type AuthorizationPluginRef
- type AuthorizationRef
- type AuthorizationResult
- type AuthorizationRights
- type AuthorizationSessionId
- type AuthorizationString
- type AuthorizationValue
- type AuthorizationValueVector
- type CE_CrlDistributionPointNameType
- type CE_CrlNumber
- type CE_DataType
- type CE_DeltaCrl
- type CE_ExtendedKeyUsage
- type CE_GeneralNameType
- type CMSCertificateChainMode
- type CMSDecoderRef
- type CMSEncoderRef
- type CMSSignedAttributes
- type CMSSignerStatus
- type CSSM_ACL_AUTHORIZATION_TAG
- type CSSM_ACL_EDIT_MODE
- type CSSM_ACL_HANDLE
- type CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR
- type CSSM_ACL_PREAUTH_TRACKING_STATE
- type CSSM_ACL_PROCESS_SUBJECT_SELECTOR
- type CSSM_ACL_SUBJECT_TYPE
- type CSSM_AC_HANDLE
- type CSSM_ALGORITHMS
- type CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS
- type CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR
- type CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS
- type CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR
- type CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS
- type CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR
- type CSSM_APPLEDL_OPEN_PARAMETERS
- type CSSM_APPLEDL_OPEN_PARAMETERS_PTR
- type CSSM_APPLE_CL_CSR_REQUEST
- type CSSM_APPLE_TP_ACTION_DATA
- type CSSM_APPLE_TP_ACTION_FLAGS
- type CSSM_APPLE_TP_CERT_REQUEST
- type CSSM_APPLE_TP_CRL_OPTIONS
- type CSSM_APPLE_TP_CRL_OPT_FLAGS
- type CSSM_APPLE_TP_NAME_OID
- type CSSM_APPLE_TP_SMIME_OPTIONS
- type CSSM_APPLE_TP_SSL_OPTIONS
- type CSSM_ATTACH_FLAGS
- type CSSM_ATTRIBUTE_TYPE
- type CSSM_BER_TAG
- type CSSM_BITMASK
- type CSSM_BOOL
- type CSSM_CALLOC
- type CSSM_CC_HANDLE
- type CSSM_CERTGROUP_TYPE
- type CSSM_CERTGROUP_TYPE_PTR
- type CSSM_CERT_BUNDLE_ENCODING
- type CSSM_CERT_BUNDLE_TYPE
- type CSSM_CERT_ENCODING
- type CSSM_CERT_ENCODING_PTR
- type CSSM_CERT_PARSE_FORMAT
- type CSSM_CERT_PARSE_FORMAT_PTR
- type CSSM_CERT_TYPE
- type CSSM_CERT_TYPE_PTR
- type CSSM_CL_HANDLE
- type CSSM_CL_TEMPLATE_TYPE
- type CSSM_CONTEXT_EVENT
- type CSSM_CONTEXT_TYPE
- type CSSM_CRLGROUP_TYPE
- type CSSM_CRLGROUP_TYPE_PTR
- type CSSM_CRL_ENCODING
- type CSSM_CRL_ENCODING_PTR
- type CSSM_CRL_PARSE_FORMAT
- type CSSM_CRL_PARSE_FORMAT_PTR
- type CSSM_CRL_TYPE
- type CSSM_CRL_TYPE_PTR
- type CSSM_CSPTYPE
- type CSSM_CSP_FLAGS
- type CSSM_CSP_HANDLE
- type CSSM_CSP_READER_FLAGS
- type CSSM_DB_ACCESS_TYPE
- type CSSM_DB_ACCESS_TYPE_PTR
- type CSSM_DB_ATTRIBUTE_FORMAT
- type CSSM_DB_ATTRIBUTE_FORMAT_PTR
- type CSSM_DB_ATTRIBUTE_NAME_FORMAT
- type CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR
- type CSSM_DB_CONJUNCTIVE
- type CSSM_DB_CONJUNCTIVE_PTR
- type CSSM_DB_HANDLE
- type CSSM_DB_INDEXED_DATA_LOCATION
- type CSSM_DB_INDEX_TYPE
- type CSSM_DB_MODIFY_MODE
- type CSSM_DB_OPERATOR
- type CSSM_DB_OPERATOR_PTR
- type CSSM_DB_RECORDTYPE
- type CSSM_DB_RETRIEVAL_MODES
- type CSSM_DLTYPE
- type CSSM_DLTYPE_PTR
- type CSSM_DL_CUSTOM_ATTRIBUTES
- type CSSM_DL_FFS_ATTRIBUTES
- type CSSM_DL_HANDLE
- type CSSM_DL_LDAP_ATTRIBUTES
- type CSSM_DL_ODBC_ATTRIBUTES
- type CSSM_DL_PKCS11_ATTRIBUTE
- type CSSM_DL_PKCS11_ATTRIBUTE_PTR
- type CSSM_ENCRYPT_MODE
- type CSSM_EVIDENCE_FORM
- type CSSM_FREE
- type CSSM_HANDLE
- type CSSM_HANDLE_PTR
- type CSSM_HEADERVERSION
- type CSSM_INTPTR
- type CSSM_KEYATTR_FLAGS
- type CSSM_KEYBLOB_FORMAT
- type CSSM_KEYBLOB_TYPE
- type CSSM_KEYCLASS
- type CSSM_KEYUSE
- type CSSM_KEY_HIERARCHY
- type CSSM_KEY_TYPE
- type CSSM_KRSP_HANDLE
- type CSSM_KR_POLICY_FLAGS
- type CSSM_KR_POLICY_TYPE
- type CSSM_LIST_ELEMENT_PTR
- type CSSM_LIST_ELEMENT_TYPE
- type CSSM_LIST_ELEMENT_TYPE_PTR
- type CSSM_LIST_TYPE
- type CSSM_LIST_TYPE_PTR
- type CSSM_LONG_HANDLE
- type CSSM_LONG_HANDLE_PTR
- type CSSM_MALLOC
- type CSSM_MANAGER_EVENT_TYPES
- type CSSM_MODULE_EVENT
- type CSSM_MODULE_EVENT_PTR
- type CSSM_MODULE_HANDLE
- type CSSM_MODULE_HANDLE_PTR
- type CSSM_NET_ADDRESS_TYPE
- type CSSM_NET_PROTOCOL
- type CSSM_PADDING
- type CSSM_PKCS5_PBKDF2_PRF
- type CSSM_PKCS_OAEP_MGF
- type CSSM_PKCS_OAEP_PSOURCE
- type CSSM_PRIVILEGE
- type CSSM_PRIVILEGE_SCOPE
- type CSSM_PROC_ADDR
- type CSSM_PROC_ADDR_PTR
- type CSSM_PVC_MODE
- type CSSM_QUERY_FLAGS
- type CSSM_REALLOC
- type CSSM_RETURN
- func CSSM_AC_AuthCompute(ACHandle CSSM_AC_HANDLE, BaseAuthorizations unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_AC_PassThrough(ACHandle CSSM_AC_HANDLE, TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertAbortCache(CLHandle CSSM_CL_HANDLE, CertHandle CSSM_HANDLE) CSSM_RETURNdeprecated
- func CSSM_CL_CertAbortQuery(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE) CSSM_RETURNdeprecated
- func CSSM_CL_CertCache(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CertHandle CSSM_HANDLE_PTR) CSSM_RETURNdeprecated
- func CSSM_CL_CertCreateTemplate(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CertFields unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertDescribeFormat(CLHandle CSSM_CL_HANDLE, NumberOfFields *uint32, OidList unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_CertGetAllFields(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, NumberOfFields *uint32, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertGetAllTemplateFields(CLHandle CSSM_CL_HANDLE, CertTemplate unsafe.Pointer, NumberOfFields *uint32, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertGetFirstCachedFieldValue(CLHandle CSSM_CL_HANDLE, CertHandle CSSM_HANDLE, CertField unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertGetFirstFieldValue(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CertField unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertGetKeyInfo(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, Key unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_CertGetNextCachedFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_CertGetNextFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_CertGroupFromVerifiedBundle(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertBundle unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertGroupToSignedBundle(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertSign(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertTemplate unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertVerify(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CertVerifyWithKey(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlAbortCache(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE) CSSM_RETURNdeprecated
- func CSSM_CL_CrlAbortQuery(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE) CSSM_RETURNdeprecated
- func CSSM_CL_CrlAddCert(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, Cert unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlCache(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, CrlHandle CSSM_HANDLE_PTR) CSSM_RETURNdeprecated
- func CSSM_CL_CrlCreateTemplate(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlTemplate unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlDescribeFormat(CLHandle CSSM_CL_HANDLE, NumberOfFields *uint32, OidList unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_CrlGetAllCachedRecordFields(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE, CrlRecordIndex unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlGetAllFields(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, NumberOfCrlFields *uint32, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlGetFirstCachedFieldValue(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE, CrlRecordIndex unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlGetFirstFieldValue(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, CrlField unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlGetNextCachedFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_CrlGetNextFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_CrlRemoveCert(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, OldCrl unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlSetFields(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlTemplate unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlSign(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, UnsignedCrl unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlVerify(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_CL_CrlVerifyWithKey(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_CL_FreeFieldValue(CLHandle CSSM_CL_HANDLE, CertOrCrlOid unsafe.Pointer, Value unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_FreeFields(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, Fields unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CL_IsCertInCachedCrl(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CrlHandle CSSM_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_CL_IsCertInCrl(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, Crl unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CL_PassThrough(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, PassThroughId uint32, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_ChangeLoginAcl(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CSP_ChangeLoginOwner(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, NewOwner unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateAsymmetricContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateDeriveKeyContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateDigestContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateKeyGenContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, KeySizeInBits uint32, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateMacContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Key unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_CreatePassThroughContext(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, NewContextHandle unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateRandomGenContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Seed unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateSignatureContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_CreateSymmetricContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Mode CSSM_ENCRYPT_MODE, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_GetLoginAcl(CSPHandle CSSM_CSP_HANDLE, SelectionTag unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_GetLoginOwner(CSPHandle CSSM_CSP_HANDLE, Owner unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CSP_GetOperationalStatistics(CSPHandle CSSM_CSP_HANDLE, Statistics unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CSP_Login(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, LoginName unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_CSP_Logout(CSPHandle CSSM_CSP_HANDLE) CSSM_RETURNdeprecated
- func CSSM_CSP_ObtainPrivateKeyFromPublicKey(CSPHandle CSSM_CSP_HANDLE, PublicKey unsafe.Pointer, PrivateKey unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_CSP_PassThrough(CCHandle CSSM_CC_HANDLE, PassThroughId uint32, InData unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_ChangeKeyAcl(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_ChangeKeyOwner(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_DL_Authenticate(DLDBHandle unsafe.Pointer, AccessRequest CSSM_DB_ACCESS_TYPE, ...) CSSM_RETURNdeprecated
- func CSSM_DL_ChangeDbAcl(DLDBHandle unsafe.Pointer, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_ChangeDbOwner(DLDBHandle unsafe.Pointer, AccessCred unsafe.Pointer, NewOwner unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_CreateRelation(DLDBHandle unsafe.Pointer, RelationID CSSM_DB_RECORDTYPE, RelationName string, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DataAbortQuery(DLDBHandle unsafe.Pointer, ResultsHandle CSSM_HANDLE) CSSM_RETURNdeprecated
- func CSSM_DL_DataDelete(DLDBHandle unsafe.Pointer, UniqueRecordIdentifier unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_DataGetFirst(DLDBHandle unsafe.Pointer, Query unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DataGetFromUniqueRecordId(DLDBHandle unsafe.Pointer, UniqueRecord unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DataGetNext(DLDBHandle unsafe.Pointer, ResultsHandle CSSM_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DataInsert(DLDBHandle unsafe.Pointer, RecordType CSSM_DB_RECORDTYPE, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DataModify(DLDBHandle unsafe.Pointer, RecordType CSSM_DB_RECORDTYPE, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DbClose(DLDBHandle unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_DbCreate(DLHandle CSSM_DL_HANDLE, DbName string, DbLocation unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DbDelete(DLHandle CSSM_DL_HANDLE, DbName string, DbLocation unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DbOpen(DLHandle CSSM_DL_HANDLE, DbName string, DbLocation unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_DL_DestroyRelation(DLDBHandle unsafe.Pointer, RelationID CSSM_DB_RECORDTYPE) CSSM_RETURNdeprecated
- func CSSM_DL_FreeNameList(DLHandle CSSM_DL_HANDLE, NameList unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_FreeUniqueRecord(DLDBHandle unsafe.Pointer, UniqueRecord unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_GetDbAcl(DLDBHandle unsafe.Pointer, SelectionTag unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_DL_GetDbNameFromHandle(DLDBHandle unsafe.Pointer, DbName string) CSSM_RETURNdeprecated
- func CSSM_DL_GetDbNames(DLHandle CSSM_DL_HANDLE, NameList unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_GetDbOwner(DLDBHandle unsafe.Pointer, Owner unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DL_PassThrough(DLDBHandle unsafe.Pointer, PassThroughId uint32, InputParams unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_DecryptData(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_DecryptDataFinal(CCHandle CSSM_CC_HANDLE, RemData unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DecryptDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_DecryptDataInitP(CCHandle CSSM_CC_HANDLE, Privilege CSSM_PRIVILEGE) CSSM_RETURNdeprecated
- func CSSM_DecryptDataP(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_DecryptDataUpdate(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_DeleteContext(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_DeleteContextAttributes(CCHandle CSSM_CC_HANDLE, NumberOfAttributes uint32, ...) CSSM_RETURNdeprecated
- func CSSM_DeriveKey(CCHandle CSSM_CC_HANDLE, Param unsafe.Pointer, KeyUsage uint32, KeyAttr uint32, ...) CSSM_RETURNdeprecated
- func CSSM_DigestData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_DigestDataClone(CCHandle CSSM_CC_HANDLE, ClonednewCCHandle unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DigestDataFinal(CCHandle CSSM_CC_HANDLE, Digest unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_DigestDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_DigestDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURNdeprecated
- func CSSM_EncryptData(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_EncryptDataFinal(CCHandle CSSM_CC_HANDLE, RemData unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_EncryptDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_EncryptDataInitP(CCHandle CSSM_CC_HANDLE, Privilege CSSM_PRIVILEGE) CSSM_RETURNdeprecated
- func CSSM_EncryptDataP(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_EncryptDataUpdate(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_FreeContext(Context unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_FreeKey(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, KeyPtr unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_GenerateAlgorithmParams(CCHandle CSSM_CC_HANDLE, ParamBits uint32, Param unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GenerateKey(CCHandle CSSM_CC_HANDLE, KeyUsage uint32, KeyAttr uint32, ...) CSSM_RETURNdeprecated
- func CSSM_GenerateKeyP(CCHandle CSSM_CC_HANDLE, KeyUsage uint32, KeyAttr uint32, ...) CSSM_RETURNdeprecated
- func CSSM_GenerateKeyPair(CCHandle CSSM_CC_HANDLE, PublicKeyUsage uint32, PublicKeyAttr uint32, ...) CSSM_RETURNdeprecated
- func CSSM_GenerateKeyPairP(CCHandle CSSM_CC_HANDLE, PublicKeyUsage uint32, PublicKeyAttr uint32, ...) CSSM_RETURNdeprecated
- func CSSM_GenerateMac(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_GenerateMacFinal(CCHandle CSSM_CC_HANDLE, Mac unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GenerateMacInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_GenerateMacUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURNdeprecated
- func CSSM_GenerateRandom(CCHandle CSSM_CC_HANDLE, RandomNumber unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetAPIMemoryFunctions(AddInHandle CSSM_MODULE_HANDLE, AppMemoryFuncs unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetContext(CCHandle CSSM_CC_HANDLE, Context unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetContextAttribute(Context unsafe.Pointer, AttributeType uint32, ContextAttribute unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetKeyAcl(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, SelectionTag unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_GetKeyOwner(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, Owner unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetModuleGUIDFromHandle(ModuleHandle CSSM_MODULE_HANDLE, ModuleGUID unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetPrivilege(Privilege unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetSubserviceUIDFromHandle(ModuleHandle CSSM_MODULE_HANDLE, SubserviceUID unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_GetTimeValue(CSPHandle CSSM_CSP_HANDLE, TimeAlgorithm CSSM_ALGORITHMS, ...) CSSM_RETURNdeprecated
- func CSSM_Init(Version unsafe.Pointer, Scope CSSM_PRIVILEGE_SCOPE, CallerGuid unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_Introduce(ModuleID unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY) CSSM_RETURNdeprecated
- func CSSM_ListAttachedModuleManagers(NumberOfModuleManagers *uint32, ModuleManagerGuids unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_ModuleAttach(ModuleGuid unsafe.Pointer, Version unsafe.Pointer, MemoryFuncs unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_ModuleDetach(ModuleHandle CSSM_MODULE_HANDLE) CSSM_RETURNdeprecated
- func CSSM_ModuleLoad(ModuleGuid unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY, ...) CSSM_RETURNdeprecated
- func CSSM_ModuleUnload(ModuleGuid unsafe.Pointer, AppNotifyCallback unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_QueryKeySizeInBits(CSPHandle CSSM_CSP_HANDLE, CCHandle CSSM_CC_HANDLE, Key unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_QuerySize(CCHandle CSSM_CC_HANDLE, Encrypt CSSM_BOOL, QuerySizeCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_RetrieveCounter(CSPHandle CSSM_CSP_HANDLE, Counter unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_RetrieveUniqueId(CSPHandle CSSM_CSP_HANDLE, UniqueID unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_SetContext(CCHandle CSSM_CC_HANDLE, Context unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_SetPrivilege(Privilege CSSM_PRIVILEGE) CSSM_RETURNdeprecated
- func CSSM_SignData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_SignDataFinal(CCHandle CSSM_CC_HANDLE, Signature unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_SignDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_SignDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURNdeprecated
- func CSSM_TP_ApplyCrlToDb(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertCreateTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertGetAllTemplateFields(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CertTemplate unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertGroupConstruct(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertGroupPrune(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, DBList unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertGroupToTupleGroup(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CertGroup unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertGroupVerify(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertReclaimAbort(TPHandle CSSM_TP_HANDLE, KeyCacheHandle CSSM_LONG_HANDLE) CSSM_RETURNdeprecated
- func CSSM_TP_CertReclaimKey(TPHandle CSSM_TP_HANDLE, CertGroup unsafe.Pointer, CertIndex uint32, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertRemoveFromCrlTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertRevoke(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CertSign(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_ConfirmCredResult(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CrlCreateTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CrlSign(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_CrlVerify(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_FormRequest(TPHandle CSSM_TP_HANDLE, PreferredAuthority unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_FormSubmit(TPHandle CSSM_TP_HANDLE, FormType CSSM_TP_FORM_TYPE, Form unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_PassThrough(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, ...) CSSM_RETURNdeprecated
- func CSSM_TP_ReceiveConfirmation(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_RetrieveCredResult(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_SubmitCredRequest(TPHandle CSSM_TP_HANDLE, PreferredAuthority unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_TP_TupleGroupToCertGroup(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, TupleGroup unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_Terminate() CSSM_RETURNdeprecated
- func CSSM_Unintroduce(ModuleID unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_UnwrapKey(CCHandle CSSM_CC_HANDLE, PublicKey unsafe.Pointer, WrappedKey unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_UnwrapKeyP(CCHandle CSSM_CC_HANDLE, PublicKey unsafe.Pointer, WrappedKey unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_UpdateContextAttributes(CCHandle CSSM_CC_HANDLE, NumberOfAttributes uint32, ...) CSSM_RETURNdeprecated
- func CSSM_VerifyData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_VerifyDataFinal(CCHandle CSSM_CC_HANDLE, Signature unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_VerifyDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_VerifyDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURNdeprecated
- func CSSM_VerifyDevice(CSPHandle CSSM_CSP_HANDLE, DeviceCert unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_VerifyMac(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, ...) CSSM_RETURNdeprecated
- func CSSM_VerifyMacFinal(CCHandle CSSM_CC_HANDLE, Mac unsafe.Pointer) CSSM_RETURNdeprecated
- func CSSM_VerifyMacInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURNdeprecated
- func CSSM_VerifyMacUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURNdeprecated
- func CSSM_WrapKey(CCHandle CSSM_CC_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func CSSM_WrapKeyP(CCHandle CSSM_CC_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func MDS_Initialize(pCallerGuid unsafe.Pointer, pMemoryFunctions unsafe.Pointer, ...) CSSM_RETURNdeprecated
- func MDS_Install(MdsHandle MDS_HANDLE) CSSM_RETURNdeprecated
- func MDS_Terminate(MdsHandle MDS_HANDLE) CSSM_RETURNdeprecated
- func MDS_Uninstall(MdsHandle MDS_HANDLE) CSSM_RETURNdeprecated
- type CSSM_SAMPLE_TYPE
- type CSSM_SC_FLAGS
- type CSSM_SERVICE_MASK
- type CSSM_SERVICE_TYPE
- type CSSM_SIZE
- type CSSM_STRING
- type CSSM_TIMESTRING
- type CSSM_TP_ACTION
- type CSSM_TP_APPLE_CERT_STATUS
- type CSSM_TP_APPLE_EVIDENCE_HEADER
- type CSSM_TP_APPLE_EVIDENCE_INFO
- type CSSM_TP_AUTHORITY_REQUEST_TYPE
- type CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR
- type CSSM_TP_CERTCHANGE_ACTION
- type CSSM_TP_CERTCHANGE_REASON
- type CSSM_TP_CERTCHANGE_STATUS
- type CSSM_TP_CERTISSUE_STATUS
- type CSSM_TP_CERTNOTARIZE_STATUS
- type CSSM_TP_CERTRECLAIM_STATUS
- type CSSM_TP_CERTVERIFY_STATUS
- type CSSM_TP_CONFIRM_STATUS
- type CSSM_TP_CONFIRM_STATUS_PTR
- type CSSM_TP_CRLISSUE_STATUS
- type CSSM_TP_FORM_TYPE
- type CSSM_TP_HANDLE
- type CSSM_TP_SERVICES
- type CSSM_TP_STOP_ON
- type CSSM_TUPLE
- type CSSM_USEE_TAG
- type CSSM_WORDID_TYPE
- type CSSM_X509EXT_DATA_FORMAT
- type CSSM_X509_OPTION
- type Cssm
- type CssmAclAuthorization
- type CssmAclCodeSignature
- type CssmAclEditMode
- type CssmAclKeychainPrompt
- type CssmAclKeychainPromptCurrentVersion
- type CssmAclMatch
- type CssmAclPreauthTracking
- type CssmAclProcessSelectorCurrentVersion
- type CssmAclSubjectType
- type CssmAddr
- type CssmAlgclass
- type CssmAlgid
- type CssmAlgmode
- type CssmApple
- type CssmAppleUnlockType
- type CssmAppledlOpenParametersVersion
- type CssmApplefiledl
- type CssmApplex509cl
- type CssmAscOptimize
- type CssmAttachReadOnly
- type CssmAttribute
- type CssmAttributeVendorDefined
- type CssmC
- type CssmCLTemplate
- type CssmCertBundleEncoding
- type CssmCertStatus
- type CssmCertgroup
- type CssmContextEvent
- type CssmCrlEncoding
- type CssmCrlType
- type CssmCrlgroup
- type CssmCsp
- type CssmCspRdr
- type CssmCspTok
- type CssmD
- type CssmDb
- type CssmDbAccess
- type CssmDbAccessReset
- type CssmDbAttributeFormat
- type CssmDbAttributeNameAs
- type CssmDbCertUse
- type CssmDbDatastoresUnknown
- type CssmDbIndex
- type CssmDbIndexOn
- type CssmDbModifyAttribute
- type CssmDl
- type CssmDlDbRecord
- type CssmElapsedTime
- type CssmErrcode
- type CssmEstimatedTimeUnknown
- type CssmEvidenceForm
- type CssmEvidenceFormApple
- type CssmFeeCurveType
- type CssmFeePrimeType
- type CssmFieldvalueComplexDataType
- type CssmHint
- type CssmInvalidHandle
- type CssmKeyHierarchy
- type CssmKeyattr
- type CssmKeyattrP
- type CssmKeyblob
- type CssmKeyblobRawFormat
- type CssmKeyblobRawFormatVendorDefined
- type CssmKeyblobRefFormat
- type CssmKeyblobWrappedFormat
- type CssmKeyclass
- type CssmKeyheaderVersion
- type CssmKeyuse
- type CssmListElement
- type CssmListType
- type CssmMds
- type CssmModuleStringSize
- type CssmNetProto
- type CssmNotify
- type CssmOk
- type CssmPadding
- type CssmPaddingAppleSslv2
- type CssmPkcs5Pbkdf2PrfHmacSha1
- type CssmPkcsOaep
- type CssmPkcsOaepPsource
- type CssmPrivilegeScope
- type CssmPvc
- type CssmQueryReturnData
- type CssmQuerySizelimitNone
- type CssmQueryTimelimitNone
- type CssmSampleType
- type CssmService
- type CssmTp
- type CssmTpAction
- type CssmTpActionDefault
- type CssmTpAuthorityRequestC
- type CssmTpCertchange
- type CssmTpCertchangeReason
- type CssmTpCertissue
- type CssmTpCertnotarize
- type CssmTpCertreclaim
- type CssmTpCertverify
- type CssmTpConfirm
- type CssmTpCrlissue
- type CssmTpFormType
- type CssmTpStopOn
- type CssmUsee
- type CssmValueNotAvailable
- type CssmWordid
- type Cssm_access_credentials
- type Cssm_acl_edit
- type Cssm_acl_entry_info
- type Cssm_acl_entry_input
- type Cssm_acl_entry_prototype
- type Cssm_acl_keychain_prompt_selector
- type Cssm_acl_owner_prototype
- type Cssm_acl_process_subject_selector
- type Cssm_acl_validity_period
- type Cssm_applecspdl_db_change_password_parameters
- type Cssm_applecspdl_db_is_locked_parameters
- type Cssm_applecspdl_db_settings_parameters
- type Cssm_appledl_open_parameters
- type Cssm_appledl_open_parameters_mask
- type Cssm_authorizationgroup
- type Cssm_base_certs
- type Cssm_cert_bundle
- type Cssm_cert_bundle_header
- type Cssm_cert_pair
- type Cssm_certgroup
- type Cssm_context
- type Cssm_context_attribute
- type Cssm_crl_pair
- type Cssm_crlgroup
- type Cssm_crypto_data
- type Cssm_csp_operational_statistics
- type Cssm_data
- type Cssm_date
- type Cssm_db_attribute_data
- type Cssm_db_attribute_info
- type Cssm_db_index_info
- type Cssm_db_parsing_module_info
- type Cssm_db_record_attribute_data
- type Cssm_db_record_attribute_info
- type Cssm_db_record_index_info
- type Cssm_db_schema_attribute_info
- type Cssm_db_schema_index_info
- type Cssm_db_unique_record
- type Cssm_dbinfo
- type Cssm_dl_db_handle
- type Cssm_dl_db_list
- type Cssm_dl_pkcs11_attributes
- type Cssm_encoded_cert
- type Cssm_encoded_crl
- type Cssm_evidence
- type Cssm_field
- type Cssm_fieldgroup
- type Cssm_func_name_addr
- type Cssm_guid
- type Cssm_kea_derive_params
- type Cssm_key
- type Cssm_key_size
- type Cssm_keyheader
- type Cssm_kr_name
- type Cssm_kr_policy_info
- type Cssm_kr_policy_list_item
- type Cssm_kr_profile
- type Cssm_kr_wrappedproductinfo
- type Cssm_krsubservice
- type Cssm_list
- type Cssm_list_element
- type Cssm_manager_event_notification
- type Cssm_manager_registration_info
- type Cssm_memory_funcs
- type Cssm_module_funcs
- type Cssm_name_list
- type Cssm_net_address
- type Cssm_parsed_cert
- type Cssm_parsed_crl
- type Cssm_pkcs1_oaep_params
- type Cssm_pkcs5_pbkdf1_params
- type Cssm_pkcs5_pbkdf2_params
- type Cssm_query
- type Cssm_query_limits
- type Cssm_query_size_data
- type Cssm_range
- type Cssm_resource_control_context
- type Cssm_sample
- type Cssm_samplegroup
- type Cssm_selection_predicate
- type Cssm_spi_ac_funcs
- type Cssm_spi_cl_funcs
- type Cssm_spi_csp_funcs
- type Cssm_spi_dl_funcs
- type Cssm_spi_kr_funcs
- type Cssm_spi_tp_funcs
- type Cssm_state_funcs
- type Cssm_subservice_uid
- type Cssm_tp_authority_id
- type Cssm_tp_callerauth_context
- type Cssm_tp_certchange_input
- type Cssm_tp_certchange_output
- type Cssm_tp_certissue_input
- type Cssm_tp_certissue_output
- type Cssm_tp_certnotarize_input
- type Cssm_tp_certnotarize_output
- type Cssm_tp_certreclaim_input
- type Cssm_tp_certreclaim_output
- type Cssm_tp_certverify_input
- type Cssm_tp_certverify_output
- type Cssm_tp_confirm_response
- type Cssm_tp_crlissue_input
- type Cssm_tp_crlissue_output
- type Cssm_tp_policyinfo
- type Cssm_tp_request_set
- type Cssm_tp_result_set
- type Cssm_tp_verify_context
- type Cssm_tp_verify_context_result
- type Cssm_tuplegroup
- type Cssm_upcalls
- type Cssm_version
- type Cssm_x509_extension
- type Cssm_x509_extensionTagAndValue
- type Cssm_x509_extensions
- type Cssm_x509_name
- type Cssm_x509_rdn
- type Cssm_x509_revoked_cert_entry
- type Cssm_x509_revoked_cert_list
- type Cssm_x509_signature
- type Cssm_x509_signed_certificate
- type Cssm_x509_signed_crl
- type Cssm_x509_tbs_certificate
- type Cssm_x509_tbs_certlist
- type Cssm_x509_time
- type Cssm_x509_type_value_pair
- type Cssm_x509ext_basicConstraints
- type Cssm_x509ext_pair
- type Cssm_x509ext_policyInfo
- type Cssm_x509ext_policyQualifierInfo
- type Cssm_x509ext_policyQualifiers
- type Cssmerr
- type CssmerrAc
- type CssmerrAppleDotmac
- type CssmerrAppledl
- type CssmerrAppletp
- type CssmerrCL
- type CssmerrCsp
- type CssmerrCssm
- type CssmerrDl
- type CssmerrDlInvalid
- type CssmerrTp
- type ErrAuthorization
- type ErrSSL
- type ErrSec
- type ErrSecureDownloadInvalid
- type ErrSession
- type Extension_data_format
- type KSec
- type KSecCS
- type KSecKey
- type KSecRevocation
- type KSecTransform
- type MDS_HANDLE
- type Mds_funcs
- type NoSecuritySession
- type OS_sec_certificate
- type OS_sec_certificateObject
- type OS_sec_identity
- type OS_sec_identityObject
- type OS_sec_object
- type OS_sec_objectObject
- type OS_sec_protocol_metadata
- type OS_sec_protocol_metadataObject
- type OS_sec_protocol_options
- type OS_sec_protocol_optionsObject
- type OS_sec_trust
- type OS_sec_trustObject
- type OpaqueSecAccessRef
- type OpaqueSecCertificateRef
- type OpaqueSecIdentityRef
- type OpaqueSecKeyRef
- type SSLAuthenticate
- type SSLCipherSuite
- type SSLCiphersuiteGroup
- type SSLClientCertificateState
- type SSLConnectionRef
- type SSLConnectionType
- type SSLContextRef
- type SSLNullWithNullNull
- type SSLProtocol
- type SSLProtocolSide
- type SSLReadFunc
- type SSLSessionOption
- type SSLSessionState
- type SSLWriteFunc
- type SecACLRef
- type SecAccessControlCreateFlags
- type SecAccessControlRef
- type SecAccessOwnerType
- type SecAccessRef
- type SecAsn1AlgId
- type SecAsn1PubKeyInfo
- type SecAsn1Template_struct
- type SecAuthenticationType
- type SecCEBasicConstraints
- type SecCEPolicyConstraints
- type SecCSDigestAlgorithm
- type SecCSFlags
- type SecCertificateRef
- func SecCertificateCopyPreferred(name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef) SecCertificateRef
- func SecCertificateCreateWithData(allocator corefoundation.CFAllocatorRef, data corefoundation.CFDataRef) SecCertificateRef
- func SecTrustGetCertificateAtIndex(trust SecTrustRef, ix int) SecCertificateRefdeprecated
- func Sec_certificate_copy_ref(certificate Sec_certificate_t) SecCertificateRef
- type SecCodeRef
- type SecCodeSignatureFlags
- type SecCodeStatus
- type SecCredentialType
- type SecExternalFormat
- type SecExternalItemType
- type SecGuestRef
- type SecIdentityRef
- func SecIdentityCopyPreferred(name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef, ...) SecIdentityRef
- func SecIdentityCreate(allocator corefoundation.CFAllocatorRef, certificate SecCertificateRef, ...) SecIdentityRef
- func Sec_identity_copy_ref(identity Sec_identity_t) SecIdentityRef
- type SecIdentitySearchRef
- type SecItemAttr
- type SecItemClass
- type SecItemImportExportFlags
- type SecItemImportExportKeyParameters
- type SecKeyAlgorithm
- type SecKeyGeneratePairBlock
- type SecKeyImportExportFlags
- type SecKeyImportExportParameters
- type SecKeyKeyExchangeParameter
- type SecKeyOperationType
- type SecKeyRef
- func SecCertificateCopyKey(certificate SecCertificateRef) SecKeyRef
- func SecKeyCopyPublicKey(key SecKeyRef) SecKeyRef
- func SecKeyCreateRandomKey(parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecKeyRef
- func SecKeyCreateWithData(keyData corefoundation.CFDataRef, attributes corefoundation.CFDictionaryRef, ...) SecKeyRef
- func SecTrustCopyKey(trust SecTrustRef) SecKeyRef
- func SecTrustCopyPublicKey(trust SecTrustRef) SecKeyRefdeprecated
- type SecKeySizes
- type SecKeyUsage
- type SecKeychainAttrType
- type SecKeychainAttribute
- type SecKeychainAttributeInfo
- type SecKeychainAttributeList
- type SecKeychainAttributePtr
- type SecKeychainCallbackInfo
- type SecKeychainEvent
- type SecKeychainEventMask
- type SecKeychainItemRef
- type SecKeychainPromptSelector
- type SecKeychainRef
- type SecKeychainSearchRef
- type SecKeychainSettings
- type SecKeychainStatus
- type SecMessageBlock
- type SecPadding
- type SecPasswordRef
- type SecPolicyRef
- func SecPolicyCreateBasicX509() SecPolicyRef
- func SecPolicyCreateRevocation(revocationFlags uint64) SecPolicyRef
- func SecPolicyCreateSSL(server bool, hostname corefoundation.CFStringRef) SecPolicyRef
- func SecPolicyCreateWithOID(policyOID corefoundation.CFTypeRef) SecPolicyRefdeprecated
- func SecPolicyCreateWithProperties(policyIdentifier corefoundation.CFTypeRef, ...) SecPolicyRef
- type SecPolicySearchRef
- type SecPreferencesDomain
- type SecProtocolType
- type SecPublicKeyHash
- type SecRandomRef
- type SecRequirementRef
- type SecRequirementType
- type SecStaticCodeRef
- type SecTaskRef
- type SecTransformDataBlock
- type SecTransformImplementationRef
- type SecTransformInstanceBlock
- type SecTransformMetaAttributeType
- type SecTrustCallback
- type SecTrustOptionFlags
- type SecTrustRef
- type SecTrustResultType
- type SecTrustSettingsDomain
- type SecTrustSettingsKeyUsage
- type SecTrustSettingsResult
- type SecTrustWithErrorCallback
- type SecTrustedApplicationRef
- type Sec_certificate_t
- type Sec_identity_t
- type Sec_object_t
- type Sec_protocol_challenge_complete_t
- type Sec_protocol_challenge_t
- type Sec_protocol_key_update_complete_t
- type Sec_protocol_key_update_t
- type Sec_protocol_metadata_t
- type Sec_protocol_options_t
- type Sec_protocol_pre_shared_key_selection_complete_t
- type Sec_protocol_pre_shared_key_selection_t
- type Sec_protocol_verify_complete_t
- type Sec_protocol_verify_t
- type Sec_trust_t
- type SecureDownloadRef
- type SecureDownloadTrustCallbackResult
- type SecuritySessionId
- type SessionAttributeBits
- type SessionCreationFlags
- type Sint8
- type Sint16
- type Sint32
- type Sint64
- type Tls_ciphersuite_group_t
- type Tls_ciphersuite_t
- type Tls_protocol_version_t
- type X509_validity
Constants ¶
const KAuthorizationCallbacksVersion uint = 0
const KAuthorizationFlagCanNotPreAuthorize uint = 1
const KAuthorizationPluginInterfaceVersion uint = 0
const KSecCSUseAllArchitectures uint = 1
const KSecNoGuest uint = 0
Variables ¶
var ( // See: https://developer.apple.com/documentation/Security/kCMSEncoderDigestAlgorithmSHA1 KCMSEncoderDigestAlgorithmSHA1 string // See: https://developer.apple.com/documentation/Security/kCMSEncoderDigestAlgorithmSHA256 KCMSEncoderDigestAlgorithmSHA256 string // KSecACLAuthorizationAny is no restrictions. This ACL entry applies to all operations available to the caller. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationAny KSecACLAuthorizationAny string // KSecACLAuthorizationChangeACL is change an access control list entry. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationChangeACL KSecACLAuthorizationChangeACL string // KSecACLAuthorizationChangeOwner is for internal system use only. Use the `CSSM_ACL_AUTHORIZATION_CHANGE_ACL` tag for changes to owner ACL entries. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationChangeOwner KSecACLAuthorizationChangeOwner string // KSecACLAuthorizationDecrypt is decrypt data. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationDecrypt KSecACLAuthorizationDecrypt string // KSecACLAuthorizationDelete is delete this item. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationDelete KSecACLAuthorizationDelete string // KSecACLAuthorizationDerive is derive a new key from another key. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationDerive KSecACLAuthorizationDerive string // KSecACLAuthorizationEncrypt is encrypt data. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationEncrypt KSecACLAuthorizationEncrypt string // KSecACLAuthorizationExportClear is export an unencrypted key. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationExportClear KSecACLAuthorizationExportClear string // KSecACLAuthorizationExportWrapped is export a wrapped (that is, encrypted) key. This tag is checked on the key being exported; in addition, the `CSSM_ACL_AUTHORIZATION_ENCRYPT` tag is checked for any key used in the wrapping operation. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationExportWrapped KSecACLAuthorizationExportWrapped string // KSecACLAuthorizationGenKey is generate a key. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationGenKey KSecACLAuthorizationGenKey string // KSecACLAuthorizationImportClear is import an unencrypted key. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationImportClear KSecACLAuthorizationImportClear string // KSecACLAuthorizationImportWrapped is import an encrypted key. This tag is checked on the key being imported; in addition, the `CSSM_ACL_AUTHORIZATION_DECRYPT` tag is checked for any key used in the unwrapping operation. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationImportWrapped KSecACLAuthorizationImportWrapped string // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationIntegrity KSecACLAuthorizationIntegrity string // KSecACLAuthorizationKeychainCreate is create a new keychain. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationKeychainCreate KSecACLAuthorizationKeychainCreate string // KSecACLAuthorizationKeychainDelete is delete a keychain. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationKeychainDelete KSecACLAuthorizationKeychainDelete string // KSecACLAuthorizationKeychainItemDelete is delete an item from a keychain. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationKeychainItemDelete KSecACLAuthorizationKeychainItemDelete string // KSecACLAuthorizationKeychainItemInsert is insert an item into a keychain. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationKeychainItemInsert KSecACLAuthorizationKeychainItemInsert string // KSecACLAuthorizationKeychainItemModify is modify an item in a keychain. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationKeychainItemModify KSecACLAuthorizationKeychainItemModify string // KSecACLAuthorizationKeychainItemRead is read an item from a keychain. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationKeychainItemRead KSecACLAuthorizationKeychainItemRead string // KSecACLAuthorizationLogin is use for a CSP (smart card) login. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationLogin KSecACLAuthorizationLogin string // KSecACLAuthorizationMAC is create or verify a message authentication code. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationMAC KSecACLAuthorizationMAC string // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationPartitionID KSecACLAuthorizationPartitionID string // KSecACLAuthorizationSign is digitally sign data. // // See: https://developer.apple.com/documentation/Security/kSecACLAuthorizationSign KSecACLAuthorizationSign string // KSecAttrAccess is a key with a value that indicates access control list settings for the item. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccess KSecAttrAccess string // KSecAttrAccessControl is a key with a value that’s an access control instance indicating access control settings for the item. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessControl KSecAttrAccessControl string // KSecAttrAccessGroup is a key with a value that’s a string indicating the access group the item is in. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessGroup KSecAttrAccessGroup string // KSecAttrAccessGroupToken is the access group containing items provided by external tokens. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessGroupToken KSecAttrAccessGroupToken string // KSecAttrAccessible is a key with a value that indicates when the keychain item is accessible. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessible KSecAttrAccessible string // KSecAttrAccessibleAfterFirstUnlock is the data in the keychain item cannot be accessed after a restart until the device has been unlocked once by the user. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessibleAfterFirstUnlock KSecAttrAccessibleAfterFirstUnlock string // KSecAttrAccessibleAfterFirstUnlockThisDeviceOnly is the data in the keychain item cannot be accessed after a restart until the device has been unlocked once by the user. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly KSecAttrAccessibleAfterFirstUnlockThisDeviceOnly string // KSecAttrAccessibleWhenPasscodeSetThisDeviceOnly is the data in the keychain can only be accessed when the device is unlocked. Only available if a passcode is set on the device. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly KSecAttrAccessibleWhenPasscodeSetThisDeviceOnly string // KSecAttrAccessibleWhenUnlocked is the data in the keychain item can be accessed only while the device is unlocked by the user. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessibleWhenUnlocked KSecAttrAccessibleWhenUnlocked string // KSecAttrAccessibleWhenUnlockedThisDeviceOnly is the data in the keychain item can be accessed only while the device is unlocked by the user. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccessibleWhenUnlockedThisDeviceOnly KSecAttrAccessibleWhenUnlockedThisDeviceOnly string // KSecAttrAccount is a key whose value is a string indicating the item’s account name. // // See: https://developer.apple.com/documentation/Security/kSecAttrAccount KSecAttrAccount string // KSecAttrApplicationLabel is a key whose value indicates the item’s application label. // // See: https://developer.apple.com/documentation/Security/kSecAttrApplicationLabel KSecAttrApplicationLabel string // KSecAttrApplicationTag is a key whose value indicates the item’s private tag. // // See: https://developer.apple.com/documentation/Security/kSecAttrApplicationTag KSecAttrApplicationTag string // KSecAttrAuthenticationType is a key whose value indicates the item’s authentication scheme. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationType KSecAttrAuthenticationType string // KSecAttrAuthenticationTypeDPA is distributed Password authentication. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeDPA KSecAttrAuthenticationTypeDPA string // KSecAttrAuthenticationTypeDefault is the default authentication type. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeDefault KSecAttrAuthenticationTypeDefault string // KSecAttrAuthenticationTypeHTMLForm is hTML form based authentication. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeHTMLForm KSecAttrAuthenticationTypeHTMLForm string // KSecAttrAuthenticationTypeHTTPBasic is hTTP Basic authentication. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeHTTPBasic KSecAttrAuthenticationTypeHTTPBasic string // KSecAttrAuthenticationTypeHTTPDigest is hTTP Digest Access authentication. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeHTTPDigest KSecAttrAuthenticationTypeHTTPDigest string // KSecAttrAuthenticationTypeMSN is microsoft Network default authentication. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeMSN KSecAttrAuthenticationTypeMSN string // KSecAttrAuthenticationTypeNTLM is windows NT LAN Manager authentication. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeNTLM KSecAttrAuthenticationTypeNTLM string // KSecAttrAuthenticationTypeRPA is remote Password authentication. // // See: https://developer.apple.com/documentation/Security/kSecAttrAuthenticationTypeRPA KSecAttrAuthenticationTypeRPA string // KSecAttrCanDecrypt is a key whose value is a Boolean that indicates whether the cryptographic key can be used for decryption. // // See: https://developer.apple.com/documentation/Security/kSecAttrCanDecrypt KSecAttrCanDecrypt string // KSecAttrCanDerive is a key whose value is a Boolean that indicates whether the cryptographic key can be used for derivation. // // See: https://developer.apple.com/documentation/Security/kSecAttrCanDerive KSecAttrCanDerive string // KSecAttrCanEncrypt is a key whose value is a Boolean that indicates whether the cryptographic key can be used for encryption. // // See: https://developer.apple.com/documentation/Security/kSecAttrCanEncrypt KSecAttrCanEncrypt string // KSecAttrCanSign is a key whose value is a Boolean that indicates whether the cryptographic key can be used for digital signing. // // See: https://developer.apple.com/documentation/Security/kSecAttrCanSign KSecAttrCanSign string // KSecAttrCanUnwrap is a key whose value is a Boolean that indicates whether the cryptographic key can be used for unwrapping. // // See: https://developer.apple.com/documentation/Security/kSecAttrCanUnwrap KSecAttrCanUnwrap string // KSecAttrCanVerify is a key whose value is a Boolean that indicates whether the cryptographic key can be used for signature verification. // // See: https://developer.apple.com/documentation/Security/kSecAttrCanVerify KSecAttrCanVerify string // KSecAttrCanWrap is a key whose value is a Boolean that indicates whether the cryptographic key can be used for wrapping. // // See: https://developer.apple.com/documentation/Security/kSecAttrCanWrap KSecAttrCanWrap string // KSecAttrCertificateEncoding is a key whose value indicates the item’s certificate encoding. // // See: https://developer.apple.com/documentation/Security/kSecAttrCertificateEncoding KSecAttrCertificateEncoding string // KSecAttrCertificateType is a key whose value indicates the item’s certificate type. // // See: https://developer.apple.com/documentation/Security/kSecAttrCertificateType KSecAttrCertificateType string // KSecAttrComment is a key with a value that’s a string indicating a comment associated with the item. // // See: https://developer.apple.com/documentation/Security/kSecAttrComment KSecAttrComment string // KSecAttrCreationDate is a key with a value that indicates the item’s creation date. // // See: https://developer.apple.com/documentation/Security/kSecAttrCreationDate KSecAttrCreationDate string // KSecAttrCreator is a key with a value that indicates the item’s creator. // // See: https://developer.apple.com/documentation/Security/kSecAttrCreator KSecAttrCreator string // KSecAttrDescription is a key with a value that’s a string indicating the item’s description. // // See: https://developer.apple.com/documentation/Security/kSecAttrDescription KSecAttrDescription string // KSecAttrEffectiveKeySize is a key whose value indicates the effective number of bits in a cryptographic key. // // See: https://developer.apple.com/documentation/Security/kSecAttrEffectiveKeySize KSecAttrEffectiveKeySize string // KSecAttrGeneric is a key whose value indicates the item’s user-defined attributes. // // See: https://developer.apple.com/documentation/Security/kSecAttrGeneric KSecAttrGeneric string // KSecAttrIsExtractable is a key whose value indicates the item’s extractability. // // See: https://developer.apple.com/documentation/Security/kSecAttrIsExtractable KSecAttrIsExtractable string // KSecAttrIsInvisible is a key with a value that’s a Boolean indicating the item’s visibility. // // See: https://developer.apple.com/documentation/Security/kSecAttrIsInvisible KSecAttrIsInvisible string // KSecAttrIsNegative is a key with a value that’s a Boolean indicating whether the item has a valid password. // // See: https://developer.apple.com/documentation/Security/kSecAttrIsNegative KSecAttrIsNegative string // KSecAttrIsPermanent is a key whose value indicates the item’s permanence. // // See: https://developer.apple.com/documentation/Security/kSecAttrIsPermanent KSecAttrIsPermanent string // KSecAttrIsSensitive is a key whose value indicates the item’s sensitivity. // // See: https://developer.apple.com/documentation/Security/kSecAttrIsSensitive KSecAttrIsSensitive string // KSecAttrIssuer is a key whose value indicates the item’s issuer. // // See: https://developer.apple.com/documentation/Security/kSecAttrIssuer KSecAttrIssuer string // KSecAttrKeyClass is a key whose value indicates the item’s cryptographic key class. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyClass KSecAttrKeyClass string // KSecAttrKeyClassPrivate is a private key of a public-private pair. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyClassPrivate KSecAttrKeyClassPrivate string // KSecAttrKeyClassPublic is a public key of a public-private pair. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyClassPublic KSecAttrKeyClassPublic string // KSecAttrKeyClassSymmetric is a private key used for symmetric-key encryption and decryption. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyClassSymmetric KSecAttrKeyClassSymmetric string // KSecAttrKeySizeInBits is a key whose value indicates the number of bits in a cryptographic key. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeySizeInBits KSecAttrKeySizeInBits string // KSecAttrKeyType is a key whose value indicates the item’s algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyType KSecAttrKeyType string // KSecAttrKeyType3DES is 3DES algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyType3DES KSecAttrKeyType3DES string // KSecAttrKeyTypeAES is aES algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeAES KSecAttrKeyTypeAES string // KSecAttrKeyTypeCAST is cAST algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeCAST KSecAttrKeyTypeCAST string // KSecAttrKeyTypeDES is dES algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeDES KSecAttrKeyTypeDES string // KSecAttrKeyTypeDSA is dSA algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeDSA KSecAttrKeyTypeDSA string // KSecAttrKeyTypeECSECPrimeRandom is elliptic curve algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeECSECPrimeRandom KSecAttrKeyTypeECSECPrimeRandom string // KSecAttrKeyTypeRC2 is rC2 algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeRC2 KSecAttrKeyTypeRC2 string // KSecAttrKeyTypeRC4 is rC4 algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeRC4 KSecAttrKeyTypeRC4 string // KSecAttrKeyTypeRSA is rSA algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeRSA KSecAttrKeyTypeRSA string // KSecAttrLabel is a key with a value that’s a string indicating the item’s label. // // See: https://developer.apple.com/documentation/Security/kSecAttrLabel KSecAttrLabel string // KSecAttrModificationDate is a key with a value that indicates the item’s most recent modification date. // // See: https://developer.apple.com/documentation/Security/kSecAttrModificationDate KSecAttrModificationDate string // KSecAttrPRF is a key whose value indicates the item’s pseudorandom function. // // See: https://developer.apple.com/documentation/Security/kSecAttrPRF KSecAttrPRF string // KSecAttrPRFHmacAlgSHA1 is use the SHA1 algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrPRFHmacAlgSHA1 KSecAttrPRFHmacAlgSHA1 string // KSecAttrPRFHmacAlgSHA224 is use the SHA224 algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrPRFHmacAlgSHA224 KSecAttrPRFHmacAlgSHA224 string // KSecAttrPRFHmacAlgSHA256 is use the SHA256 algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrPRFHmacAlgSHA256 KSecAttrPRFHmacAlgSHA256 string // KSecAttrPRFHmacAlgSHA384 is use the SHA384 algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrPRFHmacAlgSHA384 KSecAttrPRFHmacAlgSHA384 string // KSecAttrPRFHmacAlgSHA512 is use the SHA512 algorithm. // // See: https://developer.apple.com/documentation/Security/kSecAttrPRFHmacAlgSHA512 KSecAttrPRFHmacAlgSHA512 string // KSecAttrPath is a key whose value is a string indicating the item’s path attribute. // // See: https://developer.apple.com/documentation/Security/kSecAttrPath KSecAttrPath string // See: https://developer.apple.com/documentation/Security/kSecAttrPersistantReference KSecAttrPersistantReference string // See: https://developer.apple.com/documentation/Security/kSecAttrPersistentReference KSecAttrPersistentReference string // KSecAttrPort is a key whose value indicates the item’s port. // // See: https://developer.apple.com/documentation/Security/kSecAttrPort KSecAttrPort string // KSecAttrProtocol is a key whose value indicates the item’s protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocol KSecAttrProtocol string // KSecAttrProtocolAFP is aFP over TCP. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolAFP KSecAttrProtocolAFP string // KSecAttrProtocolAppleTalk is aFP over AppleTalk. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolAppleTalk KSecAttrProtocolAppleTalk string // KSecAttrProtocolDAAP is dAAP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolDAAP KSecAttrProtocolDAAP string // KSecAttrProtocolEPPC is remote Apple Events. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolEPPC KSecAttrProtocolEPPC string // KSecAttrProtocolFTP is fTP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolFTP KSecAttrProtocolFTP string // KSecAttrProtocolFTPAccount is a client side FTP account. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolFTPAccount KSecAttrProtocolFTPAccount string // KSecAttrProtocolFTPProxy is fTP proxy. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolFTPProxy KSecAttrProtocolFTPProxy string // KSecAttrProtocolFTPS is fTP over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolFTPS KSecAttrProtocolFTPS string // KSecAttrProtocolHTTP is hTTP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolHTTP KSecAttrProtocolHTTP string // KSecAttrProtocolHTTPProxy is hTTP proxy. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolHTTPProxy KSecAttrProtocolHTTPProxy string // KSecAttrProtocolHTTPS is hTTP over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolHTTPS KSecAttrProtocolHTTPS string // KSecAttrProtocolHTTPSProxy is hTTPS proxy. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolHTTPSProxy KSecAttrProtocolHTTPSProxy string // KSecAttrProtocolIMAP is iMAP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolIMAP KSecAttrProtocolIMAP string // KSecAttrProtocolIMAPS is iMAP over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolIMAPS KSecAttrProtocolIMAPS string // KSecAttrProtocolIPP is iPP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolIPP KSecAttrProtocolIPP string // KSecAttrProtocolIRC is iRC protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolIRC KSecAttrProtocolIRC string // KSecAttrProtocolIRCS is iRC over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolIRCS KSecAttrProtocolIRCS string // KSecAttrProtocolLDAP is lDAP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolLDAP KSecAttrProtocolLDAP string // KSecAttrProtocolLDAPS is lDAP over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolLDAPS KSecAttrProtocolLDAPS string // KSecAttrProtocolNNTP is nNTP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolNNTP KSecAttrProtocolNNTP string // KSecAttrProtocolNNTPS is nNTP over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolNNTPS KSecAttrProtocolNNTPS string // KSecAttrProtocolPOP3 is pOP3 protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolPOP3 KSecAttrProtocolPOP3 string // KSecAttrProtocolPOP3S is pOP3 over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolPOP3S KSecAttrProtocolPOP3S string // KSecAttrProtocolRTSP is rTSP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolRTSP KSecAttrProtocolRTSP string // KSecAttrProtocolRTSPProxy is rTSP proxy. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolRTSPProxy KSecAttrProtocolRTSPProxy string // KSecAttrProtocolSMB is sMB protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolSMB KSecAttrProtocolSMB string // KSecAttrProtocolSMTP is sMTP protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolSMTP KSecAttrProtocolSMTP string // KSecAttrProtocolSOCKS is sOCKS protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolSOCKS KSecAttrProtocolSOCKS string // KSecAttrProtocolSSH is sSH protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolSSH KSecAttrProtocolSSH string // KSecAttrProtocolTelnet is telnet protocol. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolTelnet KSecAttrProtocolTelnet string // KSecAttrProtocolTelnetS is telnet over TLS/SSL. // // See: https://developer.apple.com/documentation/Security/kSecAttrProtocolTelnetS KSecAttrProtocolTelnetS string // KSecAttrPublicKeyHash is a key whose value indicates the item’s public key hash. // // See: https://developer.apple.com/documentation/Security/kSecAttrPublicKeyHash KSecAttrPublicKeyHash string // KSecAttrRounds is a key whose value indicates the number of rounds to run the pseudorandom function. // // See: https://developer.apple.com/documentation/Security/kSecAttrRounds KSecAttrRounds string // KSecAttrSalt is a key whose value indicates the salt to use for this item. // // See: https://developer.apple.com/documentation/Security/kSecAttrSalt KSecAttrSalt string // KSecAttrSecurityDomain is a key whose value is a string indicating the item’s security domain. // // See: https://developer.apple.com/documentation/Security/kSecAttrSecurityDomain KSecAttrSecurityDomain string // KSecAttrSerialNumber is a key whose value indicates the item’s serial number. // // See: https://developer.apple.com/documentation/Security/kSecAttrSerialNumber KSecAttrSerialNumber string // KSecAttrServer is a key whose value is a string indicating the item’s server. // // See: https://developer.apple.com/documentation/Security/kSecAttrServer KSecAttrServer string // KSecAttrService is a key whose value is a string indicating the item’s service. // // See: https://developer.apple.com/documentation/Security/kSecAttrService KSecAttrService string // KSecAttrSubject is a key whose value indicates the item’s subject name. // // See: https://developer.apple.com/documentation/Security/kSecAttrSubject KSecAttrSubject string // KSecAttrSubjectKeyID is a key whose value indicates the item’s subject key ID. // // See: https://developer.apple.com/documentation/Security/kSecAttrSubjectKeyID KSecAttrSubjectKeyID string // KSecAttrSyncViewHint is a key with a value that’s a string that provides a sync view hint. // // See: https://developer.apple.com/documentation/Security/kSecAttrSyncViewHint KSecAttrSyncViewHint string // KSecAttrSynchronizable is a key with a value that’s a string indicating whether the item synchronizes through iCloud. // // See: https://developer.apple.com/documentation/Security/kSecAttrSynchronizable KSecAttrSynchronizable string // KSecAttrSynchronizableAny is specifies that both synchronizable and non-synchronizable results should be returned from a query. // // See: https://developer.apple.com/documentation/Security/kSecAttrSynchronizableAny KSecAttrSynchronizableAny string // KSecAttrTokenID is a key whose value indicates that a cryptographic key is in an external store. // // See: https://developer.apple.com/documentation/Security/kSecAttrTokenID KSecAttrTokenID string // KSecAttrTokenIDSecureEnclave is specifies an item should be stored in the device’s Secure Enclave. // // See: https://developer.apple.com/documentation/Security/kSecAttrTokenIDSecureEnclave KSecAttrTokenIDSecureEnclave string // KSecAttrType is a key with a value that indicates the item’s type. // // See: https://developer.apple.com/documentation/Security/kSecAttrType KSecAttrType string // KSecCFErrorArchitecture is a key whose value is a string containing the name of the architecture that is causing the problem. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorArchitecture KSecCFErrorArchitecture string // KSecCFErrorGuestAttributes is a key whose value is a Core Foundation object containing an attribute that is unrecognized or that contains a value of the wrong type. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorGuestAttributes KSecCFErrorGuestAttributes string // KSecCFErrorInfoPlist is a key whose value is a Core Foundation object identifying the invalid component or key in the dictionary. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorInfoPlist KSecCFErrorInfoPlist string // KSecCFErrorPath is a key whose value is a URL indicating the subcomponent containing the error. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorPath KSecCFErrorPath string // KSecCFErrorPattern is a key whose value is a string containing a regular expression that’s part of a resource specification that did not parse correctly. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorPattern KSecCFErrorPattern string // KSecCFErrorRequirementSyntax is a key whose value is a string containing a compilation error generated when parsing a requirement. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorRequirementSyntax KSecCFErrorRequirementSyntax string // KSecCFErrorResourceAdded is a key whose value is a URL pointing to the resource on disk that is not included in the signed resources for the code. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorResourceAdded KSecCFErrorResourceAdded string // KSecCFErrorResourceAltered is a key whose value is a URL pointing to the resource on disk that has been altered. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorResourceAltered KSecCFErrorResourceAltered string // KSecCFErrorResourceMissing is a key whose value is a URL indicating the location of the missing resource as it is specified in the [CodeResources] file. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorResourceMissing KSecCFErrorResourceMissing string // See: https://developer.apple.com/documentation/Security/kSecCFErrorResourceRecursive KSecCFErrorResourceRecursive string // KSecCFErrorResourceSeal is a key whose value is a Core Foundation object containing the part of the resource seal that had a problem. // // See: https://developer.apple.com/documentation/Security/kSecCFErrorResourceSeal KSecCFErrorResourceSeal string // KSecCFErrorResourceSideband is a key whose value is a URL representing a sealed resource with invalid sideband data (resource fork, etc.). // // See: https://developer.apple.com/documentation/Security/kSecCFErrorResourceSideband KSecCFErrorResourceSideband string // KSecClass is a dictionary key whose value is the item’s class. // // See: https://developer.apple.com/documentation/Security/kSecClass KSecClass string // KSecClassCertificate is the value that indicates a certificate item. // // See: https://developer.apple.com/documentation/Security/kSecClassCertificate KSecClassCertificate string // KSecClassGenericPassword is the value that indicates a generic password item. // // See: https://developer.apple.com/documentation/Security/kSecClassGenericPassword KSecClassGenericPassword string // KSecClassIdentity is the value that indicates an identity item. // // See: https://developer.apple.com/documentation/Security/kSecClassIdentity KSecClassIdentity string // KSecClassInternetPassword is the value that indicates an Internet password item. // // See: https://developer.apple.com/documentation/Security/kSecClassInternetPassword KSecClassInternetPassword string // KSecClassKey is the value that indicates a cryptographic key item. // // See: https://developer.apple.com/documentation/Security/kSecClassKey KSecClassKey string // KSecCodeAttributeArchitecture is a key whose value is a string that indicates an architecture, such as `i386` or `x86_64`. // // See: https://developer.apple.com/documentation/Security/kSecCodeAttributeArchitecture KSecCodeAttributeArchitecture string // KSecCodeAttributeBundleVersion is a key whose value indicates the bundle version. // // See: https://developer.apple.com/documentation/Security/kSecCodeAttributeBundleVersion KSecCodeAttributeBundleVersion string // KSecCodeAttributeSubarchitecture is a key whose value is a string indicating a specific processor type, such as `i686` or `core2`. // // See: https://developer.apple.com/documentation/Security/kSecCodeAttributeSubarchitecture KSecCodeAttributeSubarchitecture string // KSecCodeAttributeUniversalFileOffset is a key whose value indicates the offset of a Mach-O specific slice of a universal Mach-O file. // // See: https://developer.apple.com/documentation/Security/kSecCodeAttributeUniversalFileOffset KSecCodeAttributeUniversalFileOffset string // KSecCodeInfoCMS is a key whose value is the CMS cryptographic object that secures the code signature. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoCMS KSecCodeInfoCMS string // KSecCodeInfoCdHashes is a key whose value is an array containing the unique binary identifier for every digest algorithm supported in the signature. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoCdHashes KSecCodeInfoCdHashes string // KSecCodeInfoCertificates is a key whose value is an array of certificates representing the certificate chain of the signing certificate as seen by the system. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoCertificates KSecCodeInfoCertificates string // KSecCodeInfoChangedFiles is a key whose value is a list of all files in the code that may have been modified by the process of signing it. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoChangedFiles KSecCodeInfoChangedFiles string // See: https://developer.apple.com/documentation/Security/kSecCodeInfoDefaultDesignatedLightweightCodeRequirement KSecCodeInfoDefaultDesignatedLightweightCodeRequirement string // KSecCodeInfoDesignatedRequirement is a keys whose value is the designated requirement of the code. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoDesignatedRequirement KSecCodeInfoDesignatedRequirement string // KSecCodeInfoDigestAlgorithm is a key whose value is a number indicating the cryptographic hash function. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoDigestAlgorithm KSecCodeInfoDigestAlgorithm string // KSecCodeInfoDigestAlgorithms is a key whose value is a list of the kinds of cryptographic hash functions available within the signature. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoDigestAlgorithms KSecCodeInfoDigestAlgorithms string // KSecCodeInfoEntitlements is a key whose value represents the embedded entitlement blob of the code, if any. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoEntitlements KSecCodeInfoEntitlements string // KSecCodeInfoEntitlementsDict is a key whose value is a dictionary of embedded entitlements. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoEntitlementsDict KSecCodeInfoEntitlementsDict string // KSecCodeInfoFlags is a key whose value indicates the static (on-disk) state of the object. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoFlags KSecCodeInfoFlags string // KSecCodeInfoFormat is a key whose value is a string representing the type and format of the code in a form suitable for display to a knowledgeable user. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoFormat KSecCodeInfoFormat string // KSecCodeInfoIdentifier is a key whose value is the signing identifier sealed into the signature. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoIdentifier KSecCodeInfoIdentifier string // KSecCodeInfoImplicitDesignatedRequirement is a key whose value is the designated requirement (DR) that the system generated—or would have generated—for the code in the absence of an explicitly-declared DR. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoImplicitDesignatedRequirement KSecCodeInfoImplicitDesignatedRequirement string // KSecCodeInfoMainExecutable is a key whose value is a URL locating the main executable file of the code. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoMainExecutable KSecCodeInfoMainExecutable string // KSecCodeInfoPList is a key whose value is an information dictionary containing the contents of the secured `Info.Plist()` file as seen by Code Signing Services. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoPList KSecCodeInfoPList string // KSecCodeInfoPlatformIdentifier is a key whose value identifies the operating system release with which the code is associated, if any. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoPlatformIdentifier KSecCodeInfoPlatformIdentifier string // KSecCodeInfoRequirementData is a key whose value is the internal requirements of the code as a binary blob. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoRequirementData KSecCodeInfoRequirementData string // KSecCodeInfoRequirements is a key whose value is the internal requirements of the code as a text string in canonical syntax. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoRequirements KSecCodeInfoRequirements string // KSecCodeInfoRuntimeVersion is a key whose value represents the runtime version. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoRuntimeVersion KSecCodeInfoRuntimeVersion string // KSecCodeInfoSource is the source of the code signature used for the code object in a format suitable for display. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoSource KSecCodeInfoSource string // See: https://developer.apple.com/documentation/Security/kSecCodeInfoStapledNotarizationTicket KSecCodeInfoStapledNotarizationTicket string // KSecCodeInfoStatus is a key whose value is the set of code status flags for the running code. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoStatus KSecCodeInfoStatus string // KSecCodeInfoTeamIdentifier is a key whose value is the team identifier. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoTeamIdentifier KSecCodeInfoTeamIdentifier string // KSecCodeInfoTime is a key whose value is the signing date embedded in the code signature. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoTime KSecCodeInfoTime string // KSecCodeInfoTimestamp is a key whose value indicates the actual signing date. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoTimestamp KSecCodeInfoTimestamp string // KSecCodeInfoTrust is a key whose value is the trust object the system uses to evaluate the validity of the code’s signature. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoTrust KSecCodeInfoTrust string // KSecCodeInfoUnique is a key whose value is a binary number that uniquely identifies static code. // // See: https://developer.apple.com/documentation/Security/kSecCodeInfoUnique KSecCodeInfoUnique string // KSecDecodeTypeAttribute is the encoding used by a decode transform. // // See: https://developer.apple.com/documentation/Security/kSecDecodeTypeAttribute KSecDecodeTypeAttribute string // KSecGuestAttributeArchitecture is a key whose value is a number representing the CPU type under which the guest code is designed to run. // // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeArchitecture KSecGuestAttributeArchitecture string // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeAudit KSecGuestAttributeAudit string // KSecGuestAttributeCanonical is a key whose value is the guest code object for that guest. // // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeCanonical KSecGuestAttributeCanonical string // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeDynamicCode KSecGuestAttributeDynamicCode string // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeDynamicCodeInfoPlist KSecGuestAttributeDynamicCodeInfoPlist string // KSecGuestAttributeHash is a key whose value is a data object containing the SHA-1 hash of the code directory. // // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeHash KSecGuestAttributeHash string // KSecGuestAttributeMachPort is not implemented. // // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeMachPort KSecGuestAttributeMachPort string // KSecGuestAttributePid is a key whose value is an integer of type `pid_t` representing a process ID (PID), usually of the kernel’s guest. // // See: https://developer.apple.com/documentation/Security/kSecGuestAttributePid KSecGuestAttributePid string // KSecGuestAttributeSubarchitecture is a key whose value is a number representing the CPU subtype under which the guest code is designed to run. // // See: https://developer.apple.com/documentation/Security/kSecGuestAttributeSubarchitecture KSecGuestAttributeSubarchitecture string // KSecIdentityDomainDefault is the system-wide default identity. // // See: https://developer.apple.com/documentation/Security/kSecIdentityDomainDefault KSecIdentityDomainDefault string // KSecIdentityDomainKerberosKDC is kerberos Key Distribution Center (KDC) identity. // // See: https://developer.apple.com/documentation/Security/kSecIdentityDomainKerberosKDC KSecIdentityDomainKerberosKDC string // KSecImportExportAccess is an initial access control list represented by a [SecAccess] object. // // See: https://developer.apple.com/documentation/Security/kSecImportExportAccess KSecImportExportAccess string // KSecImportExportKeychain is a keychain represented by a SecKeychainRef to be used as the target when importing or exporting. // // See: https://developer.apple.com/documentation/Security/kSecImportExportKeychain KSecImportExportKeychain string // KSecImportExportPassphrase is a passphrase (represented by a [CFStringRef] object) to be used when exporting to or importing from PKCS#12 format. // // See: https://developer.apple.com/documentation/Security/kSecImportExportPassphrase KSecImportExportPassphrase string // KSecImportItemCertChain is certificate list. // // See: https://developer.apple.com/documentation/Security/kSecImportItemCertChain KSecImportItemCertChain string // KSecImportItemIdentity is identity object. // // See: https://developer.apple.com/documentation/Security/kSecImportItemIdentity KSecImportItemIdentity string // KSecImportItemKeyID is key ID. // // See: https://developer.apple.com/documentation/Security/kSecImportItemKeyID KSecImportItemKeyID string // KSecImportItemLabel is item label. // // See: https://developer.apple.com/documentation/Security/kSecImportItemLabel KSecImportItemLabel string // KSecImportItemTrust is trust management object. // // See: https://developer.apple.com/documentation/Security/kSecImportItemTrust KSecImportItemTrust string // See: https://developer.apple.com/documentation/Security/kSecImportToMemoryOnly KSecImportToMemoryOnly string // KSecInputIsDigest is the input is a digest of the original data. // // See: https://developer.apple.com/documentation/Security/kSecInputIsDigest KSecInputIsDigest string // KSecInputIsPlainText is the input is plain text. // // See: https://developer.apple.com/documentation/Security/kSecInputIsPlainText KSecInputIsPlainText string // KSecKeyAttributeName is the cryptographic key associated with a transform. // // See: https://developer.apple.com/documentation/Security/kSecKeyAttributeName KSecKeyAttributeName string // KSecMatchCaseInsensitive is a key whose value is a Boolean indicating whether case-insensitive matching is performed. // // See: https://developer.apple.com/documentation/Security/kSecMatchCaseInsensitive KSecMatchCaseInsensitive string // KSecMatchDiacriticInsensitive is a key whose value is a Boolean indicating whether diacritic-insensitive matching is performed. // // See: https://developer.apple.com/documentation/Security/kSecMatchDiacriticInsensitive KSecMatchDiacriticInsensitive string // KSecMatchEmailAddressIfPresent is a key whose value is a string to match against a certificate or identity’s email address. // // See: https://developer.apple.com/documentation/Security/kSecMatchEmailAddressIfPresent KSecMatchEmailAddressIfPresent string // See: https://developer.apple.com/documentation/Security/kSecMatchHostOrSubdomainOfHost KSecMatchHostOrSubdomainOfHost string // KSecMatchIssuers is a key whose value is a string to match against a certificate or identity’s issuers. // // See: https://developer.apple.com/documentation/Security/kSecMatchIssuers KSecMatchIssuers string // KSecMatchItemList is a key whose value indicates a list of items to search. // // See: https://developer.apple.com/documentation/Security/kSecMatchItemList KSecMatchItemList string // KSecMatchLimit is a key whose value indicates the match limit. // // See: https://developer.apple.com/documentation/Security/kSecMatchLimit KSecMatchLimit string // KSecMatchLimitAll is a value that corresponds to matching an unlimited number of items. // // See: https://developer.apple.com/documentation/Security/kSecMatchLimitAll KSecMatchLimitAll string // KSecMatchLimitOne is a value that corresponds to matching exactly one item. // // See: https://developer.apple.com/documentation/Security/kSecMatchLimitOne KSecMatchLimitOne string // KSecMatchPolicy is a key whose value indicates a policy with which a matching certificate or identity must verify. // // See: https://developer.apple.com/documentation/Security/kSecMatchPolicy KSecMatchPolicy string // KSecMatchSearchList is a key whose value indicates a list of items to search. // // See: https://developer.apple.com/documentation/Security/kSecMatchSearchList KSecMatchSearchList string // KSecMatchSubjectContains is a key whose value is a string to look for in a certificate or identity’s subject. // // See: https://developer.apple.com/documentation/Security/kSecMatchSubjectContains KSecMatchSubjectContains string // KSecMatchSubjectEndsWith is a key whose value is a string to match against the end of a certificate or identity’s subject. // // See: https://developer.apple.com/documentation/Security/kSecMatchSubjectEndsWith KSecMatchSubjectEndsWith string // KSecMatchSubjectStartsWith is a key whose value is a string to match against the beginning of a certificate or identity’s subject. // // See: https://developer.apple.com/documentation/Security/kSecMatchSubjectStartsWith KSecMatchSubjectStartsWith string // KSecMatchSubjectWholeString is a key whose value is a string to exactly match a certificate or identity’s subject. // // See: https://developer.apple.com/documentation/Security/kSecMatchSubjectWholeString KSecMatchSubjectWholeString string // KSecMatchTrustedOnly is a key whose value is a Boolean indicating whether untrusted certificates should be returned. // // See: https://developer.apple.com/documentation/Security/kSecMatchTrustedOnly KSecMatchTrustedOnly string // KSecMatchValidOnDate is a key whose value indicates the validity date. // // See: https://developer.apple.com/documentation/Security/kSecMatchValidOnDate KSecMatchValidOnDate string // KSecMatchWidthInsensitive is a key whose value is a Boolean indicating whether width-insensitive matching is performed. // // See: https://developer.apple.com/documentation/Security/kSecMatchWidthInsensitive KSecMatchWidthInsensitive string // See: https://developer.apple.com/documentation/Security/kSecOIDADC_CERT_POLICY KSecOIDADC_CERT_POLICY string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_CERT_POLICY KSecOIDAPPLE_CERT_POLICY string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EKU_CODE_SIGNING KSecOIDAPPLE_EKU_CODE_SIGNING string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EKU_CODE_SIGNING_DEV KSecOIDAPPLE_EKU_CODE_SIGNING_DEV string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EKU_ICHAT_ENCRYPTION KSecOIDAPPLE_EKU_ICHAT_ENCRYPTION string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EKU_ICHAT_SIGNING KSecOIDAPPLE_EKU_ICHAT_SIGNING string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EKU_RESOURCE_SIGNING KSecOIDAPPLE_EKU_RESOURCE_SIGNING string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EKU_SYSTEM_IDENTITY KSecOIDAPPLE_EKU_SYSTEM_IDENTITY string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION KSecOIDAPPLE_EXTENSION string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_AAI_INTERMEDIATE KSecOIDAPPLE_EXTENSION_AAI_INTERMEDIATE string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_ADC_APPLE_SIGNING KSecOIDAPPLE_EXTENSION_ADC_APPLE_SIGNING string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_ADC_DEV_SIGNING KSecOIDAPPLE_EXTENSION_ADC_DEV_SIGNING string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_APPLEID_INTERMEDIATE KSecOIDAPPLE_EXTENSION_APPLEID_INTERMEDIATE string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_APPLE_SIGNING KSecOIDAPPLE_EXTENSION_APPLE_SIGNING string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_CODE_SIGNING KSecOIDAPPLE_EXTENSION_CODE_SIGNING string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_INTERMEDIATE_MARKER KSecOIDAPPLE_EXTENSION_INTERMEDIATE_MARKER string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_ITMS_INTERMEDIATE KSecOIDAPPLE_EXTENSION_ITMS_INTERMEDIATE string // See: https://developer.apple.com/documentation/Security/kSecOIDAPPLE_EXTENSION_WWDR_INTERMEDIATE KSecOIDAPPLE_EXTENSION_WWDR_INTERMEDIATE string // See: https://developer.apple.com/documentation/Security/kSecOIDAuthorityInfoAccess KSecOIDAuthorityInfoAccess string // See: https://developer.apple.com/documentation/Security/kSecOIDAuthorityKeyIdentifier KSecOIDAuthorityKeyIdentifier string // See: https://developer.apple.com/documentation/Security/kSecOIDBasicConstraints KSecOIDBasicConstraints string // See: https://developer.apple.com/documentation/Security/kSecOIDBiometricInfo KSecOIDBiometricInfo string // See: https://developer.apple.com/documentation/Security/kSecOIDCSSMKeyStruct KSecOIDCSSMKeyStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDCertIssuer KSecOIDCertIssuer string // See: https://developer.apple.com/documentation/Security/kSecOIDCertificatePolicies KSecOIDCertificatePolicies string // See: https://developer.apple.com/documentation/Security/kSecOIDClientAuth KSecOIDClientAuth string // See: https://developer.apple.com/documentation/Security/kSecOIDCollectiveStateProvinceName KSecOIDCollectiveStateProvinceName string // See: https://developer.apple.com/documentation/Security/kSecOIDCollectiveStreetAddress KSecOIDCollectiveStreetAddress string // See: https://developer.apple.com/documentation/Security/kSecOIDCommonName KSecOIDCommonName string // See: https://developer.apple.com/documentation/Security/kSecOIDCountryName KSecOIDCountryName string // See: https://developer.apple.com/documentation/Security/kSecOIDCrlDistributionPoints KSecOIDCrlDistributionPoints string // See: https://developer.apple.com/documentation/Security/kSecOIDCrlNumber KSecOIDCrlNumber string // See: https://developer.apple.com/documentation/Security/kSecOIDCrlReason KSecOIDCrlReason string // See: https://developer.apple.com/documentation/Security/kSecOIDDOTMAC_CERT_EMAIL_ENCRYPT KSecOIDDOTMAC_CERT_EMAIL_ENCRYPT string // See: https://developer.apple.com/documentation/Security/kSecOIDDOTMAC_CERT_EMAIL_SIGN KSecOIDDOTMAC_CERT_EMAIL_SIGN string // See: https://developer.apple.com/documentation/Security/kSecOIDDOTMAC_CERT_EXTENSION KSecOIDDOTMAC_CERT_EXTENSION string // See: https://developer.apple.com/documentation/Security/kSecOIDDOTMAC_CERT_IDENTITY KSecOIDDOTMAC_CERT_IDENTITY string // See: https://developer.apple.com/documentation/Security/kSecOIDDOTMAC_CERT_POLICY KSecOIDDOTMAC_CERT_POLICY string // See: https://developer.apple.com/documentation/Security/kSecOIDDeltaCrlIndicator KSecOIDDeltaCrlIndicator string // See: https://developer.apple.com/documentation/Security/kSecOIDDescription KSecOIDDescription string // See: https://developer.apple.com/documentation/Security/kSecOIDEKU_IPSec KSecOIDEKU_IPSec string // See: https://developer.apple.com/documentation/Security/kSecOIDEmailAddress KSecOIDEmailAddress string // See: https://developer.apple.com/documentation/Security/kSecOIDEmailProtection KSecOIDEmailProtection string // See: https://developer.apple.com/documentation/Security/kSecOIDExtendedKeyUsage KSecOIDExtendedKeyUsage string // See: https://developer.apple.com/documentation/Security/kSecOIDExtendedKeyUsageAny KSecOIDExtendedKeyUsageAny string // See: https://developer.apple.com/documentation/Security/kSecOIDExtendedUseCodeSigning KSecOIDExtendedUseCodeSigning string // See: https://developer.apple.com/documentation/Security/kSecOIDGivenName KSecOIDGivenName string // See: https://developer.apple.com/documentation/Security/kSecOIDHoldInstructionCode KSecOIDHoldInstructionCode string // See: https://developer.apple.com/documentation/Security/kSecOIDInvalidityDate KSecOIDInvalidityDate string // See: https://developer.apple.com/documentation/Security/kSecOIDIssuerAltName KSecOIDIssuerAltName string // See: https://developer.apple.com/documentation/Security/kSecOIDIssuingDistributionPoint KSecOIDIssuingDistributionPoint string // See: https://developer.apple.com/documentation/Security/kSecOIDIssuingDistributionPoints KSecOIDIssuingDistributionPoints string // See: https://developer.apple.com/documentation/Security/kSecOIDKERBv5_PKINIT_KP_CLIENT_AUTH KSecOIDKERBv5_PKINIT_KP_CLIENT_AUTH string // See: https://developer.apple.com/documentation/Security/kSecOIDKERBv5_PKINIT_KP_KDC KSecOIDKERBv5_PKINIT_KP_KDC string // See: https://developer.apple.com/documentation/Security/kSecOIDKeyUsage KSecOIDKeyUsage string // See: https://developer.apple.com/documentation/Security/kSecOIDLocalityName KSecOIDLocalityName string // See: https://developer.apple.com/documentation/Security/kSecOIDMS_NTPrincipalName KSecOIDMS_NTPrincipalName string // See: https://developer.apple.com/documentation/Security/kSecOIDMicrosoftSGC KSecOIDMicrosoftSGC string // See: https://developer.apple.com/documentation/Security/kSecOIDNameConstraints KSecOIDNameConstraints string // See: https://developer.apple.com/documentation/Security/kSecOIDNetscapeCertSequence KSecOIDNetscapeCertSequence string // See: https://developer.apple.com/documentation/Security/kSecOIDNetscapeCertType KSecOIDNetscapeCertType string // See: https://developer.apple.com/documentation/Security/kSecOIDNetscapeSGC KSecOIDNetscapeSGC string // See: https://developer.apple.com/documentation/Security/kSecOIDOCSPSigning KSecOIDOCSPSigning string // See: https://developer.apple.com/documentation/Security/kSecOIDOrganizationName KSecOIDOrganizationName string // See: https://developer.apple.com/documentation/Security/kSecOIDOrganizationalUnitName KSecOIDOrganizationalUnitName string // See: https://developer.apple.com/documentation/Security/kSecOIDPolicyConstraints KSecOIDPolicyConstraints string // See: https://developer.apple.com/documentation/Security/kSecOIDPolicyMappings KSecOIDPolicyMappings string // See: https://developer.apple.com/documentation/Security/kSecOIDPrivateKeyUsagePeriod KSecOIDPrivateKeyUsagePeriod string // See: https://developer.apple.com/documentation/Security/kSecOIDQC_Statements KSecOIDQC_Statements string // See: https://developer.apple.com/documentation/Security/kSecOIDSRVName KSecOIDSRVName string // See: https://developer.apple.com/documentation/Security/kSecOIDSerialNumber KSecOIDSerialNumber string // See: https://developer.apple.com/documentation/Security/kSecOIDServerAuth KSecOIDServerAuth string // See: https://developer.apple.com/documentation/Security/kSecOIDStateProvinceName KSecOIDStateProvinceName string // See: https://developer.apple.com/documentation/Security/kSecOIDStreetAddress KSecOIDStreetAddress string // See: https://developer.apple.com/documentation/Security/kSecOIDSubjectAltName KSecOIDSubjectAltName string // See: https://developer.apple.com/documentation/Security/kSecOIDSubjectDirectoryAttributes KSecOIDSubjectDirectoryAttributes string // See: https://developer.apple.com/documentation/Security/kSecOIDSubjectEmailAddress KSecOIDSubjectEmailAddress string // See: https://developer.apple.com/documentation/Security/kSecOIDSubjectInfoAccess KSecOIDSubjectInfoAccess string // See: https://developer.apple.com/documentation/Security/kSecOIDSubjectKeyIdentifier KSecOIDSubjectKeyIdentifier string // See: https://developer.apple.com/documentation/Security/kSecOIDSubjectPicture KSecOIDSubjectPicture string // See: https://developer.apple.com/documentation/Security/kSecOIDSubjectSignatureBitmap KSecOIDSubjectSignatureBitmap string // See: https://developer.apple.com/documentation/Security/kSecOIDSurname KSecOIDSurname string // See: https://developer.apple.com/documentation/Security/kSecOIDTimeStamping KSecOIDTimeStamping string // See: https://developer.apple.com/documentation/Security/kSecOIDTitle KSecOIDTitle string // See: https://developer.apple.com/documentation/Security/kSecOIDUseExemptions KSecOIDUseExemptions string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1CertificateIssuerUniqueId KSecOIDX509V1CertificateIssuerUniqueId string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1CertificateSubjectUniqueId KSecOIDX509V1CertificateSubjectUniqueId string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1IssuerName KSecOIDX509V1IssuerName string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1IssuerNameCStruct KSecOIDX509V1IssuerNameCStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1IssuerNameLDAP KSecOIDX509V1IssuerNameLDAP string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1IssuerNameStd KSecOIDX509V1IssuerNameStd string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SerialNumber KSecOIDX509V1SerialNumber string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1Signature KSecOIDX509V1Signature string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SignatureAlgorithm KSecOIDX509V1SignatureAlgorithm string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SignatureAlgorithmParameters KSecOIDX509V1SignatureAlgorithmParameters string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SignatureAlgorithmTBS KSecOIDX509V1SignatureAlgorithmTBS string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SignatureCStruct KSecOIDX509V1SignatureCStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SignatureStruct KSecOIDX509V1SignatureStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectName KSecOIDX509V1SubjectName string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectNameCStruct KSecOIDX509V1SubjectNameCStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectNameLDAP KSecOIDX509V1SubjectNameLDAP string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectNameStd KSecOIDX509V1SubjectNameStd string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectPublicKey KSecOIDX509V1SubjectPublicKey string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectPublicKeyAlgorithm KSecOIDX509V1SubjectPublicKeyAlgorithm string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectPublicKeyAlgorithmParameters KSecOIDX509V1SubjectPublicKeyAlgorithmParameters string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1SubjectPublicKeyCStruct KSecOIDX509V1SubjectPublicKeyCStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1ValidityNotAfter KSecOIDX509V1ValidityNotAfter string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1ValidityNotBefore KSecOIDX509V1ValidityNotBefore string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V1Version KSecOIDX509V1Version string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3Certificate KSecOIDX509V3Certificate string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateCStruct KSecOIDX509V3CertificateCStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionCStruct KSecOIDX509V3CertificateExtensionCStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionCritical KSecOIDX509V3CertificateExtensionCritical string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionId KSecOIDX509V3CertificateExtensionId string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionStruct KSecOIDX509V3CertificateExtensionStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionType KSecOIDX509V3CertificateExtensionType string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionValue KSecOIDX509V3CertificateExtensionValue string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionsCStruct KSecOIDX509V3CertificateExtensionsCStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateExtensionsStruct KSecOIDX509V3CertificateExtensionsStruct string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3CertificateNumberOfExtensions KSecOIDX509V3CertificateNumberOfExtensions string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3SignedCertificate KSecOIDX509V3SignedCertificate string // See: https://developer.apple.com/documentation/Security/kSecOIDX509V3SignedCertificateCStruct KSecOIDX509V3SignedCertificateCStruct string // KSecPolicyAppleCodeSigning is policy for use in evaluating Apple code signing certificates. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleCodeSigning KSecPolicyAppleCodeSigning string // KSecPolicyAppleEAP is extensible Authentication Protocol. Functionally identical to SSL policy. A separate OID is provided to facilitate per-policy, per-certificate trust settings using the [SecTrust] mechanism. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleEAP KSecPolicyAppleEAP string // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleEAPClient KSecPolicyAppleEAPClient string // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleEAPServer KSecPolicyAppleEAPServer string // KSecPolicyAppleIDValidation is policy for use in evaluating Apple ID certificates. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleIDValidation KSecPolicyAppleIDValidation string // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleIPSecClient KSecPolicyAppleIPSecClient string // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleIPSecServer KSecPolicyAppleIPSecServer string // KSecPolicyAppleIPsec is policy for use in IPsec communication. Functionally identical to SSL policy. A separate OID is provided to facilitate per-policy, per-certificate trust settings using the [SecTrust] mechanism. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleIPsec KSecPolicyAppleIPsec string // KSecPolicyApplePKINITClient is kerberos Pkinit client certificate validation. // // See: https://developer.apple.com/documentation/Security/kSecPolicyApplePKINITClient KSecPolicyApplePKINITClient string // KSecPolicyApplePKINITServer is kerberos Pkinit server certificate validation. // // See: https://developer.apple.com/documentation/Security/kSecPolicyApplePKINITServer KSecPolicyApplePKINITServer string // See: https://developer.apple.com/documentation/Security/kSecPolicyApplePassbookSigning KSecPolicyApplePassbookSigning string // See: https://developer.apple.com/documentation/Security/kSecPolicyApplePayIssuerEncryption KSecPolicyApplePayIssuerEncryption string // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleRevocation KSecPolicyAppleRevocation string // KSecPolicyAppleSMIME is basic X509 plus email address verification and [KeyUsage] enforcement per RFC 2632. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleSMIME KSecPolicyAppleSMIME string // KSecPolicyAppleSSL is basic X509 plus host name verification per RFC 2818. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleSSL KSecPolicyAppleSSL string // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleSSLClient KSecPolicyAppleSSLClient string // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleSSLServer KSecPolicyAppleSSLServer string // KSecPolicyAppleTimeStamping is policy that causes evaluation of the validity of the time stamp on a signature. This can be used to allow verification that a certificate was valid at the time that something was signed with that certificate even if the certificate is no longer valid. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleTimeStamping KSecPolicyAppleTimeStamping string // KSecPolicyAppleX509Basic is basic X509-style certificate evaluation. // // See: https://developer.apple.com/documentation/Security/kSecPolicyAppleX509Basic KSecPolicyAppleX509Basic string // KSecPolicyClient is if true, indicates this policy should be evaluated against the client certificate. If false, the policy is evaluated against the certificate for the server. Default is false. // // See: https://developer.apple.com/documentation/Security/kSecPolicyClient KSecPolicyClient string // KSecPolicyKU_CRLSign is if true, the certificate’s key usage must allow it to be used for signing certificate revocation lists (CRLs). // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_CRLSign KSecPolicyKU_CRLSign string // KSecPolicyKU_DataEncipherment is if true, the certificate’s key usage must allow it to be used for data encryption. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_DataEncipherment KSecPolicyKU_DataEncipherment string // KSecPolicyKU_DecipherOnly is if true, the certificate’s key usage must allow it to be used for decryption. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_DecipherOnly KSecPolicyKU_DecipherOnly string // KSecPolicyKU_DigitalSignature is if true, the certificate’s key usage must allow it to be used for signing. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_DigitalSignature KSecPolicyKU_DigitalSignature string // KSecPolicyKU_EncipherOnly is if true, the certificate’s key usage must allow it to be used for encryption. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_EncipherOnly KSecPolicyKU_EncipherOnly string // KSecPolicyKU_KeyAgreement is if true, the certificate’s key usage must allow it to be used for key agreement. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_KeyAgreement KSecPolicyKU_KeyAgreement string // KSecPolicyKU_KeyCertSign is if true, the certificate’s key usage must allow it to be used for signing certificates. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_KeyCertSign KSecPolicyKU_KeyCertSign string // KSecPolicyKU_KeyEncipherment is if true, the certificate’s key usage must allow it to be used for key encryption. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_KeyEncipherment KSecPolicyKU_KeyEncipherment string // KSecPolicyKU_NonRepudiation is if true, the certificate’s key usage must allow it to be used for non-repudiation. // // See: https://developer.apple.com/documentation/Security/kSecPolicyKU_NonRepudiation KSecPolicyKU_NonRepudiation string // KSecPolicyMacAppStoreReceipt is policy for use in evaluating Mac App Store receipts. // // See: https://developer.apple.com/documentation/Security/kSecPolicyMacAppStoreReceipt KSecPolicyMacAppStoreReceipt string // KSecPolicyName is a name ([CFStringRef]) that the certificate must match to satisfy this policy. For SSL/TLS, this specifies the server name which must match the common name of the certificate. For S/MIME, this specifies the RFC 822 email address. // // See: https://developer.apple.com/documentation/Security/kSecPolicyName KSecPolicyName string // KSecPolicyOid is the object identifier that defines the policy type ([CFStringRef]). All policies have a value for this key. // // See: https://developer.apple.com/documentation/Security/kSecPolicyOid KSecPolicyOid string // See: https://developer.apple.com/documentation/Security/kSecPolicyRevocationFlags KSecPolicyRevocationFlags string // See: https://developer.apple.com/documentation/Security/kSecPolicyTeamIdentifier KSecPolicyTeamIdentifier string // KSecPrivateKeyAttrs is a key whose value is a dictionary of cryptographic key attributes specific to a private key. // // See: https://developer.apple.com/documentation/Security/kSecPrivateKeyAttrs KSecPrivateKeyAttrs string // KSecPropertyKeyLabel is a key whose value is the label for a certificate property. // // See: https://developer.apple.com/documentation/Security/kSecPropertyKeyLabel KSecPropertyKeyLabel string // KSecPropertyKeyLocalizedLabel is a key whose value is the localized label for a certificate property. // // See: https://developer.apple.com/documentation/Security/kSecPropertyKeyLocalizedLabel KSecPropertyKeyLocalizedLabel string // KSecPropertyKeyType is a key whose value indicates the type of certificate property. // // See: https://developer.apple.com/documentation/Security/kSecPropertyKeyType KSecPropertyKeyType string // KSecPropertyKeyValue is a key whose value is the value for a certificate property. // // See: https://developer.apple.com/documentation/Security/kSecPropertyKeyValue KSecPropertyKeyValue string // KSecPropertyTypeArray is specifies a key whose value is an array. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeArray KSecPropertyTypeArray string // KSecPropertyTypeData is a key whose value is a data object. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeData KSecPropertyTypeData string // KSecPropertyTypeDate is specifies a key whose value is a string containing a date (or a string listing the bytes of an invalid date). // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeDate KSecPropertyTypeDate string // KSecPropertyTypeError is specifies a key whose value is a string containing the reason for a trust evaluation failure. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeError KSecPropertyTypeError string // KSecPropertyTypeNumber is specifies a key whose value is a number. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeNumber KSecPropertyTypeNumber string // KSecPropertyTypeSection is a key whose value is a string describing the name of a field in the certificate (`CFSTR("Subject Name")`, for example). // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeSection KSecPropertyTypeSection string // KSecPropertyTypeString is a key whose value is a string. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeString KSecPropertyTypeString string // KSecPropertyTypeSuccess is a key whose value is a string describing a trust evaluation success. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeSuccess KSecPropertyTypeSuccess string // KSecPropertyTypeTitle is specifies a key whose value is a string containing the title (display name) of the certificate. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeTitle KSecPropertyTypeTitle string // KSecPropertyTypeURL is specifies a key whose value is a URL. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeURL KSecPropertyTypeURL string // KSecPropertyTypeWarning is a key whose value is a string describing a trust evaluation warning. // // See: https://developer.apple.com/documentation/Security/kSecPropertyTypeWarning KSecPropertyTypeWarning string // KSecPublicKeyAttrs is a key whose value is a dictionary of cryptographic key attributes specific to a public key. // // See: https://developer.apple.com/documentation/Security/kSecPublicKeyAttrs KSecPublicKeyAttrs string // KSecReturnAttributes is a key whose value is a Boolean indicating whether or not to return item attributes. // // See: https://developer.apple.com/documentation/Security/kSecReturnAttributes KSecReturnAttributes string // KSecReturnData is a key whose value is a Boolean that indicates whether or not to return item data. // // See: https://developer.apple.com/documentation/Security/kSecReturnData KSecReturnData string // KSecReturnPersistentRef is a key whose value is a Boolean indicating whether or not to return a persistent reference to an item. // // See: https://developer.apple.com/documentation/Security/kSecReturnPersistentRef KSecReturnPersistentRef string // KSecReturnRef is a key whose value is a Boolean indicating whether or not to return a reference to an item. // // See: https://developer.apple.com/documentation/Security/kSecReturnRef KSecReturnRef string // // See: https://developer.apple.com/documentation/Security/kSecSharedPassword KSecSharedPassword string // KSecSignatureAttributeName is the cryptographic signature associated with a transform. // // See: https://developer.apple.com/documentation/Security/kSecSignatureAttributeName KSecSignatureAttributeName string // KSecTransformAbortOriginatorKey is the key in an error’s `userInfo` dictionary whose value indicates the transform that caused the chain to abort. // // See: https://developer.apple.com/documentation/Security/kSecTransformAbortOriginatorKey KSecTransformAbortOriginatorKey string // KSecTransformErrorDomain is the domain of any error object created by a transform on failure. // // See: https://developer.apple.com/documentation/Security/kSecTransformErrorDomain KSecTransformErrorDomain string // KSecTransformPreviousErrorKey is the key in an error’s `userInfo` dictionary whose value specifies the previous error when multiple errors occur during transform evaluation. // // See: https://developer.apple.com/documentation/Security/kSecTransformPreviousErrorKey KSecTransformPreviousErrorKey string // KSecTrustCertificateTransparency is a key whose value is a Boolean used to indicate Certificate Transparency. // // See: https://developer.apple.com/documentation/Security/kSecTrustCertificateTransparency KSecTrustCertificateTransparency string // KSecTrustEvaluationDate is a key whose value indicates the time that the trust evaluation took place. // // See: https://developer.apple.com/documentation/Security/kSecTrustEvaluationDate KSecTrustEvaluationDate string // KSecTrustExtendedValidation is a key whose value is a Boolean used to indicate Extended Validation. // // See: https://developer.apple.com/documentation/Security/kSecTrustExtendedValidation KSecTrustExtendedValidation string // KSecTrustOrganizationName is a key whose value is the organization name field of the subject of the leaf certificate. // // See: https://developer.apple.com/documentation/Security/kSecTrustOrganizationName KSecTrustOrganizationName string // See: https://developer.apple.com/documentation/Security/kSecTrustQCStatements KSecTrustQCStatements string // See: https://developer.apple.com/documentation/Security/kSecTrustQWACValidation KSecTrustQWACValidation string // KSecTrustResultValue is a key whose value represents the trust evaluation result. // // See: https://developer.apple.com/documentation/Security/kSecTrustResultValue KSecTrustResultValue string // KSecTrustRevocationChecked is a key whose value indicates the outcome of revocation checking during trust evaluation. // // See: https://developer.apple.com/documentation/Security/kSecTrustRevocationChecked KSecTrustRevocationChecked string // KSecTrustRevocationValidUntilDate is a key whose value indicates the earliest date at which revocation information becomes stale. // // See: https://developer.apple.com/documentation/Security/kSecTrustRevocationValidUntilDate KSecTrustRevocationValidUntilDate string // KSecUseAuthenticationContext is a key whose value indicates a local authentication context to use. // // See: https://developer.apple.com/documentation/Security/kSecUseAuthenticationContext KSecUseAuthenticationContext string // KSecUseAuthenticationUI is a key whose value indicates whether the user is prompted for authentication. // // See: https://developer.apple.com/documentation/Security/kSecUseAuthenticationUI KSecUseAuthenticationUI string // KSecUseAuthenticationUISkip is a value that indicates items requiring user authentication should be skipped. // // See: https://developer.apple.com/documentation/Security/kSecUseAuthenticationUISkip KSecUseAuthenticationUISkip string // KSecUseDataProtectionKeychain is a key whose value indicates whether to treat macOS keychain items like iOS keychain items. // // See: https://developer.apple.com/documentation/Security/kSecUseDataProtectionKeychain KSecUseDataProtectionKeychain string // KSecUseKeychain is a key whose value is a keychain to operate on. // // See: https://developer.apple.com/documentation/Security/kSecUseKeychain KSecUseKeychain string // KSecValueData is a key whose value is the item’s data. // // See: https://developer.apple.com/documentation/Security/kSecValueData KSecValueData string // KSecValuePersistentRef is a key whose value is a persistent reference to the item. // // See: https://developer.apple.com/documentation/Security/kSecValuePersistentRef KSecValuePersistentRef string // KSecValueRef is a key whose value is a reference to the item. // // See: https://developer.apple.com/documentation/Security/kSecValueRef KSecValueRef string )
Functions ¶
func AuthorizationCopyInfo ¶
func AuthorizationCopyInfo(authorization AuthorizationRef, tag AuthorizationString, info *AuthorizationItemSet) int32
AuthorizationCopyInfo retrieves supporting data such as the user name and other information gathered during evaluation of authorization.
See: https://developer.apple.com/documentation/Security/AuthorizationCopyInfo(_:_:_:)
func AuthorizationCopyRights ¶
func AuthorizationCopyRights(authorization AuthorizationRef, rights *AuthorizationRights, environment *AuthorizationEnvironment, flags AuthorizationFlags, authorizedRights *AuthorizationRights) int32
AuthorizationCopyRights authorizes and preauthorizes rights synchronously.
See: https://developer.apple.com/documentation/Security/AuthorizationCopyRights(_:_:_:_:_:)
func AuthorizationCopyRightsAsync ¶
func AuthorizationCopyRightsAsync(authorization AuthorizationRef, rights *AuthorizationRights, environment *AuthorizationEnvironment, flags AuthorizationFlags, callbackBlock AuthorizationAsyncCallback)
AuthorizationCopyRightsAsync authorizes and preauthorizes rights asynchronously.
See: https://developer.apple.com/documentation/Security/AuthorizationCopyRightsAsync(_:_:_:_:_:)
func AuthorizationCreate ¶
func AuthorizationCreate(rights *AuthorizationRights, environment *AuthorizationEnvironment, flags AuthorizationFlags, authorization *AuthorizationRef) int32
AuthorizationCreate creates a new authorization reference and provides an option to authorize or preauthorize rights.
See: https://developer.apple.com/documentation/Security/AuthorizationCreate(_:_:_:_:)
func AuthorizationCreateFromExternalForm ¶
func AuthorizationCreateFromExternalForm(extForm *AuthorizationExternalForm, authorization *AuthorizationRef) int32
AuthorizationCreateFromExternalForm internalizes the external representation of an authorization reference.
See: https://developer.apple.com/documentation/Security/AuthorizationCreateFromExternalForm(_:_:)
func AuthorizationFree ¶
func AuthorizationFree(authorization AuthorizationRef, flags AuthorizationFlags) int32
AuthorizationFree frees the memory associated with an authorization reference.
See: https://developer.apple.com/documentation/Security/AuthorizationFree(_:_:)
func AuthorizationFreeItemSet ¶
func AuthorizationFreeItemSet(set *AuthorizationItemSet) int32
AuthorizationFreeItemSet frees the memory associated with a set of authorization items.
See: https://developer.apple.com/documentation/Security/AuthorizationFreeItemSet(_:)
func AuthorizationMakeExternalForm ¶
func AuthorizationMakeExternalForm(authorization AuthorizationRef, extForm *AuthorizationExternalForm) int32
AuthorizationMakeExternalForm creates an external representation of an authorization reference.
See: https://developer.apple.com/documentation/Security/AuthorizationMakeExternalForm(_:_:)
func AuthorizationRightGet ¶
func AuthorizationRightGet(rightName string, rightDefinition *corefoundation.CFDictionaryRef) int32
AuthorizationRightGet retrieves a right definition as a dictionary.
See: https://developer.apple.com/documentation/Security/AuthorizationRightGet(_:_:)
func AuthorizationRightRemove ¶
func AuthorizationRightRemove(authRef AuthorizationRef, rightName string) int32
AuthorizationRightRemove removes a right from the policy database.
See: https://developer.apple.com/documentation/Security/AuthorizationRightRemove(_:_:)
func AuthorizationRightSet ¶
func AuthorizationRightSet(authRef AuthorizationRef, rightName string, rightDefinition corefoundation.CFTypeRef, descriptionKey corefoundation.CFStringRef, bundle corefoundation.CFBundle, localeTableName corefoundation.CFStringRef) int32
AuthorizationRightSet creates or updates a right entry in the policy database.
See: https://developer.apple.com/documentation/Security/AuthorizationRightSet(_:_:_:_:_:_:)
func CMSDecoderCopyAllCerts ¶
func CMSDecoderCopyAllCerts(cmsDecoder CMSDecoderRef, certsOut *corefoundation.CFArrayRef) int32
CMSDecoderCopyAllCerts obtains an array of all of the certificates in a message.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopyAllCerts(_:_:)
func CMSDecoderCopyContent ¶
func CMSDecoderCopyContent(cmsDecoder CMSDecoderRef, contentOut *corefoundation.CFDataRef) int32
CMSDecoderCopyContent obtains the message content, if any.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopyContent(_:_:)
func CMSDecoderCopyDetachedContent ¶
func CMSDecoderCopyDetachedContent(cmsDecoder CMSDecoderRef, detachedContentOut *corefoundation.CFDataRef) int32
CMSDecoderCopyDetachedContent obtains the detached content specified with the CMSDecoderSetDetachedContent function.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopyDetachedContent(_:_:)
func CMSDecoderCopyEncapsulatedContentType ¶
func CMSDecoderCopyEncapsulatedContentType(cmsDecoder CMSDecoderRef, eContentTypeOut *corefoundation.CFDataRef) int32
CMSDecoderCopyEncapsulatedContentType obtains the object identifier for the encapsulated data of a signed message.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopyEncapsulatedContentType(_:_:)
func CMSDecoderCopySignerCert ¶
func CMSDecoderCopySignerCert(cmsDecoder CMSDecoderRef, signerIndex uintptr, signerCertOut *SecCertificateRef) int32
CMSDecoderCopySignerCert obtains the certificate of the specified signer of a CMS message.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerCert(_:_:_:)
func CMSDecoderCopySignerEmailAddress ¶
func CMSDecoderCopySignerEmailAddress(cmsDecoder CMSDecoderRef, signerIndex uintptr, signerEmailAddressOut *corefoundation.CFStringRef) int32
CMSDecoderCopySignerEmailAddress obtains the email address of the specified signer of a CMS message.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerEmailAddress(_:_:_:)
func CMSDecoderCopySignerSigningTime ¶
func CMSDecoderCopySignerSigningTime(cmsDecoder CMSDecoderRef, signerIndex uintptr, signingTime *corefoundation.CFAbsoluteTime) int32
CMSDecoderCopySignerSigningTime obtains the signing time of a CMS message, if present.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerSigningTime(_:_:_:)
func CMSDecoderCopySignerStatus ¶
func CMSDecoderCopySignerStatus(cmsDecoder CMSDecoderRef, signerIndex uintptr, policyOrArray corefoundation.CFTypeRef, evaluateSecTrust bool, signerStatusOut *CMSSignerStatus, secTrustOut *SecTrustRef, certVerifyResultCodeOut *int32) int32
CMSDecoderCopySignerStatus obtains the status of a CMS message’s signature.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerStatus(_:_:_:_:_:_:_:)
func CMSDecoderCopySignerTimestamp ¶
func CMSDecoderCopySignerTimestamp(cmsDecoder CMSDecoderRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) int32
CMSDecoderCopySignerTimestamp returns the timestamp of a signer of a CMS message, if present.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerTimestamp(_:_:_:)
func CMSDecoderCopySignerTimestampCertificates ¶
func CMSDecoderCopySignerTimestampCertificates(cmsDecoder CMSDecoderRef, signerIndex uintptr, certificateRefs *corefoundation.CFArrayRef) int32
CMSDecoderCopySignerTimestampCertificates returns an array containing the certificates from a timestamp response.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerTimestampCertificates(_:_:_:)
func CMSDecoderCopySignerTimestampWithPolicy ¶
func CMSDecoderCopySignerTimestampWithPolicy(cmsDecoder CMSDecoderRef, timeStampPolicy corefoundation.CFTypeRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) int32
CMSDecoderCopySignerTimestampWithPolicy returns the timestamp of a signer of a CMS message using a given policy, if present.
See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerTimestampWithPolicy(_:_:_:_:)
func CMSDecoderCreate ¶
func CMSDecoderCreate(cmsDecoderOut *CMSDecoderRef) int32
CMSDecoderCreate creates a CMSDecoder reference.
See: https://developer.apple.com/documentation/Security/CMSDecoderCreate(_:)
func CMSDecoderFinalizeMessage ¶
func CMSDecoderFinalizeMessage(cmsDecoder CMSDecoderRef) int32
CMSDecoderFinalizeMessage indicates that there is no more data to decode.
See: https://developer.apple.com/documentation/Security/CMSDecoderFinalizeMessage(_:)
func CMSDecoderGetNumSigners ¶
func CMSDecoderGetNumSigners(cmsDecoder CMSDecoderRef, numSignersOut *uintptr) int32
CMSDecoderGetNumSigners obtains the number of signers of a message.
See: https://developer.apple.com/documentation/Security/CMSDecoderGetNumSigners(_:_:)
func CMSDecoderGetTypeID ¶
func CMSDecoderGetTypeID() uint
CMSDecoderGetTypeID returns the type identifier for the CMSDecoder opaque type.
See: https://developer.apple.com/documentation/Security/CMSDecoderGetTypeID()
func CMSDecoderIsContentEncrypted ¶
func CMSDecoderIsContentEncrypted(cmsDecoder CMSDecoderRef, isEncryptedOut *bool) int32
CMSDecoderIsContentEncrypted determines whether a CMS message was encrypted.
See: https://developer.apple.com/documentation/Security/CMSDecoderIsContentEncrypted(_:_:)
func CMSDecoderSetDetachedContent ¶
func CMSDecoderSetDetachedContent(cmsDecoder CMSDecoderRef, detachedContent corefoundation.CFDataRef) int32
CMSDecoderSetDetachedContent specifies the message’s detached content, if any.
See: https://developer.apple.com/documentation/Security/CMSDecoderSetDetachedContent(_:_:)
func CMSDecoderSetSearchKeychain
deprecated
func CMSDecoderSetSearchKeychain(cmsDecoder CMSDecoderRef, keychainOrArray corefoundation.CFTypeRef) int32
CMSDecoderSetSearchKeychain specifies the keychains to search for intermediate certificates to be used in verifying a signed message’s signer certificates.
Deprecated: Deprecated since macOS 10.13.
See: https://developer.apple.com/documentation/Security/CMSDecoderSetSearchKeychain(_:_:)
func CMSDecoderUpdateMessage ¶
func CMSDecoderUpdateMessage(cmsDecoder CMSDecoderRef, msgBytes unsafe.Pointer, msgBytesLen uintptr) int32
CMSDecoderUpdateMessage feeds raw bytes of the message to be decoded into the decoder.
See: https://developer.apple.com/documentation/Security/CMSDecoderUpdateMessage(_:_:_:)
func CMSEncode
deprecated
func CMSEncode(signers corefoundation.CFTypeRef, recipients corefoundation.CFTypeRef, eContentType unsafe.Pointer, detachedContent bool, signedAttributes CMSSignedAttributes, content unsafe.Pointer, contentLen uintptr, encodedContentOut *corefoundation.CFDataRef) int32
CMSEncode encodes a message and obtains the result in one high-level function call.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CMSEncode
func CMSEncodeContent ¶
func CMSEncodeContent(signers corefoundation.CFTypeRef, recipients corefoundation.CFTypeRef, eContentTypeOID corefoundation.CFTypeRef, detachedContent bool, signedAttributes CMSSignedAttributes, content unsafe.Pointer, contentLen uintptr, encodedContentOut *corefoundation.CFDataRef) int32
CMSEncodeContent encodes a message and obtains the result in one high-level function call.
See: https://developer.apple.com/documentation/Security/CMSEncodeContent(_:_:_:_:_:_:_:_:)
func CMSEncoderAddRecipients ¶
func CMSEncoderAddRecipients(cmsEncoder CMSEncoderRef, recipientOrArray corefoundation.CFTypeRef) int32
CMSEncoderAddRecipients specifies a message is to be encrypted and specifies the recipients of the message.
See: https://developer.apple.com/documentation/Security/CMSEncoderAddRecipients(_:_:)
func CMSEncoderAddSignedAttributes ¶
func CMSEncoderAddSignedAttributes(cmsEncoder CMSEncoderRef, signedAttributes CMSSignedAttributes) int32
CMSEncoderAddSignedAttributes specifies attributes for a signed message.
See: https://developer.apple.com/documentation/Security/CMSEncoderAddSignedAttributes(_:_:)
func CMSEncoderAddSigners ¶
func CMSEncoderAddSigners(cmsEncoder CMSEncoderRef, signerOrArray corefoundation.CFTypeRef) int32
CMSEncoderAddSigners specifies signers of the message.
See: https://developer.apple.com/documentation/Security/CMSEncoderAddSigners(_:_:)
func CMSEncoderAddSupportingCerts ¶
func CMSEncoderAddSupportingCerts(cmsEncoder CMSEncoderRef, certOrArray corefoundation.CFTypeRef) int32
CMSEncoderAddSupportingCerts adds certificates to a message.
See: https://developer.apple.com/documentation/Security/CMSEncoderAddSupportingCerts(_:_:)
func CMSEncoderCopyEncapsulatedContentType ¶
func CMSEncoderCopyEncapsulatedContentType(cmsEncoder CMSEncoderRef, eContentTypeOut *corefoundation.CFDataRef) int32
CMSEncoderCopyEncapsulatedContentType obtains the object identifier for the encapsulated data of a signed message.
See: https://developer.apple.com/documentation/Security/CMSEncoderCopyEncapsulatedContentType(_:_:)
func CMSEncoderCopyEncodedContent ¶
func CMSEncoderCopyEncodedContent(cmsEncoder CMSEncoderRef, encodedContentOut *corefoundation.CFDataRef) int32
CMSEncoderCopyEncodedContent finishes encoding the message and obtains the encoded result.
See: https://developer.apple.com/documentation/Security/CMSEncoderCopyEncodedContent(_:_:)
func CMSEncoderCopyRecipients ¶
func CMSEncoderCopyRecipients(cmsEncoder CMSEncoderRef, recipientsOut *corefoundation.CFArrayRef) int32
CMSEncoderCopyRecipients obtains the array of recipients specified with the CMSEncoderAddRecipients function.
See: https://developer.apple.com/documentation/Security/CMSEncoderCopyRecipients(_:_:)
func CMSEncoderCopySignerTimestamp ¶
func CMSEncoderCopySignerTimestamp(cmsEncoder CMSEncoderRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) int32
CMSEncoderCopySignerTimestamp returns the timestamp of a signer of a CMS message, if present.
See: https://developer.apple.com/documentation/Security/CMSEncoderCopySignerTimestamp(_:_:_:)
func CMSEncoderCopySignerTimestampWithPolicy ¶
func CMSEncoderCopySignerTimestampWithPolicy(cmsEncoder CMSEncoderRef, timeStampPolicy corefoundation.CFTypeRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) int32
CMSEncoderCopySignerTimestampWithPolicy returns the timestamp of a signer of a CMS message using a particular policy, if present.
See: https://developer.apple.com/documentation/Security/CMSEncoderCopySignerTimestampWithPolicy(_:_:_:_:)
func CMSEncoderCopySigners ¶
func CMSEncoderCopySigners(cmsEncoder CMSEncoderRef, signersOut *corefoundation.CFArrayRef) int32
CMSEncoderCopySigners obtains the array of signers specified with the CMSEncoderAddSigners function.
See: https://developer.apple.com/documentation/Security/CMSEncoderCopySigners(_:_:)
func CMSEncoderCopySupportingCerts ¶
func CMSEncoderCopySupportingCerts(cmsEncoder CMSEncoderRef, certsOut *corefoundation.CFArrayRef) int32
CMSEncoderCopySupportingCerts obtains the certificates added to a message with CMSEncoderAddSupportingCerts.
See: https://developer.apple.com/documentation/Security/CMSEncoderCopySupportingCerts(_:_:)
func CMSEncoderCreate ¶
func CMSEncoderCreate(cmsEncoderOut *CMSEncoderRef) int32
CMSEncoderCreate creates a CMSEncoder reference.
See: https://developer.apple.com/documentation/Security/CMSEncoderCreate(_:)
func CMSEncoderGetCertificateChainMode ¶
func CMSEncoderGetCertificateChainMode(cmsEncoder CMSEncoderRef, chainModeOut *CMSCertificateChainMode) int32
CMSEncoderGetCertificateChainMode obtains a constant that indicates which certificates are to be included in a signed CMS message.
See: https://developer.apple.com/documentation/Security/CMSEncoderGetCertificateChainMode(_:_:)
func CMSEncoderGetHasDetachedContent ¶
func CMSEncoderGetHasDetachedContent(cmsEncoder CMSEncoderRef, detachedContentOut *bool) int32
CMSEncoderGetHasDetachedContent indicates whether the message is to have detached content.
See: https://developer.apple.com/documentation/Security/CMSEncoderGetHasDetachedContent(_:_:)
func CMSEncoderGetTypeID ¶
func CMSEncoderGetTypeID() uint
CMSEncoderGetTypeID returns the type identifier for the CMSEncoder opaque type.
See: https://developer.apple.com/documentation/Security/CMSEncoderGetTypeID()
func CMSEncoderSetCertificateChainMode ¶
func CMSEncoderSetCertificateChainMode(cmsEncoder CMSEncoderRef, chainMode CMSCertificateChainMode) int32
CMSEncoderSetCertificateChainMode specifies which certificates to include in a signed CMS message.
See: https://developer.apple.com/documentation/Security/CMSEncoderSetCertificateChainMode(_:_:)
func CMSEncoderSetEncapsulatedContentType
deprecated
func CMSEncoderSetEncapsulatedContentType(cmsEncoder CMSEncoderRef, eContentType unsafe.Pointer) int32
CMSEncoderSetEncapsulatedContentType specifies an object identifier for the encapsulated data of a signed message.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CMSEncoderSetEncapsulatedContentType
func CMSEncoderSetEncapsulatedContentTypeOID ¶
func CMSEncoderSetEncapsulatedContentTypeOID(cmsEncoder CMSEncoderRef, eContentTypeOID corefoundation.CFTypeRef) int32
CMSEncoderSetEncapsulatedContentTypeOID specifies an object identifier for the encapsulated data of a signed message.
See: https://developer.apple.com/documentation/Security/CMSEncoderSetEncapsulatedContentTypeOID(_:_:)
func CMSEncoderSetHasDetachedContent ¶
func CMSEncoderSetHasDetachedContent(cmsEncoder CMSEncoderRef, detachedContent bool) int32
CMSEncoderSetHasDetachedContent specifies whether the signed data is to be separate from the message.
See: https://developer.apple.com/documentation/Security/CMSEncoderSetHasDetachedContent(_:_:)
func CMSEncoderSetSignerAlgorithm ¶
func CMSEncoderSetSignerAlgorithm(cmsEncoder CMSEncoderRef, digestAlgorithm corefoundation.CFStringRef) int32
CMSEncoderSetSignerAlgorithm sets the digest algorithm to use for the signer.
See: https://developer.apple.com/documentation/Security/CMSEncoderSetSignerAlgorithm(_:_:)
func CMSEncoderUpdateContent ¶
func CMSEncoderUpdateContent(cmsEncoder CMSEncoderRef, content unsafe.Pointer, contentLen uintptr) int32
CMSEncoderUpdateContent feeds content bytes into the encoder.
See: https://developer.apple.com/documentation/Security/CMSEncoderUpdateContent(_:_:_:)
func CssmAlgToOid ¶
func CssmAlgToOid(algId CSSM_ALGORITHMS) unsafe.Pointer
CssmAlgToOid.
See: https://developer.apple.com/documentation/Security/cssmAlgToOid(_:)
func CssmOidToAlg ¶
CssmOidToAlg.
See: https://developer.apple.com/documentation/Security/cssmOidToAlg(_:_:)
func CssmPerror ¶
func CssmPerror(how string, err CSSM_RETURN)
CssmPerror.
See: https://developer.apple.com/documentation/Security/cssmPerror(_:_:)
func SecAccessControlGetTypeID ¶
func SecAccessControlGetTypeID() uint
SecAccessControlGetTypeID returns the unique identifier of the opaque type to which a keychain item access control object belongs.
See: https://developer.apple.com/documentation/Security/SecAccessControlGetTypeID()
func SecAddSharedWebCredential
deprecated
func SecAddSharedWebCredential(fqdn corefoundation.CFStringRef, account corefoundation.CFStringRef, password corefoundation.CFStringRef)
SecAddSharedWebCredential asynchronously stores (or updates) a shared password for a website.
Deprecated: Deprecated since macOS 26.2. Use ASCredentialDataManager.save(password:for:title:anchor:) (AuthenticationServices framework)
See: https://developer.apple.com/documentation/Security/SecAddSharedWebCredential(_:_:_:_:)
func SecAsn1AllocCopy
deprecated
SecAsn1AllocCopy allocates memory for an item’s data field in the coder object’s memory pool and copies in a block of data.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecAsn1AllocCopy
func SecAsn1AllocCopyItem
deprecated
SecAsn1AllocCopyItem allocates memory for an item’s data field in the coder object’s memory pool and copies in a block of data from another item.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecAsn1AllocCopyItem
func SecAsn1AllocItem
deprecated
func SecAsn1CoderCreate
deprecated
SecAsn1CoderCreate creates an ASN.1 coder object.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecAsn1CoderCreate
func SecAsn1CoderRelease
deprecated
SecAsn1CoderRelease destroys an ASN.1 coder object and releases all of its memory.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecAsn1CoderRelease
func SecAsn1Decode
deprecated
func SecAsn1DecodeData
deprecated
func SecAsn1EncodeItem
deprecated
func SecAsn1Malloc
deprecated
SecAsn1Malloc allocates memory in the coder object’s memory pool.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecAsn1Malloc
func SecAsn1OidCompare
deprecated
func SecCertificateAddToKeychain ¶
func SecCertificateAddToKeychain(certificate SecCertificateRef, keychain SecKeychainRef) int32
SecCertificateAddToKeychain adds a certificate to a keychain.
See: https://developer.apple.com/documentation/Security/SecCertificateAddToKeychain(_:_:)
func SecCertificateCopyCommonName ¶
func SecCertificateCopyCommonName(certificate SecCertificateRef, commonName *corefoundation.CFStringRef) int32
SecCertificateCopyCommonName retrieves the common name of the subject of a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyCommonName(_:_:)
func SecCertificateCopyData ¶
func SecCertificateCopyData(certificate SecCertificateRef) corefoundation.CFDataRef
SecCertificateCopyData returns a DER representation of a certificate given a certificate object.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyData(_:)
func SecCertificateCopyEmailAddresses ¶
func SecCertificateCopyEmailAddresses(certificate SecCertificateRef, emailAddresses *corefoundation.CFArrayRef) int32
SecCertificateCopyEmailAddresses retrieves the email addresses for the subject of a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyEmailAddresses(_:_:)
func SecCertificateCopyLongDescription ¶
func SecCertificateCopyLongDescription(alloc corefoundation.CFAllocatorRef, certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFStringRef
SecCertificateCopyLongDescription returns a copy of the long description of a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyLongDescription(_:_:_:)
func SecCertificateCopyNormalizedIssuerSequence ¶
func SecCertificateCopyNormalizedIssuerSequence(certificate SecCertificateRef) corefoundation.CFDataRef
SecCertificateCopyNormalizedIssuerSequence retrieves the normalized issuer sequence from a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyNormalizedIssuerSequence(_:)
func SecCertificateCopyNormalizedSubjectSequence ¶
func SecCertificateCopyNormalizedSubjectSequence(certificate SecCertificateRef) corefoundation.CFDataRef
SecCertificateCopyNormalizedSubjectSequence retrieves the normalized subject sequence from a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyNormalizedSubjectSequence(_:)
func SecCertificateCopyNotValidAfterDate ¶
func SecCertificateCopyNotValidAfterDate(certificate SecCertificateRef) corefoundation.CFDateRef
SecCertificateCopyNotValidAfterDate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyNotValidAfterDate(_:)
func SecCertificateCopyNotValidBeforeDate ¶
func SecCertificateCopyNotValidBeforeDate(certificate SecCertificateRef) corefoundation.CFDateRef
SecCertificateCopyNotValidBeforeDate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyNotValidBeforeDate(_:)
func SecCertificateCopyPreference
deprecated
func SecCertificateCopyPreference(name corefoundation.CFStringRef, keyUsage uint32, certificate *SecCertificateRef) int32
SecCertificateCopyPreference retrieves the preferred certificate for the specified name and key use.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyPreference
func SecCertificateCopySerialNumberData ¶
func SecCertificateCopySerialNumberData(certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
SecCertificateCopySerialNumberData returns the certificate’s serial number.
See: https://developer.apple.com/documentation/Security/SecCertificateCopySerialNumberData(_:_:)
func SecCertificateCopyShortDescription ¶
func SecCertificateCopyShortDescription(alloc corefoundation.CFAllocatorRef, certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFStringRef
SecCertificateCopyShortDescription returns a copy of the short description of a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyShortDescription(_:_:_:)
func SecCertificateCopySubjectSummary ¶
func SecCertificateCopySubjectSummary(certificate SecCertificateRef) corefoundation.CFStringRef
SecCertificateCopySubjectSummary returns a human-readable summary of a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopySubjectSummary(_:)
func SecCertificateCopyValues ¶
func SecCertificateCopyValues(certificate SecCertificateRef, keys corefoundation.CFArrayRef, err *corefoundation.CFErrorRef) corefoundation.CFDictionaryRef
SecCertificateCopyValues creates a dictionary that represents a certificate’s contents.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyValues(_:_:_:)
func SecCertificateGetAlgorithmID
deprecated
func SecCertificateGetAlgorithmID(certificate SecCertificateRef, algid unsafe.Pointer) int32
SecCertificateGetAlgorithmID retrieves the algorithm identifier for a certificate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateGetAlgorithmID
func SecCertificateGetCLHandle
deprecated
func SecCertificateGetCLHandle(certificate SecCertificateRef, clHandle unsafe.Pointer) int32
SecCertificateGetCLHandle retrieves the certificate library handle from a certificate object.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateGetCLHandle
func SecCertificateGetData
deprecated
func SecCertificateGetData(certificate SecCertificateRef, data unsafe.Pointer) int32
SecCertificateGetData retrieves the data for a certificate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateGetData
func SecCertificateGetIssuer
deprecated
func SecCertificateGetIssuer(certificate SecCertificateRef, issuer unsafe.Pointer) int32
SecCertificateGetIssuer unsupported.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateGetIssuer
func SecCertificateGetSubject
deprecated
func SecCertificateGetSubject(certificate SecCertificateRef, subject unsafe.Pointer) int32
SecCertificateGetSubject unsupported.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateGetSubject
func SecCertificateGetType
deprecated
func SecCertificateGetType(certificate SecCertificateRef, certificateType unsafe.Pointer) int32
SecCertificateGetType retrieves the type of a specified certificate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateGetType
func SecCertificateGetTypeID ¶
func SecCertificateGetTypeID() uint
SecCertificateGetTypeID returns the unique identifier of the opaque type to which a certificate object belongs.
See: https://developer.apple.com/documentation/Security/SecCertificateGetTypeID()
func SecCertificateSetPreference
deprecated
func SecCertificateSetPreference(certificate SecCertificateRef, name corefoundation.CFStringRef, keyUsage uint32, date corefoundation.CFDateRef) int32
SecCertificateSetPreference sets the preferred certificate for a specified name, key use, and date.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecCertificateSetPreference
func SecCertificateSetPreferred ¶
func SecCertificateSetPreferred(certificate SecCertificateRef, name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef) int32
SecCertificateSetPreferred sets the certificate that should be preferred for the specified name and key use.
See: https://developer.apple.com/documentation/Security/SecCertificateSetPreferred(_:_:_:)
func SecCodeCheckValidity ¶
func SecCodeCheckValidity(code SecCodeRef, flags SecCSFlags, requirement SecRequirementRef) int32
SecCodeCheckValidity performs dynamic validation of signed code.
See: https://developer.apple.com/documentation/Security/SecCodeCheckValidity(_:_:_:)
func SecCodeCheckValidityWithErrors ¶
func SecCodeCheckValidityWithErrors(code SecCodeRef, flags SecCSFlags, requirement SecRequirementRef, errors *corefoundation.CFErrorRef) int32
SecCodeCheckValidityWithErrors performs dynamic validation of signed code and returns detailed error information in the case of failure.
See: https://developer.apple.com/documentation/Security/SecCodeCheckValidityWithErrors(_:_:_:_:)
func SecCodeCopyDesignatedRequirement ¶
func SecCodeCopyDesignatedRequirement(code SecStaticCodeRef, flags SecCSFlags, requirement *SecRequirementRef) int32
SecCodeCopyDesignatedRequirement retrieves the designated code requirement of signed code.
See: https://developer.apple.com/documentation/Security/SecCodeCopyDesignatedRequirement(_:_:_:)
func SecCodeCopyGuestWithAttributes ¶
func SecCodeCopyGuestWithAttributes(host SecCodeRef, attributes corefoundation.CFDictionaryRef, flags SecCSFlags, guest *SecCodeRef) int32
SecCodeCopyGuestWithAttributes asks a code host to identify one of its guests given the type and value of specific attributes of the guest code.
See: https://developer.apple.com/documentation/Security/SecCodeCopyGuestWithAttributes(_:_:_:_:)
func SecCodeCopyHost ¶
func SecCodeCopyHost(guest SecCodeRef, flags SecCSFlags, host *SecCodeRef) int32
SecCodeCopyHost retrieves the code object for the host of specified guest code.
See: https://developer.apple.com/documentation/Security/SecCodeCopyHost(_:_:_:)
func SecCodeCopyPath ¶
func SecCodeCopyPath(staticCode SecStaticCodeRef, flags SecCSFlags, path *corefoundation.CFURLRef) int32
SecCodeCopyPath retrieves the location on disk of signed code, given a code or static code object.
See: https://developer.apple.com/documentation/Security/SecCodeCopyPath(_:_:_:)
func SecCodeCopySelf ¶
func SecCodeCopySelf(flags SecCSFlags, self *SecCodeRef) int32
SecCodeCopySelf retrieves the code object for the code making the call.
See: https://developer.apple.com/documentation/Security/SecCodeCopySelf(_:_:)
func SecCodeCopySigningInformation ¶
func SecCodeCopySigningInformation(code SecStaticCodeRef, flags SecCSFlags, information *corefoundation.CFDictionaryRef) int32
SecCodeCopySigningInformation retrieves various pieces of information from a code signature.
See: https://developer.apple.com/documentation/Security/SecCodeCopySigningInformation(_:_:_:)
func SecCodeCopyStaticCode ¶
func SecCodeCopyStaticCode(code SecCodeRef, flags SecCSFlags, staticCode *SecStaticCodeRef) int32
SecCodeCopyStaticCode returns a static code object representing the on-disk version of the given running code.
See: https://developer.apple.com/documentation/Security/SecCodeCopyStaticCode(_:_:_:)
func SecCodeCreateWithXPCMessage ¶
func SecCodeCreateWithXPCMessage(message unsafe.Pointer, flags SecCSFlags, target *SecCodeRef) int32
SecCodeCreateWithXPCMessage.
See: https://developer.apple.com/documentation/Security/SecCodeCreateWithXPCMessage(_:_:_:)
func SecCodeGetTypeID ¶
func SecCodeGetTypeID() uint
SecCodeGetTypeID returns the unique identifier of the opaque type to which a code object belongs.
See: https://developer.apple.com/documentation/Security/SecCodeGetTypeID()
func SecCodeMapMemory ¶
func SecCodeMapMemory(code SecStaticCodeRef, flags SecCSFlags) int32
SecCodeMapMemory asks the kernel to accept the signing information currently attached to a code object and uses it to validate memory page-ins.
See: https://developer.apple.com/documentation/Security/SecCodeMapMemory(_:_:)
func SecCodeValidateFileResource ¶
func SecCodeValidateFileResource(code SecStaticCodeRef, relativePath corefoundation.CFStringRef, fileData corefoundation.CFDataRef, flags SecCSFlags) int32
SecCodeValidateFileResource.
See: https://developer.apple.com/documentation/Security/SecCodeValidateFileResource(_:_:_:_:)
func SecCopyErrorMessageString ¶
func SecCopyErrorMessageString(status int32, reserved unsafe.Pointer) corefoundation.CFStringRef
SecCopyErrorMessageString returns a string explaining the meaning of a security result code.
See: https://developer.apple.com/documentation/Security/SecCopyErrorMessageString(_:_:)
func SecCreateSharedWebCredentialPassword ¶
func SecCreateSharedWebCredentialPassword() corefoundation.CFStringRef
SecCreateSharedWebCredentialPassword returns a randomly generated password.
See: https://developer.apple.com/documentation/Security/SecCreateSharedWebCredentialPassword()
func SecHostCreateGuest
deprecated
func SecHostCreateGuest(host SecGuestRef, status uint32, path corefoundation.CFURLRef, attributes corefoundation.CFDictionaryRef, flags SecCSFlags, newGuest *SecGuestRef) int32
SecHostCreateGuest creates a new guest and describes its initial properties.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/Security/SecHostCreateGuest
func SecHostRemoveGuest
deprecated
func SecHostRemoveGuest(host SecGuestRef, guest SecGuestRef, flags SecCSFlags) int32
SecHostRemoveGuest removes a guest from a host.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/Security/SecHostRemoveGuest
func SecHostSelectGuest
deprecated
func SecHostSelectGuest(guestRef SecGuestRef, flags SecCSFlags) int32
SecHostSelectGuest makes the calling thread the proxy for a specified guest.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/Security/SecHostSelectGuest
func SecHostSelectedGuest
deprecated
func SecHostSelectedGuest(flags SecCSFlags, guestRef *SecGuestRef) int32
SecHostSelectedGuest retrieves the handle for the guest currently selected for the calling thread.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/Security/SecHostSelectedGuest
func SecHostSetGuestStatus
deprecated
func SecHostSetGuestStatus(guestRef SecGuestRef, status uint32, attributes corefoundation.CFDictionaryRef, flags SecCSFlags) int32
SecHostSetGuestStatus updates the status and attributes of a particular guest.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/Security/SecHostSetGuestStatus
func SecHostSetHostingPort
deprecated
func SecHostSetHostingPort(hostingPort uint32, flags SecCSFlags) int32
SecHostSetHostingPort tells code signing services that the calling code will directly respond to hosting inquiries over the given port.
Deprecated: Deprecated since macOS 10.6.
See: https://developer.apple.com/documentation/Security/SecHostSetHostingPort
func SecIdentityCopyCertificate ¶
func SecIdentityCopyCertificate(identityRef SecIdentityRef, certificateRef *SecCertificateRef) int32
SecIdentityCopyCertificate retrieves a certificate associated with an identity.
See: https://developer.apple.com/documentation/Security/SecIdentityCopyCertificate(_:_:)
func SecIdentityCopyPreference
deprecated
func SecIdentityCopyPreference(name corefoundation.CFStringRef, keyUsage CSSM_KEYUSE, validIssuers corefoundation.CFArrayRef, identity *SecIdentityRef) int32
SecIdentityCopyPreference returns the preferred identity for the specified name and key use.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecIdentityCopyPreference
func SecIdentityCopyPrivateKey ¶
func SecIdentityCopyPrivateKey(identityRef SecIdentityRef, privateKeyRef *SecKeyRef) int32
SecIdentityCopyPrivateKey retrieves the private key associated with an identity.
See: https://developer.apple.com/documentation/Security/SecIdentityCopyPrivateKey(_:_:)
func SecIdentityCopySystemIdentity ¶
func SecIdentityCopySystemIdentity(domain corefoundation.CFStringRef, idRef *SecIdentityRef, actualDomain *corefoundation.CFStringRef) int32
SecIdentityCopySystemIdentity obtains the system identity associated with a specified domain.
See: https://developer.apple.com/documentation/Security/SecIdentityCopySystemIdentity(_:_:_:)
func SecIdentityCreateWithCertificate ¶
func SecIdentityCreateWithCertificate(keychainOrArray corefoundation.CFTypeRef, certificateRef SecCertificateRef, identityRef *SecIdentityRef) int32
SecIdentityCreateWithCertificate creates a new identity for a certificate and its associated private key.
See: https://developer.apple.com/documentation/Security/SecIdentityCreateWithCertificate(_:_:_:)
func SecIdentityGetTypeID ¶
func SecIdentityGetTypeID() uint
SecIdentityGetTypeID returns the unique identifier of the opaque type to which an identity object belongs.
See: https://developer.apple.com/documentation/Security/SecIdentityGetTypeID()
func SecIdentitySearchCopyNext
deprecated
func SecIdentitySearchCopyNext(searchRef SecIdentitySearchRef, identity *SecIdentityRef) int32
SecIdentitySearchCopyNext finds the next identity matching specified search criteria
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecIdentitySearchCopyNext
func SecIdentitySearchCreate
deprecated
func SecIdentitySearchCreate(keychainOrArray corefoundation.CFTypeRef, keyUsage CSSM_KEYUSE, searchRef *SecIdentitySearchRef) int32
SecIdentitySearchCreate creates a search object for finding identities.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecIdentitySearchCreate
func SecIdentitySearchGetTypeID
deprecated
func SecIdentitySearchGetTypeID() uint
SecIdentitySearchGetTypeID returns the unique identifier of the opaque type to which a [SecIdentitySearch] object belongs.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecIdentitySearchGetTypeID
func SecIdentitySetPreference
deprecated
func SecIdentitySetPreference(identity SecIdentityRef, name corefoundation.CFStringRef, keyUsage CSSM_KEYUSE) int32
SecIdentitySetPreference sets the preferred identity for the specified name and key use.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecIdentitySetPreference
func SecIdentitySetPreferred ¶
func SecIdentitySetPreferred(identity SecIdentityRef, name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef) int32
SecIdentitySetPreferred sets the identity that should be preferred for the specified name and key use.
See: https://developer.apple.com/documentation/Security/SecIdentitySetPreferred(_:_:_:)
func SecIdentitySetSystemIdentity ¶
func SecIdentitySetSystemIdentity(domain corefoundation.CFStringRef, idRef SecIdentityRef) int32
SecIdentitySetSystemIdentity assigns the system identity to be associated with a specified domain.
See: https://developer.apple.com/documentation/Security/SecIdentitySetSystemIdentity(_:_:)
func SecItemAdd ¶
func SecItemAdd(attributes corefoundation.CFDictionaryRef, result *corefoundation.CFTypeRef) int32
SecItemAdd adds one or more items to a keychain.
See: https://developer.apple.com/documentation/Security/SecItemAdd(_:_:)
func SecItemCopyMatching ¶
func SecItemCopyMatching(query corefoundation.CFDictionaryRef, result *corefoundation.CFTypeRef) int32
SecItemCopyMatching returns one or more keychain items that match a search query, or copies attributes of specific keychain items.
See: https://developer.apple.com/documentation/Security/SecItemCopyMatching(_:_:)
func SecItemDelete ¶
func SecItemDelete(query corefoundation.CFDictionaryRef) int32
SecItemDelete deletes items that match a search query.
See: https://developer.apple.com/documentation/Security/SecItemDelete(_:)
func SecItemExport ¶
func SecItemExport(secItemOrArray corefoundation.CFTypeRef, outputFormat SecExternalFormat, flags SecItemImportExportFlags, keyParams *SecItemImportExportKeyParameters, exportedData *corefoundation.CFDataRef) int32
SecItemExport exports one or more certificates, keys, or identities.
See: https://developer.apple.com/documentation/Security/SecItemExport(_:_:_:_:_:)
func SecItemImport ¶
func SecItemImport(importedData corefoundation.CFDataRef, fileNameOrExtension corefoundation.CFStringRef, inputFormat *SecExternalFormat, itemType *SecExternalItemType, flags SecItemImportExportFlags, keyParams *SecItemImportExportKeyParameters, importKeychain SecKeychainRef, outItems *corefoundation.CFArrayRef) int32
SecItemImport imports one or more certificates, keys, or identities and optionally adds them to a keychain.
See: https://developer.apple.com/documentation/Security/SecItemImport(_:_:_:_:_:_:_:_:)
func SecItemUpdate ¶
func SecItemUpdate(query corefoundation.CFDictionaryRef, attributesToUpdate corefoundation.CFDictionaryRef) int32
SecItemUpdate modifies items that match a search query.
See: https://developer.apple.com/documentation/Security/SecItemUpdate(_:_:)
func SecKeyCopyAttributes ¶
func SecKeyCopyAttributes(key SecKeyRef) corefoundation.CFDictionaryRef
SecKeyCopyAttributes gets the attributes of a given key.
See: https://developer.apple.com/documentation/Security/SecKeyCopyAttributes(_:)
func SecKeyCopyExternalRepresentation ¶
func SecKeyCopyExternalRepresentation(key SecKeyRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
SecKeyCopyExternalRepresentation returns an external representation of the given key suitable for the key’s type.
See: https://developer.apple.com/documentation/Security/SecKeyCopyExternalRepresentation(_:_:)
func SecKeyCopyKeyExchangeResult ¶
func SecKeyCopyKeyExchangeResult(privateKey SecKeyRef, algorithm SecKeyAlgorithm, publicKey SecKeyRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
SecKeyCopyKeyExchangeResult performs the Diffie-Hellman style of key exchange with optional key-derivation steps.
See: https://developer.apple.com/documentation/Security/SecKeyCopyKeyExchangeResult(_:_:_:_:_:)
func SecKeyCreateDecryptedData ¶
func SecKeyCreateDecryptedData(key SecKeyRef, algorithm SecKeyAlgorithm, ciphertext corefoundation.CFDataRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
SecKeyCreateDecryptedData decrypts a block of data using a private key and specified algorithm.
See: https://developer.apple.com/documentation/Security/SecKeyCreateDecryptedData(_:_:_:_:)
func SecKeyCreateEncryptedData ¶
func SecKeyCreateEncryptedData(key SecKeyRef, algorithm SecKeyAlgorithm, plaintext corefoundation.CFDataRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
SecKeyCreateEncryptedData encrypts a block of data using a public key and specified algorithm.
See: https://developer.apple.com/documentation/Security/SecKeyCreateEncryptedData(_:_:_:_:)
func SecKeyCreatePair
deprecated
func SecKeyCreatePair(keychainRef SecKeychainRef, algorithm CSSM_ALGORITHMS, keySizeInBits uint32, contextHandle CSSM_CC_HANDLE, publicKeyUsage CSSM_KEYUSE, publicKeyAttr uint32, privateKeyUsage CSSM_KEYUSE, privateKeyAttr uint32, initialAccess SecAccessRef, publicKey *SecKeyRef, privateKey *SecKeyRef) int32
SecKeyCreatePair creates an asymmetric key pair and stores it in a keychain.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecKeyCreatePair
func SecKeyCreateSignature ¶
func SecKeyCreateSignature(key SecKeyRef, algorithm SecKeyAlgorithm, dataToSign corefoundation.CFDataRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef
SecKeyCreateSignature creates the cryptographic signature for a block of data using a private key and specified algorithm.
See: https://developer.apple.com/documentation/Security/SecKeyCreateSignature(_:_:_:_:)
func SecKeyGenerate
deprecated
func SecKeyGenerate(keychainRef SecKeychainRef, algorithm CSSM_ALGORITHMS, keySizeInBits uint32, contextHandle CSSM_CC_HANDLE, keyUsage CSSM_KEYUSE, keyAttr uint32, initialAccess SecAccessRef, keyRef *SecKeyRef) int32
SecKeyGenerate creates a symmetric key and optionally stores it in a keychain.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecKeyGenerate
func SecKeyGetBlockSize ¶
SecKeyGetBlockSize gets the block length associated with a cryptographic key.
See: https://developer.apple.com/documentation/Security/SecKeyGetBlockSize(_:)
func SecKeyGetCSPHandle
deprecated
SecKeyGetCSPHandle returns the CSSM CSP handle for a key.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecKeyGetCSPHandle
func SecKeyGetCSSMKey
deprecated
SecKeyGetCSSMKey retrieves a pointer to the `CSSM_KEY` structure containing the key stored in a keychain item.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecKeyGetCSSMKey
func SecKeyGetCredentials
deprecated
func SecKeyGetCredentials(keyRef SecKeyRef, operation CSSM_ACL_AUTHORIZATION_TAG, credentialType SecCredentialType, outCredentials unsafe.Pointer) int32
SecKeyGetCredentials returns an access credential for a key.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecKeyGetCredentials
func SecKeyGetTypeID ¶
func SecKeyGetTypeID() uint
SecKeyGetTypeID returns the unique identifier of the opaque type to which a key object belongs.
See: https://developer.apple.com/documentation/Security/SecKeyGetTypeID()
func SecKeyIsAlgorithmSupported ¶
func SecKeyIsAlgorithmSupported(key SecKeyRef, operation SecKeyOperationType, algorithm SecKeyAlgorithm) bool
SecKeyIsAlgorithmSupported returns a Boolean indicating whether a key is suitable for an operation using a certain algorithm.
See: https://developer.apple.com/documentation/Security/SecKeyIsAlgorithmSupported(_:_:_:)
func SecKeyVerifySignature ¶
func SecKeyVerifySignature(key SecKeyRef, algorithm SecKeyAlgorithm, signedData corefoundation.CFDataRef, signature corefoundation.CFDataRef, err *corefoundation.CFErrorRef) bool
SecKeyVerifySignature verifies the cryptographic signature of a block of data using a public key and specified algorithm.
See: https://developer.apple.com/documentation/Security/SecKeyVerifySignature(_:_:_:_:_:)
func SecKeychainSearchGetTypeID
deprecated
func SecKeychainSearchGetTypeID() uint
SecKeychainSearchGetTypeID returns the unique identifier of the opaque type to which a keychain search object belongs.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecKeychainSearchGetTypeID
func SecPKCS12Import ¶
func SecPKCS12Import(pkcs12_data corefoundation.CFDataRef, options corefoundation.CFDictionaryRef, items *corefoundation.CFArrayRef) int32
SecPKCS12Import returns the identities and certificates in a PKCS #12-formatted blob.
See: https://developer.apple.com/documentation/Security/SecPKCS12Import(_:_:_:)
func SecPolicyCopyProperties ¶
func SecPolicyCopyProperties(policyRef SecPolicyRef) corefoundation.CFDictionaryRef
SecPolicyCopyProperties returns a dictionary containing a policy’s properties.
See: https://developer.apple.com/documentation/Security/SecPolicyCopyProperties(_:)
func SecPolicyGetOID
deprecated
func SecPolicyGetOID(policyRef SecPolicyRef, oid unsafe.Pointer) int32
SecPolicyGetOID retrieves a policy’s object identifier.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecPolicyGetOID
func SecPolicyGetTPHandle
deprecated
func SecPolicyGetTPHandle(policyRef SecPolicyRef, tpHandle unsafe.Pointer) int32
SecPolicyGetTPHandle retrieves the trust policy handle for a policy object.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecPolicyGetTPHandle
func SecPolicyGetTypeID ¶
func SecPolicyGetTypeID() uint
SecPolicyGetTypeID returns the unique identifier of the opaque type to which a policy object belongs.
See: https://developer.apple.com/documentation/Security/SecPolicyGetTypeID()
func SecPolicyGetValue
deprecated
func SecPolicyGetValue(policyRef SecPolicyRef, value unsafe.Pointer) int32
SecPolicyGetValue retrieves a policy’s value.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecPolicyGetValue
func SecPolicySearchCopyNext
deprecated
func SecPolicySearchCopyNext(searchRef SecPolicySearchRef, policyRef *SecPolicyRef) int32
SecPolicySearchCopyNext retrieves a policy object for the next policy matching specified search criteria.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecPolicySearchCopyNext
func SecPolicySearchCreate
deprecated
func SecPolicySearchCreate(certType CSSM_CERT_TYPE, policyOID unsafe.Pointer, value unsafe.Pointer, searchRef *SecPolicySearchRef) int32
SecPolicySearchCreate creates a search object for finding policies.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecPolicySearchCreate
func SecPolicySearchGetTypeID
deprecated
func SecPolicySearchGetTypeID() uint
SecPolicySearchGetTypeID returns the unique identifier of the opaque type to which a [SecPolicySearch] object belongs.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecPolicySearchGetTypeID
func SecPolicySetProperties
deprecated
func SecPolicySetProperties(policyRef SecPolicyRef, properties corefoundation.CFDictionaryRef) int32
SecPolicySetProperties sets properties for a policy.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/Security/SecPolicySetProperties
func SecPolicySetValue
deprecated
func SecPolicySetValue(policyRef SecPolicyRef, value unsafe.Pointer) int32
SecPolicySetValue sets a policy’s value.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecPolicySetValue
func SecRandomCopyBytes ¶
func SecRandomCopyBytes(rnd SecRandomRef, count uintptr, bytes unsafe.Pointer) int
SecRandomCopyBytes generates an array of cryptographically secure random bytes.
See: https://developer.apple.com/documentation/Security/SecRandomCopyBytes(_:_:_:)
func SecRequirementCopyData ¶
func SecRequirementCopyData(requirement SecRequirementRef, flags SecCSFlags, data *corefoundation.CFDataRef) int32
SecRequirementCopyData extracts a binary form of a code requirement from a code requirement object.
See: https://developer.apple.com/documentation/Security/SecRequirementCopyData(_:_:_:)
func SecRequirementCopyString ¶
func SecRequirementCopyString(requirement SecRequirementRef, flags SecCSFlags, text *corefoundation.CFStringRef) int32
SecRequirementCopyString converts a code requirement object into text form.
See: https://developer.apple.com/documentation/Security/SecRequirementCopyString(_:_:_:)
func SecRequirementCreateWithData ¶
func SecRequirementCreateWithData(data corefoundation.CFDataRef, flags SecCSFlags, requirement *SecRequirementRef) int32
SecRequirementCreateWithData creates a code requirement object from the binary form of a code requirement.
See: https://developer.apple.com/documentation/Security/SecRequirementCreateWithData(_:_:_:)
func SecRequirementCreateWithString ¶
func SecRequirementCreateWithString(text corefoundation.CFStringRef, flags SecCSFlags, requirement *SecRequirementRef) int32
SecRequirementCreateWithString creates a code requirement object by compiling a valid text representation of a code requirement.
See: https://developer.apple.com/documentation/Security/SecRequirementCreateWithString(_:_:_:)
func SecRequirementCreateWithStringAndErrors ¶
func SecRequirementCreateWithStringAndErrors(text corefoundation.CFStringRef, flags SecCSFlags, errors *corefoundation.CFErrorRef, requirement *SecRequirementRef) int32
SecRequirementCreateWithStringAndErrors creates a code requirement object by compiling a valid text representation of a code requirement and returns detailed error information in the case of failure.
See: https://developer.apple.com/documentation/Security/SecRequirementCreateWithStringAndErrors(_:_:_:_:)
func SecRequirementGetTypeID ¶
func SecRequirementGetTypeID() uint
SecRequirementGetTypeID returns the unique identifier of the opaque type to which a code requirement object belongs.
See: https://developer.apple.com/documentation/Security/SecRequirementGetTypeID()
func SecStaticCodeCheckValidity ¶
func SecStaticCodeCheckValidity(staticCode SecStaticCodeRef, flags SecCSFlags, requirement SecRequirementRef) int32
SecStaticCodeCheckValidity validates a static code object.
See: https://developer.apple.com/documentation/Security/SecStaticCodeCheckValidity(_:_:_:)
func SecStaticCodeCheckValidityWithErrors ¶
func SecStaticCodeCheckValidityWithErrors(staticCode SecStaticCodeRef, flags SecCSFlags, requirement SecRequirementRef, errors *corefoundation.CFErrorRef) int32
SecStaticCodeCheckValidityWithErrors performs static validation of static signed code and returns detailed error information in the case of failure.
See: https://developer.apple.com/documentation/Security/SecStaticCodeCheckValidityWithErrors(_:_:_:_:)
func SecStaticCodeCreateWithPath ¶
func SecStaticCodeCreateWithPath(path corefoundation.CFURLRef, flags SecCSFlags, staticCode *SecStaticCodeRef) int32
SecStaticCodeCreateWithPath creates a static code object representing the code at a specified file system path.
See: https://developer.apple.com/documentation/Security/SecStaticCodeCreateWithPath(_:_:_:)
func SecStaticCodeCreateWithPathAndAttributes ¶
func SecStaticCodeCreateWithPathAndAttributes(path corefoundation.CFURLRef, flags SecCSFlags, attributes corefoundation.CFDictionaryRef, staticCode *SecStaticCodeRef) int32
SecStaticCodeCreateWithPathAndAttributes creates a static code object representing the code at a specified file system path using an attributes dictionary.
func SecStaticCodeGetTypeID ¶
func SecStaticCodeGetTypeID() uint
SecStaticCodeGetTypeID returns the unique identifier of the opaque type to which a static code object belongs.
See: https://developer.apple.com/documentation/Security/SecStaticCodeGetTypeID()
func SecTaskCopySigningIdentifier ¶
func SecTaskCopySigningIdentifier(task SecTaskRef, err *corefoundation.CFErrorRef) corefoundation.CFStringRef
SecTaskCopySigningIdentifier returns the value of the code signing identifier.
See: https://developer.apple.com/documentation/Security/SecTaskCopySigningIdentifier(_:_:)
func SecTaskCopyValueForEntitlement ¶
func SecTaskCopyValueForEntitlement(task SecTaskRef, entitlement corefoundation.CFStringRef, err *corefoundation.CFErrorRef) corefoundation.CFTypeRef
SecTaskCopyValueForEntitlement returns the value of a single entitlement for the represented task.
See: https://developer.apple.com/documentation/Security/SecTaskCopyValueForEntitlement(_:_:_:)
func SecTaskCopyValuesForEntitlements ¶
func SecTaskCopyValuesForEntitlements(task SecTaskRef, entitlements corefoundation.CFArrayRef, err *corefoundation.CFErrorRef) corefoundation.CFDictionaryRef
SecTaskCopyValuesForEntitlements returns the values of multiple entitlements for the represented task.
See: https://developer.apple.com/documentation/Security/SecTaskCopyValuesForEntitlements(_:_:_:)
func SecTaskGetTypeID ¶
func SecTaskGetTypeID() uint
SecTaskGetTypeID returns the unique identifier of the opaque type to which a task object belongs.
See: https://developer.apple.com/documentation/Security/SecTaskGetTypeID()
func SecTrustCopyAnchorCertificates ¶
func SecTrustCopyAnchorCertificates(anchors *corefoundation.CFArrayRef) int32
SecTrustCopyAnchorCertificates retrieves the anchor (root) certificates stored by macOS.
See: https://developer.apple.com/documentation/Security/SecTrustCopyAnchorCertificates(_:)
func SecTrustCopyCertificateChain ¶
func SecTrustCopyCertificateChain(trust SecTrustRef) corefoundation.CFArrayRef
SecTrustCopyCertificateChain.
See: https://developer.apple.com/documentation/Security/SecTrustCopyCertificateChain(_:)
func SecTrustCopyCustomAnchorCertificates ¶
func SecTrustCopyCustomAnchorCertificates(trust SecTrustRef, anchors *corefoundation.CFArrayRef) int32
SecTrustCopyCustomAnchorCertificates retrieves the custom anchor certificates, if any, used by a given trust.
See: https://developer.apple.com/documentation/Security/SecTrustCopyCustomAnchorCertificates(_:_:)
func SecTrustCopyExceptions ¶
func SecTrustCopyExceptions(trust SecTrustRef) corefoundation.CFDataRef
SecTrustCopyExceptions returns an opaque cookie containing exceptions to trust policies that will allow future evaluations of the current certificate to succeed.
See: https://developer.apple.com/documentation/Security/SecTrustCopyExceptions(_:)
func SecTrustCopyPolicies ¶
func SecTrustCopyPolicies(trust SecTrustRef, policies *corefoundation.CFArrayRef) int32
SecTrustCopyPolicies retrieves the policies used by a given trust management object.
See: https://developer.apple.com/documentation/Security/SecTrustCopyPolicies(_:_:)
func SecTrustCopyProperties
deprecated
func SecTrustCopyProperties(trust SecTrustRef) corefoundation.CFArrayRef
SecTrustCopyProperties returns an array containing the properties of a trust object.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecTrustCopyProperties(_:)
func SecTrustCopyResult ¶
func SecTrustCopyResult(trust SecTrustRef) corefoundation.CFDictionaryRef
SecTrustCopyResult returns a dictionary containing information about an evaluated trust.
See: https://developer.apple.com/documentation/Security/SecTrustCopyResult(_:)
func SecTrustCreateWithCertificates ¶
func SecTrustCreateWithCertificates(certificates corefoundation.CFTypeRef, policies corefoundation.CFTypeRef, trust *SecTrustRef) int32
SecTrustCreateWithCertificates creates a trust management object based on certificates and policies.
See: https://developer.apple.com/documentation/Security/SecTrustCreateWithCertificates(_:_:_:)
func SecTrustEvaluateAsyncWithError ¶
func SecTrustEvaluateAsyncWithError(trust SecTrustRef, queue dispatch.Queue, result SecTrustWithErrorCallback) int32
SecTrustEvaluateAsyncWithError evaluates a trust object asynchronously on the specified dispatch queue.
See: https://developer.apple.com/documentation/Security/SecTrustEvaluateAsyncWithError(_:_:_:)
func SecTrustEvaluateWithError ¶
func SecTrustEvaluateWithError(trust SecTrustRef, err *corefoundation.CFErrorRef) bool
SecTrustEvaluateWithError evaluates trust for the specified certificate and policies.
See: https://developer.apple.com/documentation/Security/SecTrustEvaluateWithError(_:_:)
func SecTrustGetCertificateCount ¶
func SecTrustGetCertificateCount(trust SecTrustRef) int
SecTrustGetCertificateCount returns the number of certificates in an evaluated certificate chain.
See: https://developer.apple.com/documentation/Security/SecTrustGetCertificateCount(_:)
func SecTrustGetCssmResult
deprecated
func SecTrustGetCssmResult(trust SecTrustRef, result unsafe.Pointer) int32
SecTrustGetCssmResult retrieves the CSSM trust result.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecTrustGetCssmResult
func SecTrustGetCssmResultCode
deprecated
func SecTrustGetCssmResultCode(trust SecTrustRef, resultCode *int32) int32
SecTrustGetCssmResultCode retrieves the CSSM result code from the most recent trust evaluation for a trust management object.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecTrustGetCssmResultCode
func SecTrustGetNetworkFetchAllowed ¶
func SecTrustGetNetworkFetchAllowed(trust SecTrustRef, allowFetch *bool) int32
SecTrustGetNetworkFetchAllowed indicates whether a trust evaluation is permitted to fetch missing intermediate certificates from the network.
See: https://developer.apple.com/documentation/Security/SecTrustGetNetworkFetchAllowed(_:_:)
func SecTrustGetResult
deprecated
func SecTrustGetResult(trustRef SecTrustRef, result *SecTrustResultType, certChain *corefoundation.CFArrayRef, statusChain unsafe.Pointer) int32
SecTrustGetResult retrieves details on the outcome of a call to the function [SecTrustEvaluate].
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecTrustGetResult
func SecTrustGetTPHandle
deprecated
func SecTrustGetTPHandle(trust SecTrustRef, handle unsafe.Pointer) int32
SecTrustGetTPHandle retrieves the trust policy handle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecTrustGetTPHandle
func SecTrustGetTrustResult ¶
func SecTrustGetTrustResult(trust SecTrustRef, result *SecTrustResultType) int32
SecTrustGetTrustResult returns the result code from the most recent trust evaluation.
See: https://developer.apple.com/documentation/Security/SecTrustGetTrustResult(_:_:)
func SecTrustGetTypeID ¶
func SecTrustGetTypeID() uint
SecTrustGetTypeID returns the unique identifier of the opaque type to which a trust object belongs.
See: https://developer.apple.com/documentation/Security/SecTrustGetTypeID()
func SecTrustGetVerifyTime ¶
func SecTrustGetVerifyTime(trust SecTrustRef) corefoundation.CFAbsoluteTime
SecTrustGetVerifyTime gets the absolute time against which the certificates in a trust management object are verified.
See: https://developer.apple.com/documentation/Security/SecTrustGetVerifyTime(_:)
func SecTrustSetAnchorCertificates ¶
func SecTrustSetAnchorCertificates(trust SecTrustRef, anchorCertificates corefoundation.CFArrayRef) int32
SecTrustSetAnchorCertificates sets the anchor certificates used when evaluating a trust management object.
See: https://developer.apple.com/documentation/Security/SecTrustSetAnchorCertificates(_:_:)
func SecTrustSetAnchorCertificatesOnly ¶
func SecTrustSetAnchorCertificatesOnly(trust SecTrustRef, anchorCertificatesOnly bool) int32
SecTrustSetAnchorCertificatesOnly reenables trusting built-in anchor certificates.
See: https://developer.apple.com/documentation/Security/SecTrustSetAnchorCertificatesOnly(_:_:)
func SecTrustSetExceptions ¶
func SecTrustSetExceptions(trust SecTrustRef, exceptions corefoundation.CFDataRef) bool
SecTrustSetExceptions sets a list of exceptions that should be ignored when the certificate is evaluated.
See: https://developer.apple.com/documentation/Security/SecTrustSetExceptions(_:_:)
func SecTrustSetKeychains
deprecated
func SecTrustSetKeychains(trust SecTrustRef, keychainOrArray corefoundation.CFTypeRef) int32
SecTrustSetKeychains sets the keychains searched for intermediate certificates when evaluating a trust management object.
Deprecated: Deprecated since macOS 10.13.
See: https://developer.apple.com/documentation/Security/SecTrustSetKeychains(_:_:)
func SecTrustSetNetworkFetchAllowed ¶
func SecTrustSetNetworkFetchAllowed(trust SecTrustRef, allowFetch bool) int32
SecTrustSetNetworkFetchAllowed specifies whether a trust evaluation is permitted to fetch missing intermediate certificates from the network.
See: https://developer.apple.com/documentation/Security/SecTrustSetNetworkFetchAllowed(_:_:)
func SecTrustSetOCSPResponse ¶
func SecTrustSetOCSPResponse(trust SecTrustRef, responseData corefoundation.CFTypeRef) int32
SecTrustSetOCSPResponse attaches Online Certificate Status Protocol (OSCP) response data to a trust object.
See: https://developer.apple.com/documentation/Security/SecTrustSetOCSPResponse(_:_:)
func SecTrustSetOptions ¶
func SecTrustSetOptions(trustRef SecTrustRef, options SecTrustOptionFlags) int32
SecTrustSetOptions sets option flags for customizing evaluation of a trust object.
See: https://developer.apple.com/documentation/Security/SecTrustSetOptions(_:_:)
func SecTrustSetParameters
deprecated
func SecTrustSetParameters(trustRef SecTrustRef, action CSSM_TP_ACTION, actionData corefoundation.CFDataRef) int32
SecTrustSetParameters sets the action and action data for a trust management object.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/SecTrustSetParameters
func SecTrustSetPolicies ¶
func SecTrustSetPolicies(trust SecTrustRef, policies corefoundation.CFTypeRef) int32
SecTrustSetPolicies sets the policies to use in an evaluation.
See: https://developer.apple.com/documentation/Security/SecTrustSetPolicies(_:_:)
func SecTrustSetSignedCertificateTimestamps ¶
func SecTrustSetSignedCertificateTimestamps(trust SecTrustRef, sctArray corefoundation.CFArrayRef) int32
SecTrustSetSignedCertificateTimestamps attaches signed certificate timestamp data to a trust object.
See: https://developer.apple.com/documentation/Security/SecTrustSetSignedCertificateTimestamps(_:_:)
func SecTrustSetVerifyDate ¶
func SecTrustSetVerifyDate(trust SecTrustRef, verifyDate corefoundation.CFDateRef) int32
SecTrustSetVerifyDate sets the date and time against which the certificates in a trust management object are verified.
See: https://developer.apple.com/documentation/Security/SecTrustSetVerifyDate(_:_:)
func SecTrustSettingsCopyCertificates ¶
func SecTrustSettingsCopyCertificates(domain SecTrustSettingsDomain, certArray *corefoundation.CFArrayRef) int32
SecTrustSettingsCopyCertificates obtains an array of all certificates that have trust settings in a specific trust settings domain.
See: https://developer.apple.com/documentation/Security/SecTrustSettingsCopyCertificates(_:_:)
func SecTrustSettingsCopyModificationDate ¶
func SecTrustSettingsCopyModificationDate(certRef SecCertificateRef, domain SecTrustSettingsDomain, modificationDate *corefoundation.CFDateRef) int32
SecTrustSettingsCopyModificationDate obtains the date and time at which a certificate’s trust settings were last modified.
See: https://developer.apple.com/documentation/Security/SecTrustSettingsCopyModificationDate(_:_:_:)
func SecTrustSettingsCopyTrustSettings ¶
func SecTrustSettingsCopyTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain, trustSettings *corefoundation.CFArrayRef) int32
SecTrustSettingsCopyTrustSettings obtains the trust settings for a certificate.
See: https://developer.apple.com/documentation/Security/SecTrustSettingsCopyTrustSettings(_:_:_:)
func SecTrustSettingsCreateExternalRepresentation ¶
func SecTrustSettingsCreateExternalRepresentation(domain SecTrustSettingsDomain, trustSettings *corefoundation.CFDataRef) int32
SecTrustSettingsCreateExternalRepresentation obtains an external, portable representation of the specified domain’s trust settings.
func SecTrustSettingsImportExternalRepresentation ¶
func SecTrustSettingsImportExternalRepresentation(domain SecTrustSettingsDomain, trustSettings corefoundation.CFDataRef) int32
SecTrustSettingsImportExternalRepresentation imports trust settings into a trust domain.
func SecTrustSettingsRemoveTrustSettings ¶
func SecTrustSettingsRemoveTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain) int32
SecTrustSettingsRemoveTrustSettings deletes the trust settings for a certificate.
See: https://developer.apple.com/documentation/Security/SecTrustSettingsRemoveTrustSettings(_:_:)
func SecTrustSettingsSetTrustSettings ¶
func SecTrustSettingsSetTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain, trustSettingsDictOrArray corefoundation.CFTypeRef) int32
SecTrustSettingsSetTrustSettings specifies trust settings for a certificate.
See: https://developer.apple.com/documentation/Security/SecTrustSettingsSetTrustSettings(_:_:_:)
func Sec_identity_access_certificates ¶
func Sec_identity_access_certificates(identity Sec_identity_t) bool
Sec_identity_access_certificates.
See: https://developer.apple.com/documentation/Security/sec_identity_access_certificates(_:_:)
func Sec_identity_copy_certificates_ref ¶
func Sec_identity_copy_certificates_ref(identity Sec_identity_t) corefoundation.CFArrayRef
Sec_identity_copy_certificates_ref.
See: https://developer.apple.com/documentation/Security/sec_identity_copy_certificates_ref(_:)
func Sec_protocol_metadata_access_distinguished_names ¶
func Sec_protocol_metadata_access_distinguished_names(metadata Sec_protocol_metadata_t) bool
Sec_protocol_metadata_access_distinguished_names.
func Sec_protocol_metadata_access_ocsp_response ¶
func Sec_protocol_metadata_access_ocsp_response(metadata Sec_protocol_metadata_t) bool
Sec_protocol_metadata_access_ocsp_response.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_access_ocsp_response(_:_:)
func Sec_protocol_metadata_access_peer_certificate_chain ¶
func Sec_protocol_metadata_access_peer_certificate_chain(metadata Sec_protocol_metadata_t) bool
Sec_protocol_metadata_access_peer_certificate_chain.
func Sec_protocol_metadata_access_pre_shared_keys ¶
func Sec_protocol_metadata_access_pre_shared_keys(metadata Sec_protocol_metadata_t) bool
Sec_protocol_metadata_access_pre_shared_keys.
func Sec_protocol_metadata_access_supported_signature_algorithms ¶
func Sec_protocol_metadata_access_supported_signature_algorithms(metadata Sec_protocol_metadata_t) bool
Sec_protocol_metadata_access_supported_signature_algorithms.
func Sec_protocol_metadata_challenge_parameters_are_equal ¶
func Sec_protocol_metadata_challenge_parameters_are_equal(metadataA Sec_protocol_metadata_t, metadataB Sec_protocol_metadata_t) bool
Sec_protocol_metadata_challenge_parameters_are_equal.
func Sec_protocol_metadata_copy_negotiated_protocol ¶
func Sec_protocol_metadata_copy_negotiated_protocol(metadata Sec_protocol_metadata_t) *byte
Sec_protocol_metadata_copy_negotiated_protocol.
func Sec_protocol_metadata_copy_peer_public_key ¶
func Sec_protocol_metadata_copy_peer_public_key(metadata Sec_protocol_metadata_t) dispatch.Data
Sec_protocol_metadata_copy_peer_public_key.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_copy_peer_public_key(_:)
func Sec_protocol_metadata_copy_server_name ¶
func Sec_protocol_metadata_copy_server_name(metadata Sec_protocol_metadata_t) *byte
Sec_protocol_metadata_copy_server_name.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_copy_server_name(_:)
func Sec_protocol_metadata_create_secret ¶
func Sec_protocol_metadata_create_secret(metadata Sec_protocol_metadata_t, label_len uintptr, label string, exporter_length uintptr) dispatch.Data
Sec_protocol_metadata_create_secret.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_create_secret(_:_:_:_:)
func Sec_protocol_metadata_create_secret_with_context ¶
func Sec_protocol_metadata_create_secret_with_context(metadata Sec_protocol_metadata_t, label_len uintptr, label string, context_len uintptr, context *uint8, exporter_length uintptr) dispatch.Data
Sec_protocol_metadata_create_secret_with_context.
func Sec_protocol_metadata_get_early_data_accepted ¶
func Sec_protocol_metadata_get_early_data_accepted(metadata Sec_protocol_metadata_t) bool
Sec_protocol_metadata_get_early_data_accepted.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_early_data_accepted(_:)
func Sec_protocol_metadata_get_negotiated_protocol
deprecated
func Sec_protocol_metadata_get_negotiated_protocol(metadata Sec_protocol_metadata_t) *byte
Sec_protocol_metadata_get_negotiated_protocol.
Deprecated: Deprecated since macOS 15.5.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_negotiated_protocol(_:)
func Sec_protocol_metadata_get_negotiated_tls_ciphersuite ¶
func Sec_protocol_metadata_get_negotiated_tls_ciphersuite(metadata Sec_protocol_metadata_t) uint16
Sec_protocol_metadata_get_negotiated_tls_ciphersuite.
func Sec_protocol_metadata_get_negotiated_tls_protocol_version ¶
func Sec_protocol_metadata_get_negotiated_tls_protocol_version(metadata Sec_protocol_metadata_t) uint16
Sec_protocol_metadata_get_negotiated_tls_protocol_version.
func Sec_protocol_metadata_get_server_name
deprecated
func Sec_protocol_metadata_get_server_name(metadata Sec_protocol_metadata_t) *byte
Sec_protocol_metadata_get_server_name.
Deprecated: Deprecated since macOS 15.5.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_server_name(_:)
func Sec_protocol_metadata_peers_are_equal ¶
func Sec_protocol_metadata_peers_are_equal(metadataA Sec_protocol_metadata_t, metadataB Sec_protocol_metadata_t) bool
Sec_protocol_metadata_peers_are_equal.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_peers_are_equal(_:_:)
func Sec_protocol_options_add_pre_shared_key ¶
func Sec_protocol_options_add_pre_shared_key(options Sec_protocol_options_t, psk dispatch.Data, psk_identity dispatch.Data)
Sec_protocol_options_add_pre_shared_key.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_add_pre_shared_key(_:_:_:)
func Sec_protocol_options_add_tls_application_protocol ¶
func Sec_protocol_options_add_tls_application_protocol(options Sec_protocol_options_t, application_protocol string)
Sec_protocol_options_add_tls_application_protocol.
func Sec_protocol_options_append_tls_ciphersuite ¶
func Sec_protocol_options_append_tls_ciphersuite(options Sec_protocol_options_t, ciphersuite uint16)
Sec_protocol_options_append_tls_ciphersuite.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_append_tls_ciphersuite(_:_:)
func Sec_protocol_options_append_tls_ciphersuite_group ¶
func Sec_protocol_options_append_tls_ciphersuite_group(options Sec_protocol_options_t, group uint16)
Sec_protocol_options_append_tls_ciphersuite_group.
func Sec_protocol_options_are_equal ¶
func Sec_protocol_options_are_equal(optionsA Sec_protocol_options_t, optionsB Sec_protocol_options_t) bool
Sec_protocol_options_are_equal.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_are_equal(_:_:)
func Sec_protocol_options_get_default_max_dtls_protocol_version ¶
func Sec_protocol_options_get_default_max_dtls_protocol_version() uint16
Sec_protocol_options_get_default_max_dtls_protocol_version.
func Sec_protocol_options_get_default_max_tls_protocol_version ¶
func Sec_protocol_options_get_default_max_tls_protocol_version() uint16
Sec_protocol_options_get_default_max_tls_protocol_version.
func Sec_protocol_options_get_default_min_dtls_protocol_version ¶
func Sec_protocol_options_get_default_min_dtls_protocol_version() uint16
Sec_protocol_options_get_default_min_dtls_protocol_version.
func Sec_protocol_options_get_default_min_tls_protocol_version ¶
func Sec_protocol_options_get_default_min_tls_protocol_version() uint16
Sec_protocol_options_get_default_min_tls_protocol_version.
func Sec_protocol_options_get_enable_encrypted_client_hello ¶
func Sec_protocol_options_get_enable_encrypted_client_hello(options Sec_protocol_options_t) bool
Sec_protocol_options_get_enable_encrypted_client_hello.
func Sec_protocol_options_get_quic_use_legacy_codepoint ¶
func Sec_protocol_options_get_quic_use_legacy_codepoint(options Sec_protocol_options_t) bool
Sec_protocol_options_get_quic_use_legacy_codepoint.
func Sec_protocol_options_set_challenge_block ¶
func Sec_protocol_options_set_challenge_block(options Sec_protocol_options_t, challenge_block Sec_protocol_challenge_t, challenge_queue dispatch.Queue)
Sec_protocol_options_set_challenge_block.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_challenge_block(_:_:_:)
func Sec_protocol_options_set_enable_encrypted_client_hello ¶
func Sec_protocol_options_set_enable_encrypted_client_hello(options Sec_protocol_options_t, enable_encrypted_client_hello bool)
Sec_protocol_options_set_enable_encrypted_client_hello.
func Sec_protocol_options_set_key_update_block ¶
func Sec_protocol_options_set_key_update_block(options Sec_protocol_options_t, key_update_block Sec_protocol_key_update_t, key_update_queue dispatch.Queue)
Sec_protocol_options_set_key_update_block.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_key_update_block(_:_:_:)
func Sec_protocol_options_set_local_identity ¶
func Sec_protocol_options_set_local_identity(options Sec_protocol_options_t, identity Sec_identity_t)
Sec_protocol_options_set_local_identity.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_local_identity(_:_:)
func Sec_protocol_options_set_max_tls_protocol_version ¶
func Sec_protocol_options_set_max_tls_protocol_version(options Sec_protocol_options_t, version uint16)
Sec_protocol_options_set_max_tls_protocol_version.
func Sec_protocol_options_set_min_tls_protocol_version ¶
func Sec_protocol_options_set_min_tls_protocol_version(options Sec_protocol_options_t, version uint16)
Sec_protocol_options_set_min_tls_protocol_version.
func Sec_protocol_options_set_peer_authentication_optional ¶
func Sec_protocol_options_set_peer_authentication_optional(options Sec_protocol_options_t, peer_authentication_optional bool)
Sec_protocol_options_set_peer_authentication_optional.
func Sec_protocol_options_set_peer_authentication_required ¶
func Sec_protocol_options_set_peer_authentication_required(options Sec_protocol_options_t, peer_authentication_required bool)
Sec_protocol_options_set_peer_authentication_required.
func Sec_protocol_options_set_pre_shared_key_selection_block ¶
func Sec_protocol_options_set_pre_shared_key_selection_block(options Sec_protocol_options_t, psk_selection_block Sec_protocol_pre_shared_key_selection_t, psk_selection_queue dispatch.Queue)
Sec_protocol_options_set_pre_shared_key_selection_block.
func Sec_protocol_options_set_quic_use_legacy_codepoint ¶
func Sec_protocol_options_set_quic_use_legacy_codepoint(options Sec_protocol_options_t, quic_use_legacy_codepoint bool)
Sec_protocol_options_set_quic_use_legacy_codepoint.
func Sec_protocol_options_set_tls_false_start_enabled ¶
func Sec_protocol_options_set_tls_false_start_enabled(options Sec_protocol_options_t, false_start_enabled bool)
Sec_protocol_options_set_tls_false_start_enabled.
func Sec_protocol_options_set_tls_is_fallback_attempt ¶
func Sec_protocol_options_set_tls_is_fallback_attempt(options Sec_protocol_options_t, is_fallback_attempt bool)
Sec_protocol_options_set_tls_is_fallback_attempt.
func Sec_protocol_options_set_tls_max_version
deprecated
func Sec_protocol_options_set_tls_max_version(options Sec_protocol_options_t, version SSLProtocol)
Sec_protocol_options_set_tls_max_version.
Deprecated: Deprecated since macOS 10.15.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_tls_max_version(_:_:)
func Sec_protocol_options_set_tls_min_version
deprecated
func Sec_protocol_options_set_tls_min_version(options Sec_protocol_options_t, version SSLProtocol)
Sec_protocol_options_set_tls_min_version.
Deprecated: Deprecated since macOS 10.15.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_tls_min_version(_:_:)
func Sec_protocol_options_set_tls_ocsp_enabled ¶
func Sec_protocol_options_set_tls_ocsp_enabled(options Sec_protocol_options_t, ocsp_enabled bool)
Sec_protocol_options_set_tls_ocsp_enabled.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_tls_ocsp_enabled(_:_:)
func Sec_protocol_options_set_tls_pre_shared_key_identity_hint ¶
func Sec_protocol_options_set_tls_pre_shared_key_identity_hint(options Sec_protocol_options_t, psk_identity_hint dispatch.Data)
Sec_protocol_options_set_tls_pre_shared_key_identity_hint.
func Sec_protocol_options_set_tls_renegotiation_enabled ¶
func Sec_protocol_options_set_tls_renegotiation_enabled(options Sec_protocol_options_t, renegotiation_enabled bool)
Sec_protocol_options_set_tls_renegotiation_enabled.
func Sec_protocol_options_set_tls_resumption_enabled ¶
func Sec_protocol_options_set_tls_resumption_enabled(options Sec_protocol_options_t, resumption_enabled bool)
Sec_protocol_options_set_tls_resumption_enabled.
func Sec_protocol_options_set_tls_sct_enabled ¶
func Sec_protocol_options_set_tls_sct_enabled(options Sec_protocol_options_t, sct_enabled bool)
Sec_protocol_options_set_tls_sct_enabled.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_tls_sct_enabled(_:_:)
func Sec_protocol_options_set_tls_server_name ¶
func Sec_protocol_options_set_tls_server_name(options Sec_protocol_options_t, server_name string)
Sec_protocol_options_set_tls_server_name.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_tls_server_name(_:_:)
func Sec_protocol_options_set_tls_tickets_enabled ¶
func Sec_protocol_options_set_tls_tickets_enabled(options Sec_protocol_options_t, tickets_enabled bool)
Sec_protocol_options_set_tls_tickets_enabled.
func Sec_protocol_options_set_verify_block ¶
func Sec_protocol_options_set_verify_block(options Sec_protocol_options_t, verify_block Sec_protocol_verify_t, verify_block_queue dispatch.Queue)
Sec_protocol_options_set_verify_block.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_verify_block(_:_:_:)
func Sec_release ¶
Sec_release.
See: https://developer.apple.com/documentation/Security/sec_release(_:)
func Sec_retain ¶
Sec_retain.
See: https://developer.apple.com/documentation/Security/sec_retain(_:)
func SecureDownloadCopyCreationDate
deprecated
func SecureDownloadCopyCreationDate(downloadRef SecureDownloadRef, date *corefoundation.CFDateRef) int32
SecureDownloadCopyCreationDate returns download ticket’s creation date.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadCopyCreationDate
func SecureDownloadCopyName
deprecated
func SecureDownloadCopyName(downloadRef SecureDownloadRef, name *corefoundation.CFStringRef) int32
SecureDownloadCopyName returns the printable name of the download ticket.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadCopyName
func SecureDownloadCopyTicketLocation
deprecated
func SecureDownloadCopyTicketLocation(url corefoundation.CFURLRef, ticketLocation *corefoundation.CFURLRef) int32
SecureDownloadCopyTicketLocation copies the ticket location from a secure download URL.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadCopyTicketLocation
func SecureDownloadCopyURLs
deprecated
func SecureDownloadCopyURLs(downloadRef SecureDownloadRef, urls *corefoundation.CFArrayRef) int32
SecureDownloadCopyURLs returns a list of URLs from which the data can be downloaded.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadCopyURLs
func SecureDownloadCreateWithTicket
deprecated
func SecureDownloadCreateWithTicket(ticket corefoundation.CFDataRef, setup unsafe.Pointer, setupContext unsafe.Pointer, evaluate unsafe.Pointer, evaluateContext unsafe.Pointer, downloadRef *SecureDownloadRef) int32
SecureDownloadCreateWithTicket creates a secure download object for use during the download process.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadCreateWithTicket
func SecureDownloadFinished
deprecated
func SecureDownloadFinished(downloadRef SecureDownloadRef) int32
SecureDownloadFinished concludes the secure download process.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadFinished
func SecureDownloadGetDownloadSize
deprecated
func SecureDownloadGetDownloadSize(downloadRef SecureDownloadRef, downloadSize *int64) int32
SecureDownloadGetDownloadSize returns the size of the expected download.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadGetDownloadSize
func SecureDownloadRelease
deprecated
func SecureDownloadRelease(downloadRef SecureDownloadRef) int32
SecureDownloadRelease releases the memory associated with a secure download object.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadRelease
func SecureDownloadUpdateWithData
deprecated
func SecureDownloadUpdateWithData(downloadRef SecureDownloadRef, data corefoundation.CFDataRef) int32
SecureDownloadUpdateWithData checks data received during download for validity.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecureDownloadUpdateWithData
func SessionCreate ¶
func SessionCreate(flags SessionCreationFlags, attributes SessionAttributeBits) int32
SessionCreate creates a security session.
See: https://developer.apple.com/documentation/Security/SessionCreate(_:_:)
func SessionGetInfo ¶
func SessionGetInfo(session SecuritySessionId, sessionId *SecuritySessionId, attributes *SessionAttributeBits) int32
SessionGetInfo obtains information about a security session.
See: https://developer.apple.com/documentation/Security/SessionGetInfo(_:_:_:)
Types ¶
type AuthorizationAsyncCallback ¶
type AuthorizationAsyncCallback = func(int, *AuthorizationItemSet)
AuthorizationAsyncCallback is a block used as a callback for the asynchronous version of copying authorization rights.
See: https://developer.apple.com/documentation/Security/AuthorizationAsyncCallback
type AuthorizationCallbacks ¶
type AuthorizationCallbacks struct {
SetResult func(uintptr, AuthorizationResult) int // Returns the result of an authorization operation.
RequestInterrupt func(uintptr) int // Requests the authorization engine to interrupt the currently active authorization mechanism.
DidDeactivate func(uintptr) int // Reports the successful deactivation of an authorization mechanism.
GetContextValue func(uintptr, *byte, *AuthorizationContextFlags, uintptr) int // Reads a value collected during authorization.
SetContextValue func(uintptr, *byte, uint, uintptr) int // Stores data collected during authorization as a key-value pair.
RemoveContextValue func(uintptr, *byte) int // Removes a value collected during authorization.
GetHintValue func(uintptr, *byte, uintptr) int // Reads a value stored by the plug-in authorization mechanism.
GetImmutableHintValue func(uintptr, *byte, uintptr) int // Reads an immutable value stored by the plug-in authorization mechanism.
SetHintValue func(uintptr, *byte, uintptr) int // Stores data needed during authorization as a key-value pair.
RemoveHintValue func(uintptr, *byte) int // Removes a value stored by the plug-in authorization mechanism.
GetArguments func(uintptr, uintptr) int // Reads the arguments for this authorization mechanism from the authorization policy database.
GetSessionId func(uintptr, unsafe.Pointer) int // Reads the session ID.
GetLAContext func(uintptr, unsafe.Pointer) int // Constructs a local authentication context.
GetTokenIdentities func(uintptr, unsafe.Pointer, uintptr) int // Returns an array of identities available on tokens.
GetTKTokenWatcher func(uintptr, unsafe.Pointer) int // Constructs a token watcher.
Version uint32 // The engine callback version.
}
C struct types AuthorizationCallbacks - The interface implemented by the Security Server.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationCallbacks
type AuthorizationContextFlags ¶
type AuthorizationContextFlags int
See: https://developer.apple.com/documentation/Security/AuthorizationContextFlags
type AuthorizationEngineRef ¶
type AuthorizationEngineRef uintptr
AuthorizationEngineRef is handle passed from the authorization engine to an instance of a mechanism in a plug-in.
See: https://developer.apple.com/documentation/Security/AuthorizationEngineRef
type AuthorizationEnvironment ¶
type AuthorizationEnvironment = AuthorizationItemSet
AuthorizationEnvironment is an authorization item set designated to hold environment information relevant to authorization decisions.
See: https://developer.apple.com/documentation/Security/AuthorizationEnvironment
type AuthorizationExternalForm ¶
type AuthorizationExternalForm struct {
Bytes int8 // An array of characters representing the external form of an authorization reference.
}
AuthorizationExternalForm - The external representation of an authorization reference.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationExternalForm
type AuthorizationFlags ¶
type AuthorizationFlags int
See: https://developer.apple.com/documentation/Security/AuthorizationFlags
const ( // KAuthorizationFlagDestroyRights: A flag that instructs the Security Server to revoke authorization. KAuthorizationFlagDestroyRights AuthorizationFlags = 8 // KAuthorizationFlagExtendRights: A flag that permits the Security Server to attempt to grant the rights requested. KAuthorizationFlagExtendRights AuthorizationFlags = 2 // KAuthorizationFlagInteractionAllowed: A flag that permits user interaction as needed. KAuthorizationFlagInteractionAllowed AuthorizationFlags = 1 // KAuthorizationFlagNoData: Private flag. KAuthorizationFlagNoData AuthorizationFlags = 1048576 // KAuthorizationFlagPartialRights: A flag that permits the Security Server to grant rights on an individual basis. KAuthorizationFlagPartialRights AuthorizationFlags = 4 // KAuthorizationFlagPreAuthorize: A flag that instructs the Security Server to preauthorize the rights requested. KAuthorizationFlagPreAuthorize AuthorizationFlags = 16 KAuthorizationFlagSkipInternalAuth AuthorizationFlags = 512 )
func (AuthorizationFlags) String ¶
func (e AuthorizationFlags) String() string
type AuthorizationItem ¶
type AuthorizationItem struct {
Name AuthorizationString // The required name of the authorization right or environment data.
ValueLength uintptr // The number of bytes in the value field.
Value unsafe.Pointer // A pointer to information pertaining to the name field.
Flags uint32 // Reserved option bits.
}
AuthorizationItem - A structure containing information about an authorization right or the authorization environment.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationItem
type AuthorizationItemSet ¶
type AuthorizationItemSet struct {
Count uint32 // The number of elements in the `items` array.
Items *AuthorizationItem // A pointer to an array of authorization items.
}
AuthorizationItemSet - A structure containing a set of authorization items.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationItemSet
type AuthorizationMechanismId ¶
AuthorizationMechanismId is the mechanism ID specified in the authorization policy database is passed to the plug-in to create the appropriate mechanism.
See: https://developer.apple.com/documentation/Security/AuthorizationMechanismId
type AuthorizationMechanismRef ¶
type AuthorizationMechanismRef uintptr
AuthorizationMechanismRef is a handle passed by the plug-in to the authorization engine when creating an instance of a mechanism.
See: https://developer.apple.com/documentation/Security/AuthorizationMechanismRef
type AuthorizationPluginId ¶
AuthorizationPluginId is an unused identifier for a plug-in.
See: https://developer.apple.com/documentation/Security/AuthorizationPluginId
type AuthorizationPluginInterface ¶
type AuthorizationPluginInterface struct {
MechanismCreate func(unsafe.Pointer, uintptr, *byte, unsafe.Pointer) int // Creates an authorization mechanism.
MechanismDeactivate func(unsafe.Pointer) int // Deactivates an authorization mechanism.
MechanismDestroy func(unsafe.Pointer) int // Destroys an authorization mechanism.
MechanismInvoke func(unsafe.Pointer) int // Invokes an authorization mechanism to perform an authorization operation.
PluginDestroy func(unsafe.Pointer) int // Notifies the plug-in that it is about to be unloaded.
Version uint32 // The plug-in interface version.
}
AuthorizationPluginInterface - The interface that must be implemented by your plug-in.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationPluginInterface
type AuthorizationPluginRef ¶
type AuthorizationPluginRef uintptr
AuthorizationPluginRef is a handle passed by the plug-in to the authorization engine when the plug-in is initiated.
See: https://developer.apple.com/documentation/Security/AuthorizationPluginRef
type AuthorizationRef ¶
type AuthorizationRef uintptr
AuthorizationRef is a pointer to an opaque authorization reference structure.
See: https://developer.apple.com/documentation/Security/AuthorizationRef
type AuthorizationResult ¶
type AuthorizationResult int
See: https://developer.apple.com/documentation/Security/AuthorizationResult
type AuthorizationRights ¶
type AuthorizationRights = AuthorizationItemSet
AuthorizationRights is an authorization item set designated to represent a set of rights.
See: https://developer.apple.com/documentation/Security/AuthorizationRights
type AuthorizationSessionId ¶
AuthorizationSessionId is a unique value for an authorization session, provided by the authorization engine.
See: https://developer.apple.com/documentation/Security/AuthorizationSessionId
type AuthorizationString ¶
type AuthorizationString = *byte
AuthorizationString is a zero-terminated string in UTF-8 encoding.
See: https://developer.apple.com/documentation/Security/AuthorizationString
type AuthorizationValue ¶
AuthorizationValue - A structure used to pass data between the authorization engine and the plug-in mechanism.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationValue
type AuthorizationValueVector ¶
type AuthorizationValueVector struct {
Count uint32
Values *AuthorizationValue
}
AuthorizationValueVector - A structure used to pass arguments from the authorization policy database to the authorization mechanism.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationValueVector
type CE_CrlDistributionPointNameType ¶
type CE_CrlDistributionPointNameType uint
See: https://developer.apple.com/documentation/Security/CE_CrlDistributionPointNameType
const ( // Deprecated. CE_CDNT_FullName CE_CrlDistributionPointNameType = 0 // Deprecated. CE_CDNT_NameRelativeToCrlIssuer CE_CrlDistributionPointNameType = 1 )
func (CE_CrlDistributionPointNameType) String ¶
func (e CE_CrlDistributionPointNameType) String() string
type CE_CrlNumber ¶
type CE_CrlNumber = uint32
See: https://developer.apple.com/documentation/Security/CE_CrlNumber
type CE_DataType ¶
type CE_DataType uint
See: https://developer.apple.com/documentation/Security/CE_DataType-c.enum
const ( DT_AuthorityInfoAccess CE_DataType = 14 DT_AuthorityKeyID CE_DataType = 0 DT_BasicConstraints CE_DataType = 6 DT_CertPolicies CE_DataType = 7 DT_CrlDistributionPoints CE_DataType = 12 DT_CrlNumber CE_DataType = 9 DT_CrlReason CE_DataType = 11 DT_DeltaCrl CE_DataType = 10 DT_ExtendedKeyUsage CE_DataType = 5 DT_InhibitAnyPolicy CE_DataType = 20 DT_IssuerAltName CE_DataType = 4 DT_IssuingDistributionPoint CE_DataType = 13 DT_KeyUsage CE_DataType = 2 DT_NameConstraints CE_DataType = 17 DT_NetscapeCertType CE_DataType = 8 DT_Other CE_DataType = 15 DT_PolicyConstraints CE_DataType = 19 DT_PolicyMappings CE_DataType = 18 DT_QC_Statements CE_DataType = 16 DT_SubjectAltName CE_DataType = 3 DT_SubjectKeyID CE_DataType = 1 )
func (CE_DataType) String ¶
func (e CE_DataType) String() string
type CE_DeltaCrl ¶
type CE_DeltaCrl = uint32
See: https://developer.apple.com/documentation/Security/CE_DeltaCrl
type CE_ExtendedKeyUsage ¶
See: https://developer.apple.com/documentation/Security/CE_ExtendedKeyUsage-swift.typealias
type CE_GeneralNameType ¶
type CE_GeneralNameType uint
See: https://developer.apple.com/documentation/Security/CE_GeneralNameType-c.enum
const ( GNT_DNSName CE_GeneralNameType = 2 GNT_DirectoryName CE_GeneralNameType = 4 GNT_EdiPartyName CE_GeneralNameType = 5 GNT_IPAddress CE_GeneralNameType = 7 GNT_OtherName CE_GeneralNameType = 0 GNT_RFC822Name CE_GeneralNameType = 1 GNT_RegisteredID CE_GeneralNameType = 8 GNT_URI CE_GeneralNameType = 6 GNT_X400Address CE_GeneralNameType = 3 )
func (CE_GeneralNameType) String ¶
func (e CE_GeneralNameType) String() string
type CMSCertificateChainMode ¶
type CMSCertificateChainMode int
See: https://developer.apple.com/documentation/Security/CMSCertificateChainMode
const ( // KCMSCertificateChain: Include the signer certificate chain up to but not including the root certificate. KCMSCertificateChain CMSCertificateChainMode = 2 // KCMSCertificateChainWithRoot: Include the entire signer certificate chain, including the root certificate. KCMSCertificateChainWithRoot CMSCertificateChainMode = 3 // KCMSCertificateNone: Don’t include any certificates. KCMSCertificateNone CMSCertificateChainMode = 0 // KCMSCertificateSignerOnly: Only include signer certificates. KCMSCertificateSignerOnly CMSCertificateChainMode = 1 )
func (CMSCertificateChainMode) String ¶
func (e CMSCertificateChainMode) String() string
type CMSDecoderRef ¶
type CMSDecoderRef uintptr
CMSDecoderRef is an opaque reference to a CMS decoder object.
See: https://developer.apple.com/documentation/Security/CMSDecoder
type CMSEncoderRef ¶
type CMSEncoderRef uintptr
CMSEncoderRef is opaque reference to a CMS encoder object.
See: https://developer.apple.com/documentation/Security/CMSEncoder
type CMSSignedAttributes ¶
type CMSSignedAttributes int
See: https://developer.apple.com/documentation/Security/CMSSignedAttributes
const ( // KCMSAttrAppleCodesigningHashAgility: Include Apple codesigning hash agility. KCMSAttrAppleCodesigningHashAgility CMSSignedAttributes = 16 // KCMSAttrAppleCodesigningHashAgilityV2: Include Apple codesigning hash agility, version 2. KCMSAttrAppleCodesigningHashAgilityV2 CMSSignedAttributes = 32 // KCMSAttrAppleExpirationTime: Include the expiration time. KCMSAttrAppleExpirationTime CMSSignedAttributes = 64 // KCMSAttrSigningTime: Include the signing time. KCMSAttrSigningTime CMSSignedAttributes = 8 // KCMSAttrSmimeCapabilities: Identify signature, encryption, and digest algorithms supported by the encoder. KCMSAttrSmimeCapabilities CMSSignedAttributes = 1 // KCMSAttrSmimeEncryptionKeyPrefs: Indicate that the signing certificate included with the message is the preferred one for S/MIME encryption. KCMSAttrSmimeEncryptionKeyPrefs CMSSignedAttributes = 2 // KCMSAttrSmimeMSEncryptionKeyPrefs: Indicate that the signing certificate included with the message is the preferred one for S/MIME encryption, but using an attribute object identifier (OID) preferred by Microsoft. KCMSAttrSmimeMSEncryptionKeyPrefs CMSSignedAttributes = 4 )
func (CMSSignedAttributes) String ¶
func (e CMSSignedAttributes) String() string
type CMSSignerStatus ¶
type CMSSignerStatus int
See: https://developer.apple.com/documentation/Security/CMSSignerStatus
const ( // KCMSSignerInvalidCert: The message was signed but the signer’s certificate could not be verified. KCMSSignerInvalidCert CMSSignerStatus = 4 // KCMSSignerInvalidIndex: The specified value for the signer index ( parameter) is greater than the number of signers of the message minus one (). KCMSSignerInvalidIndex CMSSignerStatus = 5 // KCMSSignerInvalidSignature: The message was signed but the signature is invalid. KCMSSignerInvalidSignature CMSSignerStatus = 3 // KCMSSignerNeedsDetachedContent: The message was signed but has detached content. KCMSSignerNeedsDetachedContent CMSSignerStatus = 2 // KCMSSignerUnsigned: The message was not signed. KCMSSignerUnsigned CMSSignerStatus = 0 // KCMSSignerValid: The message was signed and both the signature and the signer certificate have been verified. KCMSSignerValid CMSSignerStatus = 1 )
func (CMSSignerStatus) String ¶
func (e CMSSignerStatus) String() string
type CSSM_ACL_AUTHORIZATION_TAG ¶
type CSSM_ACL_AUTHORIZATION_TAG = int32
See: https://developer.apple.com/documentation/Security/CSSM_ACL_AUTHORIZATION_TAG
type CSSM_ACL_EDIT_MODE ¶
type CSSM_ACL_EDIT_MODE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_ACL_EDIT_MODE
type CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR ¶
type CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR = Cssm_acl_keychain_prompt_selector
See: https://developer.apple.com/documentation/Security/CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR-swift.typealias
type CSSM_ACL_PREAUTH_TRACKING_STATE ¶
type CSSM_ACL_PREAUTH_TRACKING_STATE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_ACL_PREAUTH_TRACKING_STATE
type CSSM_ACL_PROCESS_SUBJECT_SELECTOR ¶
type CSSM_ACL_PROCESS_SUBJECT_SELECTOR = Cssm_acl_process_subject_selector
See: https://developer.apple.com/documentation/Security/CSSM_ACL_PROCESS_SUBJECT_SELECTOR-swift.typealias
type CSSM_ACL_SUBJECT_TYPE ¶
type CSSM_ACL_SUBJECT_TYPE = int32
See: https://developer.apple.com/documentation/Security/CSSM_ACL_SUBJECT_TYPE
type CSSM_ALGORITHMS ¶
type CSSM_ALGORITHMS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_ALGORITHMS
type CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS ¶
type CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS = Cssm_applecspdl_db_change_password_parameters
type CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR ¶
type CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR
type CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS ¶
type CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS = Cssm_applecspdl_db_is_locked_parameters
type CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR ¶
type CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR
type CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS ¶
type CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS = Cssm_applecspdl_db_settings_parameters
type CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR ¶
type CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR
type CSSM_APPLEDL_OPEN_PARAMETERS ¶
type CSSM_APPLEDL_OPEN_PARAMETERS = Cssm_appledl_open_parameters
See: https://developer.apple.com/documentation/Security/CSSM_APPLEDL_OPEN_PARAMETERS-swift.typealias
type CSSM_APPLEDL_OPEN_PARAMETERS_PTR ¶
type CSSM_APPLEDL_OPEN_PARAMETERS_PTR = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_APPLEDL_OPEN_PARAMETERS_PTR
type CSSM_APPLE_CL_CSR_REQUEST ¶
type CSSM_APPLE_CL_CSR_REQUEST struct {
SubjectNameX509 unsafe.Pointer
SignatureAlg CSSM_ALGORITHMS
SignatureOid unsafe.Pointer
CspHand CSSM_CSP_HANDLE
ChallengeString *byte
SubjectPrivateKey unsafe.Pointer
SubjectPublicKey unsafe.Pointer
}
CSSM_APPLE_CL_CSR_REQUEST
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_CL_CSR_REQUEST
type CSSM_APPLE_TP_ACTION_DATA ¶
type CSSM_APPLE_TP_ACTION_DATA struct {
Version uint32
ActionFlags CSSM_APPLE_TP_ACTION_FLAGS
}
CSSM_APPLE_TP_ACTION_DATA
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_ACTION_DATA
type CSSM_APPLE_TP_ACTION_FLAGS ¶
type CSSM_APPLE_TP_ACTION_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_ACTION_FLAGS
type CSSM_APPLE_TP_CERT_REQUEST ¶
type CSSM_APPLE_TP_CERT_REQUEST struct {
CspHand CSSM_CSP_HANDLE
ClHand CSSM_CL_HANDLE
SerialNumber uint32
NumSubjectNames uint32
NumIssuerNames uint32
IssuerNameX509 unsafe.Pointer
SignatureAlg CSSM_ALGORITHMS
SignatureOid unsafe.Pointer
NotBefore uint32
NotAfter uint32
NumExtensions uint32
CertPublicKey unsafe.Pointer
ChallengeString *byte
Extensions unsafe.Pointer
IssuerNames *CSSM_APPLE_TP_NAME_OID
IssuerPrivateKey unsafe.Pointer
SubjectNames *CSSM_APPLE_TP_NAME_OID
}
CSSM_APPLE_TP_CERT_REQUEST
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_CERT_REQUEST
type CSSM_APPLE_TP_CRL_OPTIONS ¶
type CSSM_APPLE_TP_CRL_OPTIONS struct {
Version uint32
CrlFlags CSSM_APPLE_TP_CRL_OPT_FLAGS
CrlStore unsafe.Pointer
}
CSSM_APPLE_TP_CRL_OPTIONS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_CRL_OPTIONS
type CSSM_APPLE_TP_CRL_OPT_FLAGS ¶
type CSSM_APPLE_TP_CRL_OPT_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_CRL_OPT_FLAGS
type CSSM_APPLE_TP_NAME_OID ¶
CSSM_APPLE_TP_NAME_OID
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_NAME_OID
type CSSM_APPLE_TP_SMIME_OPTIONS ¶
type CSSM_APPLE_TP_SMIME_OPTIONS struct {
Version uint32
IntendedUsage unsafe.Pointer
SenderEmailLen uint32
SenderEmail *byte
}
CSSM_APPLE_TP_SMIME_OPTIONS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_SMIME_OPTIONS
type CSSM_APPLE_TP_SSL_OPTIONS ¶
type CSSM_APPLE_TP_SSL_OPTIONS struct {
Version uint32
ServerNameLen uint32
Flags uint32
ServerName *byte
}
CSSM_APPLE_TP_SSL_OPTIONS
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_SSL_OPTIONS
type CSSM_ATTACH_FLAGS ¶
type CSSM_ATTACH_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_ATTACH_FLAGS
type CSSM_ATTRIBUTE_TYPE ¶
type CSSM_ATTRIBUTE_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_ATTRIBUTE_TYPE
type CSSM_BER_TAG ¶
type CSSM_BER_TAG = uint8
See: https://developer.apple.com/documentation/Security/CSSM_BER_TAG
type CSSM_BITMASK ¶
type CSSM_BITMASK = uint32
See: https://developer.apple.com/documentation/Security/CSSM_BITMASK
type CSSM_BOOL ¶
type CSSM_BOOL = int32
See: https://developer.apple.com/documentation/Security/CSSM_BOOL
type CSSM_CERTGROUP_TYPE ¶
type CSSM_CERTGROUP_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERTGROUP_TYPE
type CSSM_CERTGROUP_TYPE_PTR ¶
type CSSM_CERTGROUP_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERTGROUP_TYPE_PTR
type CSSM_CERT_BUNDLE_ENCODING ¶
type CSSM_CERT_BUNDLE_ENCODING = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_BUNDLE_ENCODING
type CSSM_CERT_BUNDLE_TYPE ¶
type CSSM_CERT_BUNDLE_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_BUNDLE_TYPE
type CSSM_CERT_ENCODING ¶
type CSSM_CERT_ENCODING = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_ENCODING
type CSSM_CERT_ENCODING_PTR ¶
type CSSM_CERT_ENCODING_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_ENCODING_PTR
type CSSM_CERT_PARSE_FORMAT ¶
type CSSM_CERT_PARSE_FORMAT = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_PARSE_FORMAT
type CSSM_CERT_PARSE_FORMAT_PTR ¶
type CSSM_CERT_PARSE_FORMAT_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_PARSE_FORMAT_PTR
type CSSM_CERT_TYPE ¶
type CSSM_CERT_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_TYPE
type CSSM_CERT_TYPE_PTR ¶
type CSSM_CERT_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CERT_TYPE_PTR
type CSSM_CL_TEMPLATE_TYPE ¶
type CSSM_CL_TEMPLATE_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CL_TEMPLATE_TYPE
type CSSM_CONTEXT_EVENT ¶
type CSSM_CONTEXT_EVENT = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CONTEXT_EVENT
type CSSM_CONTEXT_TYPE ¶
type CSSM_CONTEXT_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CONTEXT_TYPE
type CSSM_CRLGROUP_TYPE ¶
type CSSM_CRLGROUP_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRLGROUP_TYPE
type CSSM_CRLGROUP_TYPE_PTR ¶
type CSSM_CRLGROUP_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRLGROUP_TYPE_PTR
type CSSM_CRL_ENCODING ¶
type CSSM_CRL_ENCODING = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRL_ENCODING
type CSSM_CRL_ENCODING_PTR ¶
type CSSM_CRL_ENCODING_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRL_ENCODING_PTR
type CSSM_CRL_PARSE_FORMAT ¶
type CSSM_CRL_PARSE_FORMAT = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRL_PARSE_FORMAT
type CSSM_CRL_PARSE_FORMAT_PTR ¶
type CSSM_CRL_PARSE_FORMAT_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRL_PARSE_FORMAT_PTR
type CSSM_CRL_TYPE ¶
type CSSM_CRL_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRL_TYPE
type CSSM_CRL_TYPE_PTR ¶
type CSSM_CRL_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_CRL_TYPE_PTR
type CSSM_CSPTYPE ¶
type CSSM_CSPTYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CSPTYPE
type CSSM_CSP_FLAGS ¶
type CSSM_CSP_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CSP_FLAGS
type CSSM_CSP_READER_FLAGS ¶
type CSSM_CSP_READER_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_CSP_READER_FLAGS
type CSSM_DB_ACCESS_TYPE ¶
type CSSM_DB_ACCESS_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_ACCESS_TYPE
type CSSM_DB_ACCESS_TYPE_PTR ¶
type CSSM_DB_ACCESS_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_ACCESS_TYPE_PTR
type CSSM_DB_ATTRIBUTE_FORMAT ¶
type CSSM_DB_ATTRIBUTE_FORMAT = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_FORMAT
type CSSM_DB_ATTRIBUTE_FORMAT_PTR ¶
type CSSM_DB_ATTRIBUTE_FORMAT_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_FORMAT_PTR
type CSSM_DB_ATTRIBUTE_NAME_FORMAT ¶
type CSSM_DB_ATTRIBUTE_NAME_FORMAT = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_NAME_FORMAT
type CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR ¶
type CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR
type CSSM_DB_CONJUNCTIVE ¶
type CSSM_DB_CONJUNCTIVE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_CONJUNCTIVE
type CSSM_DB_CONJUNCTIVE_PTR ¶
type CSSM_DB_CONJUNCTIVE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_CONJUNCTIVE_PTR
type CSSM_DB_INDEXED_DATA_LOCATION ¶
type CSSM_DB_INDEXED_DATA_LOCATION = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_INDEXED_DATA_LOCATION
type CSSM_DB_INDEX_TYPE ¶
type CSSM_DB_INDEX_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_INDEX_TYPE
type CSSM_DB_MODIFY_MODE ¶
type CSSM_DB_MODIFY_MODE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_MODIFY_MODE
type CSSM_DB_OPERATOR ¶
type CSSM_DB_OPERATOR = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_OPERATOR
type CSSM_DB_OPERATOR_PTR ¶
type CSSM_DB_OPERATOR_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_OPERATOR_PTR
type CSSM_DB_RECORDTYPE ¶
type CSSM_DB_RECORDTYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_RECORDTYPE
type CSSM_DB_RETRIEVAL_MODES ¶
type CSSM_DB_RETRIEVAL_MODES = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DB_RETRIEVAL_MODES
type CSSM_DLTYPE ¶
type CSSM_DLTYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_DLTYPE
type CSSM_DLTYPE_PTR ¶
type CSSM_DLTYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_DLTYPE_PTR
type CSSM_DL_CUSTOM_ATTRIBUTES ¶
See: https://developer.apple.com/documentation/Security/CSSM_DL_CUSTOM_ATTRIBUTES
type CSSM_DL_FFS_ATTRIBUTES ¶
See: https://developer.apple.com/documentation/Security/CSSM_DL_FFS_ATTRIBUTES
type CSSM_DL_LDAP_ATTRIBUTES ¶
See: https://developer.apple.com/documentation/Security/CSSM_DL_LDAP_ATTRIBUTES
type CSSM_DL_ODBC_ATTRIBUTES ¶
See: https://developer.apple.com/documentation/Security/CSSM_DL_ODBC_ATTRIBUTES
type CSSM_DL_PKCS11_ATTRIBUTE ¶
type CSSM_DL_PKCS11_ATTRIBUTE = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_DL_PKCS11_ATTRIBUTE
type CSSM_DL_PKCS11_ATTRIBUTE_PTR ¶
type CSSM_DL_PKCS11_ATTRIBUTE_PTR = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_DL_PKCS11_ATTRIBUTE_PTR
type CSSM_ENCRYPT_MODE ¶
type CSSM_ENCRYPT_MODE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_ENCRYPT_MODE
type CSSM_EVIDENCE_FORM ¶
type CSSM_EVIDENCE_FORM = uint32
See: https://developer.apple.com/documentation/Security/CSSM_EVIDENCE_FORM
type CSSM_HEADERVERSION ¶
type CSSM_HEADERVERSION = uint32
See: https://developer.apple.com/documentation/Security/CSSM_HEADERVERSION
type CSSM_INTPTR ¶
type CSSM_INTPTR = int
See: https://developer.apple.com/documentation/Security/CSSM_INTPTR
type CSSM_KEYATTR_FLAGS ¶
type CSSM_KEYATTR_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KEYATTR_FLAGS
type CSSM_KEYBLOB_FORMAT ¶
type CSSM_KEYBLOB_FORMAT = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KEYBLOB_FORMAT
type CSSM_KEYBLOB_TYPE ¶
type CSSM_KEYBLOB_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KEYBLOB_TYPE
type CSSM_KEYCLASS ¶
type CSSM_KEYCLASS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KEYCLASS
type CSSM_KEYUSE ¶
type CSSM_KEYUSE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KEYUSE
type CSSM_KEY_HIERARCHY ¶
See: https://developer.apple.com/documentation/Security/CSSM_KEY_HIERARCHY
type CSSM_KRSP_HANDLE ¶
type CSSM_KRSP_HANDLE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KRSP_HANDLE
type CSSM_KR_POLICY_FLAGS ¶
type CSSM_KR_POLICY_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KR_POLICY_FLAGS
type CSSM_KR_POLICY_TYPE ¶
type CSSM_KR_POLICY_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_KR_POLICY_TYPE
type CSSM_LIST_ELEMENT_PTR ¶
type CSSM_LIST_ELEMENT_PTR = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_LIST_ELEMENT_PTR
type CSSM_LIST_ELEMENT_TYPE ¶
type CSSM_LIST_ELEMENT_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_LIST_ELEMENT_TYPE
type CSSM_LIST_ELEMENT_TYPE_PTR ¶
type CSSM_LIST_ELEMENT_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_LIST_ELEMENT_TYPE_PTR
type CSSM_LIST_TYPE ¶
type CSSM_LIST_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_LIST_TYPE
type CSSM_LIST_TYPE_PTR ¶
type CSSM_LIST_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_LIST_TYPE_PTR
type CSSM_LONG_HANDLE ¶
type CSSM_LONG_HANDLE = uint64
See: https://developer.apple.com/documentation/Security/CSSM_LONG_HANDLE
type CSSM_LONG_HANDLE_PTR ¶
type CSSM_LONG_HANDLE_PTR = *uint64
See: https://developer.apple.com/documentation/Security/CSSM_LONG_HANDLE_PTR
type CSSM_MANAGER_EVENT_TYPES ¶
type CSSM_MANAGER_EVENT_TYPES = uint32
See: https://developer.apple.com/documentation/Security/CSSM_MANAGER_EVENT_TYPES
type CSSM_MODULE_EVENT ¶
type CSSM_MODULE_EVENT = uint32
See: https://developer.apple.com/documentation/Security/CSSM_MODULE_EVENT
type CSSM_MODULE_EVENT_PTR ¶
type CSSM_MODULE_EVENT_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_MODULE_EVENT_PTR
type CSSM_MODULE_HANDLE ¶
See: https://developer.apple.com/documentation/Security/CSSM_MODULE_HANDLE
type CSSM_MODULE_HANDLE_PTR ¶
See: https://developer.apple.com/documentation/Security/CSSM_MODULE_HANDLE_PTR
type CSSM_NET_ADDRESS_TYPE ¶
type CSSM_NET_ADDRESS_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_NET_ADDRESS_TYPE
type CSSM_NET_PROTOCOL ¶
type CSSM_NET_PROTOCOL = uint32
See: https://developer.apple.com/documentation/Security/CSSM_NET_PROTOCOL
type CSSM_PADDING ¶
type CSSM_PADDING = uint32
See: https://developer.apple.com/documentation/Security/CSSM_PADDING
type CSSM_PKCS5_PBKDF2_PRF ¶
type CSSM_PKCS5_PBKDF2_PRF = uint32
See: https://developer.apple.com/documentation/Security/CSSM_PKCS5_PBKDF2_PRF
type CSSM_PKCS_OAEP_MGF ¶
type CSSM_PKCS_OAEP_MGF = uint32
See: https://developer.apple.com/documentation/Security/CSSM_PKCS_OAEP_MGF
type CSSM_PKCS_OAEP_PSOURCE ¶
type CSSM_PKCS_OAEP_PSOURCE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_PKCS_OAEP_PSOURCE
type CSSM_PRIVILEGE ¶
type CSSM_PRIVILEGE = uint64
See: https://developer.apple.com/documentation/Security/CSSM_PRIVILEGE
type CSSM_PRIVILEGE_SCOPE ¶
type CSSM_PRIVILEGE_SCOPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_PRIVILEGE_SCOPE
type CSSM_PROC_ADDR ¶
type CSSM_PROC_ADDR = func()
See: https://developer.apple.com/documentation/Security/CSSM_PROC_ADDR
type CSSM_PROC_ADDR_PTR ¶
See: https://developer.apple.com/documentation/Security/CSSM_PROC_ADDR_PTR
type CSSM_QUERY_FLAGS ¶
type CSSM_QUERY_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_QUERY_FLAGS
type CSSM_RETURN ¶
type CSSM_RETURN = int32
See: https://developer.apple.com/documentation/Security/CSSM_RETURN
func CSSM_AC_AuthCompute
deprecated
func CSSM_AC_AuthCompute(ACHandle CSSM_AC_HANDLE, BaseAuthorizations unsafe.Pointer, Credentials unsafe.Pointer, NumberOfRequestors uint32, Requestors unsafe.Pointer, RequestedAuthorizationPeriod unsafe.Pointer, RequestedAuthorization unsafe.Pointer, AuthorizationResult unsafe.Pointer) CSSM_RETURN
CSSM_AC_AuthCompute.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_AC_AuthCompute
func CSSM_AC_PassThrough
deprecated
func CSSM_AC_PassThrough(ACHandle CSSM_AC_HANDLE, TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, DBList unsafe.Pointer, PassThroughId uint32, InputParams unsafe.Pointer, OutputParams unsafe.Pointer) CSSM_RETURN
CSSM_AC_PassThrough.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_AC_PassThrough
func CSSM_CL_CertAbortCache
deprecated
func CSSM_CL_CertAbortCache(CLHandle CSSM_CL_HANDLE, CertHandle CSSM_HANDLE) CSSM_RETURN
CSSM_CL_CertAbortCache.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertAbortCache
func CSSM_CL_CertAbortQuery
deprecated
func CSSM_CL_CertAbortQuery(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE) CSSM_RETURN
CSSM_CL_CertAbortQuery.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertAbortQuery
func CSSM_CL_CertCache
deprecated
func CSSM_CL_CertCache(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CertHandle CSSM_HANDLE_PTR) CSSM_RETURN
CSSM_CL_CertCache.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertCache
func CSSM_CL_CertCreateTemplate
deprecated
func CSSM_CL_CertCreateTemplate(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CertFields unsafe.Pointer, CertTemplate unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertCreateTemplate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertCreateTemplate
func CSSM_CL_CertDescribeFormat
deprecated
func CSSM_CL_CertDescribeFormat(CLHandle CSSM_CL_HANDLE, NumberOfFields *uint32, OidList unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertDescribeFormat.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertDescribeFormat
func CSSM_CL_CertGetAllFields
deprecated
func CSSM_CL_CertGetAllFields(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, NumberOfFields *uint32, CertFields unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGetAllFields.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGetAllFields
func CSSM_CL_CertGetAllTemplateFields
deprecated
func CSSM_CL_CertGetAllTemplateFields(CLHandle CSSM_CL_HANDLE, CertTemplate unsafe.Pointer, NumberOfFields *uint32, CertFields unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGetAllTemplateFields.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGetAllTemplateFields
func CSSM_CL_CertGetFirstCachedFieldValue
deprecated
func CSSM_CL_CertGetFirstCachedFieldValue(CLHandle CSSM_CL_HANDLE, CertHandle CSSM_HANDLE, CertField unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, NumberOfMatchedFields *uint32, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGetFirstCachedFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGetFirstCachedFieldValue
func CSSM_CL_CertGetFirstFieldValue
deprecated
func CSSM_CL_CertGetFirstFieldValue(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CertField unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, NumberOfMatchedFields *uint32, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGetFirstFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGetFirstFieldValue
func CSSM_CL_CertGetKeyInfo
deprecated
func CSSM_CL_CertGetKeyInfo(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, Key unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGetKeyInfo.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGetKeyInfo
func CSSM_CL_CertGetNextCachedFieldValue
deprecated
func CSSM_CL_CertGetNextCachedFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGetNextCachedFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGetNextCachedFieldValue
func CSSM_CL_CertGetNextFieldValue
deprecated
func CSSM_CL_CertGetNextFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGetNextFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGetNextFieldValue
func CSSM_CL_CertGroupFromVerifiedBundle
deprecated
func CSSM_CL_CertGroupFromVerifiedBundle(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertBundle unsafe.Pointer, SignerCert unsafe.Pointer, CertGroup unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGroupFromVerifiedBundle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGroupFromVerifiedBundle
func CSSM_CL_CertGroupToSignedBundle
deprecated
func CSSM_CL_CertGroupToSignedBundle(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertGroupToBundle unsafe.Pointer, BundleInfo unsafe.Pointer, SignedBundle unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertGroupToSignedBundle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertGroupToSignedBundle
func CSSM_CL_CertSign
deprecated
func CSSM_CL_CertSign(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertTemplate unsafe.Pointer, SignScope unsafe.Pointer, ScopeSize uint32, SignedCert unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertSign.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertSign
func CSSM_CL_CertVerify
deprecated
func CSSM_CL_CertVerify(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertToBeVerified unsafe.Pointer, SignerCert unsafe.Pointer, VerifyScope unsafe.Pointer, ScopeSize uint32) CSSM_RETURN
CSSM_CL_CertVerify.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertVerify
func CSSM_CL_CertVerifyWithKey
deprecated
func CSSM_CL_CertVerifyWithKey(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertToBeVerified unsafe.Pointer) CSSM_RETURN
CSSM_CL_CertVerifyWithKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CertVerifyWithKey
func CSSM_CL_CrlAbortCache
deprecated
func CSSM_CL_CrlAbortCache(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE) CSSM_RETURN
CSSM_CL_CrlAbortCache.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlAbortCache
func CSSM_CL_CrlAbortQuery
deprecated
func CSSM_CL_CrlAbortQuery(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE) CSSM_RETURN
CSSM_CL_CrlAbortQuery.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlAbortQuery
func CSSM_CL_CrlAddCert
deprecated
func CSSM_CL_CrlAddCert(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, Cert unsafe.Pointer, NumberOfFields uint32, CrlEntryFields unsafe.Pointer, OldCrl unsafe.Pointer, NewCrl unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlAddCert.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlAddCert
func CSSM_CL_CrlCache
deprecated
func CSSM_CL_CrlCache(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, CrlHandle CSSM_HANDLE_PTR) CSSM_RETURN
CSSM_CL_CrlCache.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlCache
func CSSM_CL_CrlCreateTemplate
deprecated
func CSSM_CL_CrlCreateTemplate(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlTemplate unsafe.Pointer, NewCrl unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlCreateTemplate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlCreateTemplate
func CSSM_CL_CrlDescribeFormat
deprecated
func CSSM_CL_CrlDescribeFormat(CLHandle CSSM_CL_HANDLE, NumberOfFields *uint32, OidList unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlDescribeFormat.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlDescribeFormat
func CSSM_CL_CrlGetAllCachedRecordFields
deprecated
func CSSM_CL_CrlGetAllCachedRecordFields(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE, CrlRecordIndex unsafe.Pointer, NumberOfFields *uint32, CrlFields unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlGetAllCachedRecordFields.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlGetAllCachedRecordFields
func CSSM_CL_CrlGetAllFields
deprecated
func CSSM_CL_CrlGetAllFields(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, NumberOfCrlFields *uint32, CrlFields unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlGetAllFields.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlGetAllFields
func CSSM_CL_CrlGetFirstCachedFieldValue
deprecated
func CSSM_CL_CrlGetFirstCachedFieldValue(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE, CrlRecordIndex unsafe.Pointer, CrlField unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, NumberOfMatchedFields *uint32, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlGetFirstCachedFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlGetFirstCachedFieldValue
func CSSM_CL_CrlGetFirstFieldValue
deprecated
func CSSM_CL_CrlGetFirstFieldValue(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, CrlField unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, NumberOfMatchedFields *uint32, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlGetFirstFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlGetFirstFieldValue
func CSSM_CL_CrlGetNextCachedFieldValue
deprecated
func CSSM_CL_CrlGetNextCachedFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlGetNextCachedFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlGetNextCachedFieldValue
func CSSM_CL_CrlGetNextFieldValue
deprecated
func CSSM_CL_CrlGetNextFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlGetNextFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlGetNextFieldValue
func CSSM_CL_CrlRemoveCert
deprecated
func CSSM_CL_CrlRemoveCert(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, OldCrl unsafe.Pointer, NewCrl unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlRemoveCert.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlRemoveCert
func CSSM_CL_CrlSetFields
deprecated
func CSSM_CL_CrlSetFields(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlTemplate unsafe.Pointer, OldCrl unsafe.Pointer, ModifiedCrl unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlSetFields.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlSetFields
func CSSM_CL_CrlSign
deprecated
func CSSM_CL_CrlSign(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, UnsignedCrl unsafe.Pointer, SignScope unsafe.Pointer, ScopeSize uint32, SignedCrl unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlSign.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlSign
func CSSM_CL_CrlVerify
deprecated
func CSSM_CL_CrlVerify(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CrlToBeVerified unsafe.Pointer, SignerCert unsafe.Pointer, VerifyScope unsafe.Pointer, ScopeSize uint32) CSSM_RETURN
CSSM_CL_CrlVerify.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlVerify
func CSSM_CL_CrlVerifyWithKey
deprecated
func CSSM_CL_CrlVerifyWithKey(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CrlToBeVerified unsafe.Pointer) CSSM_RETURN
CSSM_CL_CrlVerifyWithKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_CrlVerifyWithKey
func CSSM_CL_FreeFieldValue
deprecated
func CSSM_CL_FreeFieldValue(CLHandle CSSM_CL_HANDLE, CertOrCrlOid unsafe.Pointer, Value unsafe.Pointer) CSSM_RETURN
CSSM_CL_FreeFieldValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_FreeFieldValue
func CSSM_CL_FreeFields
deprecated
func CSSM_CL_FreeFields(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, Fields unsafe.Pointer) CSSM_RETURN
CSSM_CL_FreeFields.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_FreeFields
func CSSM_CL_IsCertInCachedCrl
deprecated
func CSSM_CL_IsCertInCachedCrl(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CrlHandle CSSM_HANDLE, CertFound unsafe.Pointer, CrlRecordIndex unsafe.Pointer) CSSM_RETURN
CSSM_CL_IsCertInCachedCrl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_IsCertInCachedCrl
func CSSM_CL_IsCertInCrl
deprecated
func CSSM_CL_IsCertInCrl(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, Crl unsafe.Pointer, CertFound unsafe.Pointer) CSSM_RETURN
CSSM_CL_IsCertInCrl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_IsCertInCrl
func CSSM_CL_PassThrough
deprecated
func CSSM_CL_PassThrough(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, PassThroughId uint32, InputParams unsafe.Pointer, OutputParams unsafe.Pointer) CSSM_RETURN
CSSM_CL_PassThrough.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CL_PassThrough
func CSSM_CSP_ChangeLoginAcl
deprecated
func CSSM_CSP_ChangeLoginAcl(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer) CSSM_RETURN
CSSM_CSP_ChangeLoginAcl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_ChangeLoginAcl
func CSSM_CSP_ChangeLoginOwner
deprecated
func CSSM_CSP_ChangeLoginOwner(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, NewOwner unsafe.Pointer) CSSM_RETURN
CSSM_CSP_ChangeLoginOwner.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_ChangeLoginOwner
func CSSM_CSP_CreateAsymmetricContext
deprecated
func CSSM_CSP_CreateAsymmetricContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, AccessCred unsafe.Pointer, Key unsafe.Pointer, Padding CSSM_PADDING, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateAsymmetricContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateAsymmetricContext
func CSSM_CSP_CreateDeriveKeyContext
deprecated
func CSSM_CSP_CreateDeriveKeyContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, DeriveKeyType CSSM_KEY_TYPE, DeriveKeyLengthInBits uint32, AccessCred unsafe.Pointer, BaseKey unsafe.Pointer, IterationCount uint32, Salt unsafe.Pointer, Seed unsafe.Pointer, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateDeriveKeyContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateDeriveKeyContext
func CSSM_CSP_CreateDigestContext
deprecated
func CSSM_CSP_CreateDigestContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateDigestContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateDigestContext
func CSSM_CSP_CreateKeyGenContext
deprecated
func CSSM_CSP_CreateKeyGenContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, KeySizeInBits uint32, Seed unsafe.Pointer, Salt unsafe.Pointer, StartDate unsafe.Pointer, EndDate unsafe.Pointer, Params unsafe.Pointer, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateKeyGenContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateKeyGenContext
func CSSM_CSP_CreateMacContext
deprecated
func CSSM_CSP_CreateMacContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Key unsafe.Pointer, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateMacContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateMacContext
func CSSM_CSP_CreatePassThroughContext
deprecated
func CSSM_CSP_CreatePassThroughContext(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreatePassThroughContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreatePassThroughContext
func CSSM_CSP_CreateRandomGenContext
deprecated
func CSSM_CSP_CreateRandomGenContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Seed unsafe.Pointer, Length CSSM_SIZE, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateRandomGenContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateRandomGenContext
func CSSM_CSP_CreateSignatureContext
deprecated
func CSSM_CSP_CreateSignatureContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, AccessCred unsafe.Pointer, Key unsafe.Pointer, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateSignatureContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateSignatureContext
func CSSM_CSP_CreateSymmetricContext
deprecated
func CSSM_CSP_CreateSymmetricContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Mode CSSM_ENCRYPT_MODE, AccessCred unsafe.Pointer, Key unsafe.Pointer, InitVector unsafe.Pointer, Padding CSSM_PADDING, Reserved unsafe.Pointer, NewContextHandle unsafe.Pointer) CSSM_RETURN
CSSM_CSP_CreateSymmetricContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_CreateSymmetricContext
func CSSM_CSP_GetLoginAcl
deprecated
func CSSM_CSP_GetLoginAcl(CSPHandle CSSM_CSP_HANDLE, SelectionTag unsafe.Pointer, NumberOfAclInfos *uint32, AclInfos unsafe.Pointer) CSSM_RETURN
CSSM_CSP_GetLoginAcl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_GetLoginAcl
func CSSM_CSP_GetLoginOwner
deprecated
func CSSM_CSP_GetLoginOwner(CSPHandle CSSM_CSP_HANDLE, Owner unsafe.Pointer) CSSM_RETURN
CSSM_CSP_GetLoginOwner.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_GetLoginOwner
func CSSM_CSP_GetOperationalStatistics
deprecated
func CSSM_CSP_GetOperationalStatistics(CSPHandle CSSM_CSP_HANDLE, Statistics unsafe.Pointer) CSSM_RETURN
CSSM_CSP_GetOperationalStatistics.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_GetOperationalStatistics
func CSSM_CSP_Login
deprecated
func CSSM_CSP_Login(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, LoginName unsafe.Pointer, Reserved unsafe.Pointer) CSSM_RETURN
CSSM_CSP_Login.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_Login
func CSSM_CSP_Logout
deprecated
func CSSM_CSP_Logout(CSPHandle CSSM_CSP_HANDLE) CSSM_RETURN
CSSM_CSP_Logout.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_Logout
func CSSM_CSP_ObtainPrivateKeyFromPublicKey
deprecated
func CSSM_CSP_ObtainPrivateKeyFromPublicKey(CSPHandle CSSM_CSP_HANDLE, PublicKey unsafe.Pointer, PrivateKey unsafe.Pointer) CSSM_RETURN
CSSM_CSP_ObtainPrivateKeyFromPublicKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_ObtainPrivateKeyFromPublicKey
func CSSM_CSP_PassThrough
deprecated
func CSSM_CSP_PassThrough(CCHandle CSSM_CC_HANDLE, PassThroughId uint32, InData unsafe.Pointer, OutData unsafe.Pointer) CSSM_RETURN
CSSM_CSP_PassThrough.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_CSP_PassThrough
func CSSM_ChangeKeyAcl
deprecated
func CSSM_ChangeKeyAcl(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer, Key unsafe.Pointer) CSSM_RETURN
CSSM_ChangeKeyAcl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_ChangeKeyAcl
func CSSM_ChangeKeyOwner
deprecated
func CSSM_ChangeKeyOwner(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, NewOwner unsafe.Pointer) CSSM_RETURN
CSSM_ChangeKeyOwner.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_ChangeKeyOwner
func CSSM_DL_Authenticate
deprecated
func CSSM_DL_Authenticate(DLDBHandle unsafe.Pointer, AccessRequest CSSM_DB_ACCESS_TYPE, AccessCred unsafe.Pointer) CSSM_RETURN
CSSM_DL_Authenticate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_Authenticate
func CSSM_DL_ChangeDbAcl
deprecated
func CSSM_DL_ChangeDbAcl(DLDBHandle unsafe.Pointer, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer) CSSM_RETURN
CSSM_DL_ChangeDbAcl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_ChangeDbAcl
func CSSM_DL_ChangeDbOwner
deprecated
func CSSM_DL_ChangeDbOwner(DLDBHandle unsafe.Pointer, AccessCred unsafe.Pointer, NewOwner unsafe.Pointer) CSSM_RETURN
CSSM_DL_ChangeDbOwner.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_ChangeDbOwner
func CSSM_DL_CreateRelation
deprecated
func CSSM_DL_CreateRelation(DLDBHandle unsafe.Pointer, RelationID CSSM_DB_RECORDTYPE, RelationName string, NumberOfAttributes uint32, pAttributeInfo unsafe.Pointer, NumberOfIndexes uint32, pIndexInfo unsafe.Pointer) CSSM_RETURN
CSSM_DL_CreateRelation.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_CreateRelation
func CSSM_DL_DataAbortQuery
deprecated
func CSSM_DL_DataAbortQuery(DLDBHandle unsafe.Pointer, ResultsHandle CSSM_HANDLE) CSSM_RETURN
CSSM_DL_DataAbortQuery.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DataAbortQuery
func CSSM_DL_DataDelete
deprecated
func CSSM_DL_DataDelete(DLDBHandle unsafe.Pointer, UniqueRecordIdentifier unsafe.Pointer) CSSM_RETURN
CSSM_DL_DataDelete.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DataDelete
func CSSM_DL_DataGetFirst
deprecated
func CSSM_DL_DataGetFirst(DLDBHandle unsafe.Pointer, Query unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, Attributes unsafe.Pointer, Data unsafe.Pointer, UniqueId unsafe.Pointer) CSSM_RETURN
CSSM_DL_DataGetFirst.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DataGetFirst
func CSSM_DL_DataGetFromUniqueRecordId
deprecated
func CSSM_DL_DataGetFromUniqueRecordId(DLDBHandle unsafe.Pointer, UniqueRecord unsafe.Pointer, Attributes unsafe.Pointer, Data unsafe.Pointer) CSSM_RETURN
CSSM_DL_DataGetFromUniqueRecordId.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DataGetFromUniqueRecordId
func CSSM_DL_DataGetNext
deprecated
func CSSM_DL_DataGetNext(DLDBHandle unsafe.Pointer, ResultsHandle CSSM_HANDLE, Attributes unsafe.Pointer, Data unsafe.Pointer, UniqueId unsafe.Pointer) CSSM_RETURN
CSSM_DL_DataGetNext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DataGetNext
func CSSM_DL_DataInsert
deprecated
func CSSM_DL_DataInsert(DLDBHandle unsafe.Pointer, RecordType CSSM_DB_RECORDTYPE, Attributes unsafe.Pointer, Data unsafe.Pointer, UniqueId unsafe.Pointer) CSSM_RETURN
CSSM_DL_DataInsert.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DataInsert
func CSSM_DL_DataModify
deprecated
func CSSM_DL_DataModify(DLDBHandle unsafe.Pointer, RecordType CSSM_DB_RECORDTYPE, UniqueRecordIdentifier unsafe.Pointer, AttributesToBeModified unsafe.Pointer, DataToBeModified unsafe.Pointer, ModifyMode CSSM_DB_MODIFY_MODE) CSSM_RETURN
CSSM_DL_DataModify.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DataModify
func CSSM_DL_DbClose
deprecated
func CSSM_DL_DbClose(DLDBHandle unsafe.Pointer) CSSM_RETURN
CSSM_DL_DbClose.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DbClose
func CSSM_DL_DbCreate
deprecated
func CSSM_DL_DbCreate(DLHandle CSSM_DL_HANDLE, DbName string, DbLocation unsafe.Pointer, DBInfo unsafe.Pointer, AccessRequest CSSM_DB_ACCESS_TYPE, CredAndAclEntry unsafe.Pointer, OpenParameters unsafe.Pointer, DbHandle unsafe.Pointer) CSSM_RETURN
CSSM_DL_DbCreate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DbCreate
func CSSM_DL_DbDelete
deprecated
func CSSM_DL_DbDelete(DLHandle CSSM_DL_HANDLE, DbName string, DbLocation unsafe.Pointer, AccessCred unsafe.Pointer) CSSM_RETURN
CSSM_DL_DbDelete.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DbDelete
func CSSM_DL_DbOpen
deprecated
func CSSM_DL_DbOpen(DLHandle CSSM_DL_HANDLE, DbName string, DbLocation unsafe.Pointer, AccessRequest CSSM_DB_ACCESS_TYPE, AccessCred unsafe.Pointer, OpenParameters unsafe.Pointer, DbHandle unsafe.Pointer) CSSM_RETURN
CSSM_DL_DbOpen.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DbOpen
func CSSM_DL_DestroyRelation
deprecated
func CSSM_DL_DestroyRelation(DLDBHandle unsafe.Pointer, RelationID CSSM_DB_RECORDTYPE) CSSM_RETURN
CSSM_DL_DestroyRelation.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_DestroyRelation
func CSSM_DL_FreeNameList
deprecated
func CSSM_DL_FreeNameList(DLHandle CSSM_DL_HANDLE, NameList unsafe.Pointer) CSSM_RETURN
CSSM_DL_FreeNameList.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_FreeNameList
func CSSM_DL_FreeUniqueRecord
deprecated
func CSSM_DL_FreeUniqueRecord(DLDBHandle unsafe.Pointer, UniqueRecord unsafe.Pointer) CSSM_RETURN
CSSM_DL_FreeUniqueRecord.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_FreeUniqueRecord
func CSSM_DL_GetDbAcl
deprecated
func CSSM_DL_GetDbAcl(DLDBHandle unsafe.Pointer, SelectionTag unsafe.Pointer, NumberOfAclInfos *uint32, AclInfos unsafe.Pointer) CSSM_RETURN
CSSM_DL_GetDbAcl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_GetDbAcl
func CSSM_DL_GetDbNameFromHandle
deprecated
func CSSM_DL_GetDbNameFromHandle(DLDBHandle unsafe.Pointer, DbName string) CSSM_RETURN
CSSM_DL_GetDbNameFromHandle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_GetDbNameFromHandle
func CSSM_DL_GetDbNames
deprecated
func CSSM_DL_GetDbNames(DLHandle CSSM_DL_HANDLE, NameList unsafe.Pointer) CSSM_RETURN
CSSM_DL_GetDbNames.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_GetDbNames
func CSSM_DL_GetDbOwner
deprecated
func CSSM_DL_GetDbOwner(DLDBHandle unsafe.Pointer, Owner unsafe.Pointer) CSSM_RETURN
CSSM_DL_GetDbOwner.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_GetDbOwner
func CSSM_DL_PassThrough
deprecated
func CSSM_DL_PassThrough(DLDBHandle unsafe.Pointer, PassThroughId uint32, InputParams unsafe.Pointer, OutputParams unsafe.Pointer) CSSM_RETURN
CSSM_DL_PassThrough.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DL_PassThrough
func CSSM_DecryptData
deprecated
func CSSM_DecryptData(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ClearBufs unsafe.Pointer, ClearBufCount uint32, bytesDecrypted unsafe.Pointer, RemData unsafe.Pointer) CSSM_RETURN
CSSM_DecryptData.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DecryptData
func CSSM_DecryptDataFinal
deprecated
func CSSM_DecryptDataFinal(CCHandle CSSM_CC_HANDLE, RemData unsafe.Pointer) CSSM_RETURN
CSSM_DecryptDataFinal.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DecryptDataFinal
func CSSM_DecryptDataInit
deprecated
func CSSM_DecryptDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_DecryptDataInit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DecryptDataInit
func CSSM_DecryptDataInitP
deprecated
func CSSM_DecryptDataInitP(CCHandle CSSM_CC_HANDLE, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_DecryptDataInitP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DecryptDataInitP
func CSSM_DecryptDataP
deprecated
func CSSM_DecryptDataP(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ClearBufs unsafe.Pointer, ClearBufCount uint32, bytesDecrypted unsafe.Pointer, RemData unsafe.Pointer, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_DecryptDataP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DecryptDataP
func CSSM_DecryptDataUpdate
deprecated
func CSSM_DecryptDataUpdate(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ClearBufs unsafe.Pointer, ClearBufCount uint32, bytesDecrypted unsafe.Pointer) CSSM_RETURN
CSSM_DecryptDataUpdate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DecryptDataUpdate
func CSSM_DeleteContext
deprecated
func CSSM_DeleteContext(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_DeleteContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DeleteContext
func CSSM_DeleteContextAttributes
deprecated
func CSSM_DeleteContextAttributes(CCHandle CSSM_CC_HANDLE, NumberOfAttributes uint32, ContextAttributes unsafe.Pointer) CSSM_RETURN
CSSM_DeleteContextAttributes.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DeleteContextAttributes
func CSSM_DeriveKey
deprecated
func CSSM_DeriveKey(CCHandle CSSM_CC_HANDLE, Param unsafe.Pointer, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, DerivedKey unsafe.Pointer) CSSM_RETURN
CSSM_DeriveKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DeriveKey
func CSSM_DigestData
deprecated
func CSSM_DigestData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, Digest unsafe.Pointer) CSSM_RETURN
CSSM_DigestData.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DigestData
func CSSM_DigestDataClone
deprecated
func CSSM_DigestDataClone(CCHandle CSSM_CC_HANDLE, ClonednewCCHandle unsafe.Pointer) CSSM_RETURN
CSSM_DigestDataClone.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DigestDataClone
func CSSM_DigestDataFinal
deprecated
func CSSM_DigestDataFinal(CCHandle CSSM_CC_HANDLE, Digest unsafe.Pointer) CSSM_RETURN
CSSM_DigestDataFinal.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DigestDataFinal
func CSSM_DigestDataInit
deprecated
func CSSM_DigestDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_DigestDataInit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DigestDataInit
func CSSM_DigestDataUpdate
deprecated
func CSSM_DigestDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURN
CSSM_DigestDataUpdate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_DigestDataUpdate
func CSSM_EncryptData
deprecated
func CSSM_EncryptData(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, CipherBufs unsafe.Pointer, CipherBufCount uint32, bytesEncrypted unsafe.Pointer, RemData unsafe.Pointer) CSSM_RETURN
CSSM_EncryptData.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_EncryptData
func CSSM_EncryptDataFinal
deprecated
func CSSM_EncryptDataFinal(CCHandle CSSM_CC_HANDLE, RemData unsafe.Pointer) CSSM_RETURN
CSSM_EncryptDataFinal.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_EncryptDataFinal
func CSSM_EncryptDataInit
deprecated
func CSSM_EncryptDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_EncryptDataInit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_EncryptDataInit
func CSSM_EncryptDataInitP
deprecated
func CSSM_EncryptDataInitP(CCHandle CSSM_CC_HANDLE, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_EncryptDataInitP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_EncryptDataInitP
func CSSM_EncryptDataP
deprecated
func CSSM_EncryptDataP(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, CipherBufs unsafe.Pointer, CipherBufCount uint32, bytesEncrypted unsafe.Pointer, RemData unsafe.Pointer, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_EncryptDataP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_EncryptDataP
func CSSM_EncryptDataUpdate
deprecated
func CSSM_EncryptDataUpdate(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, CipherBufs unsafe.Pointer, CipherBufCount uint32, bytesEncrypted unsafe.Pointer) CSSM_RETURN
CSSM_EncryptDataUpdate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_EncryptDataUpdate
func CSSM_FreeContext
deprecated
func CSSM_FreeContext(Context unsafe.Pointer) CSSM_RETURN
CSSM_FreeContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_FreeContext
func CSSM_FreeKey
deprecated
func CSSM_FreeKey(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, KeyPtr unsafe.Pointer, Delete CSSM_BOOL) CSSM_RETURN
CSSM_FreeKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_FreeKey
func CSSM_GenerateAlgorithmParams
deprecated
func CSSM_GenerateAlgorithmParams(CCHandle CSSM_CC_HANDLE, ParamBits uint32, Param unsafe.Pointer) CSSM_RETURN
CSSM_GenerateAlgorithmParams.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateAlgorithmParams
func CSSM_GenerateKey
deprecated
func CSSM_GenerateKey(CCHandle CSSM_CC_HANDLE, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, Key unsafe.Pointer) CSSM_RETURN
CSSM_GenerateKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateKey
func CSSM_GenerateKeyP
deprecated
func CSSM_GenerateKeyP(CCHandle CSSM_CC_HANDLE, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, Key unsafe.Pointer, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_GenerateKeyP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateKeyP
func CSSM_GenerateKeyPair
deprecated
func CSSM_GenerateKeyPair(CCHandle CSSM_CC_HANDLE, PublicKeyUsage uint32, PublicKeyAttr uint32, PublicKeyLabel unsafe.Pointer, PublicKey unsafe.Pointer, PrivateKeyUsage uint32, PrivateKeyAttr uint32, PrivateKeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, PrivateKey unsafe.Pointer) CSSM_RETURN
CSSM_GenerateKeyPair.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateKeyPair
func CSSM_GenerateKeyPairP
deprecated
func CSSM_GenerateKeyPairP(CCHandle CSSM_CC_HANDLE, PublicKeyUsage uint32, PublicKeyAttr uint32, PublicKeyLabel unsafe.Pointer, PublicKey unsafe.Pointer, PrivateKeyUsage uint32, PrivateKeyAttr uint32, PrivateKeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, PrivateKey unsafe.Pointer, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_GenerateKeyPairP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateKeyPairP
func CSSM_GenerateMac
deprecated
func CSSM_GenerateMac(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, Mac unsafe.Pointer) CSSM_RETURN
CSSM_GenerateMac.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateMac
func CSSM_GenerateMacFinal
deprecated
func CSSM_GenerateMacFinal(CCHandle CSSM_CC_HANDLE, Mac unsafe.Pointer) CSSM_RETURN
CSSM_GenerateMacFinal.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateMacFinal
func CSSM_GenerateMacInit
deprecated
func CSSM_GenerateMacInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_GenerateMacInit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateMacInit
func CSSM_GenerateMacUpdate
deprecated
func CSSM_GenerateMacUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURN
CSSM_GenerateMacUpdate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateMacUpdate
func CSSM_GenerateRandom
deprecated
func CSSM_GenerateRandom(CCHandle CSSM_CC_HANDLE, RandomNumber unsafe.Pointer) CSSM_RETURN
CSSM_GenerateRandom.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GenerateRandom
func CSSM_GetAPIMemoryFunctions
deprecated
func CSSM_GetAPIMemoryFunctions(AddInHandle CSSM_MODULE_HANDLE, AppMemoryFuncs unsafe.Pointer) CSSM_RETURN
CSSM_GetAPIMemoryFunctions.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetAPIMemoryFunctions
func CSSM_GetContext
deprecated
func CSSM_GetContext(CCHandle CSSM_CC_HANDLE, Context unsafe.Pointer) CSSM_RETURN
CSSM_GetContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetContext
func CSSM_GetContextAttribute
deprecated
func CSSM_GetContextAttribute(Context unsafe.Pointer, AttributeType uint32, ContextAttribute unsafe.Pointer) CSSM_RETURN
CSSM_GetContextAttribute.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetContextAttribute
func CSSM_GetKeyAcl
deprecated
func CSSM_GetKeyAcl(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, SelectionTag unsafe.Pointer, NumberOfAclInfos *uint32, AclInfos unsafe.Pointer) CSSM_RETURN
CSSM_GetKeyAcl.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetKeyAcl
func CSSM_GetKeyOwner
deprecated
func CSSM_GetKeyOwner(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, Owner unsafe.Pointer) CSSM_RETURN
CSSM_GetKeyOwner.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetKeyOwner
func CSSM_GetModuleGUIDFromHandle
deprecated
func CSSM_GetModuleGUIDFromHandle(ModuleHandle CSSM_MODULE_HANDLE, ModuleGUID unsafe.Pointer) CSSM_RETURN
CSSM_GetModuleGUIDFromHandle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetModuleGUIDFromHandle
func CSSM_GetPrivilege
deprecated
func CSSM_GetPrivilege(Privilege unsafe.Pointer) CSSM_RETURN
CSSM_GetPrivilege.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetPrivilege
func CSSM_GetSubserviceUIDFromHandle
deprecated
func CSSM_GetSubserviceUIDFromHandle(ModuleHandle CSSM_MODULE_HANDLE, SubserviceUID unsafe.Pointer) CSSM_RETURN
CSSM_GetSubserviceUIDFromHandle.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetSubserviceUIDFromHandle
func CSSM_GetTimeValue
deprecated
func CSSM_GetTimeValue(CSPHandle CSSM_CSP_HANDLE, TimeAlgorithm CSSM_ALGORITHMS, TimeData unsafe.Pointer) CSSM_RETURN
CSSM_GetTimeValue.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_GetTimeValue
func CSSM_Init
deprecated
func CSSM_Init(Version unsafe.Pointer, Scope CSSM_PRIVILEGE_SCOPE, CallerGuid unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY, PvcPolicy unsafe.Pointer, Reserved unsafe.Pointer) CSSM_RETURN
CSSM_Init.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_Init
func CSSM_Introduce
deprecated
func CSSM_Introduce(ModuleID unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY) CSSM_RETURN
CSSM_Introduce.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_Introduce
func CSSM_ListAttachedModuleManagers
deprecated
func CSSM_ListAttachedModuleManagers(NumberOfModuleManagers *uint32, ModuleManagerGuids unsafe.Pointer) CSSM_RETURN
CSSM_ListAttachedModuleManagers.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_ListAttachedModuleManagers
func CSSM_ModuleAttach
deprecated
func CSSM_ModuleAttach(ModuleGuid unsafe.Pointer, Version unsafe.Pointer, MemoryFuncs unsafe.Pointer, SubserviceID uint32, SubServiceType CSSM_SERVICE_TYPE, AttachFlags CSSM_ATTACH_FLAGS, KeyHierarchy CSSM_KEY_HIERARCHY, FunctionTable unsafe.Pointer, NumFunctionTable uint32, Reserved unsafe.Pointer, NewModuleHandle CSSM_MODULE_HANDLE_PTR) CSSM_RETURN
CSSM_ModuleAttach.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_ModuleAttach
func CSSM_ModuleDetach
deprecated
func CSSM_ModuleDetach(ModuleHandle CSSM_MODULE_HANDLE) CSSM_RETURN
CSSM_ModuleDetach.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_ModuleDetach
func CSSM_ModuleLoad
deprecated
func CSSM_ModuleLoad(ModuleGuid unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY, AppNotifyCallback unsafe.Pointer, AppNotifyCallbackCtx unsafe.Pointer) CSSM_RETURN
CSSM_ModuleLoad.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_ModuleLoad
func CSSM_ModuleUnload
deprecated
func CSSM_ModuleUnload(ModuleGuid unsafe.Pointer, AppNotifyCallback unsafe.Pointer, AppNotifyCallbackCtx unsafe.Pointer) CSSM_RETURN
CSSM_ModuleUnload.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_ModuleUnload
func CSSM_QueryKeySizeInBits
deprecated
func CSSM_QueryKeySizeInBits(CSPHandle CSSM_CSP_HANDLE, CCHandle CSSM_CC_HANDLE, Key unsafe.Pointer, KeySize unsafe.Pointer) CSSM_RETURN
CSSM_QueryKeySizeInBits.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_QueryKeySizeInBits
func CSSM_QuerySize
deprecated
func CSSM_QuerySize(CCHandle CSSM_CC_HANDLE, Encrypt CSSM_BOOL, QuerySizeCount uint32, DataBlockSizes unsafe.Pointer) CSSM_RETURN
CSSM_QuerySize.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_QuerySize
func CSSM_RetrieveCounter
deprecated
func CSSM_RetrieveCounter(CSPHandle CSSM_CSP_HANDLE, Counter unsafe.Pointer) CSSM_RETURN
CSSM_RetrieveCounter.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_RetrieveCounter
func CSSM_RetrieveUniqueId
deprecated
func CSSM_RetrieveUniqueId(CSPHandle CSSM_CSP_HANDLE, UniqueID unsafe.Pointer) CSSM_RETURN
CSSM_RetrieveUniqueId.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_RetrieveUniqueId
func CSSM_SetContext
deprecated
func CSSM_SetContext(CCHandle CSSM_CC_HANDLE, Context unsafe.Pointer) CSSM_RETURN
CSSM_SetContext.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_SetContext
func CSSM_SetPrivilege
deprecated
func CSSM_SetPrivilege(Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_SetPrivilege.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_SetPrivilege
func CSSM_SignData
deprecated
func CSSM_SignData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, DigestAlgorithm CSSM_ALGORITHMS, Signature unsafe.Pointer) CSSM_RETURN
CSSM_SignData.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_SignData
func CSSM_SignDataFinal
deprecated
func CSSM_SignDataFinal(CCHandle CSSM_CC_HANDLE, Signature unsafe.Pointer) CSSM_RETURN
CSSM_SignDataFinal.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_SignDataFinal
func CSSM_SignDataInit
deprecated
func CSSM_SignDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_SignDataInit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_SignDataInit
func CSSM_SignDataUpdate
deprecated
func CSSM_SignDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURN
CSSM_SignDataUpdate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_SignDataUpdate
func CSSM_TP_ApplyCrlToDb
deprecated
func CSSM_TP_ApplyCrlToDb(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, CrlToBeApplied unsafe.Pointer, SignerCertGroup unsafe.Pointer, ApplyCrlVerifyContext unsafe.Pointer, ApplyCrlVerifyResult unsafe.Pointer) CSSM_RETURN
CSSM_TP_ApplyCrlToDb.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_ApplyCrlToDb
func CSSM_TP_CertCreateTemplate
deprecated
func CSSM_TP_CertCreateTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CertFields unsafe.Pointer, CertTemplate unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertCreateTemplate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertCreateTemplate
func CSSM_TP_CertGetAllTemplateFields
deprecated
func CSSM_TP_CertGetAllTemplateFields(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CertTemplate unsafe.Pointer, NumberOfFields *uint32, CertFields unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertGetAllTemplateFields.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertGetAllTemplateFields
func CSSM_TP_CertGroupConstruct
deprecated
func CSSM_TP_CertGroupConstruct(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, DBList unsafe.Pointer, ConstructParams unsafe.Pointer, CertGroupFrag unsafe.Pointer, CertGroup unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertGroupConstruct.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertGroupConstruct
func CSSM_TP_CertGroupPrune
deprecated
func CSSM_TP_CertGroupPrune(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, DBList unsafe.Pointer, OrderedCertGroup unsafe.Pointer, PrunedCertGroup unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertGroupPrune.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertGroupPrune
func CSSM_TP_CertGroupToTupleGroup
deprecated
func CSSM_TP_CertGroupToTupleGroup(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CertGroup unsafe.Pointer, TupleGroup unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertGroupToTupleGroup.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertGroupToTupleGroup
func CSSM_TP_CertGroupVerify
deprecated
func CSSM_TP_CertGroupVerify(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, CertGroupToBeVerified unsafe.Pointer, VerifyContext unsafe.Pointer, VerifyContextResult unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertGroupVerify.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertGroupVerify
func CSSM_TP_CertReclaimAbort
deprecated
func CSSM_TP_CertReclaimAbort(TPHandle CSSM_TP_HANDLE, KeyCacheHandle CSSM_LONG_HANDLE) CSSM_RETURN
CSSM_TP_CertReclaimAbort.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertReclaimAbort
func CSSM_TP_CertReclaimKey
deprecated
func CSSM_TP_CertReclaimKey(TPHandle CSSM_TP_HANDLE, CertGroup unsafe.Pointer, CertIndex uint32, KeyCacheHandle CSSM_LONG_HANDLE, CSPHandle CSSM_CSP_HANDLE, CredAndAclEntry unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertReclaimKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertReclaimKey
func CSSM_TP_CertRemoveFromCrlTemplate
deprecated
func CSSM_TP_CertRemoveFromCrlTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, OldCrlTemplate unsafe.Pointer, CertGroupToBeRemoved unsafe.Pointer, RevokerCertGroup unsafe.Pointer, RevokerVerifyContext unsafe.Pointer, RevokerVerifyResult unsafe.Pointer, NewCrlTemplate unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertRemoveFromCrlTemplate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertRemoveFromCrlTemplate
func CSSM_TP_CertRevoke
deprecated
func CSSM_TP_CertRevoke(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, OldCrlTemplate unsafe.Pointer, CertGroupToBeRevoked unsafe.Pointer, RevokerCertGroup unsafe.Pointer, RevokerVerifyContext unsafe.Pointer, RevokerVerifyResult unsafe.Pointer, Reason CSSM_TP_CERTCHANGE_REASON, NewCrlTemplate unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertRevoke.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertRevoke
func CSSM_TP_CertSign
deprecated
func CSSM_TP_CertSign(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertTemplateToBeSigned unsafe.Pointer, SignerCertGroup unsafe.Pointer, SignerVerifyContext unsafe.Pointer, SignerVerifyResult unsafe.Pointer, SignedCert unsafe.Pointer) CSSM_RETURN
CSSM_TP_CertSign.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CertSign
func CSSM_TP_ConfirmCredResult
deprecated
func CSSM_TP_ConfirmCredResult(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, CallerAuthCredentials unsafe.Pointer, Responses unsafe.Pointer, PreferredAuthority unsafe.Pointer) CSSM_RETURN
CSSM_TP_ConfirmCredResult.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_ConfirmCredResult
func CSSM_TP_CrlCreateTemplate
deprecated
func CSSM_TP_CrlCreateTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlFields unsafe.Pointer, NewCrlTemplate unsafe.Pointer) CSSM_RETURN
CSSM_TP_CrlCreateTemplate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CrlCreateTemplate
func CSSM_TP_CrlSign
deprecated
func CSSM_TP_CrlSign(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CrlToBeSigned unsafe.Pointer, SignerCertGroup unsafe.Pointer, SignerVerifyContext unsafe.Pointer, SignerVerifyResult unsafe.Pointer, SignedCrl unsafe.Pointer) CSSM_RETURN
CSSM_TP_CrlSign.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CrlSign
func CSSM_TP_CrlVerify
deprecated
func CSSM_TP_CrlVerify(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, CrlToBeVerified unsafe.Pointer, SignerCertGroup unsafe.Pointer, VerifyContext unsafe.Pointer, RevokerVerifyResult unsafe.Pointer) CSSM_RETURN
CSSM_TP_CrlVerify.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_CrlVerify
func CSSM_TP_FormRequest
deprecated
func CSSM_TP_FormRequest(TPHandle CSSM_TP_HANDLE, PreferredAuthority unsafe.Pointer, FormType CSSM_TP_FORM_TYPE, BlankForm unsafe.Pointer) CSSM_RETURN
CSSM_TP_FormRequest.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_FormRequest
func CSSM_TP_FormSubmit
deprecated
func CSSM_TP_FormSubmit(TPHandle CSSM_TP_HANDLE, FormType CSSM_TP_FORM_TYPE, Form unsafe.Pointer, ClearanceAuthority unsafe.Pointer, RepresentedAuthority unsafe.Pointer, Credentials unsafe.Pointer) CSSM_RETURN
CSSM_TP_FormSubmit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_FormSubmit
func CSSM_TP_PassThrough
deprecated
func CSSM_TP_PassThrough(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, DBList unsafe.Pointer, PassThroughId uint32, InputParams unsafe.Pointer, OutputParams unsafe.Pointer) CSSM_RETURN
CSSM_TP_PassThrough.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_PassThrough
func CSSM_TP_ReceiveConfirmation
deprecated
func CSSM_TP_ReceiveConfirmation(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, Responses unsafe.Pointer, ElapsedTime *int32) CSSM_RETURN
CSSM_TP_ReceiveConfirmation.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_ReceiveConfirmation
func CSSM_TP_RetrieveCredResult
deprecated
func CSSM_TP_RetrieveCredResult(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, CallerAuthCredentials unsafe.Pointer, EstimatedTime *int32, ConfirmationRequired unsafe.Pointer, RetrieveOutput unsafe.Pointer) CSSM_RETURN
CSSM_TP_RetrieveCredResult.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_RetrieveCredResult
func CSSM_TP_SubmitCredRequest
deprecated
func CSSM_TP_SubmitCredRequest(TPHandle CSSM_TP_HANDLE, PreferredAuthority unsafe.Pointer, RequestType CSSM_TP_AUTHORITY_REQUEST_TYPE, RequestInput unsafe.Pointer, CallerAuthContext unsafe.Pointer, EstimatedTime *int32, ReferenceIdentifier unsafe.Pointer) CSSM_RETURN
CSSM_TP_SubmitCredRequest.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_SubmitCredRequest
func CSSM_TP_TupleGroupToCertGroup
deprecated
func CSSM_TP_TupleGroupToCertGroup(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, TupleGroup unsafe.Pointer, CertTemplates unsafe.Pointer) CSSM_RETURN
CSSM_TP_TupleGroupToCertGroup.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_TP_TupleGroupToCertGroup
func CSSM_Terminate
deprecated
func CSSM_Terminate() CSSM_RETURN
CSSM_Terminate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_Terminate
func CSSM_Unintroduce
deprecated
func CSSM_Unintroduce(ModuleID unsafe.Pointer) CSSM_RETURN
CSSM_Unintroduce.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_Unintroduce
func CSSM_UnwrapKey
deprecated
func CSSM_UnwrapKey(CCHandle CSSM_CC_HANDLE, PublicKey unsafe.Pointer, WrappedKey unsafe.Pointer, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, UnwrappedKey unsafe.Pointer, DescriptiveData unsafe.Pointer) CSSM_RETURN
CSSM_UnwrapKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_UnwrapKey
func CSSM_UnwrapKeyP
deprecated
func CSSM_UnwrapKeyP(CCHandle CSSM_CC_HANDLE, PublicKey unsafe.Pointer, WrappedKey unsafe.Pointer, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, UnwrappedKey unsafe.Pointer, DescriptiveData unsafe.Pointer, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_UnwrapKeyP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_UnwrapKeyP
func CSSM_UpdateContextAttributes
deprecated
func CSSM_UpdateContextAttributes(CCHandle CSSM_CC_HANDLE, NumberOfAttributes uint32, ContextAttributes unsafe.Pointer) CSSM_RETURN
CSSM_UpdateContextAttributes.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_UpdateContextAttributes
func CSSM_VerifyData
deprecated
func CSSM_VerifyData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, DigestAlgorithm CSSM_ALGORITHMS, Signature unsafe.Pointer) CSSM_RETURN
CSSM_VerifyData.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyData
func CSSM_VerifyDataFinal
deprecated
func CSSM_VerifyDataFinal(CCHandle CSSM_CC_HANDLE, Signature unsafe.Pointer) CSSM_RETURN
CSSM_VerifyDataFinal.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyDataFinal
func CSSM_VerifyDataInit
deprecated
func CSSM_VerifyDataInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_VerifyDataInit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyDataInit
func CSSM_VerifyDataUpdate
deprecated
func CSSM_VerifyDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURN
CSSM_VerifyDataUpdate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyDataUpdate
func CSSM_VerifyDevice
deprecated
func CSSM_VerifyDevice(CSPHandle CSSM_CSP_HANDLE, DeviceCert unsafe.Pointer) CSSM_RETURN
CSSM_VerifyDevice.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyDevice
func CSSM_VerifyMac
deprecated
func CSSM_VerifyMac(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, Mac unsafe.Pointer) CSSM_RETURN
CSSM_VerifyMac.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyMac
func CSSM_VerifyMacFinal
deprecated
func CSSM_VerifyMacFinal(CCHandle CSSM_CC_HANDLE, Mac unsafe.Pointer) CSSM_RETURN
CSSM_VerifyMacFinal.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyMacFinal
func CSSM_VerifyMacInit
deprecated
func CSSM_VerifyMacInit(CCHandle CSSM_CC_HANDLE) CSSM_RETURN
CSSM_VerifyMacInit.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyMacInit
func CSSM_VerifyMacUpdate
deprecated
func CSSM_VerifyMacUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) CSSM_RETURN
CSSM_VerifyMacUpdate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_VerifyMacUpdate
func CSSM_WrapKey
deprecated
func CSSM_WrapKey(CCHandle CSSM_CC_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, DescriptiveData unsafe.Pointer, WrappedKey unsafe.Pointer) CSSM_RETURN
CSSM_WrapKey.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_WrapKey
func CSSM_WrapKeyP
deprecated
func CSSM_WrapKeyP(CCHandle CSSM_CC_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, DescriptiveData unsafe.Pointer, WrappedKey unsafe.Pointer, Privilege CSSM_PRIVILEGE) CSSM_RETURN
CSSM_WrapKeyP.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/CSSM_WrapKeyP
func MDS_Initialize
deprecated
func MDS_Initialize(pCallerGuid unsafe.Pointer, pMemoryFunctions unsafe.Pointer, pDlFunctions unsafe.Pointer, hMds *MDS_HANDLE) CSSM_RETURN
MDS_Initialize.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/MDS_Initialize
func MDS_Install
deprecated
func MDS_Install(MdsHandle MDS_HANDLE) CSSM_RETURN
MDS_Install.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/MDS_Install
func MDS_Terminate
deprecated
func MDS_Terminate(MdsHandle MDS_HANDLE) CSSM_RETURN
MDS_Terminate.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/MDS_Terminate
func MDS_Uninstall
deprecated
func MDS_Uninstall(MdsHandle MDS_HANDLE) CSSM_RETURN
MDS_Uninstall.
Deprecated: Deprecated since macOS 10.7.
See: https://developer.apple.com/documentation/Security/MDS_Uninstall
type CSSM_SC_FLAGS ¶
type CSSM_SC_FLAGS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_SC_FLAGS
type CSSM_SERVICE_MASK ¶
type CSSM_SERVICE_MASK = uint32
See: https://developer.apple.com/documentation/Security/CSSM_SERVICE_MASK
type CSSM_SIZE ¶
type CSSM_SIZE = uintptr
See: https://developer.apple.com/documentation/Security/CSSM_SIZE
type CSSM_TIMESTRING ¶
type CSSM_TIMESTRING = *byte
See: https://developer.apple.com/documentation/Security/CSSM_TIMESTRING
type CSSM_TP_ACTION ¶
type CSSM_TP_ACTION = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_ACTION
type CSSM_TP_APPLE_CERT_STATUS ¶
type CSSM_TP_APPLE_CERT_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_APPLE_CERT_STATUS
type CSSM_TP_APPLE_EVIDENCE_HEADER ¶
type CSSM_TP_APPLE_EVIDENCE_HEADER struct {
Version uint32
}
CSSM_TP_APPLE_EVIDENCE_HEADER
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_TP_APPLE_EVIDENCE_HEADER
type CSSM_TP_APPLE_EVIDENCE_INFO ¶
type CSSM_TP_APPLE_EVIDENCE_INFO struct {
CrlReason int32
DlDbHandle unsafe.Pointer
Index uint32
NumStatusCodes uint32
StatusBits CSSM_TP_APPLE_CERT_STATUS
StatusCodes unsafe.Pointer
UniqueRecord unsafe.Pointer
}
CSSM_TP_APPLE_EVIDENCE_INFO
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_TP_APPLE_EVIDENCE_INFO
type CSSM_TP_AUTHORITY_REQUEST_TYPE ¶
type CSSM_TP_AUTHORITY_REQUEST_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_AUTHORITY_REQUEST_TYPE
type CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR ¶
type CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR
type CSSM_TP_CERTCHANGE_ACTION ¶
type CSSM_TP_CERTCHANGE_ACTION = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTCHANGE_ACTION
type CSSM_TP_CERTCHANGE_REASON ¶
type CSSM_TP_CERTCHANGE_REASON = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTCHANGE_REASON
type CSSM_TP_CERTCHANGE_STATUS ¶
type CSSM_TP_CERTCHANGE_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTCHANGE_STATUS
type CSSM_TP_CERTISSUE_STATUS ¶
type CSSM_TP_CERTISSUE_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTISSUE_STATUS
type CSSM_TP_CERTNOTARIZE_STATUS ¶
type CSSM_TP_CERTNOTARIZE_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTNOTARIZE_STATUS
type CSSM_TP_CERTRECLAIM_STATUS ¶
type CSSM_TP_CERTRECLAIM_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTRECLAIM_STATUS
type CSSM_TP_CERTVERIFY_STATUS ¶
type CSSM_TP_CERTVERIFY_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTVERIFY_STATUS
type CSSM_TP_CONFIRM_STATUS ¶
type CSSM_TP_CONFIRM_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CONFIRM_STATUS
type CSSM_TP_CONFIRM_STATUS_PTR ¶
type CSSM_TP_CONFIRM_STATUS_PTR = *uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CONFIRM_STATUS_PTR
type CSSM_TP_CRLISSUE_STATUS ¶
type CSSM_TP_CRLISSUE_STATUS = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_CRLISSUE_STATUS
type CSSM_TP_FORM_TYPE ¶
type CSSM_TP_FORM_TYPE = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_FORM_TYPE
type CSSM_TP_SERVICES ¶
type CSSM_TP_SERVICES = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_SERVICES
type CSSM_TP_STOP_ON ¶
type CSSM_TP_STOP_ON = uint32
See: https://developer.apple.com/documentation/Security/CSSM_TP_STOP_ON
type CSSM_TUPLE ¶
type CSSM_TUPLE struct {
AuthorizationTag unsafe.Pointer
Delegate CSSM_BOOL
Issuer unsafe.Pointer
Subject unsafe.Pointer
ValidityPeriod unsafe.Pointer
}
CSSM_TUPLE
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_TUPLE
type CSSM_WORDID_TYPE ¶
type CSSM_WORDID_TYPE = int32
See: https://developer.apple.com/documentation/Security/CSSM_WORDID_TYPE
type CSSM_X509EXT_DATA_FORMAT ¶
type CSSM_X509EXT_DATA_FORMAT = Extension_data_format
See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_DATA_FORMAT
type Cssm ¶
type Cssm int
const ( CSSMERR_AC_INVALID_BASE_ACLS Cssm = -2147405567 CSSMERR_AC_INVALID_ENCODING Cssm = -2147405565 CSSMERR_AC_INVALID_REQUESTOR Cssm = -2147405563 CSSMERR_AC_INVALID_REQUEST_DESCRIPTOR Cssm = -2147405562 CSSMERR_AC_INVALID_TUPLE_CREDENTIALS Cssm = -2147405566 CSSMERR_AC_INVALID_VALIDITY_PERIOD Cssm = -2147405564 CSSMERR_CL_INVALID_BUNDLE_INFO Cssm = -2147411708 CSSMERR_CL_INVALID_BUNDLE_POINTER Cssm = -2147411711 CSSMERR_CL_INVALID_CACHE_HANDLE Cssm = -2147411710 CSSMERR_CL_INVALID_CRL_INDEX Cssm = -2147411707 CSSMERR_CL_INVALID_RESULTS_HANDLE Cssm = -2147411709 CSSMERR_CL_INVALID_SCOPE Cssm = -2147411706 CSSMERR_CL_NO_FIELD_VALUES Cssm = -2147411705 CSSMERR_CL_SCOPE_NOT_SUPPORTED Cssm = -2147411704 CSSMERR_CSP_ALGID_MISMATCH Cssm = -2147415789 CSSMERR_CSP_ALREADY_LOGGED_IN Cssm = -2147415726 CSSMERR_CSP_ATTACH_HANDLE_BUSY Cssm = -2147415802 CSSMERR_CSP_BLOCK_SIZE_MISMATCH Cssm = -2147415731 CSSMERR_CSP_CRYPTO_DATA_CALLBACK_FAILED Cssm = -2147415722 CSSMERR_CSP_DEVICE_ERROR Cssm = -2147415804 CSSMERR_CSP_DEVICE_MEMORY_ERROR Cssm = -2147415803 CSSMERR_CSP_DEVICE_VERIFY_FAILED Cssm = -2147415728 CSSMERR_CSP_INPUT_LENGTH_ERROR Cssm = -2147415807 CSSMERR_CSP_INVALID_ALGORITHM Cssm = -2147415759 CSSMERR_CSP_INVALID_ATTR_ACCESS_CREDENTIALS Cssm = -2147415678 CSSMERR_CSP_INVALID_ATTR_ALG_PARAMS Cssm = -2147415704 CSSMERR_CSP_INVALID_ATTR_BASE Cssm = -2147415686 CSSMERR_CSP_INVALID_ATTR_BLOCK_SIZE Cssm = -2147415738 CSSMERR_CSP_INVALID_ATTR_DL_DB_HANDLE Cssm = -2147415680 CSSMERR_CSP_INVALID_ATTR_EFFECTIVE_BITS Cssm = -2147415696 CSSMERR_CSP_INVALID_ATTR_END_DATE Cssm = -2147415692 CSSMERR_CSP_INVALID_ATTR_INIT_VECTOR Cssm = -2147415752 CSSMERR_CSP_INVALID_ATTR_ITERATION_COUNT Cssm = -2147415682 CSSMERR_CSP_INVALID_ATTR_KEY Cssm = -2147415754 CSSMERR_CSP_INVALID_ATTR_KEY_LENGTH Cssm = -2147415740 CSSMERR_CSP_INVALID_ATTR_KEY_TYPE Cssm = -2147415700 CSSMERR_CSP_INVALID_ATTR_LABEL Cssm = -2147415702 CSSMERR_CSP_INVALID_ATTR_MODE Cssm = -2147415698 CSSMERR_CSP_INVALID_ATTR_OUTPUT_SIZE Cssm = -2147415708 CSSMERR_CSP_INVALID_ATTR_PADDING Cssm = -2147415748 CSSMERR_CSP_INVALID_ATTR_PASSPHRASE Cssm = -2147415742 CSSMERR_CSP_INVALID_ATTR_PRIME Cssm = -2147415688 CSSMERR_CSP_INVALID_ATTR_PRIVATE_KEY_FORMAT Cssm = -2147415674 CSSMERR_CSP_INVALID_ATTR_PUBLIC_KEY_FORMAT Cssm = -2147415676 CSSMERR_CSP_INVALID_ATTR_RANDOM Cssm = -2147415746 CSSMERR_CSP_INVALID_ATTR_ROUNDS Cssm = -2147415706 CSSMERR_CSP_INVALID_ATTR_SALT Cssm = -2147415750 CSSMERR_CSP_INVALID_ATTR_SEED Cssm = -2147415744 CSSMERR_CSP_INVALID_ATTR_START_DATE Cssm = -2147415694 CSSMERR_CSP_INVALID_ATTR_SUBPRIME Cssm = -2147415684 CSSMERR_CSP_INVALID_ATTR_SYMMETRIC_KEY_FORMAT Cssm = -2147415672 CSSMERR_CSP_INVALID_ATTR_VERSION Cssm = -2147415690 CSSMERR_CSP_INVALID_ATTR_WRAPPED_KEY_FORMAT Cssm = -2147415670 CSSMERR_CSP_INVALID_CONTEXT Cssm = -2147415760 CSSMERR_CSP_INVALID_DATA_COUNT Cssm = -2147415768 CSSMERR_CSP_INVALID_DIGEST_ALGORITHM Cssm = -2147415723 CSSMERR_CSP_INVALID_INPUT_VECTOR Cssm = -2147415766 CSSMERR_CSP_INVALID_KEY Cssm = -2147415792 CSSMERR_CSP_INVALID_KEYATTR_MASK Cssm = -2147415780 CSSMERR_CSP_INVALID_KEYUSAGE_MASK Cssm = -2147415782 CSSMERR_CSP_INVALID_KEY_CLASS Cssm = -2147415790 CSSMERR_CSP_INVALID_KEY_FORMAT Cssm = -2147415776 CSSMERR_CSP_INVALID_KEY_LABEL Cssm = -2147415778 CSSMERR_CSP_INVALID_KEY_POINTER Cssm = -2147415783 CSSMERR_CSP_INVALID_KEY_REFERENCE Cssm = -2147415791 CSSMERR_CSP_INVALID_LOGIN_NAME Cssm = -2147415727 CSSMERR_CSP_INVALID_OUTPUT_VECTOR Cssm = -2147415765 CSSMERR_CSP_INVALID_SIGNATURE Cssm = -2147415733 CSSMERR_CSP_KEY_BLOB_TYPE_INCORRECT Cssm = -2147415787 CSSMERR_CSP_KEY_HEADER_INCONSISTENT Cssm = -2147415786 CSSMERR_CSP_KEY_LABEL_ALREADY_EXISTS Cssm = -2147415724 CSSMERR_CSP_KEY_USAGE_INCORRECT Cssm = -2147415788 CSSMERR_CSP_MISSING_ATTR_ACCESS_CREDENTIALS Cssm = -2147415677 CSSMERR_CSP_MISSING_ATTR_ALG_PARAMS Cssm = -2147415703 CSSMERR_CSP_MISSING_ATTR_BASE Cssm = -2147415685 CSSMERR_CSP_MISSING_ATTR_BLOCK_SIZE Cssm = -2147415737 CSSMERR_CSP_MISSING_ATTR_DL_DB_HANDLE Cssm = -2147415679 CSSMERR_CSP_MISSING_ATTR_EFFECTIVE_BITS Cssm = -2147415695 CSSMERR_CSP_MISSING_ATTR_END_DATE Cssm = -2147415691 CSSMERR_CSP_MISSING_ATTR_INIT_VECTOR Cssm = -2147415751 CSSMERR_CSP_MISSING_ATTR_ITERATION_COUNT Cssm = -2147415681 CSSMERR_CSP_MISSING_ATTR_KEY Cssm = -2147415753 CSSMERR_CSP_MISSING_ATTR_KEY_LENGTH Cssm = -2147415739 CSSMERR_CSP_MISSING_ATTR_KEY_TYPE Cssm = -2147415699 CSSMERR_CSP_MISSING_ATTR_LABEL Cssm = -2147415701 CSSMERR_CSP_MISSING_ATTR_MODE Cssm = -2147415697 CSSMERR_CSP_MISSING_ATTR_OUTPUT_SIZE Cssm = -2147415707 CSSMERR_CSP_MISSING_ATTR_PADDING Cssm = -2147415747 CSSMERR_CSP_MISSING_ATTR_PASSPHRASE Cssm = -2147415741 CSSMERR_CSP_MISSING_ATTR_PRIME Cssm = -2147415687 CSSMERR_CSP_MISSING_ATTR_PRIVATE_KEY_FORMAT Cssm = -2147415673 CSSMERR_CSP_MISSING_ATTR_PUBLIC_KEY_FORMAT Cssm = -2147415675 CSSMERR_CSP_MISSING_ATTR_RANDOM Cssm = -2147415745 CSSMERR_CSP_MISSING_ATTR_ROUNDS Cssm = -2147415705 CSSMERR_CSP_MISSING_ATTR_SALT Cssm = -2147415749 CSSMERR_CSP_MISSING_ATTR_SEED Cssm = -2147415743 CSSMERR_CSP_MISSING_ATTR_START_DATE Cssm = -2147415693 CSSMERR_CSP_MISSING_ATTR_SUBPRIME Cssm = -2147415683 CSSMERR_CSP_MISSING_ATTR_SYMMETRIC_KEY_FORMAT Cssm = -2147415671 CSSMERR_CSP_MISSING_ATTR_VERSION Cssm = -2147415689 CSSMERR_CSP_MISSING_ATTR_WRAPPED_KEY_FORMAT Cssm = -2147415669 CSSMERR_CSP_NOT_LOGGED_IN Cssm = -2147415801 CSSMERR_CSP_OUTPUT_LENGTH_ERROR Cssm = -2147415806 CSSMERR_CSP_PRIVATE_KEY_ALREADY_EXISTS Cssm = -2147415725 CSSMERR_CSP_PRIVATE_KEY_NOT_FOUND Cssm = -2147415730 CSSMERR_CSP_PRIVILEGE_NOT_SUPPORTED Cssm = -2147415805 CSSMERR_CSP_PUBLIC_KEY_INCONSISTENT Cssm = -2147415729 CSSMERR_CSP_QUERY_SIZE_UNKNOWN Cssm = -2147415732 CSSMERR_CSP_STAGED_OPERATION_IN_PROGRESS Cssm = -2147415736 CSSMERR_CSP_STAGED_OPERATION_NOT_STARTED Cssm = -2147415735 CSSMERR_CSP_UNSUPPORTED_KEYATTR_MASK Cssm = -2147415779 CSSMERR_CSP_UNSUPPORTED_KEYUSAGE_MASK Cssm = -2147415781 CSSMERR_CSP_UNSUPPORTED_KEY_FORMAT Cssm = -2147415785 CSSMERR_CSP_UNSUPPORTED_KEY_LABEL Cssm = -2147415777 CSSMERR_CSP_UNSUPPORTED_KEY_SIZE Cssm = -2147415784 CSSMERR_CSP_VECTOR_OF_BUFS_UNSUPPORTED Cssm = -2147415767 CSSMERR_CSP_VERIFY_FAILED Cssm = -2147415734 CSSMERR_CSSM_ADDIN_AUTHENTICATE_FAILED Cssm = -2147417828 CSSMERR_CSSM_ADDIN_LOAD_FAILED Cssm = -2147417834 CSSMERR_CSSM_ADDIN_UNLOAD_FAILED Cssm = -2147417832 CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT Cssm = -2147417822 CSSMERR_CSSM_BUFFER_TOO_SMALL Cssm = -2147417824 CSSMERR_CSSM_EMM_AUTHENTICATE_FAILED Cssm = -2147417829 CSSMERR_CSSM_EMM_LOAD_FAILED Cssm = -2147417836 CSSMERR_CSSM_EMM_UNLOAD_FAILED Cssm = -2147417835 CSSMERR_CSSM_EVENT_NOTIFICATION_CALLBACK_NOT_FOUND Cssm = -2147417819 CSSMERR_CSSM_INVALID_ADDIN_FUNCTION_TABLE Cssm = -2147417830 CSSMERR_CSSM_INVALID_ATTRIBUTE Cssm = -2147417823 CSSMERR_CSSM_INVALID_KEY_HIERARCHY Cssm = -2147417833 CSSMERR_CSSM_INVALID_PVC Cssm = -2147417837 CSSMERR_CSSM_INVALID_SERVICE_MASK Cssm = -2147417827 CSSMERR_CSSM_INVALID_SUBSERVICEID Cssm = -2147417825 CSSMERR_CSSM_LIB_REF_NOT_FOUND Cssm = -2147417831 CSSMERR_CSSM_MODULE_MANAGER_INITIALIZE_FAIL Cssm = -2147417821 CSSMERR_CSSM_MODULE_MANAGER_NOT_FOUND Cssm = -2147417820 CSSMERR_CSSM_MODULE_NOT_LOADED Cssm = -2147417826 CSSMERR_CSSM_PVC_ALREADY_CONFIGURED Cssm = -2147417838 CSSMERR_CSSM_SCOPE_NOT_SUPPORTED Cssm = -2147417839 CSSMERR_DL_DATABASE_CORRUPT Cssm = -2147413759 CSSMERR_DL_DATASTORE_ALREADY_EXISTS Cssm = -2147413736 CSSMERR_DL_DATASTORE_DOESNOT_EXIST Cssm = -2147413737 CSSMERR_DL_DATASTORE_IS_OPEN Cssm = -2147413734 CSSMERR_DL_DB_LOCKED Cssm = -2147413735 CSSMERR_DL_ENDOFDATA Cssm = -2147413715 CSSMERR_DL_FIELD_SPECIFIED_MULTIPLE Cssm = -2147413742 CSSMERR_DL_INCOMPATIBLE_FIELD_FORMAT Cssm = -2147413741 CSSMERR_DL_INVALID_ACCESS_REQUEST Cssm = -2147413724 CSSMERR_DL_INVALID_DB_LOCATION Cssm = -2147413725 CSSMERR_DL_INVALID_DB_NAME Cssm = -2147413738 CSSMERR_DL_INVALID_FIELD_NAME Cssm = -2147413750 CSSMERR_DL_INVALID_INDEX_INFO Cssm = -2147413723 CSSMERR_DL_INVALID_MODIFY_MODE Cssm = -2147413718 CSSMERR_DL_INVALID_NEW_OWNER Cssm = -2147413721 CSSMERR_DL_INVALID_OPEN_PARAMETERS Cssm = -2147413717 CSSMERR_DL_INVALID_PARSING_MODULE Cssm = -2147413740 CSSMERR_DL_INVALID_QUERY Cssm = -2147413714 CSSMERR_DL_INVALID_RECORDTYPE Cssm = -2147413751 CSSMERR_DL_INVALID_RECORD_INDEX Cssm = -2147413752 CSSMERR_DL_INVALID_RECORD_UID Cssm = -2147413720 CSSMERR_DL_INVALID_RESULTS_HANDLE Cssm = -2147413726 CSSMERR_DL_INVALID_SELECTION_TAG Cssm = -2147413722 CSSMERR_DL_INVALID_UNIQUE_INDEX_DATA Cssm = -2147413719 CSSMERR_DL_INVALID_VALUE Cssm = -2147413713 CSSMERR_DL_MISSING_VALUE Cssm = -2147413732 CSSMERR_DL_MULTIPLE_VALUES_UNSUPPORTED Cssm = -2147413712 CSSMERR_DL_RECORD_MODIFIED Cssm = -2147413716 CSSMERR_DL_RECORD_NOT_FOUND Cssm = -2147413733 CSSMERR_DL_STALE_UNIQUE_RECORD Cssm = -2147413711 CSSMERR_DL_UNSUPPORTED_FIELD_FORMAT Cssm = -2147413749 CSSMERR_DL_UNSUPPORTED_INDEX_INFO Cssm = -2147413748 CSSMERR_DL_UNSUPPORTED_LOCALITY Cssm = -2147413747 CSSMERR_DL_UNSUPPORTED_NUM_ATTRIBUTES Cssm = -2147413746 CSSMERR_DL_UNSUPPORTED_NUM_INDEXES Cssm = -2147413745 CSSMERR_DL_UNSUPPORTED_NUM_RECORDTYPES Cssm = -2147413744 CSSMERR_DL_UNSUPPORTED_NUM_SELECTION_PREDS Cssm = -2147413729 CSSMERR_DL_UNSUPPORTED_OPERATOR Cssm = -2147413727 CSSMERR_DL_UNSUPPORTED_QUERY Cssm = -2147413731 CSSMERR_DL_UNSUPPORTED_QUERY_LIMITS Cssm = -2147413730 CSSMERR_DL_UNSUPPORTED_RECORDTYPE Cssm = -2147413743 CSSMERR_TP_AUTHENTICATION_FAILED Cssm = -2147409657 CSSMERR_TP_CERTGROUP_INCOMPLETE Cssm = -2147409656 CSSMERR_TP_CERTIFICATE_CANT_OPERATE Cssm = -2147409655 CSSMERR_TP_CERT_EXPIRED Cssm = -2147409654 CSSMERR_TP_CERT_NOT_VALID_YET Cssm = -2147409653 CSSMERR_TP_CERT_REVOKED Cssm = -2147409652 CSSMERR_TP_CERT_SUSPENDED Cssm = -2147409651 CSSMERR_TP_INSUFFICIENT_CREDENTIALS Cssm = -2147409650 CSSMERR_TP_INVALID_ACTION Cssm = -2147409649 CSSMERR_TP_INVALID_ACTION_DATA Cssm = -2147409648 CSSMERR_TP_INVALID_ANCHOR_CERT Cssm = -2147409646 CSSMERR_TP_INVALID_AUTHORITY Cssm = -2147409645 CSSMERR_TP_INVALID_CALLBACK Cssm = -2147409625 CSSMERR_TP_INVALID_CALLERAUTH_CONTEXT_POINTER Cssm = -2147409663 CSSMERR_TP_INVALID_CERTGROUP Cssm = -2147409660 CSSMERR_TP_INVALID_CERTIFICATE Cssm = -2147409643 CSSMERR_TP_INVALID_CERT_AUTHORITY Cssm = -2147409642 CSSMERR_TP_INVALID_CRL Cssm = -2147409638 CSSMERR_TP_INVALID_CRLGROUP Cssm = -2147409659 CSSMERR_TP_INVALID_CRLGROUP_POINTER Cssm = -2147409658 CSSMERR_TP_INVALID_CRL_AUTHORITY Cssm = -2147409641 CSSMERR_TP_INVALID_CRL_ENCODING Cssm = -2147409640 CSSMERR_TP_INVALID_CRL_TYPE Cssm = -2147409639 CSSMERR_TP_INVALID_FORM_TYPE Cssm = -2147409637 CSSMERR_TP_INVALID_ID Cssm = -2147409636 CSSMERR_TP_INVALID_IDENTIFIER Cssm = -2147409635 CSSMERR_TP_INVALID_IDENTIFIER_POINTER Cssm = -2147409662 CSSMERR_TP_INVALID_INDEX Cssm = -2147409634 CSSMERR_TP_INVALID_KEYCACHE_HANDLE Cssm = -2147409661 CSSMERR_TP_INVALID_NAME Cssm = -2147409633 CSSMERR_TP_INVALID_POLICY_IDENTIFIERS Cssm = -2147409632 CSSMERR_TP_INVALID_REASON Cssm = -2147409630 CSSMERR_TP_INVALID_REQUEST_INPUTS Cssm = -2147409629 CSSMERR_TP_INVALID_RESPONSE_VECTOR Cssm = -2147409628 CSSMERR_TP_INVALID_SIGNATURE Cssm = -2147409627 CSSMERR_TP_INVALID_STOP_ON_POLICY Cssm = -2147409626 CSSMERR_TP_INVALID_TIMESTRING Cssm = -2147409631 CSSMERR_TP_INVALID_TUPLE Cssm = -2147409624 CSSMERR_TP_INVALID_TUPLEGROUP Cssm = -2147409614 CSSMERR_TP_INVALID_TUPLEGROUP_POINTER Cssm = -2147409615 CSSMERR_TP_NOT_SIGNER Cssm = -2147409623 CSSMERR_TP_NOT_TRUSTED Cssm = -2147409622 CSSMERR_TP_NO_DEFAULT_AUTHORITY Cssm = -2147409621 CSSMERR_TP_REJECTED_FORM Cssm = -2147409620 CSSMERR_TP_REQUEST_LOST Cssm = -2147409619 CSSMERR_TP_REQUEST_REJECTED Cssm = -2147409618 CSSMERR_TP_UNSUPPORTED_ADDR_TYPE Cssm = -2147409617 CSSMERR_TP_UNSUPPORTED_SERVICE Cssm = -2147409616 CSSMERR_TP_VERIFY_ACTION_FAILED Cssm = -2147409644 CSSM_AC_BASE_AC_ERROR Cssm = 0 CSSM_AC_BASE_ERROR Cssm = -2147418112 CSSM_AC_PRIVATE_ERROR Cssm = -2147418112 CSSM_BASE_ERROR Cssm = -2147418112 CSSM_CL_BASE_CL_ERROR Cssm = 0 CSSM_CL_BASE_ERROR Cssm = -2147418112 CSSM_CL_PRIVATE_ERROR Cssm = -2147418112 CSSM_CSP_BASE_CSP_ERROR Cssm = 0 CSSM_CSP_BASE_ERROR Cssm = -2147418112 CSSM_CSP_PRIVATE_ERROR Cssm = -2147418112 CSSM_CSSM_BASE_CSSM_ERROR Cssm = 0 CSSM_CSSM_BASE_ERROR Cssm = -2147418112 CSSM_CSSM_PRIVATE_ERROR Cssm = -2147418112 CSSM_CUSTOM_COMMON_ERROR_EXTENT Cssm = 224 CSSM_DL_BASE_DL_ERROR Cssm = 0 CSSM_DL_BASE_ERROR Cssm = -2147418112 CSSM_DL_PRIVATE_ERROR Cssm = -2147418112 CSSM_ERRCODE_DEVICE_FAILED Cssm = 229 CSSM_ERRCODE_DEVICE_RESET Cssm = 228 CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION Cssm = 227 CSSM_ERRCODE_IN_DARK_WAKE Cssm = 230 CSSM_ERRCODE_NO_USER_INTERACTION Cssm = 224 CSSM_ERRCODE_SERVICE_NOT_AVAILABLE Cssm = 226 CSSM_ERRCODE_USER_CANCELED Cssm = 225 CSSM_ERRORCODE_COMMON_EXTENT Cssm = 256 CSSM_ERRORCODE_CUSTOM_OFFSET Cssm = 1024 CSSM_ERRORCODE_MODULE_EXTENT Cssm = 2048 CSSM_FALSE Cssm = 0 CSSM_KR_BASE_ERROR Cssm = -2147418112 CSSM_KR_PRIVATE_ERROR Cssm = -2147418112 CSSM_TP_BASE_ERROR Cssm = -2147418112 CSSM_TP_BASE_TP_ERROR Cssm = 0 CSSM_TP_PRIVATE_ERROR Cssm = -2147418112 CSSM_TRUE Cssm = 0 )
type CssmAclAuthorization ¶
type CssmAclAuthorization uint
const ( CSSM_ACL_AUTHORIZATION_ANY CssmAclAuthorization = 1 CSSM_ACL_AUTHORIZATION_CHANGE_ACL CssmAclAuthorization = 65536 CSSM_ACL_AUTHORIZATION_CHANGE_OWNER CssmAclAuthorization = 65537 CSSM_ACL_AUTHORIZATION_DBS_CREATE CssmAclAuthorization = 22 CSSM_ACL_AUTHORIZATION_DBS_DELETE CssmAclAuthorization = 23 CSSM_ACL_AUTHORIZATION_DB_DELETE CssmAclAuthorization = 0 CSSM_ACL_AUTHORIZATION_DB_INSERT CssmAclAuthorization = 19 CSSM_ACL_AUTHORIZATION_DB_MODIFY CssmAclAuthorization = 20 CSSM_ACL_AUTHORIZATION_DB_READ CssmAclAuthorization = 21 CSSM_ACL_AUTHORIZATION_DECRYPT CssmAclAuthorization = 24 CSSM_ACL_AUTHORIZATION_DELETE CssmAclAuthorization = 25 CSSM_ACL_AUTHORIZATION_DERIVE CssmAclAuthorization = 28 CSSM_ACL_AUTHORIZATION_ENCRYPT CssmAclAuthorization = 35 CSSM_ACL_AUTHORIZATION_EXPORT_CLEAR CssmAclAuthorization = 37 CSSM_ACL_AUTHORIZATION_EXPORT_WRAPPED CssmAclAuthorization = 38 CSSM_ACL_AUTHORIZATION_GENKEY CssmAclAuthorization = 41 CSSM_ACL_AUTHORIZATION_IMPORT_CLEAR CssmAclAuthorization = 47 CSSM_ACL_AUTHORIZATION_IMPORT_WRAPPED CssmAclAuthorization = 48 CSSM_ACL_AUTHORIZATION_INTEGRITY CssmAclAuthorization = 65539 CSSM_ACL_AUTHORIZATION_LOGIN CssmAclAuthorization = 57 CSSM_ACL_AUTHORIZATION_MAC CssmAclAuthorization = 59 CSSM_ACL_AUTHORIZATION_PARTITION_ID CssmAclAuthorization = 65538 CSSM_ACL_AUTHORIZATION_PREAUTH_BASE CssmAclAuthorization = 0 CSSM_ACL_AUTHORIZATION_PREAUTH_END CssmAclAuthorization = 0 CSSM_ACL_AUTHORIZATION_SIGN CssmAclAuthorization = 115 CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START CssmAclAuthorization = 65536 )
func (CssmAclAuthorization) String ¶
func (e CssmAclAuthorization) String() string
type CssmAclCodeSignature ¶
type CssmAclCodeSignature uint
const ( CSSM_ACL_CODE_SIGNATURE_INVALID CssmAclCodeSignature = 0 CSSM_ACL_CODE_SIGNATURE_OSX CssmAclCodeSignature = 1 )
func (CssmAclCodeSignature) String ¶
func (e CssmAclCodeSignature) String() string
type CssmAclEditMode ¶
type CssmAclEditMode uint
const ( CSSM_ACL_EDIT_MODE_ADD CssmAclEditMode = 1 CSSM_ACL_EDIT_MODE_DELETE CssmAclEditMode = 2 CSSM_ACL_EDIT_MODE_REPLACE CssmAclEditMode = 3 )
func (CssmAclEditMode) String ¶
func (e CssmAclEditMode) String() string
type CssmAclKeychainPrompt ¶
type CssmAclKeychainPrompt uint
const ( CSSM_ACL_KEYCHAIN_PROMPT_INVALID CssmAclKeychainPrompt = 64 CSSM_ACL_KEYCHAIN_PROMPT_INVALID_ACT CssmAclKeychainPrompt = 128 CSSM_ACL_KEYCHAIN_PROMPT_REQUIRE_PASSPHRASE CssmAclKeychainPrompt = 1 CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED CssmAclKeychainPrompt = 16 CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED_ACT CssmAclKeychainPrompt = 32 )
func (CssmAclKeychainPrompt) String ¶
func (e CssmAclKeychainPrompt) String() string
type CssmAclKeychainPromptCurrentVersion ¶
type CssmAclKeychainPromptCurrentVersion uint
const (
CSSM_ACL_KEYCHAIN_PROMPT_CURRENT_VERSION CssmAclKeychainPromptCurrentVersion = 257
)
func (CssmAclKeychainPromptCurrentVersion) String ¶
func (e CssmAclKeychainPromptCurrentVersion) String() string
type CssmAclMatch ¶
type CssmAclMatch uint
const ( CSSM_ACL_MATCH_BITS CssmAclMatch = 1 CSSM_ACL_MATCH_GID CssmAclMatch = 2 CSSM_ACL_MATCH_HONOR_ROOT CssmAclMatch = 256 CSSM_ACL_MATCH_UID CssmAclMatch = 1 )
func (CssmAclMatch) String ¶
func (e CssmAclMatch) String() string
type CssmAclPreauthTracking ¶
type CssmAclPreauthTracking uint
const ( CSSM_ACL_PREAUTH_TRACKING_AUTHORIZED CssmAclPreauthTracking = 2147483648 CSSM_ACL_PREAUTH_TRACKING_BLOCKED CssmAclPreauthTracking = 0 CSSM_ACL_PREAUTH_TRACKING_COUNT_MASK CssmAclPreauthTracking = 255 CSSM_ACL_PREAUTH_TRACKING_UNKNOWN CssmAclPreauthTracking = 1073741824 )
func (CssmAclPreauthTracking) String ¶
func (e CssmAclPreauthTracking) String() string
type CssmAclProcessSelectorCurrentVersion ¶
type CssmAclProcessSelectorCurrentVersion uint
const (
CSSM_ACL_PROCESS_SELECTOR_CURRENT_VERSION CssmAclProcessSelectorCurrentVersion = 257
)
func (CssmAclProcessSelectorCurrentVersion) String ¶
func (e CssmAclProcessSelectorCurrentVersion) String() string
type CssmAclSubjectType ¶
type CssmAclSubjectType uint
const ( CSSM_ACL_SUBJECT_TYPE_ANY CssmAclSubjectType = 1 CSSM_ACL_SUBJECT_TYPE_ASYMMETRIC_KEY CssmAclSubjectType = 65547 CSSM_ACL_SUBJECT_TYPE_BIOMETRIC CssmAclSubjectType = 8 CSSM_ACL_SUBJECT_TYPE_CODE_SIGNATURE CssmAclSubjectType = 116 CSSM_ACL_SUBJECT_TYPE_COMMENT CssmAclSubjectType = 12 CSSM_ACL_SUBJECT_TYPE_EXT_PAM_NAME CssmAclSubjectType = 0 CSSM_ACL_SUBJECT_TYPE_HASHED_SUBJECT CssmAclSubjectType = 44 CSSM_ACL_SUBJECT_TYPE_KEYCHAIN_PROMPT CssmAclSubjectType = 65536 CSSM_ACL_SUBJECT_TYPE_LOGIN_NAME CssmAclSubjectType = 58 CSSM_ACL_SUBJECT_TYPE_PARTITION CssmAclSubjectType = 65548 CSSM_ACL_SUBJECT_TYPE_PASSWORD CssmAclSubjectType = 79 CSSM_ACL_SUBJECT_TYPE_PREAUTH CssmAclSubjectType = 65545 CSSM_ACL_SUBJECT_TYPE_PREAUTH_SOURCE CssmAclSubjectType = 65546 CSSM_ACL_SUBJECT_TYPE_PROCESS CssmAclSubjectType = 65539 CSSM_ACL_SUBJECT_TYPE_PROMPTED_BIOMETRIC CssmAclSubjectType = 83 CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD CssmAclSubjectType = 84 CSSM_ACL_SUBJECT_TYPE_PROTECTED_BIOMETRIC CssmAclSubjectType = 86 CSSM_ACL_SUBJECT_TYPE_PROTECTED_PASSWORD CssmAclSubjectType = 87 CSSM_ACL_SUBJECT_TYPE_PUBLIC_KEY CssmAclSubjectType = 89 CSSM_ACL_SUBJECT_TYPE_SYMMETRIC_KEY CssmAclSubjectType = 65541 CSSM_ACL_SUBJECT_TYPE_THRESHOLD CssmAclSubjectType = 123 )
func (CssmAclSubjectType) String ¶
func (e CssmAclSubjectType) String() string
type CssmAlgclass ¶
type CssmAlgclass uint
const ( CSSM_ALGCLASS_ASYMMETRIC CssmAlgclass = 0 CSSM_ALGCLASS_CUSTOM CssmAlgclass = 0 CSSM_ALGCLASS_DERIVEKEY CssmAlgclass = 0 CSSM_ALGCLASS_DIGEST CssmAlgclass = 0 CSSM_ALGCLASS_KEYGEN CssmAlgclass = 0 CSSM_ALGCLASS_MAC CssmAlgclass = 0 CSSM_ALGCLASS_NONE CssmAlgclass = 0 CSSM_ALGCLASS_RANDOMGEN CssmAlgclass = 0 CSSM_ALGCLASS_SIGNATURE CssmAlgclass = 0 CSSM_ALGCLASS_SYMMETRIC CssmAlgclass = 0 CSSM_ALGCLASS_UNIQUEGEN CssmAlgclass = 0 )
func (CssmAlgclass) String ¶
func (e CssmAlgclass) String() string
type CssmAlgid ¶
type CssmAlgid uint
const ( CSSM_ALGID_3DES CssmAlgid = 0 CSSM_ALGID_3DES_1KEY CssmAlgid = 0 CSSM_ALGID_3DES_1KEY_EEE CssmAlgid = 0 CSSM_ALGID_3DES_2KEY CssmAlgid = 0 CSSM_ALGID_3DES_2KEY_EDE CssmAlgid = 0 CSSM_ALGID_3DES_2KEY_EEE CssmAlgid = 0 CSSM_ALGID_3DES_3KEY CssmAlgid = 0 CSSM_ALGID_3DES_3KEY_EDE CssmAlgid = 0 CSSM_ALGID_3DES_3KEY_EEE CssmAlgid = 0 CSSM_ALGID_AES CssmAlgid = 1 CSSM_ALGID_APPLE_YARROW CssmAlgid = 0 CSSM_ALGID_ASC CssmAlgid = 7 CSSM_ALGID_BATON CssmAlgid = 0 CSSM_ALGID_BLOWFISH CssmAlgid = 0 CSSM_ALGID_CAST CssmAlgid = 0 CSSM_ALGID_CAST3 CssmAlgid = 0 CSSM_ALGID_CAST5 CssmAlgid = 0 CSSM_ALGID_CDMF CssmAlgid = 0 CSSM_ALGID_CRAB CssmAlgid = 0 CSSM_ALGID_CUSTOM CssmAlgid = 0 CSSM_ALGID_ConcatBaseAndData CssmAlgid = 0 CSSM_ALGID_ConcatBaseAndKey CssmAlgid = 0 CSSM_ALGID_ConcatDataAndBase CssmAlgid = 0 CSSM_ALGID_ConcatKeyAndBase CssmAlgid = 0 CSSM_ALGID_DES CssmAlgid = 0 CSSM_ALGID_DESRandom CssmAlgid = 0 CSSM_ALGID_DESX CssmAlgid = 0 CSSM_ALGID_DH CssmAlgid = 0 CSSM_ALGID_DSA CssmAlgid = 0 CSSM_ALGID_DSA_BSAFE CssmAlgid = 0 CSSM_ALGID_ECAES CssmAlgid = 0 CSSM_ALGID_ECC CssmAlgid = 0 CSSM_ALGID_ECDH CssmAlgid = 0 CSSM_ALGID_ECDH_X963_KDF CssmAlgid = 29 CSSM_ALGID_ECDSA CssmAlgid = 0 CSSM_ALGID_ECDSA_SPECIFIED CssmAlgid = 28 CSSM_ALGID_ECES CssmAlgid = 0 CSSM_ALGID_ECMQV CssmAlgid = 0 CSSM_ALGID_ECNRA CssmAlgid = 0 CSSM_ALGID_ENTROPY_DEFAULT CssmAlgid = 17 CSSM_ALGID_ElGamal CssmAlgid = 0 CSSM_ALGID_ExtractFromKey CssmAlgid = 0 CSSM_ALGID_FASTHASH CssmAlgid = 0 CSSM_ALGID_FEAL CssmAlgid = 0 CSSM_ALGID_FEE CssmAlgid = 2 CSSM_ALGID_FEED CssmAlgid = 5 CSSM_ALGID_FEEDEXP CssmAlgid = 6 CSSM_ALGID_FEE_MD5 CssmAlgid = 3 CSSM_ALGID_FEE_SHA1 CssmAlgid = 4 CSSM_ALGID_FIPS186Random CssmAlgid = 0 CSSM_ALGID_FortezzaTimestamp CssmAlgid = 0 CSSM_ALGID_GOST CssmAlgid = 0 CSSM_ALGID_GenericSecret CssmAlgid = 0 CSSM_ALGID_HAVAL CssmAlgid = 0 CSSM_ALGID_HAVAL3 CssmAlgid = 0 CSSM_ALGID_HAVAL4 CssmAlgid = 0 CSSM_ALGID_HAVAL5 CssmAlgid = 0 CSSM_ALGID_IBCHASH CssmAlgid = 0 CSSM_ALGID_IDEA CssmAlgid = 0 CSSM_ALGID_IntelPlatformRandom CssmAlgid = 0 CSSM_ALGID_JUNIPER CssmAlgid = 0 CSSM_ALGID_KEA CssmAlgid = 0 CSSM_ALGID_KEYCHAIN_KEY CssmAlgid = 9 CSSM_ALGID_KHAFRE CssmAlgid = 0 CSSM_ALGID_KHUFU CssmAlgid = 0 CSSM_ALGID_LAST CssmAlgid = 0 CSSM_ALGID_LOKI CssmAlgid = 0 CSSM_ALGID_LUCIFER CssmAlgid = 0 CSSM_ALGID_MADRYGA CssmAlgid = 0 CSSM_ALGID_MAYFLY CssmAlgid = 0 CSSM_ALGID_MD2 CssmAlgid = 0 CSSM_ALGID_MD2Random CssmAlgid = 0 CSSM_ALGID_MD2WithRSA CssmAlgid = 0 CSSM_ALGID_MD4 CssmAlgid = 0 CSSM_ALGID_MD5 CssmAlgid = 0 CSSM_ALGID_MD5HMAC CssmAlgid = 0 CSSM_ALGID_MD5Random CssmAlgid = 0 CSSM_ALGID_MD5WithRSA CssmAlgid = 0 CSSM_ALGID_MMB CssmAlgid = 0 CSSM_ALGID_MQV CssmAlgid = 0 CSSM_ALGID_NHASH CssmAlgid = 0 CSSM_ALGID_NONE CssmAlgid = 0 CSSM_ALGID_NRA CssmAlgid = 0 CSSM_ALGID_OPENSSH1 CssmAlgid = 23 CSSM_ALGID_PBE_OPENSSL_MD5 CssmAlgid = 13 CSSM_ALGID_PH CssmAlgid = 0 CSSM_ALGID_PKCS12_PBE_ENCR CssmAlgid = 10 CSSM_ALGID_PKCS12_PBE_MAC CssmAlgid = 11 CSSM_ALGID_PKCS12_SHA1_PBE CssmAlgid = 0 CSSM_ALGID_PKCS5_PBKDF1_MD2 CssmAlgid = 0 CSSM_ALGID_PKCS5_PBKDF1_MD5 CssmAlgid = 0 CSSM_ALGID_PKCS5_PBKDF1_SHA1 CssmAlgid = 0 CSSM_ALGID_PKCS5_PBKDF2 CssmAlgid = 0 CSSM_ALGID_RC2 CssmAlgid = 0 CSSM_ALGID_RC4 CssmAlgid = 0 CSSM_ALGID_RC5 CssmAlgid = 0 CSSM_ALGID_RDES CssmAlgid = 0 CSSM_ALGID_REDOC CssmAlgid = 0 CSSM_ALGID_REDOC3 CssmAlgid = 0 CSSM_ALGID_RIPEMAC CssmAlgid = 0 CSSM_ALGID_RIPEMD CssmAlgid = 0 CSSM_ALGID_RSA CssmAlgid = 0 CSSM_ALGID_RUNNING_COUNTER CssmAlgid = 0 CSSM_ALGID_SAFER CssmAlgid = 0 CSSM_ALGID_SEAL CssmAlgid = 0 CSSM_ALGID_SECURE_PASSPHRASE CssmAlgid = 12 CSSM_ALGID_SHA1 CssmAlgid = 0 CSSM_ALGID_SHA1HMAC CssmAlgid = 0 CSSM_ALGID_SHA1HMAC_LEGACY CssmAlgid = 8 CSSM_ALGID_SHA1WithDSA CssmAlgid = 0 CSSM_ALGID_SHA1WithECDSA CssmAlgid = 0 CSSM_ALGID_SHA1WithECNRA CssmAlgid = 0 CSSM_ALGID_SHA1WithRSA CssmAlgid = 0 CSSM_ALGID_SHA224 CssmAlgid = 18 CSSM_ALGID_SHA224WithECDSA CssmAlgid = 24 CSSM_ALGID_SHA224WithRSA CssmAlgid = 19 CSSM_ALGID_SHA256 CssmAlgid = 14 CSSM_ALGID_SHA256WithECDSA CssmAlgid = 25 CSSM_ALGID_SHA256WithRSA CssmAlgid = 20 CSSM_ALGID_SHA384 CssmAlgid = 15 CSSM_ALGID_SHA384WithECDSA CssmAlgid = 26 CSSM_ALGID_SHA384WithRSA CssmAlgid = 21 CSSM_ALGID_SHA512 CssmAlgid = 16 CSSM_ALGID_SHA512WithECDSA CssmAlgid = 27 CSSM_ALGID_SHA512WithRSA CssmAlgid = 22 CSSM_ALGID_SHARandom CssmAlgid = 0 CSSM_ALGID_SKIPJACK CssmAlgid = 0 CSSM_ALGID_SSL3KeyAndMacDerive CssmAlgid = 0 CSSM_ALGID_SSL3MD5 CssmAlgid = 0 CSSM_ALGID_SSL3MD5_MAC CssmAlgid = 0 CSSM_ALGID_SSL3PrePrimaryGen CssmAlgid = 0 CSSM_ALGID_SSL3PrimaryDerive CssmAlgid = 0 CSSM_ALGID_SSL3SHA1 CssmAlgid = 0 CSSM_ALGID_SSL3SHA1_MAC CssmAlgid = 0 CSSM_ALGID_TIGER CssmAlgid = 0 CSSM_ALGID_UTC CssmAlgid = 0 CSSM_ALGID_VENDOR_DEFINED CssmAlgid = 0 CSSM_ALGID_WrapLynks CssmAlgid = 0 CSSM_ALGID_WrapSET_OAEP CssmAlgid = 0 CSSM_ALGID_XORBaseAndData CssmAlgid = 0 CSSM_ALGID__FIRST_UNUSED CssmAlgid = 30 // Deprecated. CSSM_ALGID_SSL3MasterDerive CssmAlgid = 0 // Deprecated. CSSM_ALGID_SSL3PreMasterGen CssmAlgid = 0 )
type CssmAlgmode ¶
type CssmAlgmode uint
const ( CSSM_ALGMODE_BC CssmAlgmode = 0 CSSM_ALGMODE_CBC CssmAlgmode = 0 CSSM_ALGMODE_CBC128 CssmAlgmode = 0 CSSM_ALGMODE_CBC64 CssmAlgmode = 0 CSSM_ALGMODE_CBCC CssmAlgmode = 0 CSSM_ALGMODE_CBCPD CssmAlgmode = 0 CSSM_ALGMODE_CBCPadIV8 CssmAlgmode = 0 CSSM_ALGMODE_CBC_IV8 CssmAlgmode = 0 CSSM_ALGMODE_CFB CssmAlgmode = 0 CSSM_ALGMODE_CFB16 CssmAlgmode = 0 CSSM_ALGMODE_CFB32 CssmAlgmode = 0 CSSM_ALGMODE_CFB8 CssmAlgmode = 0 CSSM_ALGMODE_CFBPadIV8 CssmAlgmode = 0 CSSM_ALGMODE_CFB_IV8 CssmAlgmode = 0 CSSM_ALGMODE_COUNTER CssmAlgmode = 0 CSSM_ALGMODE_CUSTOM CssmAlgmode = 0 CSSM_ALGMODE_ECB CssmAlgmode = 0 CSSM_ALGMODE_ECB128 CssmAlgmode = 0 CSSM_ALGMODE_ECB64 CssmAlgmode = 0 CSSM_ALGMODE_ECB96 CssmAlgmode = 0 CSSM_ALGMODE_ECBPad CssmAlgmode = 0 CSSM_ALGMODE_ISO_9796 CssmAlgmode = 0 CSSM_ALGMODE_LAST CssmAlgmode = 0 CSSM_ALGMODE_NONE CssmAlgmode = 0 CSSM_ALGMODE_OAEP_HASH CssmAlgmode = 0 CSSM_ALGMODE_OFB CssmAlgmode = 0 CSSM_ALGMODE_OFB64 CssmAlgmode = 0 CSSM_ALGMODE_OFBNLF CssmAlgmode = 0 CSSM_ALGMODE_OFBPadIV8 CssmAlgmode = 0 CSSM_ALGMODE_OFB_IV8 CssmAlgmode = 0 CSSM_ALGMODE_PBC CssmAlgmode = 0 CSSM_ALGMODE_PCBC CssmAlgmode = 0 CSSM_ALGMODE_PFB CssmAlgmode = 0 CSSM_ALGMODE_PKCS1_EME_OAEP CssmAlgmode = 0 CSSM_ALGMODE_PKCS1_EME_V15 CssmAlgmode = 0 CSSM_ALGMODE_PKCS1_EMSA_V15 CssmAlgmode = 0 CSSM_ALGMODE_PRIVATE_KEY CssmAlgmode = 0 CSSM_ALGMODE_PRIVATE_WRAP CssmAlgmode = 0 CSSM_ALGMODE_PUBLIC_KEY CssmAlgmode = 0 CSSM_ALGMODE_RELAYX CssmAlgmode = 0 CSSM_ALGMODE_SHUFFLE CssmAlgmode = 0 CSSM_ALGMODE_VENDOR_DEFINED CssmAlgmode = 0 CSSM_ALGMODE_WRAP CssmAlgmode = 0 CSSM_ALGMODE_X9_31 CssmAlgmode = 0 )
func (CssmAlgmode) String ¶
func (e CssmAlgmode) String() string
type CssmApple ¶
type CssmApple uint
const ( CSSM_APPLECSPDL_DB_CHANGE_PASSWORD CssmApple = 5 CSSM_APPLECSPDL_DB_GET_HANDLE CssmApple = 6 CSSM_APPLECSPDL_DB_GET_SETTINGS CssmApple = 2 CSSM_APPLECSPDL_DB_IS_LOCKED CssmApple = 4 CSSM_APPLECSPDL_DB_LOCK CssmApple = 0 CSSM_APPLECSPDL_DB_SET_SETTINGS CssmApple = 3 CSSM_APPLECSPDL_DB_UNLOCK CssmApple = 1 CSSM_APPLECSP_KEYDIGEST CssmApple = 256 CSSM_APPLECSP_PUBKEY CssmApple = 257 CSSM_APPLESCPDL_CSP_GET_KEYHANDLE CssmApple = 7 CSSM_APPLE_PRIVATE_CSPDL_CODE_10 CssmApple = 10 CSSM_APPLE_PRIVATE_CSPDL_CODE_11 CssmApple = 11 CSSM_APPLE_PRIVATE_CSPDL_CODE_12 CssmApple = 12 CSSM_APPLE_PRIVATE_CSPDL_CODE_13 CssmApple = 13 CSSM_APPLE_PRIVATE_CSPDL_CODE_14 CssmApple = 14 CSSM_APPLE_PRIVATE_CSPDL_CODE_15 CssmApple = 15 CSSM_APPLE_PRIVATE_CSPDL_CODE_16 CssmApple = 16 CSSM_APPLE_PRIVATE_CSPDL_CODE_17 CssmApple = 17 CSSM_APPLE_PRIVATE_CSPDL_CODE_18 CssmApple = 18 CSSM_APPLE_PRIVATE_CSPDL_CODE_19 CssmApple = 19 CSSM_APPLE_PRIVATE_CSPDL_CODE_20 CssmApple = 20 CSSM_APPLE_PRIVATE_CSPDL_CODE_21 CssmApple = 21 CSSM_APPLE_PRIVATE_CSPDL_CODE_22 CssmApple = 22 CSSM_APPLE_PRIVATE_CSPDL_CODE_23 CssmApple = 23 CSSM_APPLE_PRIVATE_CSPDL_CODE_24 CssmApple = 24 CSSM_APPLE_PRIVATE_CSPDL_CODE_25 CssmApple = 25 CSSM_APPLE_PRIVATE_CSPDL_CODE_26 CssmApple = 26 CSSM_APPLE_PRIVATE_CSPDL_CODE_27 CssmApple = 27 CSSM_APPLE_PRIVATE_CSPDL_CODE_28 CssmApple = 28 CSSM_APPLE_PRIVATE_CSPDL_CODE_8 CssmApple = 8 CSSM_APPLE_PRIVATE_CSPDL_CODE_9 CssmApple = 9 )
type CssmAppleUnlockType ¶
type CssmAppleUnlockType uint
const ( CSSM_APPLE_UNLOCK_TYPE_KEYBAG CssmAppleUnlockType = 3 CSSM_APPLE_UNLOCK_TYPE_KEY_DIRECT CssmAppleUnlockType = 1 CSSM_APPLE_UNLOCK_TYPE_WRAPPED_PRIVATE CssmAppleUnlockType = 2 )
func (CssmAppleUnlockType) String ¶
func (e CssmAppleUnlockType) String() string
type CssmAppledlOpenParametersVersion ¶
type CssmAppledlOpenParametersVersion uint
const (
CSSM_APPLEDL_OPEN_PARAMETERS_VERSION CssmAppledlOpenParametersVersion = 1
)
func (CssmAppledlOpenParametersVersion) String ¶
func (e CssmAppledlOpenParametersVersion) String() string
type CssmApplefiledl ¶
type CssmApplefiledl uint
const ( CSSM_APPLEFILEDL_COMMIT CssmApplefiledl = 1 CSSM_APPLEFILEDL_DELETE_FILE CssmApplefiledl = 6 CSSM_APPLEFILEDL_MAKE_BACKUP CssmApplefiledl = 4 CSSM_APPLEFILEDL_MAKE_COPY CssmApplefiledl = 5 CSSM_APPLEFILEDL_ROLLBACK CssmApplefiledl = 2 CSSM_APPLEFILEDL_TAKE_FILE_LOCK CssmApplefiledl = 3 CSSM_APPLEFILEDL_TOGGLE_AUTOCOMMIT CssmApplefiledl = 0 )
func (CssmApplefiledl) String ¶
func (e CssmApplefiledl) String() string
type CssmApplex509cl ¶
type CssmApplex509cl uint
const ( CSSM_APPLEX509CL_OBTAIN_CSR CssmApplex509cl = 0 CSSM_APPLEX509CL_VERIFY_CSR CssmApplex509cl = 1 )
func (CssmApplex509cl) String ¶
func (e CssmApplex509cl) String() string
type CssmAscOptimize ¶
type CssmAscOptimize uint
const ( CSSM_ASC_OPTIMIZE_ASCII CssmAscOptimize = 5 CSSM_ASC_OPTIMIZE_DEFAULT CssmAscOptimize = 0 CSSM_ASC_OPTIMIZE_SECURITY CssmAscOptimize = 2 CSSM_ASC_OPTIMIZE_SIZE CssmAscOptimize = 1 CSSM_ASC_OPTIMIZE_TIME CssmAscOptimize = 3 CSSM_ASC_OPTIMIZE_TIME_SIZE CssmAscOptimize = 4 )
func (CssmAscOptimize) String ¶
func (e CssmAscOptimize) String() string
type CssmAttachReadOnly ¶
type CssmAttachReadOnly uint
const (
CSSM_ATTACH_READ_ONLY CssmAttachReadOnly = 1
)
func (CssmAttachReadOnly) String ¶
func (e CssmAttachReadOnly) String() string
type CssmAttribute ¶
type CssmAttribute uint
const ( CSSM_ATTRIBUTE_ACCESS_CREDENTIALS CssmAttribute = 2147483648 CSSM_ATTRIBUTE_ALERT_TITLE CssmAttribute = 0 CSSM_ATTRIBUTE_ALG_ID CssmAttribute = 268435456 CSSM_ATTRIBUTE_ALG_PARAMS CssmAttribute = 536870912 CSSM_ATTRIBUTE_ASC_OPTIMIZATION CssmAttribute = 0 CSSM_ATTRIBUTE_BASE CssmAttribute = 536870912 CSSM_ATTRIBUTE_BLOCK_SIZE CssmAttribute = 268435456 CSSM_ATTRIBUTE_CSP_HANDLE CssmAttribute = 268435456 CSSM_ATTRIBUTE_CUSTOM CssmAttribute = 536870912 CSSM_ATTRIBUTE_DATA_ACCESS_CREDENTIALS CssmAttribute = 2147483648 CSSM_ATTRIBUTE_DATA_CRYPTO_DATA CssmAttribute = 805306368 CSSM_ATTRIBUTE_DATA_CSSM_DATA CssmAttribute = 536870912 CSSM_ATTRIBUTE_DATA_DATE CssmAttribute = 1610612736 CSSM_ATTRIBUTE_DATA_DL_DB_HANDLE CssmAttribute = 33554432 CSSM_ATTRIBUTE_DATA_KEY CssmAttribute = 1073741824 CSSM_ATTRIBUTE_DATA_KR_PROFILE CssmAttribute = 50331648 CSSM_ATTRIBUTE_DATA_NONE CssmAttribute = 0 CSSM_ATTRIBUTE_DATA_RANGE CssmAttribute = 1879048192 CSSM_ATTRIBUTE_DATA_STRING CssmAttribute = 1342177280 CSSM_ATTRIBUTE_DATA_UINT32 CssmAttribute = 268435456 CSSM_ATTRIBUTE_DATA_VERSION CssmAttribute = 16777216 CSSM_ATTRIBUTE_DESCRIPTION CssmAttribute = 1342177280 CSSM_ATTRIBUTE_DL_DB_HANDLE CssmAttribute = 33554432 CSSM_ATTRIBUTE_EFFECTIVE_BITS CssmAttribute = 268435456 CSSM_ATTRIBUTE_END_DATE CssmAttribute = 1610612736 CSSM_ATTRIBUTE_FEE_CURVE_TYPE CssmAttribute = 0 CSSM_ATTRIBUTE_FEE_PRIME_TYPE CssmAttribute = 0 CSSM_ATTRIBUTE_INIT_VECTOR CssmAttribute = 536870912 CSSM_ATTRIBUTE_ITERATION_COUNT CssmAttribute = 268435456 CSSM_ATTRIBUTE_IV_SIZE CssmAttribute = 268435456 CSSM_ATTRIBUTE_KEY CssmAttribute = 1073741824 CSSM_ATTRIBUTE_KEYATTR CssmAttribute = 268435456 CSSM_ATTRIBUTE_KEYUSAGE CssmAttribute = 268435456 CSSM_ATTRIBUTE_KEY_LENGTH CssmAttribute = 268435456 CSSM_ATTRIBUTE_KEY_LENGTH_RANGE CssmAttribute = 1879048192 CSSM_ATTRIBUTE_KEY_TYPE CssmAttribute = 268435456 CSSM_ATTRIBUTE_KRPROFILE_LOCAL CssmAttribute = 50331648 CSSM_ATTRIBUTE_KRPROFILE_REMOTE CssmAttribute = 50331648 CSSM_ATTRIBUTE_LABEL CssmAttribute = 536870912 CSSM_ATTRIBUTE_MODE CssmAttribute = 268435456 CSSM_ATTRIBUTE_NONE CssmAttribute = 0 CSSM_ATTRIBUTE_OUTPUT_SIZE CssmAttribute = 268435456 CSSM_ATTRIBUTE_PADDING CssmAttribute = 268435456 CSSM_ATTRIBUTE_PARAM_KEY CssmAttribute = 0 CSSM_ATTRIBUTE_PASSPHRASE CssmAttribute = 805306368 CSSM_ATTRIBUTE_PRIME CssmAttribute = 536870912 CSSM_ATTRIBUTE_PRIVATE_KEY_FORMAT CssmAttribute = 268435456 CSSM_ATTRIBUTE_PROMPT CssmAttribute = 0 CSSM_ATTRIBUTE_PUBLIC_KEY CssmAttribute = 0 CSSM_ATTRIBUTE_PUBLIC_KEY_FORMAT CssmAttribute = 268435456 CSSM_ATTRIBUTE_RANDOM CssmAttribute = 536870912 CSSM_ATTRIBUTE_ROUNDS CssmAttribute = 268435456 CSSM_ATTRIBUTE_ROUNDS_RANGE CssmAttribute = 1879048192 CSSM_ATTRIBUTE_RSA_BLINDING CssmAttribute = 0 CSSM_ATTRIBUTE_SALT CssmAttribute = 536870912 CSSM_ATTRIBUTE_SEED CssmAttribute = 805306368 CSSM_ATTRIBUTE_START_DATE CssmAttribute = 1610612736 CSSM_ATTRIBUTE_SUBPRIME CssmAttribute = 536870912 CSSM_ATTRIBUTE_SYMMETRIC_KEY_FORMAT CssmAttribute = 268435456 CSSM_ATTRIBUTE_TYPE_MASK CssmAttribute = 4278190080 CSSM_ATTRIBUTE_VERIFY_PASSPHRASE CssmAttribute = 0 CSSM_ATTRIBUTE_VERSION CssmAttribute = 16777216 CSSM_ATTRIBUTE_WRAPPED_KEY_FORMAT CssmAttribute = 268435456 )
func (CssmAttribute) String ¶
func (e CssmAttribute) String() string
type CssmAttributeVendorDefined ¶
type CssmAttributeVendorDefined uint
const (
CSSM_ATTRIBUTE_VENDOR_DEFINED CssmAttributeVendorDefined = 8388608
)
func (CssmAttributeVendorDefined) String ¶
func (e CssmAttributeVendorDefined) String() string
type CssmC ¶
type CssmC uint
const ( CSSM_CERT_ACL_ENTRY CssmC = 12 CSSM_CERT_BUNDLE_CUSTOM CssmC = 1 CSSM_CERT_BUNDLE_LAST CssmC = 32767 CSSM_CERT_BUNDLE_PFX CssmC = 5 CSSM_CERT_BUNDLE_PGP_KEYRING CssmC = 7 CSSM_CERT_BUNDLE_PKCS12 CssmC = 4 CSSM_CERT_BUNDLE_PKCS7_SIGNED_DATA CssmC = 2 CSSM_CERT_BUNDLE_PKCS7_SIGNED_ENVELOPED_DATA CssmC = 3 CSSM_CERT_BUNDLE_SPKI_SEQUENCE CssmC = 6 CSSM_CERT_BUNDLE_UNKNOWN CssmC = 0 CSSM_CERT_ENCODING_BER CssmC = 2 CSSM_CERT_ENCODING_CUSTOM CssmC = 1 CSSM_CERT_ENCODING_DER CssmC = 3 CSSM_CERT_ENCODING_LAST CssmC = 32767 CSSM_CERT_ENCODING_MULTIPLE CssmC = 32766 CSSM_CERT_ENCODING_NDR CssmC = 4 CSSM_CERT_ENCODING_PGP CssmC = 6 CSSM_CERT_ENCODING_SEXPR CssmC = 5 CSSM_CERT_ENCODING_UNKNOWN CssmC = 0 CSSM_CERT_Intel CssmC = 8 CSSM_CERT_LAST CssmC = 32767 CSSM_CERT_MULTIPLE CssmC = 32766 CSSM_CERT_PARSE_FORMAT_COMPLEX CssmC = 3 CSSM_CERT_PARSE_FORMAT_CUSTOM CssmC = 1 CSSM_CERT_PARSE_FORMAT_LAST CssmC = 32767 CSSM_CERT_PARSE_FORMAT_MULTIPLE CssmC = 32766 CSSM_CERT_PARSE_FORMAT_NONE CssmC = 0 CSSM_CERT_PARSE_FORMAT_OID_NAMED CssmC = 4 CSSM_CERT_PARSE_FORMAT_SEXPR CssmC = 2 CSSM_CERT_PARSE_FORMAT_TUPLE CssmC = 5 CSSM_CERT_PGP CssmC = 4 CSSM_CERT_SDSIv1 CssmC = 6 CSSM_CERT_SPKI CssmC = 5 CSSM_CERT_TUPLE CssmC = 11 CSSM_CERT_UNKNOWN CssmC = 0 CSSM_CERT_X9_ATTRIBUTE CssmC = 10 CSSM_CERT_X_509_ATTRIBUTE CssmC = 9 CSSM_CERT_X_509v1 CssmC = 1 CSSM_CERT_X_509v2 CssmC = 2 CSSM_CERT_X_509v3 CssmC = 3 CSSM_CL_CUSTOM_CERT_BUNDLE_TYPE CssmC = 32768 CSSM_CL_CUSTOM_CERT_ENCODING CssmC = 32768 CSSM_CL_CUSTOM_CERT_PARSE_FORMAT CssmC = 32768 CSSM_CL_CUSTOM_CERT_TYPE CssmC = 32768 CSSM_CL_CUSTOM_CRL_PARSE_FORMAT CssmC = 32768 CSSM_CRL_PARSE_FORMAT_COMPLEX CssmC = 3 CSSM_CRL_PARSE_FORMAT_CUSTOM CssmC = 1 CSSM_CRL_PARSE_FORMAT_LAST CssmC = 32767 CSSM_CRL_PARSE_FORMAT_MULTIPLE CssmC = 32766 CSSM_CRL_PARSE_FORMAT_NONE CssmC = 0 CSSM_CRL_PARSE_FORMAT_OID_NAMED CssmC = 4 CSSM_CRL_PARSE_FORMAT_SEXPR CssmC = 2 CSSM_CRL_PARSE_FORMAT_TUPLE CssmC = 5 )
type CssmCLTemplate ¶
type CssmCLTemplate uint
const ( CSSM_CL_TEMPLATE_INTERMEDIATE_CERT CssmCLTemplate = 1 CSSM_CL_TEMPLATE_PKIX_CERTTEMPLATE CssmCLTemplate = 2 )
func (CssmCLTemplate) String ¶
func (e CssmCLTemplate) String() string
type CssmCertBundleEncoding ¶
type CssmCertBundleEncoding uint
const ( CSSM_CERT_BUNDLE_ENCODING_BER CssmCertBundleEncoding = 2 CSSM_CERT_BUNDLE_ENCODING_CUSTOM CssmCertBundleEncoding = 1 CSSM_CERT_BUNDLE_ENCODING_DER CssmCertBundleEncoding = 3 CSSM_CERT_BUNDLE_ENCODING_PGP CssmCertBundleEncoding = 5 CSSM_CERT_BUNDLE_ENCODING_SEXPR CssmCertBundleEncoding = 4 CSSM_CERT_BUNDLE_ENCODING_UNKNOWN CssmCertBundleEncoding = 0 )
func (CssmCertBundleEncoding) String ¶
func (e CssmCertBundleEncoding) String() string
type CssmCertStatus ¶
type CssmCertStatus int
const ( CSSM_CERT_STATUS_EXPIRED CssmCertStatus = 1 CSSM_CERT_STATUS_IS_FROM_NET CssmCertStatus = 32 CSSM_CERT_STATUS_IS_IN_ANCHORS CssmCertStatus = 8 CSSM_CERT_STATUS_IS_IN_INPUT_CERTS CssmCertStatus = 4 CSSM_CERT_STATUS_IS_ROOT CssmCertStatus = 16 CSSM_CERT_STATUS_NOT_VALID_YET CssmCertStatus = 2 CSSM_CERT_STATUS_TRUST_SETTINGS_DENY CssmCertStatus = 1024 CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_ADMIN CssmCertStatus = 128 CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_SYSTEM CssmCertStatus = 256 CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_USER CssmCertStatus = 64 CSSM_CERT_STATUS_TRUST_SETTINGS_IGNORED_ERROR CssmCertStatus = 2048 CSSM_CERT_STATUS_TRUST_SETTINGS_TRUST CssmCertStatus = 512 )
func (CssmCertStatus) String ¶
func (e CssmCertStatus) String() string
type CssmCertgroup ¶
type CssmCertgroup uint
const ( CSSM_CERTGROUP_CERT_PAIR CssmCertgroup = 3 CSSM_CERTGROUP_DATA CssmCertgroup = 0 CSSM_CERTGROUP_ENCODED_CERT CssmCertgroup = 1 CSSM_CERTGROUP_PARSED_CERT CssmCertgroup = 2 )
func (CssmCertgroup) String ¶
func (e CssmCertgroup) String() string
type CssmContextEvent ¶
type CssmContextEvent uint
const ( CSSM_CONTEXT_EVENT_CREATE CssmContextEvent = 1 CSSM_CONTEXT_EVENT_DELETE CssmContextEvent = 2 CSSM_CONTEXT_EVENT_UPDATE CssmContextEvent = 3 )
func (CssmContextEvent) String ¶
func (e CssmContextEvent) String() string
type CssmCrlEncoding ¶
type CssmCrlEncoding uint
const ( CSSM_CRL_ENCODING_BER CssmCrlEncoding = 2 CSSM_CRL_ENCODING_BLOOM CssmCrlEncoding = 4 CSSM_CRL_ENCODING_CUSTOM CssmCrlEncoding = 1 CSSM_CRL_ENCODING_DER CssmCrlEncoding = 3 CSSM_CRL_ENCODING_MULTIPLE CssmCrlEncoding = 32766 CSSM_CRL_ENCODING_SEXPR CssmCrlEncoding = 5 CSSM_CRL_ENCODING_UNKNOWN CssmCrlEncoding = 0 )
func (CssmCrlEncoding) String ¶
func (e CssmCrlEncoding) String() string
type CssmCrlType ¶
type CssmCrlType uint
const ( CSSM_CRL_TYPE_MULTIPLE CssmCrlType = 32766 CSSM_CRL_TYPE_SPKI CssmCrlType = 3 CSSM_CRL_TYPE_UNKNOWN CssmCrlType = 0 CSSM_CRL_TYPE_X_509v1 CssmCrlType = 1 CSSM_CRL_TYPE_X_509v2 CssmCrlType = 2 )
func (CssmCrlType) String ¶
func (e CssmCrlType) String() string
type CssmCrlgroup ¶
type CssmCrlgroup uint
const ( CSSM_CRLGROUP_CRL_PAIR CssmCrlgroup = 3 CSSM_CRLGROUP_DATA CssmCrlgroup = 0 CSSM_CRLGROUP_ENCODED_CRL CssmCrlgroup = 1 CSSM_CRLGROUP_PARSED_CRL CssmCrlgroup = 2 )
func (CssmCrlgroup) String ¶
func (e CssmCrlgroup) String() string
type CssmCsp ¶
type CssmCsp uint
const ( CSSM_CSP_HARDWARE CssmCsp = 1 CSSM_CSP_HYBRID CssmCsp = 1 CSSM_CSP_SOFTWARE CssmCsp = 1 CSSM_CSP_STORES_CERTIFICATES CssmCsp = 134217728 CSSM_CSP_STORES_GENERIC CssmCsp = 268435456 CSSM_CSP_STORES_PRIVATE_KEYS CssmCsp = 16777216 CSSM_CSP_STORES_PUBLIC_KEYS CssmCsp = 33554432 CSSM_CSP_STORES_SESSION_KEYS CssmCsp = 67108864 CSSM_CSP_TOK_LOGIN_REQUIRED CssmCsp = 4 CSSM_CSP_TOK_PRIVATE_KEY_PASSWORD CssmCsp = 4194304 CSSM_CSP_TOK_PROT_AUTHENTICATION CssmCsp = 256 CSSM_CSP_TOK_SESSION_KEY_PASSWORD CssmCsp = 2097152 CSSM_CSP_TOK_USER_PIN_EXPIRED CssmCsp = 1048576 CSSM_CSP_TOK_USER_PIN_INITIALIZED CssmCsp = 8 CSSM_CSP_TOK_WRITE_PROTECTED CssmCsp = 2 )
type CssmCspRdr ¶
type CssmCspRdr uint
const ( CSSM_CSP_RDR_EXISTS CssmCspRdr = 2 CSSM_CSP_RDR_HW CssmCspRdr = 4 CSSM_CSP_RDR_TOKENPRESENT CssmCspRdr = 1 )
func (CssmCspRdr) String ¶
func (e CssmCspRdr) String() string
type CssmCspTok ¶
type CssmCspTok uint
const ( CSSM_CSP_TOK_CLOCK_EXISTS CssmCspTok = 64 CSSM_CSP_TOK_RNG CssmCspTok = 1 )
func (CssmCspTok) String ¶
func (e CssmCspTok) String() string
type CssmD ¶
type CssmD uint
const ( CSSM_DB_RECORDTYPE_APP_DEFINED_END CssmD = 4294967295 CSSM_DB_RECORDTYPE_APP_DEFINED_START CssmD = 2147483648 CSSM_DB_RECORDTYPE_OPEN_GROUP_END CssmD = 10 CSSM_DB_RECORDTYPE_OPEN_GROUP_START CssmD = 10 CSSM_DB_RECORDTYPE_SCHEMA_END CssmD = 0 CSSM_DB_RECORDTYPE_SCHEMA_START CssmD = 0 CSSM_DL_DB_RECORD_ALL_KEYS CssmD = 10 CSSM_DL_DB_RECORD_ANY CssmD = 10 CSSM_DL_DB_RECORD_CERT CssmD = 10 CSSM_DL_DB_RECORD_CRL CssmD = 10 CSSM_DL_DB_RECORD_GENERIC CssmD = 10 CSSM_DL_DB_RECORD_POLICY CssmD = 10 CSSM_DL_DB_RECORD_PRIVATE_KEY CssmD = 10 CSSM_DL_DB_RECORD_PUBLIC_KEY CssmD = 10 CSSM_DL_DB_RECORD_SYMMETRIC_KEY CssmD = 10 CSSM_DL_DB_SCHEMA_ATTRIBUTES CssmD = 0 CSSM_DL_DB_SCHEMA_INDEXES CssmD = 0 CSSM_DL_DB_SCHEMA_INFO CssmD = 0 CSSM_DL_DB_SCHEMA_PARSING_MODULE CssmD = 0 )
type CssmDb ¶
type CssmDb uint
const ( CSSM_DB_AND CssmDb = 1 CSSM_DB_CONTAINS CssmDb = 4 CSSM_DB_CONTAINS_FINAL_SUBSTRING CssmDb = 6 CSSM_DB_CONTAINS_INITIAL_SUBSTRING CssmDb = 5 CSSM_DB_EQUAL CssmDb = 0 CSSM_DB_FILESYSTEMSCAN_MODE CssmDb = 1 CSSM_DB_GREATER_THAN CssmDb = 3 CSSM_DB_LESS_THAN CssmDb = 2 CSSM_DB_NONE CssmDb = 0 CSSM_DB_NOT_EQUAL CssmDb = 1 CSSM_DB_OR CssmDb = 2 CSSM_DB_TRANSACTIONAL_MODE CssmDb = 0 )
type CssmDbAccess ¶
type CssmDbAccess uint
const ( CSSM_DB_ACCESS_PRIVILEGED CssmDbAccess = 4 CSSM_DB_ACCESS_READ CssmDbAccess = 1 CSSM_DB_ACCESS_WRITE CssmDbAccess = 2 )
func (CssmDbAccess) String ¶
func (e CssmDbAccess) String() string
type CssmDbAccessReset ¶
type CssmDbAccessReset uint
const (
CSSM_DB_ACCESS_RESET CssmDbAccessReset = 65536
)
func (CssmDbAccessReset) String ¶
func (e CssmDbAccessReset) String() string
type CssmDbAttributeFormat ¶
type CssmDbAttributeFormat uint
const ( CSSM_DB_ATTRIBUTE_FORMAT_BIG_NUM CssmDbAttributeFormat = 3 CSSM_DB_ATTRIBUTE_FORMAT_BLOB CssmDbAttributeFormat = 6 CSSM_DB_ATTRIBUTE_FORMAT_COMPLEX CssmDbAttributeFormat = 8 CSSM_DB_ATTRIBUTE_FORMAT_MULTI_UINT32 CssmDbAttributeFormat = 7 CSSM_DB_ATTRIBUTE_FORMAT_REAL CssmDbAttributeFormat = 4 CSSM_DB_ATTRIBUTE_FORMAT_SINT32 CssmDbAttributeFormat = 1 CSSM_DB_ATTRIBUTE_FORMAT_STRING CssmDbAttributeFormat = 0 CSSM_DB_ATTRIBUTE_FORMAT_TIME_DATE CssmDbAttributeFormat = 5 CSSM_DB_ATTRIBUTE_FORMAT_UINT32 CssmDbAttributeFormat = 2 )
func (CssmDbAttributeFormat) String ¶
func (e CssmDbAttributeFormat) String() string
type CssmDbAttributeNameAs ¶
type CssmDbAttributeNameAs uint
const ( CSSM_DB_ATTRIBUTE_NAME_AS_INTEGER CssmDbAttributeNameAs = 2 CSSM_DB_ATTRIBUTE_NAME_AS_OID CssmDbAttributeNameAs = 1 CSSM_DB_ATTRIBUTE_NAME_AS_STRING CssmDbAttributeNameAs = 0 )
func (CssmDbAttributeNameAs) String ¶
func (e CssmDbAttributeNameAs) String() string
type CssmDbCertUse ¶
type CssmDbCertUse uint
const ( CSSM_DB_CERT_USE_OWNER CssmDbCertUse = 4 CSSM_DB_CERT_USE_PRIVACY CssmDbCertUse = 32 CSSM_DB_CERT_USE_REVOKED CssmDbCertUse = 8 CSSM_DB_CERT_USE_SIGNING CssmDbCertUse = 16 CSSM_DB_CERT_USE_SYSTEM CssmDbCertUse = 2 CSSM_DB_CERT_USE_TRUSTED CssmDbCertUse = 1 )
func (CssmDbCertUse) String ¶
func (e CssmDbCertUse) String() string
type CssmDbDatastoresUnknown ¶
type CssmDbDatastoresUnknown uint
const (
CSSM_DB_DATASTORES_UNKNOWN CssmDbDatastoresUnknown = 4294967295
)
func (CssmDbDatastoresUnknown) String ¶
func (e CssmDbDatastoresUnknown) String() string
type CssmDbIndex ¶
type CssmDbIndex uint
const ( CSSM_DB_INDEX_NONUNIQUE CssmDbIndex = 1 CSSM_DB_INDEX_UNIQUE CssmDbIndex = 0 )
func (CssmDbIndex) String ¶
func (e CssmDbIndex) String() string
type CssmDbIndexOn ¶
type CssmDbIndexOn uint
const ( CSSM_DB_INDEX_ON_ATTRIBUTE CssmDbIndexOn = 1 CSSM_DB_INDEX_ON_RECORD CssmDbIndexOn = 2 CSSM_DB_INDEX_ON_UNKNOWN CssmDbIndexOn = 0 )
func (CssmDbIndexOn) String ¶
func (e CssmDbIndexOn) String() string
type CssmDbModifyAttribute ¶
type CssmDbModifyAttribute uint
const ( CSSM_DB_MODIFY_ATTRIBUTE_ADD CssmDbModifyAttribute = 0 CSSM_DB_MODIFY_ATTRIBUTE_DELETE CssmDbModifyAttribute = 0 CSSM_DB_MODIFY_ATTRIBUTE_NONE CssmDbModifyAttribute = 0 CSSM_DB_MODIFY_ATTRIBUTE_REPLACE CssmDbModifyAttribute = 0 )
func (CssmDbModifyAttribute) String ¶
func (e CssmDbModifyAttribute) String() string
type CssmDlDbRecord ¶
type CssmDlDbRecord uint
const ( CSSM_DL_DB_RECORD_APPLESHARE_PASSWORD CssmDlDbRecord = 2147483648 CSSM_DL_DB_RECORD_EXTENDED_ATTRIBUTE CssmDlDbRecord = 2147483652 CSSM_DL_DB_RECORD_GENERIC_PASSWORD CssmDlDbRecord = 2147483648 CSSM_DL_DB_RECORD_INTERNET_PASSWORD CssmDlDbRecord = 2147483648 CSSM_DL_DB_RECORD_METADATA CssmDlDbRecord = 2147483648 CSSM_DL_DB_RECORD_UNLOCK_REFERRAL CssmDlDbRecord = 2147483651 CSSM_DL_DB_RECORD_USER_TRUST CssmDlDbRecord = 2147483649 CSSM_DL_DB_RECORD_X509_CERTIFICATE CssmDlDbRecord = 2147483648 CSSM_DL_DB_RECORD_X509_CRL CssmDlDbRecord = 2147483650 )
func (CssmDlDbRecord) String ¶
func (e CssmDlDbRecord) String() string
type CssmElapsedTime ¶
type CssmElapsedTime int
const ( CSSM_ELAPSED_TIME_COMPLETE CssmElapsedTime = -2 CSSM_ELAPSED_TIME_UNKNOWN CssmElapsedTime = -1 )
func (CssmElapsedTime) String ¶
func (e CssmElapsedTime) String() string
type CssmErrcode ¶
type CssmErrcode int
const ( CSSM_ERRCODE_ACL_ADD_FAILED CssmErrcode = 54 CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED CssmErrcode = 39 CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED CssmErrcode = 45 CSSM_ERRCODE_ACL_CHANGE_FAILED CssmErrcode = 49 CSSM_ERRCODE_ACL_DELETE_FAILED CssmErrcode = 52 CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND CssmErrcode = 47 CSSM_ERRCODE_ACL_REPLACE_FAILED CssmErrcode = 53 CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED CssmErrcode = 43 CSSM_ERRCODE_CRL_ALREADY_SIGNED CssmErrcode = 71 CSSM_ERRCODE_FUNCTION_FAILED CssmErrcode = 10 CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED CssmErrcode = 7 CSSM_ERRCODE_INCOMPATIBLE_VERSION CssmErrcode = 65 CSSM_ERRCODE_INTERNAL_ERROR CssmErrcode = 1 CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS CssmErrcode = 37 CSSM_ERRCODE_INVALID_ACL_BASE_CERTS CssmErrcode = 38 CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK CssmErrcode = 44 CSSM_ERRCODE_INVALID_ACL_EDIT_MODE CssmErrcode = 48 CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG CssmErrcode = 46 CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE CssmErrcode = 42 CSSM_ERRCODE_INVALID_AC_HANDLE CssmErrcode = 85 CSSM_ERRCODE_INVALID_CERTGROUP_POINTER CssmErrcode = 66 CSSM_ERRCODE_INVALID_CERT_POINTER CssmErrcode = 67 CSSM_ERRCODE_INVALID_CL_HANDLE CssmErrcode = 82 CSSM_ERRCODE_INVALID_CONTEXT_HANDLE CssmErrcode = 64 CSSM_ERRCODE_INVALID_CRL_POINTER CssmErrcode = 68 CSSM_ERRCODE_INVALID_CRYPTO_DATA CssmErrcode = 88 CSSM_ERRCODE_INVALID_CSP_HANDLE CssmErrcode = 80 CSSM_ERRCODE_INVALID_DATA CssmErrcode = 70 CSSM_ERRCODE_INVALID_DB_HANDLE CssmErrcode = 74 CSSM_ERRCODE_INVALID_DB_LIST CssmErrcode = 76 CSSM_ERRCODE_INVALID_DB_LIST_POINTER CssmErrcode = 77 CSSM_ERRCODE_INVALID_DL_HANDLE CssmErrcode = 81 CSSM_ERRCODE_INVALID_FIELD_POINTER CssmErrcode = 69 CSSM_ERRCODE_INVALID_GUID CssmErrcode = 12 CSSM_ERRCODE_INVALID_INPUT_POINTER CssmErrcode = 5 CSSM_ERRCODE_INVALID_KR_HANDLE CssmErrcode = 84 CSSM_ERRCODE_INVALID_NETWORK_ADDR CssmErrcode = 87 CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY CssmErrcode = 50 CSSM_ERRCODE_INVALID_NEW_ACL_OWNER CssmErrcode = 51 CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS CssmErrcode = 72 CSSM_ERRCODE_INVALID_OUTPUT_POINTER CssmErrcode = 6 CSSM_ERRCODE_INVALID_PASSTHROUGH_ID CssmErrcode = 86 CSSM_ERRCODE_INVALID_POINTER CssmErrcode = 4 CSSM_ERRCODE_INVALID_SAMPLE_VALUE CssmErrcode = 40 CSSM_ERRCODE_INVALID_TP_HANDLE CssmErrcode = 83 CSSM_ERRCODE_MDS_ERROR CssmErrcode = 3 CSSM_ERRCODE_MEMORY_ERROR CssmErrcode = 2 CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED CssmErrcode = 11 CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED CssmErrcode = 35 CSSM_ERRCODE_OBJECT_ACL_REQUIRED CssmErrcode = 36 CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED CssmErrcode = 34 CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED CssmErrcode = 33 CSSM_ERRCODE_OPERATION_AUTH_DENIED CssmErrcode = 32 CSSM_ERRCODE_OS_ACCESS_DENIED CssmErrcode = 9 CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED CssmErrcode = 75 CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED CssmErrcode = 41 CSSM_ERRCODE_SELF_CHECK_FAILED CssmErrcode = 8 CSSM_ERRCODE_UNKNOWN_FORMAT CssmErrcode = 78 CSSM_ERRCODE_UNKNOWN_TAG CssmErrcode = 79 CSSM_ERRCODE_VERIFICATION_FAILURE CssmErrcode = 73 )
func (CssmErrcode) String ¶
func (e CssmErrcode) String() string
type CssmEstimatedTimeUnknown ¶
type CssmEstimatedTimeUnknown int
const (
CSSM_ESTIMATED_TIME_UNKNOWN CssmEstimatedTimeUnknown = -1
)
func (CssmEstimatedTimeUnknown) String ¶
func (e CssmEstimatedTimeUnknown) String() string
type CssmEvidenceForm ¶
type CssmEvidenceForm uint
const ( CSSM_EVIDENCE_FORM_CERT CssmEvidenceForm = 1 CSSM_EVIDENCE_FORM_CERT_ID CssmEvidenceForm = 3 CSSM_EVIDENCE_FORM_CRL CssmEvidenceForm = 2 CSSM_EVIDENCE_FORM_CRL_ID CssmEvidenceForm = 4 CSSM_EVIDENCE_FORM_CRL_NEXTTIME CssmEvidenceForm = 7 CSSM_EVIDENCE_FORM_CRL_THISTIME CssmEvidenceForm = 6 CSSM_EVIDENCE_FORM_POLICYINFO CssmEvidenceForm = 8 CSSM_EVIDENCE_FORM_TUPLEGROUP CssmEvidenceForm = 9 CSSM_EVIDENCE_FORM_UNSPECIFIC CssmEvidenceForm = 0 CSSM_EVIDENCE_FORM_VERIFIER_TIME CssmEvidenceForm = 5 )
func (CssmEvidenceForm) String ¶
func (e CssmEvidenceForm) String() string
type CssmEvidenceFormApple ¶
type CssmEvidenceFormApple uint
const ( CSSM_EVIDENCE_FORM_APPLE_CERTGROUP CssmEvidenceFormApple = 2147483648 CSSM_EVIDENCE_FORM_APPLE_CERT_INFO CssmEvidenceFormApple = 2147483648 CSSM_EVIDENCE_FORM_APPLE_HEADER CssmEvidenceFormApple = 2147483648 )
func (CssmEvidenceFormApple) String ¶
func (e CssmEvidenceFormApple) String() string
type CssmFeeCurveType ¶
type CssmFeeCurveType uint
const ( CSSM_FEE_CURVE_TYPE_ANSI_X9_62 CssmFeeCurveType = 3 CSSM_FEE_CURVE_TYPE_DEFAULT CssmFeeCurveType = 0 CSSM_FEE_CURVE_TYPE_MONTGOMERY CssmFeeCurveType = 1 CSSM_FEE_CURVE_TYPE_WEIERSTRASS CssmFeeCurveType = 2 )
func (CssmFeeCurveType) String ¶
func (e CssmFeeCurveType) String() string
type CssmFeePrimeType ¶
type CssmFeePrimeType uint
const ( CSSM_FEE_PRIME_TYPE_DEFAULT CssmFeePrimeType = 0 CSSM_FEE_PRIME_TYPE_FEE CssmFeePrimeType = 2 CSSM_FEE_PRIME_TYPE_GENERAL CssmFeePrimeType = 3 CSSM_FEE_PRIME_TYPE_MERSENNE CssmFeePrimeType = 1 )
func (CssmFeePrimeType) String ¶
func (e CssmFeePrimeType) String() string
type CssmFieldvalueComplexDataType ¶
type CssmFieldvalueComplexDataType uint
const (
CSSM_FIELDVALUE_COMPLEX_DATA_TYPE CssmFieldvalueComplexDataType = 4294967295
)
func (CssmFieldvalueComplexDataType) String ¶
func (e CssmFieldvalueComplexDataType) String() string
type CssmInvalidHandle ¶
type CssmInvalidHandle uint
const (
CSSM_INVALID_HANDLE CssmInvalidHandle = 0
)
func (CssmInvalidHandle) String ¶
func (e CssmInvalidHandle) String() string
type CssmKeyHierarchy ¶
type CssmKeyHierarchy uint
const ( CSSM_KEY_HIERARCHY_EXPORT CssmKeyHierarchy = 2 CSSM_KEY_HIERARCHY_INTEG CssmKeyHierarchy = 1 CSSM_KEY_HIERARCHY_NONE CssmKeyHierarchy = 0 )
func (CssmKeyHierarchy) String ¶
func (e CssmKeyHierarchy) String() string
type CssmKeyattr ¶
type CssmKeyattr uint
const ( CSSM_KEYATTR_ALWAYS_SENSITIVE CssmKeyattr = 16 CSSM_KEYATTR_EXTRACTABLE CssmKeyattr = 32 CSSM_KEYATTR_MODIFIABLE CssmKeyattr = 4 CSSM_KEYATTR_NEVER_EXTRACTABLE CssmKeyattr = 64 CSSM_KEYATTR_PERMANENT CssmKeyattr = 1 CSSM_KEYATTR_PRIVATE CssmKeyattr = 2 CSSM_KEYATTR_RETURN_DATA CssmKeyattr = 268435456 CSSM_KEYATTR_RETURN_DEFAULT CssmKeyattr = 0 CSSM_KEYATTR_RETURN_NONE CssmKeyattr = 1073741824 CSSM_KEYATTR_RETURN_REF CssmKeyattr = 536870912 CSSM_KEYATTR_SENSITIVE CssmKeyattr = 8 )
func (CssmKeyattr) String ¶
func (e CssmKeyattr) String() string
type CssmKeyattrP ¶
type CssmKeyattrP uint
const ( CSSM_KEYATTR_PARTIAL CssmKeyattrP = 65536 CSSM_KEYATTR_PUBLIC_KEY_ENCRYPT CssmKeyattrP = 131072 )
func (CssmKeyattrP) String ¶
func (e CssmKeyattrP) String() string
type CssmKeyblob ¶
type CssmKeyblob uint
const ( CSSM_KEYBLOB_OTHER CssmKeyblob = 4294967295 CSSM_KEYBLOB_RAW CssmKeyblob = 0 CSSM_KEYBLOB_REFERENCE CssmKeyblob = 2 CSSM_KEYBLOB_WRAPPED CssmKeyblob = 3 )
func (CssmKeyblob) String ¶
func (e CssmKeyblob) String() string
type CssmKeyblobRawFormat ¶
type CssmKeyblobRawFormat uint
const ( CSSM_KEYBLOB_RAW_FORMAT_BSAFE CssmKeyblobRawFormat = 6 CSSM_KEYBLOB_RAW_FORMAT_CCA CssmKeyblobRawFormat = 9 CSSM_KEYBLOB_RAW_FORMAT_FIPS186 CssmKeyblobRawFormat = 5 CSSM_KEYBLOB_RAW_FORMAT_MSCAPI CssmKeyblobRawFormat = 3 CSSM_KEYBLOB_RAW_FORMAT_NONE CssmKeyblobRawFormat = 0 CSSM_KEYBLOB_RAW_FORMAT_OCTET_STRING CssmKeyblobRawFormat = 12 CSSM_KEYBLOB_RAW_FORMAT_OPENSSH CssmKeyblobRawFormat = 2147483649 CSSM_KEYBLOB_RAW_FORMAT_OPENSSH2 CssmKeyblobRawFormat = 2147483651 CSSM_KEYBLOB_RAW_FORMAT_OPENSSL CssmKeyblobRawFormat = 2147483650 CSSM_KEYBLOB_RAW_FORMAT_OTHER CssmKeyblobRawFormat = 4294967295 CSSM_KEYBLOB_RAW_FORMAT_PGP CssmKeyblobRawFormat = 4 CSSM_KEYBLOB_RAW_FORMAT_PKCS1 CssmKeyblobRawFormat = 1 CSSM_KEYBLOB_RAW_FORMAT_PKCS3 CssmKeyblobRawFormat = 2 CSSM_KEYBLOB_RAW_FORMAT_PKCS8 CssmKeyblobRawFormat = 10 CSSM_KEYBLOB_RAW_FORMAT_SPKI CssmKeyblobRawFormat = 11 CSSM_KEYBLOB_RAW_FORMAT_X509 CssmKeyblobRawFormat = 2147483648 )
func (CssmKeyblobRawFormat) String ¶
func (e CssmKeyblobRawFormat) String() string
type CssmKeyblobRawFormatVendorDefined ¶
type CssmKeyblobRawFormatVendorDefined uint
const (
CSSM_KEYBLOB_RAW_FORMAT_VENDOR_DEFINED CssmKeyblobRawFormatVendorDefined = 2147483648
)
func (CssmKeyblobRawFormatVendorDefined) String ¶
func (e CssmKeyblobRawFormatVendorDefined) String() string
type CssmKeyblobRefFormat ¶
type CssmKeyblobRefFormat uint
const ( CSSM_KEYBLOB_REF_FORMAT_INTEGER CssmKeyblobRefFormat = 0 CSSM_KEYBLOB_REF_FORMAT_OTHER CssmKeyblobRefFormat = 4294967295 CSSM_KEYBLOB_REF_FORMAT_SPKI CssmKeyblobRefFormat = 2 CSSM_KEYBLOB_REF_FORMAT_STRING CssmKeyblobRefFormat = 1 )
func (CssmKeyblobRefFormat) String ¶
func (e CssmKeyblobRefFormat) String() string
type CssmKeyblobWrappedFormat ¶
type CssmKeyblobWrappedFormat uint
const ( CSSM_KEYBLOB_WRAPPED_FORMAT_APPLE_CUSTOM CssmKeyblobWrappedFormat = 100 CSSM_KEYBLOB_WRAPPED_FORMAT_MSCAPI CssmKeyblobWrappedFormat = 3 CSSM_KEYBLOB_WRAPPED_FORMAT_NONE CssmKeyblobWrappedFormat = 0 CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSH1 CssmKeyblobWrappedFormat = 102 CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSL CssmKeyblobWrappedFormat = 101 CSSM_KEYBLOB_WRAPPED_FORMAT_OTHER CssmKeyblobWrappedFormat = 4294967295 CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS7 CssmKeyblobWrappedFormat = 2 CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS8 CssmKeyblobWrappedFormat = 1 )
func (CssmKeyblobWrappedFormat) String ¶
func (e CssmKeyblobWrappedFormat) String() string
type CssmKeyclass ¶
type CssmKeyclass uint
const ( CSSM_KEYCLASS_OTHER CssmKeyclass = 4294967295 CSSM_KEYCLASS_PRIVATE_KEY CssmKeyclass = 1 CSSM_KEYCLASS_PUBLIC_KEY CssmKeyclass = 0 CSSM_KEYCLASS_SECRET_PART CssmKeyclass = 3 CSSM_KEYCLASS_SESSION_KEY CssmKeyclass = 2 )
func (CssmKeyclass) String ¶
func (e CssmKeyclass) String() string
type CssmKeyheaderVersion ¶
type CssmKeyheaderVersion uint
const (
CSSM_KEYHEADER_VERSION CssmKeyheaderVersion = 2
)
func (CssmKeyheaderVersion) String ¶
func (e CssmKeyheaderVersion) String() string
type CssmKeyuse ¶
type CssmKeyuse uint
const ( CSSM_KEYUSE_ANY CssmKeyuse = 2147483648 CSSM_KEYUSE_DECRYPT CssmKeyuse = 2 CSSM_KEYUSE_DERIVE CssmKeyuse = 256 CSSM_KEYUSE_ENCRYPT CssmKeyuse = 1 CSSM_KEYUSE_SIGN CssmKeyuse = 4 CSSM_KEYUSE_SIGN_RECOVER CssmKeyuse = 16 CSSM_KEYUSE_UNWRAP CssmKeyuse = 128 CSSM_KEYUSE_VERIFY CssmKeyuse = 8 CSSM_KEYUSE_VERIFY_RECOVER CssmKeyuse = 32 CSSM_KEYUSE_WRAP CssmKeyuse = 64 )
func (CssmKeyuse) String ¶
func (e CssmKeyuse) String() string
type CssmListElement ¶
type CssmListElement uint
const ( CSSM_LIST_ELEMENT_DATUM CssmListElement = 0 CSSM_LIST_ELEMENT_SUBLIST CssmListElement = 1 CSSM_LIST_ELEMENT_WORDID CssmListElement = 2 )
func (CssmListElement) String ¶
func (e CssmListElement) String() string
type CssmListType ¶
type CssmListType uint
const ( CSSM_LIST_TYPE_CUSTOM CssmListType = 1 CSSM_LIST_TYPE_SEXPR CssmListType = 2 CSSM_LIST_TYPE_UNKNOWN CssmListType = 0 )
func (CssmListType) String ¶
func (e CssmListType) String() string
type CssmModuleStringSize ¶
type CssmModuleStringSize uint
const (
CSSM_MODULE_STRING_SIZE CssmModuleStringSize = 64
)
func (CssmModuleStringSize) String ¶
func (e CssmModuleStringSize) String() string
type CssmNetProto ¶
type CssmNetProto uint
const ( CSSM_NET_PROTO_CMP CssmNetProto = 10 CSSM_NET_PROTO_CMPS CssmNetProto = 11 CSSM_NET_PROTO_CUSTOM CssmNetProto = 1 CSSM_NET_PROTO_FTP CssmNetProto = 7 CSSM_NET_PROTO_FTPS CssmNetProto = 8 CSSM_NET_PROTO_LDAP CssmNetProto = 3 CSSM_NET_PROTO_LDAPNS CssmNetProto = 5 CSSM_NET_PROTO_LDAPS CssmNetProto = 4 CSSM_NET_PROTO_NONE CssmNetProto = 0 CSSM_NET_PROTO_OCSP CssmNetProto = 9 CSSM_NET_PROTO_UNSPECIFIED CssmNetProto = 2 CSSM_NET_PROTO_X500DAP CssmNetProto = 6 )
func (CssmNetProto) String ¶
func (e CssmNetProto) String() string
type CssmNotify ¶
type CssmNotify uint
const ( CSSM_NOTIFY_FAULT CssmNotify = 3 CSSM_NOTIFY_INSERT CssmNotify = 1 CSSM_NOTIFY_REMOVE CssmNotify = 2 )
func (CssmNotify) String ¶
func (e CssmNotify) String() string
type CssmPadding ¶
type CssmPadding uint
const ( CSSM_PADDING_ALTERNATE CssmPadding = 0 CSSM_PADDING_CIPHERSTEALING CssmPadding = 0 CSSM_PADDING_CUSTOM CssmPadding = 0 CSSM_PADDING_FF CssmPadding = 0 CSSM_PADDING_NONE CssmPadding = 0 CSSM_PADDING_ONE CssmPadding = 0 CSSM_PADDING_PKCS1 CssmPadding = 0 CSSM_PADDING_PKCS5 CssmPadding = 0 CSSM_PADDING_PKCS7 CssmPadding = 0 CSSM_PADDING_RANDOM CssmPadding = 0 CSSM_PADDING_SIGRAW CssmPadding = 0 CSSM_PADDING_VENDOR_DEFINED CssmPadding = 0 CSSM_PADDING_ZERO CssmPadding = 0 )
func (CssmPadding) String ¶
func (e CssmPadding) String() string
type CssmPaddingAppleSslv2 ¶
type CssmPaddingAppleSslv2 uint
const (
CSSM_PADDING_APPLE_SSLv2 CssmPaddingAppleSslv2 = 0
)
func (CssmPaddingAppleSslv2) String ¶
func (e CssmPaddingAppleSslv2) String() string
type CssmPkcs5Pbkdf2PrfHmacSha1 ¶
type CssmPkcs5Pbkdf2PrfHmacSha1 uint
const (
CSSM_PKCS5_PBKDF2_PRF_HMAC_SHA1 CssmPkcs5Pbkdf2PrfHmacSha1 = 0
)
func (CssmPkcs5Pbkdf2PrfHmacSha1) String ¶
func (e CssmPkcs5Pbkdf2PrfHmacSha1) String() string
type CssmPkcsOaep ¶
type CssmPkcsOaep uint
const ( CSSM_PKCS_OAEP_MGF1_MD5 CssmPkcsOaep = 0 CSSM_PKCS_OAEP_MGF1_SHA1 CssmPkcsOaep = 0 CSSM_PKCS_OAEP_MGF_NONE CssmPkcsOaep = 0 )
func (CssmPkcsOaep) String ¶
func (e CssmPkcsOaep) String() string
type CssmPkcsOaepPsource ¶
type CssmPkcsOaepPsource uint
const ( CSSM_PKCS_OAEP_PSOURCE_NONE CssmPkcsOaepPsource = 0 CSSM_PKCS_OAEP_PSOURCE_Pspecified CssmPkcsOaepPsource = 0 )
func (CssmPkcsOaepPsource) String ¶
func (e CssmPkcsOaepPsource) String() string
type CssmPrivilegeScope ¶
type CssmPrivilegeScope uint
const ( CSSM_PRIVILEGE_SCOPE_NONE CssmPrivilegeScope = 0 CSSM_PRIVILEGE_SCOPE_PROCESS CssmPrivilegeScope = 1 CSSM_PRIVILEGE_SCOPE_THREAD CssmPrivilegeScope = 2 )
func (CssmPrivilegeScope) String ¶
func (e CssmPrivilegeScope) String() string
type CssmQueryReturnData ¶
type CssmQueryReturnData uint
const (
CSSM_QUERY_RETURN_DATA CssmQueryReturnData = 1
)
func (CssmQueryReturnData) String ¶
func (e CssmQueryReturnData) String() string
type CssmQuerySizelimitNone ¶
type CssmQuerySizelimitNone uint
const (
CSSM_QUERY_SIZELIMIT_NONE CssmQuerySizelimitNone = 0
)
func (CssmQuerySizelimitNone) String ¶
func (e CssmQuerySizelimitNone) String() string
type CssmQueryTimelimitNone ¶
type CssmQueryTimelimitNone uint
const (
CSSM_QUERY_TIMELIMIT_NONE CssmQueryTimelimitNone = 0
)
func (CssmQueryTimelimitNone) String ¶
func (e CssmQueryTimelimitNone) String() string
type CssmSampleType ¶
type CssmSampleType uint
const ( CSSM_SAMPLE_TYPE_ASYMMETRIC_KEY CssmSampleType = 65547 CSSM_SAMPLE_TYPE_BIOMETRIC CssmSampleType = 8 CSSM_SAMPLE_TYPE_COMMENT CssmSampleType = 12 CSSM_SAMPLE_TYPE_HASHED_PASSWORD CssmSampleType = 43 CSSM_SAMPLE_TYPE_KEYBAG_KEY CssmSampleType = 65549 CSSM_SAMPLE_TYPE_KEYCHAIN_CHANGE_LOCK CssmSampleType = 65538 CSSM_SAMPLE_TYPE_KEYCHAIN_LOCK CssmSampleType = 65537 CSSM_SAMPLE_TYPE_KEYCHAIN_PROMPT CssmSampleType = 65536 CSSM_SAMPLE_TYPE_PASSWORD CssmSampleType = 79 CSSM_SAMPLE_TYPE_PREAUTH CssmSampleType = 65545 CSSM_SAMPLE_TYPE_PROCESS CssmSampleType = 65539 CSSM_SAMPLE_TYPE_PROMPTED_BIOMETRIC CssmSampleType = 83 CSSM_SAMPLE_TYPE_PROMPTED_PASSWORD CssmSampleType = 84 CSSM_SAMPLE_TYPE_PROTECTED_BIOMETRIC CssmSampleType = 86 CSSM_SAMPLE_TYPE_PROTECTED_PASSWORD CssmSampleType = 87 CSSM_SAMPLE_TYPE_RETRY_ID CssmSampleType = 85 CSSM_SAMPLE_TYPE_SIGNED_NONCE CssmSampleType = 117 CSSM_SAMPLE_TYPE_SIGNED_SECRET CssmSampleType = 118 CSSM_SAMPLE_TYPE_SYMMETRIC_KEY CssmSampleType = 65541 CSSM_SAMPLE_TYPE_THRESHOLD CssmSampleType = 0 )
func (CssmSampleType) String ¶
func (e CssmSampleType) String() string
type CssmService ¶
type CssmService uint
const ( CSSM_SERVICE_AC CssmService = 32 CSSM_SERVICE_CL CssmService = 8 CSSM_SERVICE_CSP CssmService = 2 CSSM_SERVICE_CSSM CssmService = 1 CSSM_SERVICE_DL CssmService = 4 CSSM_SERVICE_KR CssmService = 64 CSSM_SERVICE_TP CssmService = 16 )
func (CssmService) String ¶
func (e CssmService) String() string
type CssmTpAction ¶
type CssmTpAction uint
const ( CSSM_TP_ACTION_ALLOW_EXPIRED CssmTpAction = 1 CSSM_TP_ACTION_ALLOW_EXPIRED_ROOT CssmTpAction = 8 CSSM_TP_ACTION_CRL_SUFFICIENT CssmTpAction = 4 CSSM_TP_ACTION_FETCH_CERT_FROM_NET CssmTpAction = 4 CSSM_TP_ACTION_FETCH_CRL_FROM_NET CssmTpAction = 2 CSSM_TP_ACTION_IMPLICIT_ANCHORS CssmTpAction = 64 CSSM_TP_ACTION_LEAF_IS_CA CssmTpAction = 2 CSSM_TP_ACTION_REQUIRE_CRL_IF_PRESENT CssmTpAction = 8 CSSM_TP_ACTION_REQUIRE_CRL_PER_CERT CssmTpAction = 1 CSSM_TP_ACTION_REQUIRE_REV_PER_CERT CssmTpAction = 16 CSSM_TP_ACTION_TRUST_SETTINGS CssmTpAction = 32 )
func (CssmTpAction) String ¶
func (e CssmTpAction) String() string
type CssmTpActionDefault ¶
type CssmTpActionDefault uint
const (
CSSM_TP_ACTION_DEFAULT CssmTpActionDefault = 0
)
func (CssmTpActionDefault) String ¶
func (e CssmTpActionDefault) String() string
type CssmTpAuthorityRequestC ¶
type CssmTpAuthorityRequestC uint
const ( CSSM_TP_AUTHORITY_REQUEST_CERTISSUE CssmTpAuthorityRequestC = 1 CSSM_TP_AUTHORITY_REQUEST_CERTNOTARIZE CssmTpAuthorityRequestC = 6 CSSM_TP_AUTHORITY_REQUEST_CERTRESUME CssmTpAuthorityRequestC = 4 CSSM_TP_AUTHORITY_REQUEST_CERTREVOKE CssmTpAuthorityRequestC = 2 CSSM_TP_AUTHORITY_REQUEST_CERTSUSPEND CssmTpAuthorityRequestC = 3 CSSM_TP_AUTHORITY_REQUEST_CERTUSERECOVER CssmTpAuthorityRequestC = 7 CSSM_TP_AUTHORITY_REQUEST_CERTVERIFY CssmTpAuthorityRequestC = 5 CSSM_TP_AUTHORITY_REQUEST_CRLISSUE CssmTpAuthorityRequestC = 256 )
func (CssmTpAuthorityRequestC) String ¶
func (e CssmTpAuthorityRequestC) String() string
type CssmTpCertchange ¶
type CssmTpCertchange uint
const ( CSSM_TP_CERTCHANGE_HOLD CssmTpCertchange = 2 CSSM_TP_CERTCHANGE_NONE CssmTpCertchange = 0 CSSM_TP_CERTCHANGE_NOT_AUTHORIZED CssmTpCertchange = 5 CSSM_TP_CERTCHANGE_OK CssmTpCertchange = 1 CSSM_TP_CERTCHANGE_OKWITHNEWTIME CssmTpCertchange = 2 CSSM_TP_CERTCHANGE_REJECTED CssmTpCertchange = 4 CSSM_TP_CERTCHANGE_RELEASE CssmTpCertchange = 3 CSSM_TP_CERTCHANGE_REVOKE CssmTpCertchange = 1 CSSM_TP_CERTCHANGE_STATUS_UNKNOWN CssmTpCertchange = 0 CSSM_TP_CERTCHANGE_WRONGCA CssmTpCertchange = 3 )
func (CssmTpCertchange) String ¶
func (e CssmTpCertchange) String() string
type CssmTpCertchangeReason ¶
type CssmTpCertchangeReason uint
const ( CSSM_TP_CERTCHANGE_REASON_AFFILIATIONCHANGE CssmTpCertchangeReason = 4 CSSM_TP_CERTCHANGE_REASON_CACOMPROMISE CssmTpCertchangeReason = 2 CSSM_TP_CERTCHANGE_REASON_CEASEOPERATION CssmTpCertchangeReason = 3 CSSM_TP_CERTCHANGE_REASON_HOLDRELEASE CssmTpCertchangeReason = 7 CSSM_TP_CERTCHANGE_REASON_KEYCOMPROMISE CssmTpCertchangeReason = 1 CSSM_TP_CERTCHANGE_REASON_SUPERCEDED CssmTpCertchangeReason = 5 CSSM_TP_CERTCHANGE_REASON_SUSPECTEDCOMPROMISE CssmTpCertchangeReason = 6 CSSM_TP_CERTCHANGE_REASON_UNKNOWN CssmTpCertchangeReason = 0 )
func (CssmTpCertchangeReason) String ¶
func (e CssmTpCertchangeReason) String() string
type CssmTpCertissue ¶
type CssmTpCertissue uint
const ( CSSM_TP_CERTISSUE_NOT_AUTHORIZED CssmTpCertissue = 5 CSSM_TP_CERTISSUE_OK CssmTpCertissue = 1 CSSM_TP_CERTISSUE_OKWITHCERTMODS CssmTpCertissue = 2 CSSM_TP_CERTISSUE_OKWITHSERVICEMODS CssmTpCertissue = 3 CSSM_TP_CERTISSUE_REJECTED CssmTpCertissue = 4 CSSM_TP_CERTISSUE_STATUS_UNKNOWN CssmTpCertissue = 0 CSSM_TP_CERTISSUE_WILL_BE_REVOKED CssmTpCertissue = 6 )
func (CssmTpCertissue) String ¶
func (e CssmTpCertissue) String() string
type CssmTpCertnotarize ¶
type CssmTpCertnotarize uint
const ( CSSM_TP_CERTNOTARIZE_NOT_AUTHORIZED CssmTpCertnotarize = 5 CSSM_TP_CERTNOTARIZE_OK CssmTpCertnotarize = 1 CSSM_TP_CERTNOTARIZE_OKWITHOUTFIELDS CssmTpCertnotarize = 2 CSSM_TP_CERTNOTARIZE_OKWITHSERVICEMODS CssmTpCertnotarize = 3 CSSM_TP_CERTNOTARIZE_REJECTED CssmTpCertnotarize = 4 CSSM_TP_CERTNOTARIZE_STATUS_UNKNOWN CssmTpCertnotarize = 0 )
func (CssmTpCertnotarize) String ¶
func (e CssmTpCertnotarize) String() string
type CssmTpCertreclaim ¶
type CssmTpCertreclaim uint
const ( CSSM_TP_CERTRECLAIM_NOMATCH CssmTpCertreclaim = 2 CSSM_TP_CERTRECLAIM_NOT_AUTHORIZED CssmTpCertreclaim = 4 CSSM_TP_CERTRECLAIM_OK CssmTpCertreclaim = 1 CSSM_TP_CERTRECLAIM_REJECTED CssmTpCertreclaim = 3 CSSM_TP_CERTRECLAIM_STATUS_UNKNOWN CssmTpCertreclaim = 0 )
func (CssmTpCertreclaim) String ¶
func (e CssmTpCertreclaim) String() string
type CssmTpCertverify ¶
type CssmTpCertverify uint
const ( CSSM_TP_CERTVERIFY_EXPIRED CssmTpCertverify = 5 CSSM_TP_CERTVERIFY_INVALID CssmTpCertverify = 2 CSSM_TP_CERTVERIFY_INVALID_AUTHORITY CssmTpCertverify = 7 CSSM_TP_CERTVERIFY_INVALID_BASIC_CONSTRAINTS CssmTpCertverify = 13 CSSM_TP_CERTVERIFY_INVALID_CERTGROUP CssmTpCertverify = 10 CSSM_TP_CERTVERIFY_INVALID_CERT_VALUE CssmTpCertverify = 9 CSSM_TP_CERTVERIFY_INVALID_CRL_DIST_PT CssmTpCertverify = 14 CSSM_TP_CERTVERIFY_INVALID_NAME_TREE CssmTpCertverify = 15 CSSM_TP_CERTVERIFY_INVALID_POLICY CssmTpCertverify = 11 CSSM_TP_CERTVERIFY_INVALID_POLICY_IDS CssmTpCertverify = 12 CSSM_TP_CERTVERIFY_INVALID_SIGNATURE CssmTpCertverify = 8 CSSM_TP_CERTVERIFY_NOT_VALID_YET CssmTpCertverify = 6 CSSM_TP_CERTVERIFY_REVOKED CssmTpCertverify = 3 CSSM_TP_CERTVERIFY_SUSPENDED CssmTpCertverify = 4 CSSM_TP_CERTVERIFY_UNKNOWN CssmTpCertverify = 0 CSSM_TP_CERTVERIFY_UNKNOWN_CRITICAL_EXT CssmTpCertverify = 16 CSSM_TP_CERTVERIFY_VALID CssmTpCertverify = 1 )
func (CssmTpCertverify) String ¶
func (e CssmTpCertverify) String() string
type CssmTpConfirm ¶
type CssmTpConfirm uint
const ( CSSM_TP_CONFIRM_ACCEPT CssmTpConfirm = 1 CSSM_TP_CONFIRM_REJECT CssmTpConfirm = 2 CSSM_TP_CONFIRM_STATUS_UNKNOWN CssmTpConfirm = 0 )
func (CssmTpConfirm) String ¶
func (e CssmTpConfirm) String() string
type CssmTpCrlissue ¶
type CssmTpCrlissue uint
const ( CSSM_TP_CRLISSUE_INVALID_DOMAIN CssmTpCrlissue = 3 CSSM_TP_CRLISSUE_NOT_AUTHORIZED CssmTpCrlissue = 6 CSSM_TP_CRLISSUE_NOT_CURRENT CssmTpCrlissue = 2 CSSM_TP_CRLISSUE_OK CssmTpCrlissue = 1 CSSM_TP_CRLISSUE_REJECTED CssmTpCrlissue = 5 CSSM_TP_CRLISSUE_STATUS_UNKNOWN CssmTpCrlissue = 0 CSSM_TP_CRLISSUE_UNKNOWN_IDENTIFIER CssmTpCrlissue = 4 )
func (CssmTpCrlissue) String ¶
func (e CssmTpCrlissue) String() string
type CssmTpFormType ¶
type CssmTpFormType uint
const ( CSSM_TP_FORM_TYPE_GENERIC CssmTpFormType = 0 CSSM_TP_FORM_TYPE_REGISTRATION CssmTpFormType = 1 )
func (CssmTpFormType) String ¶
func (e CssmTpFormType) String() string
type CssmTpStopOn ¶
type CssmTpStopOn uint
const ( CSSM_TP_STOP_ON_FIRST_FAIL CssmTpStopOn = 3 CSSM_TP_STOP_ON_FIRST_PASS CssmTpStopOn = 2 CSSM_TP_STOP_ON_NONE CssmTpStopOn = 1 CSSM_TP_STOP_ON_POLICY CssmTpStopOn = 0 )
func (CssmTpStopOn) String ¶
func (e CssmTpStopOn) String() string
type CssmUsee ¶
type CssmUsee uint
const ( CSSM_USEE_AUTHENTICATION CssmUsee = 6 CSSM_USEE_DOMESTIC CssmUsee = 1 CSSM_USEE_FINANCIAL CssmUsee = 2 CSSM_USEE_INSURANCE CssmUsee = 9 CSSM_USEE_KEYEXCH CssmUsee = 7 CSSM_USEE_KRENT CssmUsee = 4 CSSM_USEE_KRLE CssmUsee = 3 CSSM_USEE_LAST CssmUsee = 255 CSSM_USEE_MEDICAL CssmUsee = 8 CSSM_USEE_NONE CssmUsee = 0 CSSM_USEE_SSL CssmUsee = 5 CSSM_USEE_WEAK CssmUsee = 10 )
type CssmValueNotAvailable ¶
type CssmValueNotAvailable int
const (
CSSM_VALUE_NOT_AVAILABLE CssmValueNotAvailable = -1
)
func (CssmValueNotAvailable) String ¶
func (e CssmValueNotAvailable) String() string
type CssmWordid ¶
type CssmWordid int
const ( CSSM_WORDID_A CssmWordid = 2 CSSM_WORDID_ACL CssmWordid = 3 CSSM_WORDID_ALPHA CssmWordid = 4 CSSM_WORDID_ASYMMETRIC_KEY CssmWordid = 65547 CSSM_WORDID_B CssmWordid = 5 CSSM_WORDID_BER CssmWordid = 6 CSSM_WORDID_BINARY CssmWordid = 7 CSSM_WORDID_BIOMETRIC CssmWordid = 8 CSSM_WORDID_C CssmWordid = 9 CSSM_WORDID_CANCELED CssmWordid = 10 CSSM_WORDID_CERT CssmWordid = 11 CSSM_WORDID_COMMENT CssmWordid = 12 CSSM_WORDID_CRL CssmWordid = 13 CSSM_WORDID_CUSTOM CssmWordid = 14 CSSM_WORDID_D CssmWordid = 15 CSSM_WORDID_DATE CssmWordid = 16 CSSM_WORDID_DBS_CREATE CssmWordid = 22 CSSM_WORDID_DBS_DELETE CssmWordid = 23 CSSM_WORDID_DB_DELETE CssmWordid = 17 CSSM_WORDID_DB_EXEC_STORED_QUERY CssmWordid = 18 CSSM_WORDID_DB_INSERT CssmWordid = 19 CSSM_WORDID_DB_MODIFY CssmWordid = 20 CSSM_WORDID_DB_READ CssmWordid = 21 CSSM_WORDID_DECRYPT CssmWordid = 24 CSSM_WORDID_DELETE CssmWordid = 25 CSSM_WORDID_DELTA_CRL CssmWordid = 26 CSSM_WORDID_DER CssmWordid = 27 CSSM_WORDID_DERIVE CssmWordid = 28 CSSM_WORDID_DISPLAY CssmWordid = 29 CSSM_WORDID_DO CssmWordid = 30 CSSM_WORDID_DSA CssmWordid = 31 CSSM_WORDID_DSA_SHA1 CssmWordid = 32 CSSM_WORDID_E CssmWordid = 33 CSSM_WORDID_ELGAMAL CssmWordid = 34 CSSM_WORDID_ENCRYPT CssmWordid = 35 CSSM_WORDID_ENTRY CssmWordid = 36 CSSM_WORDID_EXPORT_CLEAR CssmWordid = 37 CSSM_WORDID_EXPORT_WRAPPED CssmWordid = 38 CSSM_WORDID_G CssmWordid = 39 CSSM_WORDID_GE CssmWordid = 40 CSSM_WORDID_GENKEY CssmWordid = 41 CSSM_WORDID_HASH CssmWordid = 42 CSSM_WORDID_HASHED_PASSWORD CssmWordid = 43 CSSM_WORDID_HASHED_SUBJECT CssmWordid = 44 CSSM_WORDID_HAVAL CssmWordid = 45 CSSM_WORDID_IBCHASH CssmWordid = 46 CSSM_WORDID_IMPORT_CLEAR CssmWordid = 47 CSSM_WORDID_IMPORT_WRAPPED CssmWordid = 48 CSSM_WORDID_INTEL CssmWordid = 49 CSSM_WORDID_ISSUER CssmWordid = 50 CSSM_WORDID_ISSUER_INFO CssmWordid = 51 CSSM_WORDID_KEA CssmWordid = 53 CSSM_WORDID_KEY CssmWordid = 65543 CSSM_WORDID_KEYBAG_KEY CssmWordid = 65549 CSSM_WORDID_KEYCHAIN_CHANGE_LOCK CssmWordid = 65538 CSSM_WORDID_KEYCHAIN_LOCK CssmWordid = 65537 CSSM_WORDID_KEYCHAIN_PROMPT CssmWordid = 65536 CSSM_WORDID_KEYHOLDER CssmWordid = 54 CSSM_WORDID_K_OF_N CssmWordid = 52 CSSM_WORDID_L CssmWordid = 55 CSSM_WORDID_LE CssmWordid = 56 CSSM_WORDID_LOGIN CssmWordid = 57 CSSM_WORDID_LOGIN_NAME CssmWordid = 58 CSSM_WORDID_MAC CssmWordid = 59 CSSM_WORDID_MD2 CssmWordid = 60 CSSM_WORDID_MD2WITHRSA CssmWordid = 61 CSSM_WORDID_MD4 CssmWordid = 62 CSSM_WORDID_MD5 CssmWordid = 63 CSSM_WORDID_MD5WITHRSA CssmWordid = 64 CSSM_WORDID_N CssmWordid = 65 CSSM_WORDID_NAME CssmWordid = 66 CSSM_WORDID_NDR CssmWordid = 67 CSSM_WORDID_NHASH CssmWordid = 68 CSSM_WORDID_NOT_AFTER CssmWordid = 69 CSSM_WORDID_NOT_BEFORE CssmWordid = 70 CSSM_WORDID_NULL CssmWordid = 71 CSSM_WORDID_NUMERIC CssmWordid = 72 CSSM_WORDID_OBJECT_HASH CssmWordid = 73 CSSM_WORDID_ONE_TIME CssmWordid = 74 CSSM_WORDID_ONLINE CssmWordid = 75 CSSM_WORDID_OWNER CssmWordid = 76 CSSM_WORDID_P CssmWordid = 77 CSSM_WORDID_PAM_NAME CssmWordid = 78 CSSM_WORDID_PARTITION CssmWordid = 65548 CSSM_WORDID_PASSWORD CssmWordid = 79 CSSM_WORDID_PGP CssmWordid = 80 CSSM_WORDID_PIN CssmWordid = 65544 CSSM_WORDID_PREAUTH CssmWordid = 65545 CSSM_WORDID_PREAUTH_SOURCE CssmWordid = 65546 CSSM_WORDID_PREFIX CssmWordid = 81 CSSM_WORDID_PRIVATE_KEY CssmWordid = 82 CSSM_WORDID_PROCESS CssmWordid = 65539 CSSM_WORDID_PROMPTED_BIOMETRIC CssmWordid = 83 CSSM_WORDID_PROMPTED_PASSWORD CssmWordid = 84 CSSM_WORDID_PROPAGATE CssmWordid = 85 CSSM_WORDID_PROTECTED_BIOMETRIC CssmWordid = 86 CSSM_WORDID_PROTECTED_PASSWORD CssmWordid = 87 CSSM_WORDID_PROTECTED_PIN CssmWordid = 88 CSSM_WORDID_PUBLIC_KEY CssmWordid = 89 CSSM_WORDID_PUBLIC_KEY_FROM_CERT CssmWordid = 90 CSSM_WORDID_Q CssmWordid = 91 CSSM_WORDID_RANGE CssmWordid = 92 CSSM_WORDID_REVAL CssmWordid = 93 CSSM_WORDID_RIPEMAC CssmWordid = 94 CSSM_WORDID_RIPEMD CssmWordid = 95 CSSM_WORDID_RIPEMD160 CssmWordid = 96 CSSM_WORDID_RSA CssmWordid = 97 CSSM_WORDID_RSA_ISO9796 CssmWordid = 98 CSSM_WORDID_RSA_PKCS CssmWordid = 99 CSSM_WORDID_RSA_PKCS1 CssmWordid = 102 CSSM_WORDID_RSA_PKCS1_MD5 CssmWordid = 103 CSSM_WORDID_RSA_PKCS1_SHA1 CssmWordid = 104 CSSM_WORDID_RSA_PKCS1_SIG CssmWordid = 105 CSSM_WORDID_RSA_PKCS_MD5 CssmWordid = 100 CSSM_WORDID_RSA_PKCS_SHA1 CssmWordid = 101 CSSM_WORDID_RSA_RAW CssmWordid = 106 CSSM_WORDID_SDSIV1 CssmWordid = 107 CSSM_WORDID_SEQUENCE CssmWordid = 108 CSSM_WORDID_SET CssmWordid = 109 CSSM_WORDID_SEXPR CssmWordid = 110 CSSM_WORDID_SHA1 CssmWordid = 111 CSSM_WORDID_SHA1WITHDSA CssmWordid = 112 CSSM_WORDID_SHA1WITHECDSA CssmWordid = 113 CSSM_WORDID_SHA1WITHRSA CssmWordid = 114 CSSM_WORDID_SIGN CssmWordid = 115 CSSM_WORDID_SIGNATURE CssmWordid = 116 CSSM_WORDID_SIGNED_NONCE CssmWordid = 117 CSSM_WORDID_SIGNED_SECRET CssmWordid = 118 CSSM_WORDID_SPKI CssmWordid = 119 CSSM_WORDID_SUBJECT CssmWordid = 120 CSSM_WORDID_SUBJECT_INFO CssmWordid = 121 CSSM_WORDID_SYMMETRIC_KEY CssmWordid = 65541 CSSM_WORDID_SYSTEM CssmWordid = 65542 CSSM_WORDID_TAG CssmWordid = 122 CSSM_WORDID_THRESHOLD CssmWordid = 123 CSSM_WORDID_TIME CssmWordid = 124 CSSM_WORDID_URI CssmWordid = 125 CSSM_WORDID_VENDOR_END CssmWordid = 2147418112 CSSM_WORDID_VENDOR_START CssmWordid = 65536 CSSM_WORDID_VERSION CssmWordid = 126 CSSM_WORDID_X509V1 CssmWordid = 128 CSSM_WORDID_X509V2 CssmWordid = 129 CSSM_WORDID_X509V3 CssmWordid = 130 CSSM_WORDID_X509_ATTRIBUTE CssmWordid = 127 CSSM_WORDID_X9_ATTRIBUTE CssmWordid = 131 CSSM_WORDID__FIRST_UNUSED CssmWordid = 65550 CSSM_WORDID__NLU_ CssmWordid = 0 CSSM_WORDID__RESERVED_1 CssmWordid = 65540 CSSM_WORDID__STAR_ CssmWordid = 1 CSSM_WORDID__UNK_ CssmWordid = -1 )
func (CssmWordid) String ¶
func (e CssmWordid) String() string
type Cssm_access_credentials ¶
type Cssm_access_credentials struct {
BaseCerts unsafe.Pointer
Callback unsafe.Pointer
CallerCtx unsafe.Pointer
EntryTag CSSM_STRING
Samples unsafe.Pointer
}
Cssm_access_credentials
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_access_credentials-c.struct
type Cssm_acl_edit ¶
type Cssm_acl_edit struct {
EditMode CSSM_ACL_EDIT_MODE
NewEntry unsafe.Pointer
OldEntryHandle CSSM_ACL_HANDLE
}
Cssm_acl_edit
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_edit-c.struct
type Cssm_acl_entry_info ¶
type Cssm_acl_entry_info struct {
EntryHandle CSSM_ACL_HANDLE
EntryPublicInfo unsafe.Pointer
}
Cssm_acl_entry_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_entry_info-c.struct
type Cssm_acl_entry_input ¶
type Cssm_acl_entry_input struct {
Callback unsafe.Pointer
CallerContext unsafe.Pointer
Prototype unsafe.Pointer
}
Cssm_acl_entry_input
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_entry_input-c.struct
type Cssm_acl_entry_prototype ¶
type Cssm_acl_entry_prototype struct {
Authorization unsafe.Pointer
Delegate CSSM_BOOL
EntryTag CSSM_STRING
TimeRange unsafe.Pointer
TypedSubject unsafe.Pointer
}
Cssm_acl_entry_prototype
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_entry_prototype-c.struct
type Cssm_acl_keychain_prompt_selector ¶
Cssm_acl_keychain_prompt_selector
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_keychain_prompt_selector-swift.struct
type Cssm_acl_owner_prototype ¶
Cssm_acl_owner_prototype
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_owner_prototype-c.struct
type Cssm_acl_process_subject_selector ¶
Cssm_acl_process_subject_selector
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_process_subject_selector-swift.struct
type Cssm_acl_validity_period ¶
Cssm_acl_validity_period
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_acl_validity_period-c.struct
type Cssm_applecspdl_db_change_password_parameters ¶
Cssm_applecspdl_db_change_password_parameters
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_applecspdl_db_change_password_parameters-swift.struct
type Cssm_applecspdl_db_is_locked_parameters ¶
type Cssm_applecspdl_db_is_locked_parameters struct {
IsLocked uint8
}
Cssm_applecspdl_db_is_locked_parameters
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_applecspdl_db_is_locked_parameters-swift.struct
type Cssm_applecspdl_db_settings_parameters ¶
Cssm_applecspdl_db_settings_parameters
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_applecspdl_db_settings_parameters-swift.struct
type Cssm_appledl_open_parameters ¶
type Cssm_appledl_open_parameters struct {
Length uint32
Version uint32
AutoCommit CSSM_BOOL
Mask uint32
Mode uint16
}
Cssm_appledl_open_parameters
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_appledl_open_parameters-swift.struct
type Cssm_appledl_open_parameters_mask ¶
type Cssm_appledl_open_parameters_mask int
See: https://developer.apple.com/documentation/Security/cssm_appledl_open_parameters_mask
const (
KCSSM_APPLEDL_MASK_MODE Cssm_appledl_open_parameters_mask = 1
)
func (Cssm_appledl_open_parameters_mask) String ¶
func (e Cssm_appledl_open_parameters_mask) String() string
type Cssm_authorizationgroup ¶
type Cssm_authorizationgroup struct {
}
Cssm_authorizationgroup
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_authorizationgroup-swift.struct
type Cssm_base_certs ¶
type Cssm_base_certs struct {
CLHandle CSSM_CL_HANDLE
Certs unsafe.Pointer
TPHandle CSSM_TP_HANDLE
}
Cssm_base_certs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_base_certs-c.struct
type Cssm_cert_bundle ¶
Cssm_cert_bundle
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_cert_bundle-c.struct
type Cssm_cert_bundle_header ¶
type Cssm_cert_bundle_header struct {
BundleEncoding CSSM_CERT_BUNDLE_ENCODING
BundleType CSSM_CERT_BUNDLE_TYPE
}
Cssm_cert_bundle_header
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_cert_bundle_header-c.struct
type Cssm_cert_pair ¶
Cssm_cert_pair
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_cert_pair-c.struct
type Cssm_certgroup ¶
type Cssm_certgroup struct {
CertEncoding CSSM_CERT_ENCODING
CertGroupType CSSM_CERTGROUP_TYPE
CertType CSSM_CERT_TYPE
GroupList unsafe.Pointer
NumCerts uint32
Reserved unsafe.Pointer
}
Cssm_certgroup
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_certgroup-c.struct
type Cssm_context ¶
type Cssm_context struct {
AlgorithmType CSSM_ALGORITHMS
CSPHandle CSSM_CSP_HANDLE
ContextAttributes unsafe.Pointer
ContextType CSSM_CONTEXT_TYPE
EncryptionProhibited uint32
NumberOfAttributes uint32
Privileged CSSM_BOOL
Reserved uint32
WorkFactor uint32
}
Cssm_context
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_context-c.struct
type Cssm_context_attribute ¶
type Cssm_context_attribute struct {
Attribute unsafe.Pointer
AttributeLength uint32
AttributeType CSSM_ATTRIBUTE_TYPE
}
Cssm_context_attribute
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_context_attribute-c.struct
type Cssm_crl_pair ¶
Cssm_crl_pair
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_crl_pair-c.struct
type Cssm_crlgroup ¶
type Cssm_crlgroup struct {
CrlEncoding CSSM_CRL_ENCODING
CrlGroupType CSSM_CRLGROUP_TYPE
CrlType CSSM_CRL_TYPE
GroupCrlList unsafe.Pointer
NumberOfCrls uint32
}
Cssm_crlgroup
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_crlgroup-c.struct
type Cssm_crypto_data ¶
type Cssm_crypto_data struct {
Callback unsafe.Pointer
CallerCtx unsafe.Pointer
Param unsafe.Pointer
}
Cssm_crypto_data
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_crypto_data-c.struct
type Cssm_csp_operational_statistics ¶
type Cssm_csp_operational_statistics struct {
UserAuthenticated CSSM_BOOL
DeviceFlags CSSM_CSP_FLAGS
TokenMaxSessionCount uint32
TokenOpenedSessionCount uint32
TokenMaxRWSessionCount uint32
TokenOpenedRWSessionCount uint32
TokenTotalPublicMem uint32
TokenFreePublicMem uint32
TokenTotalPrivateMem uint32
TokenFreePrivateMem uint32
}
Cssm_csp_operational_statistics
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_csp_operational_statistics-swift.struct
type Cssm_data ¶
Cssm_data
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_data-swift.struct
type Cssm_date ¶
Cssm_date
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_date-swift.struct
type Cssm_db_attribute_data ¶
type Cssm_db_attribute_data struct {
Info unsafe.Pointer
NumberOfValues uint32
Value unsafe.Pointer
}
Cssm_db_attribute_data
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_attribute_data-c.struct
type Cssm_db_attribute_info ¶
type Cssm_db_attribute_info struct {
AttributeFormat CSSM_DB_ATTRIBUTE_FORMAT
AttributeNameFormat CSSM_DB_ATTRIBUTE_NAME_FORMAT
Label unsafe.Pointer
}
Cssm_db_attribute_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_attribute_info-c.struct
type Cssm_db_index_info ¶
type Cssm_db_index_info struct {
IndexType CSSM_DB_INDEX_TYPE
IndexedDataLocation CSSM_DB_INDEXED_DATA_LOCATION
Info unsafe.Pointer
}
Cssm_db_index_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_index_info-c.struct
type Cssm_db_parsing_module_info ¶
type Cssm_db_parsing_module_info struct {
ModuleSubserviceUid unsafe.Pointer
RecordType CSSM_DB_RECORDTYPE
}
Cssm_db_parsing_module_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_parsing_module_info-c.struct
type Cssm_db_record_attribute_data ¶
type Cssm_db_record_attribute_data struct {
AttributeData unsafe.Pointer
DataRecordType CSSM_DB_RECORDTYPE
NumberOfAttributes uint32
SemanticInformation uint32
}
Cssm_db_record_attribute_data
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_record_attribute_data-c.struct
type Cssm_db_record_attribute_info ¶
type Cssm_db_record_attribute_info struct {
AttributeInfo unsafe.Pointer
DataRecordType CSSM_DB_RECORDTYPE
NumberOfAttributes uint32
}
Cssm_db_record_attribute_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_record_attribute_info-c.struct
type Cssm_db_record_index_info ¶
type Cssm_db_record_index_info struct {
DataRecordType CSSM_DB_RECORDTYPE
IndexInfo unsafe.Pointer
NumberOfIndexes uint32
}
Cssm_db_record_index_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_record_index_info-c.struct
type Cssm_db_schema_attribute_info ¶
type Cssm_db_schema_attribute_info struct {
AttributeId uint32
AttributeName *byte
AttributeNameID unsafe.Pointer
DataType CSSM_DB_ATTRIBUTE_FORMAT
}
Cssm_db_schema_attribute_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_schema_attribute_info-c.struct
type Cssm_db_schema_index_info ¶
type Cssm_db_schema_index_info struct {
AttributeId uint32
IndexId uint32
IndexType CSSM_DB_INDEX_TYPE
IndexedDataLocation CSSM_DB_INDEXED_DATA_LOCATION
}
Cssm_db_schema_index_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_schema_index_info-swift.struct
type Cssm_db_unique_record ¶
Cssm_db_unique_record
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_db_unique_record-c.struct
type Cssm_dbinfo ¶
type Cssm_dbinfo struct {
AccessPath *byte
DefaultParsingModules unsafe.Pointer
IsLocal CSSM_BOOL
NumberOfRecordTypes uint32
RecordAttributeNames unsafe.Pointer
RecordIndexes unsafe.Pointer
Reserved unsafe.Pointer
}
Cssm_dbinfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_dbinfo-c.struct
type Cssm_dl_db_handle ¶
type Cssm_dl_db_handle struct {
DLHandle CSSM_DL_HANDLE
DBHandle CSSM_DB_HANDLE
}
Cssm_dl_db_handle
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_dl_db_handle-swift.struct
type Cssm_dl_db_list ¶
Cssm_dl_db_list
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_dl_db_list-c.struct
type Cssm_dl_pkcs11_attributes ¶
type Cssm_dl_pkcs11_attributes struct {
DeviceAccessFlags uint32
}
Cssm_dl_pkcs11_attributes
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_dl_pkcs11_attributes
type Cssm_encoded_cert ¶
type Cssm_encoded_cert struct {
CertBlob unsafe.Pointer
CertEncoding CSSM_CERT_ENCODING
CertType CSSM_CERT_TYPE
}
Cssm_encoded_cert
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_encoded_cert-c.struct
type Cssm_encoded_crl ¶
type Cssm_encoded_crl struct {
CrlBlob unsafe.Pointer
CrlEncoding CSSM_CRL_ENCODING
CrlType CSSM_CRL_TYPE
}
Cssm_encoded_crl
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_encoded_crl-c.struct
type Cssm_evidence ¶
type Cssm_evidence struct {
Evidence unsafe.Pointer
EvidenceForm CSSM_EVIDENCE_FORM
}
Cssm_evidence
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_evidence-c.struct
type Cssm_field ¶
Cssm_field
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_field-c.struct
type Cssm_fieldgroup ¶
Cssm_fieldgroup
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_fieldgroup-c.struct
type Cssm_func_name_addr ¶
type Cssm_func_name_addr struct {
Name CSSM_STRING
Address CSSM_PROC_ADDR
}
Cssm_func_name_addr
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_func_name_addr-swift.struct
type Cssm_guid ¶
Cssm_guid
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_guid-swift.struct
type Cssm_kea_derive_params ¶
Cssm_kea_derive_params
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kea_derive_params-c.struct
type Cssm_key ¶
Cssm_key
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_key-c.struct
type Cssm_key_size ¶
Cssm_key_size
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_key_size-swift.struct
type Cssm_keyheader ¶
type Cssm_keyheader struct {
AlgorithmId CSSM_ALGORITHMS
BlobType CSSM_KEYBLOB_TYPE
CspId unsafe.Pointer
EndDate unsafe.Pointer
Format CSSM_KEYBLOB_FORMAT
HeaderVersion CSSM_HEADERVERSION
KeyAttr CSSM_KEYATTR_FLAGS
KeyClass CSSM_KEYCLASS
KeyUsage CSSM_KEYUSE
LogicalKeySizeInBits uint32
Reserved uint32
StartDate unsafe.Pointer
WrapAlgorithmId CSSM_ALGORITHMS
WrapMode CSSM_ENCRYPT_MODE
}
Cssm_keyheader
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_keyheader-c.struct
type Cssm_kr_name ¶
Cssm_kr_name
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kr_name-swift.struct
type Cssm_kr_policy_info ¶
type Cssm_kr_policy_info struct {
KrbNotAllowed CSSM_BOOL
NumberOfEntries uint32
PolicyEntry unsafe.Pointer
}
Cssm_kr_policy_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kr_policy_info-c.struct
type Cssm_kr_policy_list_item ¶
type Cssm_kr_policy_list_item struct {
AlgClass CSSM_CONTEXT_TYPE
AlgorithmId CSSM_ALGORITHMS
MaxKeyLength uint32
MaxRounds uint32
Mode CSSM_ENCRYPT_MODE
PolicyFlags CSSM_KR_POLICY_FLAGS
WorkFactor uint8
Next objectivec.IObject
}
Cssm_kr_policy_list_item
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kr_policy_list_item-c.struct
type Cssm_kr_profile ¶
type Cssm_kr_profile struct {
ENT_KRACertChainList unsafe.Pointer
ENT_KRANum uint8
INDIV_AuthenticationInfo unsafe.Pointer
INDIV_KRACertChainList unsafe.Pointer
INDIV_KRANum uint8
KRSCertChain unsafe.Pointer
KRSPExtensions unsafe.Pointer
KRSPFlags uint32
LE_KRACertChainList unsafe.Pointer
LE_KRANum uint8
UserCertificate unsafe.Pointer
UserName unsafe.Pointer
}
Cssm_kr_profile
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kr_profile-c.struct
type Cssm_kr_wrappedproductinfo ¶
type Cssm_kr_wrappedproductinfo struct {
ProductDescription CSSM_STRING
ProductFlags uint32
ProductVendor CSSM_STRING
ProductVersion unsafe.Pointer
StandardDescription CSSM_STRING
StandardVersion unsafe.Pointer
}
Cssm_kr_wrappedproductinfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kr_wrappedproductinfo
type Cssm_krsubservice ¶
type Cssm_krsubservice struct {
Description *byte
SubServiceId uint32
WrappedProduct unsafe.Pointer
}
Cssm_krsubservice
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_krsubservice-c.struct
type Cssm_list ¶
type Cssm_list struct {
ListType CSSM_LIST_TYPE
Head CSSM_LIST_ELEMENT_PTR
Tail CSSM_LIST_ELEMENT_PTR
}
Cssm_list
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_list-swift.struct
type Cssm_list_element ¶
type Cssm_list_element struct {
Element unsafe.Pointer
ElementType CSSM_LIST_ELEMENT_TYPE
NextElement *Cssm_list_element
WordID CSSM_WORDID_TYPE
}
Cssm_list_element
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_list_element-c.struct
type Cssm_manager_event_notification ¶
type Cssm_manager_event_notification struct {
DestinationModuleManagerType CSSM_SERVICE_MASK
Event CSSM_MANAGER_EVENT_TYPES
EventData unsafe.Pointer
EventId uint32
SourceModuleManagerType CSSM_SERVICE_MASK
}
Cssm_manager_event_notification
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_manager_event_notification-c.struct
type Cssm_manager_registration_info ¶
type Cssm_manager_registration_info struct {
DeregisterDispatchTable func() int
EventNotifyManager func(uintptr) int
Initialize func(uint, uint) int
RefreshFunctionTable func(uintptr, uint) int
RegisterDispatchTable func(uintptr) int
Terminate func() int
}
Cssm_manager_registration_info
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_manager_registration_info-c.struct
type Cssm_memory_funcs ¶
type Cssm_memory_funcs struct {
Malloc_func CSSM_MALLOC
Free_func CSSM_FREE
Realloc_func CSSM_REALLOC
Calloc_func CSSM_CALLOC
AllocRef unsafe.Pointer
}
Cssm_memory_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_memory_funcs-swift.struct
type Cssm_module_funcs ¶
type Cssm_module_funcs struct {
NumberOfServiceFuncs uint32
ServiceFuncs CSSM_PROC_ADDR
ServiceType CSSM_SERVICE_TYPE
}
Cssm_module_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_module_funcs-c.struct
type Cssm_name_list ¶
Cssm_name_list
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_name_list-swift.struct
type Cssm_net_address ¶
type Cssm_net_address struct {
Address unsafe.Pointer
AddressType CSSM_NET_ADDRESS_TYPE
}
Cssm_net_address
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_net_address-c.struct
type Cssm_parsed_cert ¶
type Cssm_parsed_cert struct {
CertType CSSM_CERT_TYPE
ParsedCertFormat CSSM_CERT_PARSE_FORMAT
ParsedCert unsafe.Pointer
}
Cssm_parsed_cert
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_parsed_cert-swift.struct
type Cssm_parsed_crl ¶
type Cssm_parsed_crl struct {
CrlType CSSM_CRL_TYPE
ParsedCrlFormat CSSM_CRL_PARSE_FORMAT
ParsedCrl unsafe.Pointer
}
Cssm_parsed_crl
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_parsed_crl-swift.struct
type Cssm_pkcs1_oaep_params ¶
type Cssm_pkcs1_oaep_params struct {
HashAlgorithm uint32
HashParams unsafe.Pointer
MGF CSSM_PKCS_OAEP_MGF
MGFParams unsafe.Pointer
PSource CSSM_PKCS_OAEP_PSOURCE
PSourceParams unsafe.Pointer
}
Cssm_pkcs1_oaep_params
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_pkcs1_oaep_params-c.struct
type Cssm_pkcs5_pbkdf1_params ¶
Cssm_pkcs5_pbkdf1_params
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_pkcs5_pbkdf1_params-c.struct
type Cssm_pkcs5_pbkdf2_params ¶
type Cssm_pkcs5_pbkdf2_params struct {
Passphrase unsafe.Pointer
PseudoRandomFunction CSSM_PKCS5_PBKDF2_PRF
}
Cssm_pkcs5_pbkdf2_params
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_pkcs5_pbkdf2_params-c.struct
type Cssm_query ¶
type Cssm_query struct {
Conjunctive CSSM_DB_CONJUNCTIVE
NumSelectionPredicates uint32
QueryFlags CSSM_QUERY_FLAGS
QueryLimits unsafe.Pointer
RecordType CSSM_DB_RECORDTYPE
SelectionPredicate unsafe.Pointer
}
Cssm_query
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_query-c.struct
type Cssm_query_limits ¶
Cssm_query_limits
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_query_limits-c.struct
type Cssm_query_size_data ¶
Cssm_query_size_data
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_query_size_data-swift.struct
type Cssm_range ¶
Cssm_range
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_range-swift.struct
type Cssm_resource_control_context ¶
type Cssm_resource_control_context struct {
AccessCred unsafe.Pointer
InitialAclEntry unsafe.Pointer
}
Cssm_resource_control_context
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_resource_control_context-c.struct
type Cssm_sample ¶
Cssm_sample
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_sample-c.struct
type Cssm_samplegroup ¶
Cssm_samplegroup
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_samplegroup-c.struct
type Cssm_selection_predicate ¶
type Cssm_selection_predicate struct {
Attribute unsafe.Pointer
DbOperator CSSM_DB_OPERATOR
}
Cssm_selection_predicate
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_selection_predicate-c.struct
type Cssm_spi_ac_funcs ¶
type Cssm_spi_ac_funcs struct {
AuthCompute func(int, uintptr, uintptr, uint, uintptr, uintptr, uintptr, uintptr) int
PassThrough func(int, int, int, uint64, uintptr, uint, unsafe.Pointer, unsafe.Pointer) int
}
Cssm_spi_ac_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_spi_ac_funcs-c.struct
type Cssm_spi_cl_funcs ¶
type Cssm_spi_cl_funcs struct {
CertAbortCache func(int, int) int
CertAbortQuery func(int, int) int
CertCache func(int, uintptr, *int) int
CertCreateTemplate func(int, uint, uintptr, uintptr) int
CertDescribeFormat func(int, *uint, uintptr) int
CertGetAllFields func(int, uintptr, *uint, uintptr) int
CertGetAllTemplateFields func(int, uintptr, *uint, uintptr) int
CertGetFirstCachedFieldValue func(int, int, uintptr, *int, *uint, uintptr) int
CertGetFirstFieldValue func(int, uintptr, uintptr, *int, *uint, uintptr) int
CertGetKeyInfo func(int, uintptr, uintptr) int
CertGetNextCachedFieldValue func(int, int, uintptr) int
CertGetNextFieldValue func(int, int, uintptr) int
CertGroupFromVerifiedBundle func(int, uint64, uintptr, uintptr, uintptr) int
CertGroupToSignedBundle func(int, uint64, uintptr, uintptr, uintptr) int
CertSign func(int, uint64, uintptr, uintptr, uint, uintptr) int
CertVerify func(int, uint64, uintptr, uintptr, uintptr, uint) int
CertVerifyWithKey func(int, uint64, uintptr) int
CrlAbortCache func(int, int) int
CrlAbortQuery func(int, int) int
CrlAddCert func(int, uint64, uintptr, uint, uintptr, uintptr, uintptr) int
CrlCache func(int, uintptr, *int) int
CrlCreateTemplate func(int, uint, uintptr, uintptr) int
CrlDescribeFormat func(int, *uint, uintptr) int
CrlGetAllCachedRecordFields func(int, int, uintptr, *uint, uintptr) int
CrlGetAllFields func(int, uintptr, *uint, uintptr) int
CrlGetFirstCachedFieldValue func(int, int, uintptr, uintptr, *int, *uint, uintptr) int
CrlGetFirstFieldValue func(int, uintptr, uintptr, *int, *uint, uintptr) int
CrlGetNextCachedFieldValue func(int, int, uintptr) int
CrlGetNextFieldValue func(int, int, uintptr) int
CrlRemoveCert func(int, uintptr, uintptr, uintptr) int
CrlSetFields func(int, uint, uintptr, uintptr, uintptr) int
CrlSign func(int, uint64, uintptr, uintptr, uint, uintptr) int
CrlVerify func(int, uint64, uintptr, uintptr, uintptr, uint) int
CrlVerifyWithKey func(int, uint64, uintptr) int
FreeFieldValue func(int, uintptr, uintptr) int
FreeFields func(int, uint, uintptr) int
IsCertInCachedCrl func(int, uintptr, int, []int, uintptr) int
IsCertInCrl func(int, uintptr, uintptr, []int) int
PassThrough func(int, uint64, uint, unsafe.Pointer, unsafe.Pointer) int
}
Cssm_spi_cl_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_spi_cl_funcs-c.struct
type Cssm_spi_csp_funcs ¶
type Cssm_spi_csp_funcs struct {
ChangeKeyAcl func(int, uintptr, uintptr, uintptr) int
ChangeKeyOwner func(int, uintptr, uintptr, uintptr) int
ChangeLoginAcl func(int, uintptr, uintptr) int
ChangeLoginOwner func(int, uintptr, uintptr) int
DecryptData func(int, uint64, uintptr, uintptr, uint, uintptr, uint, *uint, uintptr, uint64) int
DecryptDataFinal func(int, uint64, uintptr) int
DecryptDataInit func(int, uint64, uintptr, uint64) int
DecryptDataUpdate func(int, uint64, uintptr, uint, uintptr, uint, *uint) int
DeriveKey func(int, uint64, uintptr, uintptr, uint, uint, uintptr, uintptr, uintptr) int
DigestData func(int, uint64, uintptr, uintptr, uint, uintptr) int
DigestDataClone func(int, uint64, uint64) int
DigestDataFinal func(int, uint64, uintptr) int
DigestDataInit func(int, uint64, uintptr) int
DigestDataUpdate func(int, uint64, uintptr, uint) int
EncryptData func(int, uint64, uintptr, uintptr, uint, uintptr, uint, *uint, uintptr, uint64) int
EncryptDataFinal func(int, uint64, uintptr) int
EncryptDataInit func(int, uint64, uintptr, uint64) int
EncryptDataUpdate func(int, uint64, uintptr, uint, uintptr, uint, *uint) int
EventNotify func(int, uint, uint64, uintptr) int
FreeKey func(int, uintptr, uintptr, int) int
GenerateAlgorithmParams func(int, uint64, uintptr, uint, uintptr, *uint, uintptr) int
GenerateKey func(int, uint64, uintptr, uint, uint, uintptr, uintptr, uintptr, uint64) int
GenerateKeyPair func(int, uint64, uintptr, uint, uint, uintptr, uintptr, uint, uint, uintptr, uintptr, uintptr, uint64) int
GenerateMac func(int, uint64, uintptr, uintptr, uint, uintptr) int
GenerateMacFinal func(int, uint64, uintptr) int
GenerateMacInit func(int, uint64, uintptr) int
GenerateMacUpdate func(int, uint64, uintptr, uint) int
GenerateRandom func(int, uint64, uintptr, uintptr) int
GetKeyAcl func(int, uintptr, [68]objectivec.IObject, *uint, uintptr) int
GetKeyOwner func(int, uintptr, uintptr) int
GetLoginAcl func(int, [68]objectivec.IObject, *uint, uintptr) int
GetLoginOwner func(int, uintptr) int
GetOperationalStatistics func(int, uintptr) int
GetTimeValue func(int, uint, uintptr) int
Login func(int, uintptr, uintptr, unsafe.Pointer) int
Logout func(int) int
ObtainPrivateKeyFromPublicKey func(int, uintptr, uintptr) int
PassThrough func(int, uint64, uintptr, uint, unsafe.Pointer, unsafe.Pointer) int
QueryKeySizeInBits func(int, uint64, uintptr, uintptr, uintptr) int
QuerySize func(int, uint64, uintptr, int, uint, uintptr) int
RetrieveCounter func(int, uintptr) int
RetrieveUniqueId func(int, uintptr) int
SignData func(int, uint64, uintptr, uintptr, uint, uint, uintptr) int
SignDataFinal func(int, uint64, uintptr) int
SignDataInit func(int, uint64, uintptr) int
SignDataUpdate func(int, uint64, uintptr, uint) int
UnwrapKey func(int, uint64, uintptr, uintptr, uintptr, uint, uint, uintptr, uintptr, uintptr, uintptr, uint64) int
VerifyData func(int, uint64, uintptr, uintptr, uint, uint, uintptr) int
VerifyDataFinal func(int, uint64, uintptr) int
VerifyDataInit func(int, uint64, uintptr) int
VerifyDataUpdate func(int, uint64, uintptr, uint) int
VerifyDevice func(int, uintptr) int
VerifyMac func(int, uint64, uintptr, uintptr, uint, uintptr) int
VerifyMacFinal func(int, uint64, uintptr) int
VerifyMacInit func(int, uint64, uintptr) int
VerifyMacUpdate func(int, uint64, uintptr, uint) int
WrapKey func(int, uint64, uintptr, uintptr, uintptr, uintptr, uintptr, uint64) int
}
Cssm_spi_csp_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_spi_csp_funcs-c.struct
type Cssm_spi_dl_funcs ¶
type Cssm_spi_dl_funcs struct {
Authenticate func(Cssm_dl_db_handle, uint, uintptr) int
ChangeDbAcl func(Cssm_dl_db_handle, uintptr, uintptr) int
ChangeDbOwner func(Cssm_dl_db_handle, uintptr, uintptr) int
CreateRelation func(Cssm_dl_db_handle, uint, *byte, uint, uintptr, uint, uintptr) int
DataAbortQuery func(Cssm_dl_db_handle, int) int
DataDelete func(Cssm_dl_db_handle, uintptr) int
DataGetFirst func(Cssm_dl_db_handle, uintptr, *int, uintptr, uintptr, uintptr) int
DataGetFromUniqueRecordId func(Cssm_dl_db_handle, uintptr, uintptr, uintptr) int
DataGetNext func(Cssm_dl_db_handle, int, uintptr, uintptr, uintptr) int
DataInsert func(Cssm_dl_db_handle, uint, uintptr, uintptr, uintptr) int
DataModify func(Cssm_dl_db_handle, uint, uintptr, uintptr, uintptr, uint) int
DbClose func(Cssm_dl_db_handle) int
DbCreate func(int, *byte, uintptr, uintptr, uint, uintptr, unsafe.Pointer, *int) int
DbDelete func(int, *byte, uintptr, uintptr) int
DbOpen func(int, *byte, uintptr, uint, uintptr, unsafe.Pointer, *int) int
DestroyRelation func(Cssm_dl_db_handle, uint) int
FreeNameList func(int, uintptr) int
FreeUniqueRecord func(Cssm_dl_db_handle, uintptr) int
GetDbAcl func(Cssm_dl_db_handle, [68]objectivec.IObject, *uint, uintptr) int
GetDbNameFromHandle func(Cssm_dl_db_handle, *byte) int
GetDbNames func(int, uintptr) int
GetDbOwner func(Cssm_dl_db_handle, uintptr) int
PassThrough func(Cssm_dl_db_handle, uint, unsafe.Pointer, unsafe.Pointer) int
}
Cssm_spi_dl_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_spi_dl_funcs-c.struct
type Cssm_spi_kr_funcs ¶
type Cssm_spi_kr_funcs struct {
GenerateRecoveryFields func(uint, uint64, uintptr, uint64, uintptr, uintptr, uint, uintptr) int
GetRecoveredObject func(uint, int, uint, int, uintptr, uint, uintptr, uintptr) int
PassThrough func(uint, uint64, uintptr, uint64, uintptr, uint, unsafe.Pointer, unsafe.Pointer) int
ProcessRecoveryFields func(uint, uint64, uintptr, uint64, uintptr, uintptr, uint, uintptr) int
RecoveryRequest func(uint, uint64, uintptr, uintptr, uintptr, []int, *int) int
RecoveryRequestAbort func(uint, int) int
RecoveryRetrieve func(uint, int, []int, *int, *uint) int
RegistrationRequest func(uint, uint64, uintptr, uintptr, uintptr, uint, []int, *int) int
RegistrationRetrieve func(uint, int, []int, uintptr) int
}
Cssm_spi_kr_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_spi_kr_funcs-c.struct
type Cssm_spi_tp_funcs ¶
type Cssm_spi_tp_funcs struct {
ApplyCrlToDb func(int, int, int, uintptr, uintptr, uintptr, uintptr) int
CertCreateTemplate func(int, int, uint, uintptr, uintptr) int
CertGetAllTemplateFields func(int, int, uintptr, *uint, uintptr) int
CertGroupConstruct func(int, int, int, uintptr, unsafe.Pointer, uintptr, uintptr) int
CertGroupPrune func(int, int, uintptr, uintptr, uintptr) int
CertGroupToTupleGroup func(int, int, uintptr, uintptr) int
CertGroupVerify func(int, int, int, uintptr, uintptr, uintptr) int
CertReclaimAbort func(int, uint64) int
CertReclaimKey func(int, uintptr, uint, uint64, int, uintptr) int
CertRemoveFromCrlTemplate func(int, int, int, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr) int
CertRevoke func(int, int, int, uintptr, uintptr, uintptr, uintptr, uintptr, uint, uintptr) int
CertSign func(int, int, uint64, uintptr, uintptr, uintptr, uintptr, uintptr) int
ConfirmCredResult func(int, uintptr, uintptr, uintptr, uintptr) int
CrlCreateTemplate func(int, int, uint, uintptr, uintptr) int
CrlSign func(int, int, uint64, uintptr, uintptr, uintptr, uintptr, uintptr) int
CrlVerify func(int, int, int, uintptr, uintptr, uintptr, uintptr) int
FormRequest func(int, uintptr, uint, uintptr) int
FormSubmit func(int, uint, uintptr, uintptr, uintptr, uintptr) int
PassThrough func(int, int, uint64, uintptr, uint, unsafe.Pointer, unsafe.Pointer) int
ReceiveConfirmation func(int, uintptr, uintptr, []int) int
RetrieveCredResult func(int, uintptr, uintptr, []int, []int, uintptr) int
SubmitCredRequest func(int, uintptr, uint, uintptr, uintptr, []int, uintptr) int
TupleGroupToCertGroup func(int, int, uintptr, uintptr) int
}
Cssm_spi_tp_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_spi_tp_funcs-c.struct
type Cssm_state_funcs ¶
type Cssm_state_funcs struct {
Cssm_DeliverModuleManagerEvent func(uintptr) int
Cssm_DeregisterManagerServices func(uintptr) int
Cssm_GetAppMemoryFunctions func(int, uintptr) int
Cssm_GetAttachFunctions func(int, uint, unsafe.Pointer, uintptr, []int) int
Cssm_IsFuncCallValid func(int, func(), func(), uint64, *uint64, uint, []int) int
Cssm_ReleaseAttachFunctions func(int) int
}
Cssm_state_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_state_funcs-c.struct
type Cssm_subservice_uid ¶
type Cssm_subservice_uid struct {
Guid unsafe.Pointer
SubserviceId uint32
SubserviceType CSSM_SERVICE_TYPE
Version unsafe.Pointer
}
Cssm_subservice_uid
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_subservice_uid-c.struct
type Cssm_tp_authority_id ¶
type Cssm_tp_authority_id struct {
}
Cssm_tp_authority_id
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_authority_id-c.struct
type Cssm_tp_callerauth_context ¶
type Cssm_tp_callerauth_context struct {
AnchorCerts unsafe.Pointer
CallbackWithVerifiedCert unsafe.Pointer
CallerCredentials unsafe.Pointer
DBList unsafe.Pointer
NumberOfAnchorCerts uint32
Policy unsafe.Pointer
VerificationAbortOn CSSM_TP_STOP_ON
VerifyTime CSSM_TIMESTRING
}
Cssm_tp_callerauth_context
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_callerauth_context-c.struct
type Cssm_tp_certchange_input ¶
type Cssm_tp_certchange_input struct {
Action CSSM_TP_CERTCHANGE_ACTION
CLHandle CSSM_CL_HANDLE
CallerCredentials unsafe.Pointer
Cert unsafe.Pointer
ChangeInfo unsafe.Pointer
Reason CSSM_TP_CERTCHANGE_REASON
StartTime CSSM_TIMESTRING
}
Cssm_tp_certchange_input
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certchange_input-c.struct
type Cssm_tp_certchange_output ¶
type Cssm_tp_certchange_output struct {
ActionStatus CSSM_TP_CERTCHANGE_STATUS
RevokeInfo unsafe.Pointer
}
Cssm_tp_certchange_output
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certchange_output-c.struct
type Cssm_tp_certissue_input ¶
type Cssm_tp_certissue_input struct {
CLHandle CSSM_CL_HANDLE
CSPSubserviceUid unsafe.Pointer
MoreServiceRequests CSSM_TP_SERVICES
NumberOfServiceControls uint32
NumberOfTemplateFields uint32
ServiceControls unsafe.Pointer
SubjectCertFields unsafe.Pointer
UserCredentials unsafe.Pointer
}
Cssm_tp_certissue_input
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certissue_input-c.struct
type Cssm_tp_certissue_output ¶
type Cssm_tp_certissue_output struct {
CertGroup unsafe.Pointer
IssueStatus CSSM_TP_CERTISSUE_STATUS
PerformedServiceRequests CSSM_TP_SERVICES
}
Cssm_tp_certissue_output
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certissue_output-c.struct
type Cssm_tp_certnotarize_input ¶
type Cssm_tp_certnotarize_input struct {
CLHandle CSSM_CL_HANDLE
MoreFields unsafe.Pointer
MoreServiceRequests CSSM_TP_SERVICES
NumberOfFields uint32
NumberOfServiceControls uint32
ScopeSize uint32
ServiceControls unsafe.Pointer
SignScope unsafe.Pointer
UserCredentials unsafe.Pointer
}
Cssm_tp_certnotarize_input
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certnotarize_input-c.struct
type Cssm_tp_certnotarize_output ¶
type Cssm_tp_certnotarize_output struct {
NotarizeStatus CSSM_TP_CERTNOTARIZE_STATUS
NotarizedCertGroup unsafe.Pointer
PerformedServiceRequests CSSM_TP_SERVICES
}
Cssm_tp_certnotarize_output
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certnotarize_output-c.struct
type Cssm_tp_certreclaim_input ¶
type Cssm_tp_certreclaim_input struct {
CLHandle CSSM_CL_HANDLE
NumberOfSelectionFields uint32
SelectionFields unsafe.Pointer
UserCredentials unsafe.Pointer
}
Cssm_tp_certreclaim_input
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certreclaim_input-c.struct
type Cssm_tp_certreclaim_output ¶
type Cssm_tp_certreclaim_output struct {
KeyCacheHandle CSSM_LONG_HANDLE
ReclaimStatus CSSM_TP_CERTRECLAIM_STATUS
ReclaimedCertGroup unsafe.Pointer
}
Cssm_tp_certreclaim_output
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certreclaim_output-c.struct
type Cssm_tp_certverify_input ¶
type Cssm_tp_certverify_input struct {
CLHandle CSSM_CL_HANDLE
Cert unsafe.Pointer
VerifyContext unsafe.Pointer
}
Cssm_tp_certverify_input
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certverify_input-c.struct
type Cssm_tp_certverify_output ¶
type Cssm_tp_certverify_output struct {
Evidence unsafe.Pointer
NumberOfEvidence uint32
VerifyStatus CSSM_TP_CERTVERIFY_STATUS
}
Cssm_tp_certverify_output
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_certverify_output-c.struct
type Cssm_tp_confirm_response ¶
type Cssm_tp_confirm_response struct {
NumberOfResponses uint32
Responses CSSM_TP_CONFIRM_STATUS_PTR
}
Cssm_tp_confirm_response
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_confirm_response-c.struct
type Cssm_tp_crlissue_input ¶
type Cssm_tp_crlissue_input struct {
CLHandle CSSM_CL_HANDLE
CallerCredentials unsafe.Pointer
CrlIdentifier uint32
CrlThisTime CSSM_TIMESTRING
PolicyIdentifier unsafe.Pointer
}
Cssm_tp_crlissue_input
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_crlissue_input-c.struct
type Cssm_tp_crlissue_output ¶
type Cssm_tp_crlissue_output struct {
Crl unsafe.Pointer
CrlNextTime CSSM_TIMESTRING
IssueStatus CSSM_TP_CRLISSUE_STATUS
}
Cssm_tp_crlissue_output
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_crlissue_output-c.struct
type Cssm_tp_policyinfo ¶
type Cssm_tp_policyinfo struct {
NumberOfPolicyIds uint32
PolicyControl unsafe.Pointer
PolicyIds unsafe.Pointer
}
Cssm_tp_policyinfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_policyinfo-c.struct
type Cssm_tp_request_set ¶
Cssm_tp_request_set
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_request_set-c.struct
type Cssm_tp_result_set ¶
Cssm_tp_result_set
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_result_set-swift.struct
type Cssm_tp_verify_context ¶
type Cssm_tp_verify_context struct {
Action CSSM_TP_ACTION
ActionData unsafe.Pointer
Cred unsafe.Pointer
Crls unsafe.Pointer
}
Cssm_tp_verify_context
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_verify_context-c.struct
type Cssm_tp_verify_context_result ¶
Cssm_tp_verify_context_result
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tp_verify_context_result-c.struct
type Cssm_tuplegroup ¶
Cssm_tuplegroup
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tuplegroup-c.struct
type Cssm_upcalls ¶
type Cssm_upcalls struct {
CcToHandle_func func(uint64, *int) int
GetModuleInfo_func func(int, uintptr, uintptr, *uint, *uint, *uint, *uint, uintptr, uintptr, uint) int
Calloc_func unsafe.Pointer
Free_func unsafe.Pointer
Malloc_func unsafe.Pointer
Realloc_func unsafe.Pointer
}
Cssm_upcalls
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_upcalls-c.struct
type Cssm_version ¶
Cssm_version
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_version-swift.struct
type Cssm_x509_extension ¶
type Cssm_x509_extension struct {
BERvalue unsafe.Pointer
Critical CSSM_BOOL
ExtnId unsafe.Pointer
Format CSSM_X509EXT_DATA_FORMAT
Value unsafe.Pointer
}
Cssm_x509_extension
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_extension-c.struct
type Cssm_x509_extensionTagAndValue ¶
type Cssm_x509_extensionTagAndValue struct {
Type CSSM_BER_TAG
Value unsafe.Pointer
}
Cssm_x509_extensionTagAndValue
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_extensionTagAndValue
type Cssm_x509_extensions ¶
Cssm_x509_extensions
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_extensions-c.struct
type Cssm_x509_name ¶
Cssm_x509_name
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_name-c.struct
type Cssm_x509_rdn ¶
Cssm_x509_rdn
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_rdn-c.struct
type Cssm_x509_revoked_cert_entry ¶
type Cssm_x509_revoked_cert_entry struct {
CertificateSerialNumber unsafe.Pointer
Extensions unsafe.Pointer
RevocationDate unsafe.Pointer
}
Cssm_x509_revoked_cert_entry
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_revoked_cert_entry-c.struct
type Cssm_x509_revoked_cert_list ¶
type Cssm_x509_revoked_cert_list struct {
NumberOfRevokedCertEntries uint32
RevokedCertEntry unsafe.Pointer
}
Cssm_x509_revoked_cert_list
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_revoked_cert_list-c.struct
type Cssm_x509_signature ¶
type Cssm_x509_signature struct {
AlgorithmIdentifier SecAsn1AlgId
Encrypted unsafe.Pointer
}
Cssm_x509_signature
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_signature-c.struct
type Cssm_x509_signed_certificate ¶
Cssm_x509_signed_certificate
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_signed_certificate-c.struct
type Cssm_x509_signed_crl ¶
Cssm_x509_signed_crl
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_signed_crl-c.struct
type Cssm_x509_tbs_certificate ¶
type Cssm_x509_tbs_certificate struct {
Extensions unsafe.Pointer
Issuer unsafe.Pointer
IssuerUniqueIdentifier unsafe.Pointer
SerialNumber unsafe.Pointer
Signature SecAsn1AlgId
Subject unsafe.Pointer
SubjectPublicKeyInfo SecAsn1PubKeyInfo
SubjectUniqueIdentifier unsafe.Pointer
Validity unsafe.Pointer
Version unsafe.Pointer
}
Cssm_x509_tbs_certificate
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_tbs_certificate-c.struct
type Cssm_x509_tbs_certlist ¶
type Cssm_x509_tbs_certlist struct {
Extensions unsafe.Pointer
Issuer unsafe.Pointer
NextUpdate unsafe.Pointer
RevokedCertificates unsafe.Pointer
Signature SecAsn1AlgId
ThisUpdate unsafe.Pointer
Version unsafe.Pointer
}
Cssm_x509_tbs_certlist
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_tbs_certlist-c.struct
type Cssm_x509_time ¶
type Cssm_x509_time struct {
Time unsafe.Pointer
TimeType CSSM_BER_TAG
}
Cssm_x509_time
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_time-c.struct
type Cssm_x509_type_value_pair ¶
type Cssm_x509_type_value_pair struct {
Type unsafe.Pointer
Value unsafe.Pointer
ValueType CSSM_BER_TAG
}
Cssm_x509_type_value_pair
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_type_value_pair-c.struct
type Cssm_x509ext_basicConstraints ¶
type Cssm_x509ext_basicConstraints struct {
CA CSSM_BOOL
PathLenConstraint uint32
PathLenConstraintPresent CSSM_X509_OPTION
}
Cssm_x509ext_basicConstraints
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509ext_basicConstraints-c.struct
type Cssm_x509ext_pair ¶
Cssm_x509ext_pair
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509ext_pair-c.struct
type Cssm_x509ext_policyInfo ¶
type Cssm_x509ext_policyInfo struct {
PolicyIdentifier unsafe.Pointer
PolicyQualifiers unsafe.Pointer
}
Cssm_x509ext_policyInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509ext_policyInfo-c.struct
type Cssm_x509ext_policyQualifierInfo ¶
type Cssm_x509ext_policyQualifierInfo struct {
PolicyQualifierId unsafe.Pointer
Value unsafe.Pointer
}
Cssm_x509ext_policyQualifierInfo
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509ext_policyQualifierInfo-c.struct
type Cssm_x509ext_policyQualifiers ¶
type Cssm_x509ext_policyQualifiers struct {
NumberOfPolicyQualifiers uint32
PolicyQualifier unsafe.Pointer
}
Cssm_x509ext_policyQualifiers
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509ext_policyQualifiers-c.struct
type Cssmerr ¶
type Cssmerr int
const ( CSSMERR_AC_DEVICE_FAILED Cssmerr = -2147405595 CSSMERR_AC_DEVICE_RESET Cssmerr = -2147405596 CSSMERR_AC_INSUFFICIENT_CLIENT_IDENTIFICATION Cssmerr = -2147405597 CSSMERR_AC_IN_DARK_WAKE Cssmerr = -2147405594 CSSMERR_AC_NO_USER_INTERACTION Cssmerr = -2147405600 CSSMERR_AC_SERVICE_NOT_AVAILABLE Cssmerr = -2147405598 CSSMERR_AC_USER_CANCELED Cssmerr = -2147405599 CSSMERR_CL_DEVICE_FAILED Cssmerr = -2147411739 CSSMERR_CL_DEVICE_RESET Cssmerr = -2147411740 CSSMERR_CL_INSUFFICIENT_CLIENT_IDENTIFICATION Cssmerr = -2147411741 CSSMERR_CL_IN_DARK_WAKE Cssmerr = -2147411738 CSSMERR_CL_NO_USER_INTERACTION Cssmerr = -2147411744 CSSMERR_CL_SERVICE_NOT_AVAILABLE Cssmerr = -2147411742 CSSMERR_CL_USER_CANCELED Cssmerr = -2147411743 CSSMERR_CSP_DEVICE_FAILED Cssmerr = -2147415835 CSSMERR_CSP_DEVICE_RESET Cssmerr = -2147415836 CSSMERR_CSP_INSUFFICIENT_CLIENT_IDENTIFICATION Cssmerr = -2147415837 CSSMERR_CSP_IN_DARK_WAKE Cssmerr = -2147415834 CSSMERR_CSP_NO_USER_INTERACTION Cssmerr = -2147415840 CSSMERR_CSP_SERVICE_NOT_AVAILABLE Cssmerr = -2147415838 CSSMERR_CSP_USER_CANCELED Cssmerr = -2147415839 CSSMERR_CSSM_DEVICE_FAILED Cssmerr = -2147417883 CSSMERR_CSSM_DEVICE_RESET Cssmerr = -2147417884 CSSMERR_CSSM_INSUFFICIENT_CLIENT_IDENTIFICATION Cssmerr = -2147417885 CSSMERR_CSSM_IN_DARK_WAKE Cssmerr = -2147417882 CSSMERR_CSSM_NO_USER_INTERACTION Cssmerr = -2147417888 CSSMERR_CSSM_SERVICE_NOT_AVAILABLE Cssmerr = -2147417886 CSSMERR_CSSM_USER_CANCELED Cssmerr = -2147417887 CSSMERR_DL_DEVICE_FAILED Cssmerr = -2147413787 CSSMERR_DL_DEVICE_RESET Cssmerr = -2147413788 CSSMERR_DL_INSUFFICIENT_CLIENT_IDENTIFICATION Cssmerr = -2147413789 CSSMERR_DL_IN_DARK_WAKE Cssmerr = -2147413786 CSSMERR_DL_NO_USER_INTERACTION Cssmerr = -2147413792 CSSMERR_DL_SERVICE_NOT_AVAILABLE Cssmerr = -2147413790 CSSMERR_DL_USER_CANCELED Cssmerr = -2147413791 CSSMERR_TP_DEVICE_FAILED Cssmerr = -2147409691 CSSMERR_TP_DEVICE_RESET Cssmerr = -2147409692 CSSMERR_TP_INSUFFICIENT_CLIENT_IDENTIFICATION Cssmerr = -2147409693 CSSMERR_TP_IN_DARK_WAKE Cssmerr = -2147409690 CSSMERR_TP_NO_USER_INTERACTION Cssmerr = -2147409696 CSSMERR_TP_SERVICE_NOT_AVAILABLE Cssmerr = -2147409694 CSSMERR_TP_USER_CANCELED Cssmerr = -2147409695 )
type CssmerrAc ¶
type CssmerrAc int
const ( CSSMERR_AC_FUNCTION_FAILED CssmerrAc = -2147405814 CSSMERR_AC_FUNCTION_NOT_IMPLEMENTED CssmerrAc = -2147405817 CSSMERR_AC_INTERNAL_ERROR CssmerrAc = -2147405823 CSSMERR_AC_INVALID_CL_HANDLE CssmerrAc = -2147405742 CSSMERR_AC_INVALID_CONTEXT_HANDLE CssmerrAc = -2147405760 CSSMERR_AC_INVALID_DATA CssmerrAc = -2147405754 CSSMERR_AC_INVALID_DB_HANDLE CssmerrAc = -2147405750 CSSMERR_AC_INVALID_DB_LIST CssmerrAc = -2147405748 CSSMERR_AC_INVALID_DB_LIST_POINTER CssmerrAc = -2147405747 CSSMERR_AC_INVALID_DL_HANDLE CssmerrAc = -2147405743 CSSMERR_AC_INVALID_INPUT_POINTER CssmerrAc = -2147405819 CSSMERR_AC_INVALID_OUTPUT_POINTER CssmerrAc = -2147405818 CSSMERR_AC_INVALID_PASSTHROUGH_ID CssmerrAc = -2147405738 CSSMERR_AC_INVALID_POINTER CssmerrAc = -2147405820 CSSMERR_AC_INVALID_TP_HANDLE CssmerrAc = -2147405741 CSSMERR_AC_MDS_ERROR CssmerrAc = -2147405821 CSSMERR_AC_MEMORY_ERROR CssmerrAc = -2147405822 CSSMERR_AC_OS_ACCESS_DENIED CssmerrAc = -2147405815 CSSMERR_AC_SELF_CHECK_FAILED CssmerrAc = -2147405816 )
type CssmerrAppleDotmac ¶
type CssmerrAppleDotmac int
const ( CSSMERR_APPLE_DOTMAC_CSR_VERIFY_FAIL CssmerrAppleDotmac = -2147408785 CSSMERR_APPLE_DOTMAC_FAILED_CONSISTENCY_CHECK CssmerrAppleDotmac = -2147408784 CSSMERR_APPLE_DOTMAC_NO_REQ_PENDING CssmerrAppleDotmac = -2147408786 CSSMERR_APPLE_DOTMAC_REQ_IS_PENDING CssmerrAppleDotmac = -2147408787 CSSMERR_APPLE_DOTMAC_REQ_QUEUED CssmerrAppleDotmac = -2147408796 CSSMERR_APPLE_DOTMAC_REQ_REDIRECT CssmerrAppleDotmac = -2147408795 CSSMERR_APPLE_DOTMAC_REQ_SERVER_ALREADY_EXIST CssmerrAppleDotmac = -2147408789 CSSMERR_APPLE_DOTMAC_REQ_SERVER_AUTH CssmerrAppleDotmac = -2147408792 CSSMERR_APPLE_DOTMAC_REQ_SERVER_ERR CssmerrAppleDotmac = -2147408794 CSSMERR_APPLE_DOTMAC_REQ_SERVER_NOT_AVAIL CssmerrAppleDotmac = -2147408790 CSSMERR_APPLE_DOTMAC_REQ_SERVER_PARAM CssmerrAppleDotmac = -2147408793 CSSMERR_APPLE_DOTMAC_REQ_SERVER_SERVICE_ERROR CssmerrAppleDotmac = -2147408788 CSSMERR_APPLE_DOTMAC_REQ_SERVER_UNIMPL CssmerrAppleDotmac = -2147408791 )
func (CssmerrAppleDotmac) String ¶
func (e CssmerrAppleDotmac) String() string
type CssmerrAppledl ¶
type CssmerrAppledl int
const ( CSSMERR_APPLEDL_DISK_FULL CssmerrAppledl = -2147412991 CSSMERR_APPLEDL_FILE_TOO_BIG CssmerrAppledl = -2147412989 CSSMERR_APPLEDL_INCOMPATIBLE_DATABASE_BLOB CssmerrAppledl = -2147412986 CSSMERR_APPLEDL_INCOMPATIBLE_KEY_BLOB CssmerrAppledl = -2147412985 CSSMERR_APPLEDL_INVALID_DATABASE_BLOB CssmerrAppledl = -2147412988 CSSMERR_APPLEDL_INVALID_KEY_BLOB CssmerrAppledl = -2147412987 CSSMERR_APPLEDL_INVALID_OPEN_PARAMETERS CssmerrAppledl = -2147412992 CSSMERR_APPLEDL_QUOTA_EXCEEDED CssmerrAppledl = -2147412990 )
func (CssmerrAppledl) String ¶
func (e CssmerrAppledl) String() string
type CssmerrAppletp ¶
type CssmerrAppletp int
const ( CSSMERR_APPLETP_BAD_CERT_FROM_ISSUER CssmerrAppletp = -2147408873 CSSMERR_APPLETP_CA_PIN_MISMATCH CssmerrAppletp = -2147408836 CSSMERR_APPLETP_CERT_NOT_FOUND_FROM_ISSUER CssmerrAppletp = -2147408874 CSSMERR_APPLETP_CODE_SIGN_DEVELOPMENT CssmerrAppletp = -2147408845 CSSMERR_APPLETP_CRL_BAD_URI CssmerrAppletp = -2147408881 CSSMERR_APPLETP_CRL_EXPIRED CssmerrAppletp = -2147408885 CSSMERR_APPLETP_CRL_INVALID_ANCHOR_CERT CssmerrAppletp = -2147408877 CSSMERR_APPLETP_CRL_NOT_FOUND CssmerrAppletp = -2147408883 CSSMERR_APPLETP_CRL_NOT_TRUSTED CssmerrAppletp = -2147408878 CSSMERR_APPLETP_CRL_NOT_VALID_YET CssmerrAppletp = -2147408884 CSSMERR_APPLETP_CRL_POLICY_FAIL CssmerrAppletp = -2147408876 CSSMERR_APPLETP_CRL_SERVER_DOWN CssmerrAppletp = -2147408882 CSSMERR_APPLETP_CS_BAD_CERT_CHAIN_LENGTH CssmerrAppletp = -2147408849 CSSMERR_APPLETP_CS_BAD_PATH_LENGTH CssmerrAppletp = -2147408847 CSSMERR_APPLETP_CS_NO_BASIC_CONSTRAINTS CssmerrAppletp = -2147408848 CSSMERR_APPLETP_CS_NO_EXTENDED_KEY_USAGE CssmerrAppletp = -2147408846 CSSMERR_APPLETP_EXT_KEYUSAGE_NOT_CRITICAL CssmerrAppletp = -2147408838 CSSMERR_APPLETP_HOSTNAME_MISMATCH CssmerrAppletp = -2147408896 CSSMERR_APPLETP_IDENTIFIER_MISSING CssmerrAppletp = -2147408837 CSSMERR_APPLETP_IDP_FAIL CssmerrAppletp = -2147408875 CSSMERR_APPLETP_INCOMPLETE_REVOCATION_CHECK CssmerrAppletp = -2147408861 CSSMERR_APPLETP_INVALID_AUTHORITY_ID CssmerrAppletp = -2147408892 CSSMERR_APPLETP_INVALID_CA CssmerrAppletp = -2147408893 CSSMERR_APPLETP_INVALID_EMPTY_SUBJECT CssmerrAppletp = -2147408841 CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE CssmerrAppletp = -2147408889 CSSMERR_APPLETP_INVALID_ID_LINKAGE CssmerrAppletp = -2147408888 CSSMERR_APPLETP_INVALID_KEY_USAGE CssmerrAppletp = -2147408890 CSSMERR_APPLETP_INVALID_ROOT CssmerrAppletp = -2147408886 CSSMERR_APPLETP_INVALID_SUBJECT_ID CssmerrAppletp = -2147408891 CSSMERR_APPLETP_LEAF_PIN_MISMATCH CssmerrAppletp = -2147408835 CSSMERR_APPLETP_MISSING_REQUIRED_EXTENSION CssmerrAppletp = -2147408839 CSSMERR_APPLETP_NETWORK_FAILURE CssmerrAppletp = -2147408860 CSSMERR_APPLETP_NO_BASIC_CONSTRAINTS CssmerrAppletp = -2147408894 CSSMERR_APPLETP_OCSP_BAD_REQUEST CssmerrAppletp = -2147408864 CSSMERR_APPLETP_OCSP_BAD_RESPONSE CssmerrAppletp = -2147408865 CSSMERR_APPLETP_OCSP_INVALID_ANCHOR_CERT CssmerrAppletp = -2147408858 CSSMERR_APPLETP_OCSP_NONCE_MISMATCH CssmerrAppletp = -2147408850 CSSMERR_APPLETP_OCSP_NOT_TRUSTED CssmerrAppletp = -2147408859 CSSMERR_APPLETP_OCSP_NO_SIGNER CssmerrAppletp = -2147408856 CSSMERR_APPLETP_OCSP_RESP_INTERNAL_ERR CssmerrAppletp = -2147408854 CSSMERR_APPLETP_OCSP_RESP_MALFORMED_REQ CssmerrAppletp = -2147408855 CSSMERR_APPLETP_OCSP_RESP_SIG_REQUIRED CssmerrAppletp = -2147408852 CSSMERR_APPLETP_OCSP_RESP_TRY_LATER CssmerrAppletp = -2147408853 CSSMERR_APPLETP_OCSP_RESP_UNAUTHORIZED CssmerrAppletp = -2147408851 CSSMERR_APPLETP_OCSP_SIG_ERROR CssmerrAppletp = -2147408857 CSSMERR_APPLETP_OCSP_STATUS_UNRECOGNIZED CssmerrAppletp = -2147408862 CSSMERR_APPLETP_OCSP_UNAVAILABLE CssmerrAppletp = -2147408863 CSSMERR_APPLETP_PATH_LEN_CONSTRAINT CssmerrAppletp = -2147408887 CSSMERR_APPLETP_RS_BAD_CERT_CHAIN_LENGTH CssmerrAppletp = -2147408844 CSSMERR_APPLETP_RS_BAD_EXTENDED_KEY_USAGE CssmerrAppletp = -2147408843 CSSMERR_APPLETP_SMIME_BAD_EXT_KEY_USE CssmerrAppletp = -2147408871 CSSMERR_APPLETP_SMIME_BAD_KEY_USE CssmerrAppletp = -2147408870 CSSMERR_APPLETP_SMIME_EMAIL_ADDRS_NOT_FOUND CssmerrAppletp = -2147408872 CSSMERR_APPLETP_SMIME_KEYUSAGE_NOT_CRITICAL CssmerrAppletp = -2147408869 CSSMERR_APPLETP_SMIME_NO_EMAIL_ADDRS CssmerrAppletp = -2147408868 CSSMERR_APPLETP_SMIME_SUBJ_ALT_NAME_NOT_CRIT CssmerrAppletp = -2147408867 CSSMERR_APPLETP_SSL_BAD_EXT_KEY_USE CssmerrAppletp = -2147408866 CSSMERR_APPLETP_TRUST_SETTING_DENY CssmerrAppletp = -2147408842 CSSMERR_APPLETP_UNKNOWN_CERT_EXTEN CssmerrAppletp = -2147408880 CSSMERR_APPLETP_UNKNOWN_CRITICAL_EXTEN CssmerrAppletp = -2147408895 CSSMERR_APPLETP_UNKNOWN_CRL_EXTEN CssmerrAppletp = -2147408879 CSSMERR_APPLETP_UNKNOWN_QUAL_CERT_STATEMENT CssmerrAppletp = -2147408840 )
func (CssmerrAppletp) String ¶
func (e CssmerrAppletp) String() string
type CssmerrCL ¶
type CssmerrCL int
const ( CSSMERR_CL_CRL_ALREADY_SIGNED CssmerrCL = -2147411897 CSSMERR_CL_FUNCTION_FAILED CssmerrCL = -2147411958 CSSMERR_CL_FUNCTION_NOT_IMPLEMENTED CssmerrCL = -2147411961 CSSMERR_CL_INTERNAL_ERROR CssmerrCL = -2147411967 CSSMERR_CL_INVALID_CERTGROUP_POINTER CssmerrCL = -2147411902 CSSMERR_CL_INVALID_CERT_POINTER CssmerrCL = -2147411901 CSSMERR_CL_INVALID_CONTEXT_HANDLE CssmerrCL = -2147411904 CSSMERR_CL_INVALID_CRL_POINTER CssmerrCL = -2147411900 CSSMERR_CL_INVALID_DATA CssmerrCL = -2147411898 CSSMERR_CL_INVALID_FIELD_POINTER CssmerrCL = -2147411899 CSSMERR_CL_INVALID_INPUT_POINTER CssmerrCL = -2147411963 CSSMERR_CL_INVALID_NUMBER_OF_FIELDS CssmerrCL = -2147411896 CSSMERR_CL_INVALID_OUTPUT_POINTER CssmerrCL = -2147411962 CSSMERR_CL_INVALID_PASSTHROUGH_ID CssmerrCL = -2147411882 CSSMERR_CL_INVALID_POINTER CssmerrCL = -2147411964 CSSMERR_CL_MDS_ERROR CssmerrCL = -2147411965 CSSMERR_CL_MEMORY_ERROR CssmerrCL = -2147411966 CSSMERR_CL_OS_ACCESS_DENIED CssmerrCL = -2147411959 CSSMERR_CL_SELF_CHECK_FAILED CssmerrCL = -2147411960 CSSMERR_CL_UNKNOWN_FORMAT CssmerrCL = -2147411890 CSSMERR_CL_UNKNOWN_TAG CssmerrCL = -2147411889 CSSMERR_CL_VERIFICATION_FAILURE CssmerrCL = -2147411895 )
type CssmerrCsp ¶
type CssmerrCsp int
const ( CSSMERR_CSPDL_APPLE_DL_CONVERSION_ERROR CssmerrCsp = -2147415035 CSSMERR_CSP_ACL_ADD_FAILED CssmerrCsp = -2147416010 CSSMERR_CSP_ACL_BASE_CERTS_NOT_SUPPORTED CssmerrCsp = -2147416025 CSSMERR_CSP_ACL_CHALLENGE_CALLBACK_FAILED CssmerrCsp = -2147416019 CSSMERR_CSP_ACL_CHANGE_FAILED CssmerrCsp = -2147416015 CSSMERR_CSP_ACL_DELETE_FAILED CssmerrCsp = -2147416012 CSSMERR_CSP_ACL_ENTRY_TAG_NOT_FOUND CssmerrCsp = -2147416017 CSSMERR_CSP_ACL_REPLACE_FAILED CssmerrCsp = -2147416011 CSSMERR_CSP_ACL_SUBJECT_TYPE_NOT_SUPPORTED CssmerrCsp = -2147416021 CSSMERR_CSP_APPLE_ADD_APPLICATION_ACL_SUBJECT CssmerrCsp = -2147415040 CSSMERR_CSP_APPLE_INVALID_KEY_END_DATE CssmerrCsp = -2147415036 CSSMERR_CSP_APPLE_INVALID_KEY_START_DATE CssmerrCsp = -2147415037 CSSMERR_CSP_APPLE_PUBLIC_KEY_INCOMPLETE CssmerrCsp = -2147415039 CSSMERR_CSP_APPLE_SIGNATURE_MISMATCH CssmerrCsp = -2147415038 CSSMERR_CSP_APPLE_SSLv2_ROLLBACK CssmerrCsp = -2147415034 CSSMERR_CSP_FUNCTION_FAILED CssmerrCsp = -2147416054 CSSMERR_CSP_FUNCTION_NOT_IMPLEMENTED CssmerrCsp = -2147416057 CSSMERR_CSP_INTERNAL_ERROR CssmerrCsp = -2147416063 CSSMERR_CSP_INVALID_ACCESS_CREDENTIALS CssmerrCsp = -2147416027 CSSMERR_CSP_INVALID_ACL_BASE_CERTS CssmerrCsp = -2147416026 CSSMERR_CSP_INVALID_ACL_CHALLENGE_CALLBACK CssmerrCsp = -2147416020 CSSMERR_CSP_INVALID_ACL_EDIT_MODE CssmerrCsp = -2147416016 CSSMERR_CSP_INVALID_ACL_ENTRY_TAG CssmerrCsp = -2147416018 CSSMERR_CSP_INVALID_ACL_SUBJECT_VALUE CssmerrCsp = -2147416022 CSSMERR_CSP_INVALID_CONTEXT_HANDLE CssmerrCsp = -2147416000 CSSMERR_CSP_INVALID_CRYPTO_DATA CssmerrCsp = -2147415976 CSSMERR_CSP_INVALID_DATA CssmerrCsp = -2147415994 CSSMERR_CSP_INVALID_INPUT_POINTER CssmerrCsp = -2147416059 CSSMERR_CSP_INVALID_NEW_ACL_ENTRY CssmerrCsp = -2147416014 CSSMERR_CSP_INVALID_NEW_ACL_OWNER CssmerrCsp = -2147416013 CSSMERR_CSP_INVALID_OUTPUT_POINTER CssmerrCsp = -2147416058 CSSMERR_CSP_INVALID_PASSTHROUGH_ID CssmerrCsp = -2147415978 CSSMERR_CSP_INVALID_POINTER CssmerrCsp = -2147416060 CSSMERR_CSP_INVALID_SAMPLE_VALUE CssmerrCsp = -2147416024 CSSMERR_CSP_MDS_ERROR CssmerrCsp = -2147416061 CSSMERR_CSP_MEMORY_ERROR CssmerrCsp = -2147416062 CSSMERR_CSP_OBJECT_ACL_NOT_SUPPORTED CssmerrCsp = -2147416029 CSSMERR_CSP_OBJECT_ACL_REQUIRED CssmerrCsp = -2147416028 CSSMERR_CSP_OBJECT_MANIP_AUTH_DENIED CssmerrCsp = -2147416030 CSSMERR_CSP_OBJECT_USE_AUTH_DENIED CssmerrCsp = -2147416031 CSSMERR_CSP_OPERATION_AUTH_DENIED CssmerrCsp = -2147416032 CSSMERR_CSP_OS_ACCESS_DENIED CssmerrCsp = -2147416055 CSSMERR_CSP_PRIVILEGE_NOT_GRANTED CssmerrCsp = -2147415989 CSSMERR_CSP_SAMPLE_VALUE_NOT_SUPPORTED CssmerrCsp = -2147416023 CSSMERR_CSP_SELF_CHECK_FAILED CssmerrCsp = -2147416056 )
func (CssmerrCsp) String ¶
func (e CssmerrCsp) String() string
type CssmerrCssm ¶
type CssmerrCssm int
const ( CSSMERR_CSSM_FUNCTION_FAILED CssmerrCssm = -2147418102 CSSMERR_CSSM_FUNCTION_INTEGRITY_FAIL CssmerrCssm = -2147417851 CSSMERR_CSSM_FUNCTION_NOT_IMPLEMENTED CssmerrCssm = -2147418105 CSSMERR_CSSM_INCOMPATIBLE_VERSION CssmerrCssm = -2147418047 CSSMERR_CSSM_INTERNAL_ERROR CssmerrCssm = -2147418111 CSSMERR_CSSM_INVALID_ADDIN_HANDLE CssmerrCssm = -2147417855 CSSMERR_CSSM_INVALID_CONTEXT_HANDLE CssmerrCssm = -2147418048 CSSMERR_CSSM_INVALID_GUID CssmerrCssm = -2147418100 CSSMERR_CSSM_INVALID_HANDLE_USAGE CssmerrCssm = -2147417853 CSSMERR_CSSM_INVALID_INPUT_POINTER CssmerrCssm = -2147418107 CSSMERR_CSSM_INVALID_OUTPUT_POINTER CssmerrCssm = -2147418106 CSSMERR_CSSM_INVALID_POINTER CssmerrCssm = -2147418108 CSSMERR_CSSM_MDS_ERROR CssmerrCssm = -2147418109 CSSMERR_CSSM_MEMORY_ERROR CssmerrCssm = -2147418110 CSSMERR_CSSM_MODULE_MANIFEST_VERIFY_FAILED CssmerrCssm = -2147418101 CSSMERR_CSSM_NOT_INITIALIZED CssmerrCssm = -2147417854 CSSMERR_CSSM_OS_ACCESS_DENIED CssmerrCssm = -2147418103 CSSMERR_CSSM_PRIVILEGE_NOT_GRANTED CssmerrCssm = -2147418037 CSSMERR_CSSM_PVC_REFERENT_NOT_FOUND CssmerrCssm = -2147417852 CSSMERR_CSSM_SELF_CHECK_FAILED CssmerrCssm = -2147418104 )
func (CssmerrCssm) String ¶
func (e CssmerrCssm) String() string
type CssmerrDl ¶
type CssmerrDl int
const ( CSSMERR_DL_ACL_ADD_FAILED CssmerrDl = -2147413962 CSSMERR_DL_ACL_BASE_CERTS_NOT_SUPPORTED CssmerrDl = -2147413977 CSSMERR_DL_ACL_CHALLENGE_CALLBACK_FAILED CssmerrDl = -2147413971 CSSMERR_DL_ACL_CHANGE_FAILED CssmerrDl = -2147413967 CSSMERR_DL_ACL_DELETE_FAILED CssmerrDl = -2147413964 CSSMERR_DL_ACL_ENTRY_TAG_NOT_FOUND CssmerrDl = -2147413969 CSSMERR_DL_ACL_REPLACE_FAILED CssmerrDl = -2147413963 CSSMERR_DL_ACL_SUBJECT_TYPE_NOT_SUPPORTED CssmerrDl = -2147413973 CSSMERR_DL_FUNCTION_FAILED CssmerrDl = -2147414006 CSSMERR_DL_FUNCTION_NOT_IMPLEMENTED CssmerrDl = -2147414009 CSSMERR_DL_INTERNAL_ERROR CssmerrDl = -2147414015 CSSMERR_DL_INVALID_ACCESS_CREDENTIALS CssmerrDl = -2147413979 CSSMERR_DL_INVALID_ACL_BASE_CERTS CssmerrDl = -2147413978 CSSMERR_DL_INVALID_ACL_CHALLENGE_CALLBACK CssmerrDl = -2147413972 CSSMERR_DL_INVALID_ACL_EDIT_MODE CssmerrDl = -2147413968 CSSMERR_DL_INVALID_ACL_ENTRY_TAG CssmerrDl = -2147413970 CSSMERR_DL_INVALID_ACL_SUBJECT_VALUE CssmerrDl = -2147413974 CSSMERR_DL_INVALID_CL_HANDLE CssmerrDl = -2147413934 CSSMERR_DL_INVALID_CSP_HANDLE CssmerrDl = -2147413936 CSSMERR_DL_INVALID_DB_LIST_POINTER CssmerrDl = -2147413939 CSSMERR_DL_INVALID_DL_HANDLE CssmerrDl = -2147413935 CSSMERR_DL_INVALID_INPUT_POINTER CssmerrDl = -2147414011 CSSMERR_DL_INVALID_NEW_ACL_ENTRY CssmerrDl = -2147413966 CSSMERR_DL_INVALID_NEW_ACL_OWNER CssmerrDl = -2147413965 CSSMERR_DL_INVALID_OUTPUT_POINTER CssmerrDl = -2147414010 CSSMERR_DL_INVALID_POINTER CssmerrDl = -2147414012 CSSMERR_DL_INVALID_SAMPLE_VALUE CssmerrDl = -2147413976 CSSMERR_DL_MDS_ERROR CssmerrDl = -2147414013 CSSMERR_DL_MEMORY_ERROR CssmerrDl = -2147414014 CSSMERR_DL_OBJECT_ACL_NOT_SUPPORTED CssmerrDl = -2147413981 CSSMERR_DL_OBJECT_ACL_REQUIRED CssmerrDl = -2147413980 CSSMERR_DL_OBJECT_MANIP_AUTH_DENIED CssmerrDl = -2147413982 CSSMERR_DL_OBJECT_USE_AUTH_DENIED CssmerrDl = -2147413983 CSSMERR_DL_OPERATION_AUTH_DENIED CssmerrDl = -2147413984 CSSMERR_DL_OS_ACCESS_DENIED CssmerrDl = -2147414007 CSSMERR_DL_SAMPLE_VALUE_NOT_SUPPORTED CssmerrDl = -2147413975 CSSMERR_DL_SELF_CHECK_FAILED CssmerrDl = -2147414008 )
type CssmerrDlInvalid ¶
type CssmerrDlInvalid int
const ( CSSMERR_DL_INVALID_DB_HANDLE CssmerrDlInvalid = -2147413942 CSSMERR_DL_INVALID_NETWORK_ADDR CssmerrDlInvalid = -2147413929 CSSMERR_DL_INVALID_PASSTHROUGH_ID CssmerrDlInvalid = -2147413930 )
func (CssmerrDlInvalid) String ¶
func (e CssmerrDlInvalid) String() string
type CssmerrTp ¶
type CssmerrTp int
const ( CSSMERR_TP_CRL_ALREADY_SIGNED CssmerrTp = -2147409849 CSSMERR_TP_FUNCTION_FAILED CssmerrTp = -2147409910 CSSMERR_TP_FUNCTION_NOT_IMPLEMENTED CssmerrTp = -2147409913 CSSMERR_TP_INTERNAL_ERROR CssmerrTp = -2147409919 CSSMERR_TP_INVALID_CERTGROUP_POINTER CssmerrTp = -2147409854 CSSMERR_TP_INVALID_CERT_POINTER CssmerrTp = -2147409853 CSSMERR_TP_INVALID_CL_HANDLE CssmerrTp = -2147409838 CSSMERR_TP_INVALID_CONTEXT_HANDLE CssmerrTp = -2147409856 CSSMERR_TP_INVALID_CRL_POINTER CssmerrTp = -2147409852 CSSMERR_TP_INVALID_CSP_HANDLE CssmerrTp = -2147409840 CSSMERR_TP_INVALID_DATA CssmerrTp = -2147409850 CSSMERR_TP_INVALID_DB_HANDLE CssmerrTp = -2147409846 CSSMERR_TP_INVALID_DB_LIST CssmerrTp = -2147409844 CSSMERR_TP_INVALID_DB_LIST_POINTER CssmerrTp = -2147409843 CSSMERR_TP_INVALID_DL_HANDLE CssmerrTp = -2147409839 CSSMERR_TP_INVALID_FIELD_POINTER CssmerrTp = -2147409851 CSSMERR_TP_INVALID_INPUT_POINTER CssmerrTp = -2147409915 CSSMERR_TP_INVALID_NETWORK_ADDR CssmerrTp = -2147409833 CSSMERR_TP_INVALID_NUMBER_OF_FIELDS CssmerrTp = -2147409848 CSSMERR_TP_INVALID_OUTPUT_POINTER CssmerrTp = -2147409914 CSSMERR_TP_INVALID_PASSTHROUGH_ID CssmerrTp = -2147409834 CSSMERR_TP_INVALID_POINTER CssmerrTp = -2147409916 CSSMERR_TP_MDS_ERROR CssmerrTp = -2147409917 CSSMERR_TP_MEMORY_ERROR CssmerrTp = -2147409918 CSSMERR_TP_OS_ACCESS_DENIED CssmerrTp = -2147409911 CSSMERR_TP_SELF_CHECK_FAILED CssmerrTp = -2147409912 CSSMERR_TP_UNKNOWN_FORMAT CssmerrTp = -2147409842 CSSMERR_TP_UNKNOWN_TAG CssmerrTp = -2147409841 CSSMERR_TP_VERIFICATION_FAILURE CssmerrTp = -2147409847 )
type ErrAuthorization ¶
type ErrAuthorization int
const ( // ErrAuthorizationBadAddress: The requested socket address is invalid. ErrAuthorizationBadAddress ErrAuthorization = -60033 // ErrAuthorizationCanceled: The user canceled the operation. ErrAuthorizationCanceled ErrAuthorization = -60006 // ErrAuthorizationDenied: The Security Server denied authorization for one or more requested rights. ErrAuthorizationDenied ErrAuthorization = -60005 // ErrAuthorizationExternalizeNotAllowed: The Security Server denied externalization of the authorization reference. ErrAuthorizationExternalizeNotAllowed ErrAuthorization = -60009 // ErrAuthorizationInteractionNotAllowed: The Security Server denied authorization because no user interaction is allowed. ErrAuthorizationInteractionNotAllowed ErrAuthorization = -60007 // ErrAuthorizationInternal: An unrecognized internal error occurred. ErrAuthorizationInternal ErrAuthorization = -60008 // ErrAuthorizationInternalizeNotAllowed: The Security Server denied internalization of the authorization reference. ErrAuthorizationInternalizeNotAllowed ErrAuthorization = -60010 // ErrAuthorizationInvalidFlags: The flags parameter is invalid. ErrAuthorizationInvalidFlags ErrAuthorization = -60011 // ErrAuthorizationInvalidPointer: The authorizedRights parameter is invalid. ErrAuthorizationInvalidPointer ErrAuthorization = -60004 // ErrAuthorizationInvalidRef: The authorization parameter is invalid. ErrAuthorizationInvalidRef ErrAuthorization = -60002 // ErrAuthorizationInvalidSet: The set parameter is invalid. ErrAuthorizationInvalidSet ErrAuthorization = -60001 // ErrAuthorizationInvalidTag: The tag parameter is invalid. ErrAuthorizationInvalidTag ErrAuthorization = -60003 // ErrAuthorizationSuccess: The operation completed successfully. ErrAuthorizationSuccess ErrAuthorization = 0 // ErrAuthorizationToolEnvironmentError: The attempt to execute the tool failed to return a success or an error code. ErrAuthorizationToolEnvironmentError ErrAuthorization = -60032 // ErrAuthorizationToolExecuteFailure: The tool failed to execute. ErrAuthorizationToolExecuteFailure ErrAuthorization = -60031 )
func (ErrAuthorization) String ¶
func (e ErrAuthorization) String() string
type ErrSSL ¶
type ErrSSL int
const ( // ErrSSLATSCertificateHashAlgorithmViolation: The peer certificate hash algorithm isn’t App Transport Security compliant. ErrSSLATSCertificateHashAlgorithmViolation ErrSSL = -9885 // ErrSSLATSCertificateTrustViolation: The peer certificate wasn’t issued by a trusted peer. ErrSSLATSCertificateTrustViolation ErrSSL = -9886 // ErrSSLATSCiphersuiteViolation: The selected ciphersuite isn’t App Transport Security compliant. ErrSSLATSCiphersuiteViolation ErrSSL = -9882 // ErrSSLATSLeafCertificateHashAlgorithmViolation: The peer leaf certificate hash algorithm isn’t App Transport Security compliant. ErrSSLATSLeafCertificateHashAlgorithmViolation ErrSSL = -9884 // ErrSSLATSMinimumKeySizeViolation: The peer key size isn’t App Transport Security compliant. ErrSSLATSMinimumKeySizeViolation ErrSSL = -9883 // ErrSSLATSMinimumVersionViolation: The minimum protocol version isn’t App Transport Security compliant. ErrSSLATSMinimumVersionViolation ErrSSL = -9881 // ErrSSLATSViolation: An App Transport Security violation occurred. ErrSSLATSViolation ErrSSL = -9880 // ErrSSLBadCert: Bad certificate format. ErrSSLBadCert ErrSSL = -9808 // ErrSSLBadCertificateStatusResponse: Bad OCSP response. ErrSSLBadCertificateStatusResponse ErrSSL = -9862 // ErrSSLBadCipherSuite: A bad SSL cipher suite was encountered. ErrSSLBadCipherSuite ErrSSL = -9818 // ErrSSLBadConfiguration: A configuration error occurred. ErrSSLBadConfiguration ErrSSL = -9848 // ErrSSLBadRecordMac: A record with a bad message authentication code (MAC) was encountered. ErrSSLBadRecordMac ErrSSL = -9846 // ErrSSLBufferOverflow: An insufficient buffer was provided. ErrSSLBufferOverflow ErrSSL = -9817 // ErrSSLCertExpired: The certificate chain had an expired certificate. ErrSSLCertExpired ErrSSL = -9814 // ErrSSLCertNotYetValid: The certificate chain had a certificatethat is not yet valid. ErrSSLCertNotYetValid ErrSSL = -9815 // ErrSSLCertificateRequired: Certificate required. ErrSSLCertificateRequired ErrSSL = -9863 // ErrSSLClientCertRequested: The server has requested a client certificate. ErrSSLClientCertRequested ErrSSL = -9842 // ErrSSLClientHelloReceived: A non-fatal result for providing a server name indication. ErrSSLClientHelloReceived ErrSSL = -9851 // ErrSSLClosedAbort: The connection closed due to an error. ErrSSLClosedAbort ErrSSL = -9806 // ErrSSLClosedGraceful: The connection closed gracefully. ErrSSLClosedGraceful ErrSSL = -9805 // ErrSSLClosedNoNotify: The server closed the session with no notification. ErrSSLClosedNoNotify ErrSSL = -9816 // ErrSSLConfigurationFailed: TLS configuration failed. ErrSSLConfigurationFailed ErrSSL = -9854 // ErrSSLConnectionRefused: The peer dropped the connection before responding. ErrSSLConnectionRefused ErrSSL = -9844 // ErrSSLCrypto: An underlying cryptographic error was encountered. ErrSSLCrypto ErrSSL = -9809 // ErrSSLDecodeError: Decode failed. ErrSSLDecodeError ErrSSL = -9859 // ErrSSLDecompressFail: Decompression failed. ErrSSLDecompressFail ErrSSL = -9857 // ErrSSLDecryptionFail: Decryption failed. ErrSSLDecryptionFail ErrSSL = -9845 ErrSSLEarlyDataRejected ErrSSL = -9890 // ErrSSLFatalAlert: A fatal alert was encountered. ErrSSLFatalAlert ErrSSL = -9802 // ErrSSLHandshakeFail: Handshake failed. ErrSSLHandshakeFail ErrSSL = -9858 // ErrSSLHostNameMismatch: The host name you connected with does not match any of the host names allowed by the certificate. ErrSSLHostNameMismatch ErrSSL = -9843 // ErrSSLIllegalParam: An illegal parameter was encountered. ErrSSLIllegalParam ErrSSL = -9830 // ErrSSLInappropriateFallback: Inappropriate fallback. ErrSSLInappropriateFallback ErrSSL = -9860 // ErrSSLInternal: Internal error. ErrSSLInternal ErrSSL = -9810 // ErrSSLMissingExtension: Missing extension. ErrSSLMissingExtension ErrSSL = -9861 // ErrSSLModuleAttach: Module attach failure. ErrSSLModuleAttach ErrSSL = -9811 // ErrSSLNegotiation: The cipher suite negotiation failed. ErrSSLNegotiation ErrSSL = -9801 // ErrSSLNetworkTimeout: Network timeout triggered. ErrSSLNetworkTimeout ErrSSL = -9853 // ErrSSLNoRootCert: No root certificate for the certificate chain. ErrSSLNoRootCert ErrSSL = -9813 // ErrSSLPeerAccessDenied: Access was denied. ErrSSLPeerAccessDenied ErrSSL = -9832 // ErrSSLPeerAuthCompleted: A non-fatal result indicating the peer certificate is valid, or was ignored if verification is disabled. ErrSSLPeerAuthCompleted ErrSSL = -9841 // ErrSSLPeerBadCert: A bad certificate was encountered. ErrSSLPeerBadCert ErrSSL = -9825 // ErrSSLPeerBadRecordMac: A record with a bad message authentication code (MAC) was encountered. ErrSSLPeerBadRecordMac ErrSSL = -9820 // ErrSSLPeerCertExpired: The certificate expired. ErrSSLPeerCertExpired ErrSSL = -9828 // ErrSSLPeerCertRevoked: The certificate was revoked. ErrSSLPeerCertRevoked ErrSSL = -9827 // ErrSSLPeerCertUnknown: The certificate is unknown. ErrSSLPeerCertUnknown ErrSSL = -9829 // ErrSSLPeerDecodeError: A decoding error occurred. ErrSSLPeerDecodeError ErrSSL = -9833 // ErrSSLPeerDecompressFail: Decompression failed. ErrSSLPeerDecompressFail ErrSSL = -9823 // ErrSSLPeerDecryptError: A decryption error occurred. ErrSSLPeerDecryptError ErrSSL = -9834 // ErrSSLPeerDecryptionFail: Decryption failed. ErrSSLPeerDecryptionFail ErrSSL = -9821 // ErrSSLPeerExportRestriction: An export restriction occurred. ErrSSLPeerExportRestriction ErrSSL = -9835 // ErrSSLPeerHandshakeFail: The handshake failed. ErrSSLPeerHandshakeFail ErrSSL = -9824 // ErrSSLPeerInsufficientSecurity: There is insufficient security for this operation. ErrSSLPeerInsufficientSecurity ErrSSL = -9837 // ErrSSLPeerInternalError: An internal error occurred. ErrSSLPeerInternalError ErrSSL = -9838 // ErrSSLPeerNoRenegotiation: No renegotiation is allowed. ErrSSLPeerNoRenegotiation ErrSSL = -9840 // ErrSSLPeerProtocolVersion: A bad protocol version was encountered. ErrSSLPeerProtocolVersion ErrSSL = -9836 // ErrSSLPeerRecordOverflow: A record overflow occurred. ErrSSLPeerRecordOverflow ErrSSL = -9822 // ErrSSLPeerUnexpectedMsg: An unexpected message was received. ErrSSLPeerUnexpectedMsg ErrSSL = -9819 // ErrSSLPeerUnknownCA: An unknown certificate authority was encountered. ErrSSLPeerUnknownCA ErrSSL = -9831 // ErrSSLPeerUnsupportedCert: An unsupported certificate format was encountered. ErrSSLPeerUnsupportedCert ErrSSL = -9826 // ErrSSLPeerUserCancelled: The user canceled the operation. ErrSSLPeerUserCancelled ErrSSL = -9839 // ErrSSLProtocol: SSL protocol error. ErrSSLProtocol ErrSSL = -9800 // ErrSSLRecordOverflow: A record overflow occurred. ErrSSLRecordOverflow ErrSSL = -9847 // ErrSSLSessionNotFound: An attempt to restore an unknown session failed. ErrSSLSessionNotFound ErrSSL = -9804 // ErrSSLTransportReset: Transport (socket) shutdown, for example, TCP RST or FIN. ErrSSLTransportReset ErrSSL = -9852 // ErrSSLUnexpectedMessage: Peer rejected unexpected message. ErrSSLUnexpectedMessage ErrSSL = -9856 ErrSSLUnexpectedRecord ErrSSL = -9849 // ErrSSLUnknownPSKIdentity: Unknown PSK identity. ErrSSLUnknownPSKIdentity ErrSSL = -9864 // ErrSSLUnknownRootCert: Certificate chain is valid, but root is nottrusted. ErrSSLUnknownRootCert ErrSSL = -9812 // ErrSSLUnrecognizedName: Unknown or unrecognized name. ErrSSLUnrecognizedName ErrSSL = -9865 // ErrSSLUnsupportedExtension: Unsupported TLS extension. ErrSSLUnsupportedExtension ErrSSL = -9855 // ErrSSLWeakPeerEphemeralDHKey: Indicates a weak ephemeral dh key. ErrSSLWeakPeerEphemeralDHKey ErrSSL = -9850 // ErrSSLWouldBlock: Function is blocked; waiting for I/O. ErrSSLWouldBlock ErrSSL = -9803 // ErrSSLXCertChainInvalid: Invalid certificate chain. ErrSSLXCertChainInvalid ErrSSL = -9807 )
type ErrSec ¶
type ErrSec int
const ( // ErrSecACLAddFailed: An ACL add operation failed. ErrSecACLAddFailed ErrSec = 0 // ErrSecACLChangeFailed: An ACL change operation failed. ErrSecACLChangeFailed ErrSec = 0 // ErrSecACLDeleteFailed: An ACL delete operation failed. ErrSecACLDeleteFailed ErrSec = 0 // ErrSecACLNotSimple: The access control list is not in standard simple form. ErrSecACLNotSimple ErrSec = 0 // ErrSecACLReplaceFailed: An ACL replace operation failed. ErrSecACLReplaceFailed ErrSec = 0 // ErrSecAddinLoadFailed: The add-in load operation failed. ErrSecAddinLoadFailed ErrSec = 0 // ErrSecAddinUnloadFailed: The add-in unload operation failed. ErrSecAddinUnloadFailed ErrSec = 0 // ErrSecAlgorithmMismatch: An algorithm mismatch occurred. ErrSecAlgorithmMismatch ErrSec = 0 // ErrSecAllocate: Failed to allocate memory. ErrSecAllocate ErrSec = 0 // ErrSecAlreadyLoggedIn: The user is already logged in. ErrSecAlreadyLoggedIn ErrSec = 0 // ErrSecAppleAddAppACLSubject: Adding an application ACL subject failed. ErrSecAppleAddAppACLSubject ErrSec = 0 // ErrSecAppleInvalidKeyEndDate: The specified key has an invalid end date. ErrSecAppleInvalidKeyEndDate ErrSec = 0 // ErrSecAppleInvalidKeyStartDate: The specified key has an invalid start date. ErrSecAppleInvalidKeyStartDate ErrSec = 0 // ErrSecApplePublicKeyIncomplete: The public key is incomplete. ErrSecApplePublicKeyIncomplete ErrSec = 0 // ErrSecAppleSSLv2Rollback: A SSLv2 rollback error has occurred. ErrSecAppleSSLv2Rollback ErrSec = 0 // ErrSecAppleSignatureMismatch: A signature mismatch has occurred. ErrSecAppleSignatureMismatch ErrSec = 0 // ErrSecAttachHandleBusy: The CSP handle was busy. ErrSecAttachHandleBusy ErrSec = 0 // ErrSecAttributeNotInContext: An attribute was not in the context. ErrSecAttributeNotInContext ErrSec = 0 // ErrSecAuthFailed: Authorization and/or authentication failed. ErrSecAuthFailed ErrSec = 0 // ErrSecBadReq: Bad parameter or invalid state for operation. ErrSecBadReq ErrSec = 0 // ErrSecBlockSizeMismatch: A block size mismatch occurred. ErrSecBlockSizeMismatch ErrSec = 0 // ErrSecBufferTooSmall: The buffer is too small. ErrSecBufferTooSmall ErrSec = 0 // ErrSecCRLAlreadySigned: The certificate revocation list is already signed. ErrSecCRLAlreadySigned ErrSec = 0 // ErrSecCRLBadURI: The certificate revocation list has a bad uniform resource identifier. ErrSecCRLBadURI ErrSec = 0 // ErrSecCRLExpired: The certificate revocation list has expired. ErrSecCRLExpired ErrSec = 0 // ErrSecCRLNotFound: The certificate revocation list was not found. ErrSecCRLNotFound ErrSec = 0 // ErrSecCRLNotTrusted: The certificate revocation list is not trusted. ErrSecCRLNotTrusted ErrSec = 0 // ErrSecCRLNotValidYet: The certificate revocation list is not yet valid. ErrSecCRLNotValidYet ErrSec = 0 // ErrSecCRLPolicyFailed: The certificate revocation list policy failed. ErrSecCRLPolicyFailed ErrSec = 0 // ErrSecCRLServerDown: The certificate revocation list server is down. ErrSecCRLServerDown ErrSec = 0 // ErrSecCSAmbiguousBundleFormat: The bundle could be an app or a framework. ErrSecCSAmbiguousBundleFormat ErrSec = -67011 // ErrSecCSBadBundleFormat: The bundle format is unrecognized, invalid, or unsuitable. ErrSecCSBadBundleFormat ErrSec = -67028 // ErrSecCSBadCallbackValue: The monitor callback returned invalid value. ErrSecCSBadCallbackValue ErrSec = -67020 // ErrSecCSBadDictionaryFormat: A required information property list (Info.plist) file or resource is malformed. ErrSecCSBadDictionaryFormat ErrSec = -67058 // ErrSecCSBadDiskImageFormat: The disk image format unrecognized, invalid, or unsuitable. ErrSecCSBadDiskImageFormat ErrSec = -67001 // ErrSecCSBadFrameworkVersion: The embedded framework contains a modified or invalid version. ErrSecCSBadFrameworkVersion ErrSec = -67009 // ErrSecCSBadLVArch: The library validation flag cannot be used with an i386 binary. ErrSecCSBadLVArch ErrSec = -67017 // ErrSecCSBadMainExecutable: The main executable failed strict validation. ErrSecCSBadMainExecutable ErrSec = -67010 // ErrSecCSBadNestedCode: The nested code is modified or invalid. ErrSecCSBadNestedCode ErrSec = -67021 // ErrSecCSBadObjectFormat: The object file format invalid or unsuitable. ErrSecCSBadObjectFormat ErrSec = -67049 // ErrSecCSBadResource: A sealed resource is missing or invalid. ErrSecCSBadResource ErrSec = -67054 // ErrSecCSBadTeamIdentifier: A Team Identifier is wrong or inappropriate. ErrSecCSBadTeamIdentifier ErrSec = -66997 ErrSecCSCMSConstructionFailed ErrSec = -66991 // ErrSecCSCMSTooLarge: The signature is too large to embed. ErrSecCSCMSTooLarge ErrSec = -67036 // ErrSecCSCancelled: The operation was terminated by explicit cancellation. ErrSecCSCancelled ErrSec = -67006 // ErrSecCSDBAccess: Cannot access signature database. ErrSecCSDBAccess ErrSec = -67032 // ErrSecCSDBDenied: Access to signature database denied. ErrSecCSDBDenied ErrSec = -67033 // ErrSecCSDSStoreSymlink: A `.DS_Store` file can’t be a symlink. ErrSecCSDSStoreSymlink ErrSec = -67012 // ErrSecCSDbCorrupt: A system database or file is corrupt. ErrSecCSDbCorrupt ErrSec = -67024 // ErrSecCSFileHardQuarantined: File open or execution not allowed. ErrSecCSFileHardQuarantined ErrSec = -67026 // ErrSecCSGuestInvalid: The identity of guest code has been invalidated. ErrSecCSGuestInvalid ErrSec = -67063 // ErrSecCSHelperFailed: The codesign_allocate helper tool can’t be found or used. ErrSecCSHelperFailed ErrSec = -67019 // ErrSecCSHostProtocolContradiction: Host protocol violation: contradictory hosting modes. ErrSecCSHostProtocolContradiction ErrSec = -67043 // ErrSecCSHostProtocolDedicationError: Host protocol violation: operation not allowed with or for a dedicated guest. ErrSecCSHostProtocolDedicationError ErrSec = -67042 // ErrSecCSHostProtocolInvalidAttribute: Code signing host returned invalid or inconsistent attributes for guest code. ErrSecCSHostProtocolInvalidAttribute ErrSec = -67031 // ErrSecCSHostProtocolInvalidHash: Host protocol violation: invalid hash of guest code. ErrSecCSHostProtocolInvalidHash ErrSec = -67035 // ErrSecCSHostProtocolNotProxy: Host protocol violation: proxy hosting not engaged. ErrSecCSHostProtocolNotProxy ErrSec = -67041 // ErrSecCSHostProtocolRelativePath: Host protocol violation: absolute guest path required. ErrSecCSHostProtocolRelativePath ErrSec = -67044 // ErrSecCSHostProtocolStateError: Host protocol violation: invalid guest state change request. ErrSecCSHostProtocolStateError ErrSec = -67040 ErrSecCSHostProtocolUnrelated ErrSec = -67039 // ErrSecCSHostReject: Code rejected its host. ErrSecCSHostReject ErrSec = -67047 // ErrSecCSInfoPlistFailed: The Info.plist file or the signature has been modified. ErrSecCSInfoPlistFailed ErrSec = -67030 // ErrSecCSInternalError: Internal error in Code Signing Services subsystem. ErrSecCSInternalError ErrSec = -67048 // ErrSecCSInvalidAssociatedFileData: Resource fork, Finder information, or similar detritus not allowed. ErrSecCSInvalidAssociatedFileData ErrSec = -66999 // ErrSecCSInvalidAttributeValues: An attribute value associated with a key is out of range or is the wrong type. ErrSecCSInvalidAttributeValues ErrSec = -67066 // ErrSecCSInvalidEntitlements: Encountered an invalid entitlement plist. ErrSecCSInvalidEntitlements ErrSec = -66994 // ErrSecCSInvalidFlags: Invalid or inappropriate API flags specified. ErrSecCSInvalidFlags ErrSec = -67070 // ErrSecCSInvalidObjectRef: Invalid API object reference. ErrSecCSInvalidObjectRef ErrSec = -67071 // ErrSecCSInvalidPlatform: Invalid platform identifier or platform mismatch. ErrSecCSInvalidPlatform ErrSec = -67005 // ErrSecCSInvalidRuntimeVersion: An invalid runtime version was explicity set. ErrSecCSInvalidRuntimeVersion ErrSec = -66993 // ErrSecCSInvalidSymlink: Invalid destination for symbolic link in bundle. ErrSecCSInvalidSymlink ErrSec = -67003 // ErrSecCSInvalidTeamIdentifier: A Team Identifier string is invalid. ErrSecCSInvalidTeamIdentifier ErrSec = -66998 // ErrSecCSMultipleGuests: Code signing host has more than one block of guest code with this attribute value. ErrSecCSMultipleGuests ErrSec = -67064 // ErrSecCSNoMainExecutable: The code has no main executable file. ErrSecCSNoMainExecutable ErrSec = -67029 // ErrSecCSNoMatches: No matches were found for a search or update operation. ErrSecCSNoMatches ErrSec = -67027 // ErrSecCSNoSuchCode: Code signing host has no guest code with the requested attributes. ErrSecCSNoSuchCode ErrSec = -67065 // ErrSecCSNotAHost: This code is not a code signing host. ErrSecCSNotAHost ErrSec = -67046 // ErrSecCSNotAppLike: The code is valid but does not seem to be an app. ErrSecCSNotAppLike ErrSec = -67002 // ErrSecCSNotSupported: Operation not supported for this type of code. ErrSecCSNotSupported ErrSec = -67037 // ErrSecCSObjectRequired: A required pointer argument was null. ErrSecCSObjectRequired ErrSec = -67069 // ErrSecCSOutdated: The presented data is out of date. ErrSecCSOutdated ErrSec = -67025 // ErrSecCSRegularFile: The main executable or Info.plist must be a regular file (and not, for example, a symbolic link). ErrSecCSRegularFile ErrSec = -67015 ErrSecCSRemoteSignerFailed ErrSec = -66990 // ErrSecCSReqFailed: The code failed to satisfy one of the code requirements. ErrSecCSReqFailed ErrSec = -67050 // ErrSecCSReqInvalid: Invalid or corrupted code requirements. ErrSecCSReqInvalid ErrSec = -67052 // ErrSecCSReqUnsupported: Unsupported type or version of code requirements. ErrSecCSReqUnsupported ErrSec = -67051 // ErrSecCSResourceDirectoryFailed: A directory or its signature has been modified and is therefore invalid. ErrSecCSResourceDirectoryFailed ErrSec = -67023 // ErrSecCSResourceNotSupported: Found an unsupported resource. ErrSecCSResourceNotSupported ErrSec = -67016 // ErrSecCSResourceRulesInvalid: Invalid resource selection rule or rules. ErrSecCSResourceRulesInvalid ErrSec = -67053 // ErrSecCSResourcesInvalid: The sealed resource directory is invalid. ErrSecCSResourcesInvalid ErrSec = -67055 // ErrSecCSResourcesNotFound: Cannot find sealed resources in code. ErrSecCSResourcesNotFound ErrSec = -67056 // ErrSecCSResourcesNotSealed: Resources are not sealed by the signature. ErrSecCSResourcesNotSealed ErrSec = -67057 // ErrSecCSRevokedNotarization: Notarization indicates this code has been revoked. ErrSecCSRevokedNotarization ErrSec = -66992 // ErrSecCSSigDBAccess: Can’t access signature database. ErrSecCSSigDBAccess ErrSec = -67032 // ErrSecCSSigDBDenied: Access to signature database denied. ErrSecCSSigDBDenied ErrSec = -67033 // ErrSecCSSignatureFailed: Code or signature modified. ErrSecCSSignatureFailed ErrSec = -67061 // ErrSecCSSignatureInvalid: Invalid format for signature. ErrSecCSSignatureInvalid ErrSec = -67045 // ErrSecCSSignatureNotVerifiable: Signature cannot be read. ErrSecCSSignatureNotVerifiable ErrSec = -67060 // ErrSecCSSignatureUnsupported: Unsupported type or version of signature. ErrSecCSSignatureUnsupported ErrSec = -67059 // ErrSecCSSignatureUntrusted: The signature is valid but signer isn’t trusted. ErrSecCSSignatureUntrusted ErrSec = -66996 // ErrSecCSStaticCodeChanged: The code on disk has been modified after the code started running. ErrSecCSStaticCodeChanged ErrSec = -67034 // ErrSecCSStaticCodeNotFound: Cannot find code object on disk. ErrSecCSStaticCodeNotFound ErrSec = -67068 // ErrSecCSTooBig: The code is too big for current signing format. ErrSecCSTooBig ErrSec = -67004 // ErrSecCSUnimplemented: Unimplemented code signing feature. ErrSecCSUnimplemented ErrSec = -67072 // ErrSecCSUnsealedAppRoot: Unsealed contents present in the bundle root. ErrSecCSUnsealedAppRoot ErrSec = -67014 // ErrSecCSUnsealedFrameworkRoot: Unsealed contents present in the root directory of an embedded framework. ErrSecCSUnsealedFrameworkRoot ErrSec = -67008 // ErrSecCSUnsigned: Code object is not signed. ErrSecCSUnsigned ErrSec = -67062 // ErrSecCSUnsignedNestedCode: Nested code is unsigned. ErrSecCSUnsignedNestedCode ErrSec = -67022 // ErrSecCSUnsupportedDigestAlgorithm: The signature digest algorithm(s) specified are not supported. ErrSecCSUnsupportedDigestAlgorithm ErrSec = -67000 // ErrSecCSUnsupportedGuestAttributes: Cannot locate guest code using this attribute set. ErrSecCSUnsupportedGuestAttributes ErrSec = -67067 ErrSecCSVetoed ErrSec = -67018 // ErrSecCSWeakResourceEnvelope: The resource envelope is obsolete (version 1 signature). ErrSecCSWeakResourceEnvelope ErrSec = -67007 // ErrSecCSWeakResourceRules: The resource envelope is obsolete (custom omit rules). ErrSecCSWeakResourceRules ErrSec = -67013 // ErrSecCallbackFailed: A callback failed. ErrSecCallbackFailed ErrSec = 0 // ErrSecCertificateCannotOperate: The certificate cannot operate. ErrSecCertificateCannotOperate ErrSec = 0 ErrSecCertificateDuplicateExtension ErrSec = 0 // ErrSecCertificateExpired: An expired certificate was detected. ErrSecCertificateExpired ErrSec = 0 ErrSecCertificateIsCA ErrSec = 0 // ErrSecCertificateNameNotAllowed: The requested name isn’t allowed for this certificate. ErrSecCertificateNameNotAllowed ErrSec = 0 // ErrSecCertificateNotValidYet: The certificate is not yet valid. ErrSecCertificateNotValidYet ErrSec = 0 // ErrSecCertificatePolicyNotAllowed: The requested policy isn’t allowed for this certificate. ErrSecCertificatePolicyNotAllowed ErrSec = 0 // ErrSecCertificateRevoked: The certificate was revoked. ErrSecCertificateRevoked ErrSec = 0 // ErrSecCertificateSuspended: The certificate was suspended. ErrSecCertificateSuspended ErrSec = 0 // ErrSecCertificateValidityPeriodTooLong: The validity period in the certificate exceeds the maximum allowed period. ErrSecCertificateValidityPeriodTooLong ErrSec = 0 // ErrSecCodeSigningBadCertChainLength: Code signing encountered an incorrect certificate chain length. ErrSecCodeSigningBadCertChainLength ErrSec = 0 // ErrSecCodeSigningBadPathLengthConstraint: Code signing encountered an incorrect path length constraint. ErrSecCodeSigningBadPathLengthConstraint ErrSec = 0 // ErrSecCodeSigningDevelopment: Code signing indicated use of a development-only certificate. ErrSecCodeSigningDevelopment ErrSec = 0 // ErrSecCodeSigningNoBasicConstraints: Code signing found no basic constraints. ErrSecCodeSigningNoBasicConstraints ErrSec = 0 // ErrSecCodeSigningNoExtendedKeyUsage: Code signing found no extended key usage. ErrSecCodeSigningNoExtendedKeyUsage ErrSec = 0 // ErrSecConversionError: A conversion error has occurred. ErrSecConversionError ErrSec = 0 // ErrSecCoreFoundationUnknown: An unknown Core Foundation error occurred. ErrSecCoreFoundationUnknown ErrSec = 0 // ErrSecCreateChainFailed: The attempt to create a certificate chain failed. ErrSecCreateChainFailed ErrSec = 0 // ErrSecDataNotAvailable: The data is not available. ErrSecDataNotAvailable ErrSec = 0 // ErrSecDataNotModifiable: The data is not modifiable. ErrSecDataNotModifiable ErrSec = 0 // ErrSecDataTooLarge: The data is too large for the particular data type. ErrSecDataTooLarge ErrSec = 0 // ErrSecDatabaseLocked: The database is locked. ErrSecDatabaseLocked ErrSec = 0 // ErrSecDatastoreIsOpen: The data store is open. ErrSecDatastoreIsOpen ErrSec = 0 // ErrSecDecode: Unable to decode the provided data. ErrSecDecode ErrSec = 0 // ErrSecDeviceError: A device error was encountered. ErrSecDeviceError ErrSec = 0 // ErrSecDeviceFailed: A device failure has occurred. ErrSecDeviceFailed ErrSec = 0 // ErrSecDeviceReset: A device reset has occurred. ErrSecDeviceReset ErrSec = 0 // ErrSecDeviceVerifyFailed: A device verification failure has occurred. ErrSecDeviceVerifyFailed ErrSec = 0 // ErrSecDiskFull: The disk is full. ErrSecDiskFull ErrSec = 0 // ErrSecDuplicateCallback: More than one callback of the same name exists. ErrSecDuplicateCallback ErrSec = 0 // ErrSecDuplicateItem: The item already exists. ErrSecDuplicateItem ErrSec = 0 // ErrSecDuplicateKeychain: A keychain with the same name already exists. ErrSecDuplicateKeychain ErrSec = 0 // ErrSecEMMLoadFailed: The elective module manager load failed. ErrSecEMMLoadFailed ErrSec = 0 // ErrSecEMMUnloadFailed: The elective module manager unload has failed. ErrSecEMMUnloadFailed ErrSec = 0 // ErrSecEndOfData: An end-of-data was detected. ErrSecEndOfData ErrSec = 0 // ErrSecEventNotificationCallbackNotFound: An event notification callback was not found. ErrSecEventNotificationCallbackNotFound ErrSec = 0 // ErrSecExtendedKeyUsageNotCritical: The extended key usage extension was not marked critical. ErrSecExtendedKeyUsageNotCritical ErrSec = 0 // ErrSecFieldSpecifiedMultiple: Too many fields were specified. ErrSecFieldSpecifiedMultiple ErrSec = 0 // ErrSecFileTooBig: The file is too big. ErrSecFileTooBig ErrSec = 0 // ErrSecFunctionFailed: A function has failed. ErrSecFunctionFailed ErrSec = 0 // ErrSecFunctionIntegrityFail: A function address is not within the verified module. ErrSecFunctionIntegrityFail ErrSec = 0 // ErrSecHostNameMismatch: A host name mismatch has occurred. ErrSecHostNameMismatch ErrSec = 0 // ErrSecIDPFailure: The issuing distribution point is not valid. ErrSecIDPFailure ErrSec = 0 // ErrSecIO: I/O error. ErrSecIO ErrSec = 0 // ErrSecInDarkWake: The user interface cannot be displayed because the system is in a dark wake state. ErrSecInDarkWake ErrSec = 0 // ErrSecIncompatibleDatabaseBlob: The specified database has an incompatible blob. ErrSecIncompatibleDatabaseBlob ErrSec = 0 // ErrSecIncompatibleFieldFormat: The field format is incompatible. ErrSecIncompatibleFieldFormat ErrSec = 0 // ErrSecIncompatibleKeyBlob: The specified database has an incompatible key blob. ErrSecIncompatibleKeyBlob ErrSec = 0 // ErrSecIncompatibleVersion: The version is incompatible. ErrSecIncompatibleVersion ErrSec = 0 // ErrSecIncompleteCertRevocationCheck: An incomplete certificate revocation check occurred. ErrSecIncompleteCertRevocationCheck ErrSec = 0 // ErrSecInputLengthError: An input length error occurred. ErrSecInputLengthError ErrSec = 0 // ErrSecInsufficientClientID: The client ID is incorrect. ErrSecInsufficientClientID ErrSec = 0 // ErrSecInsufficientCredentials: Insufficient credentials were detected. ErrSecInsufficientCredentials ErrSec = 0 // ErrSecInteractionNotAllowed: Interaction with the Security Server is not allowed. ErrSecInteractionNotAllowed ErrSec = 0 // ErrSecInteractionRequired: User interaction is required. ErrSecInteractionRequired ErrSec = 0 // ErrSecInternalComponent: An internal component experienced an error. ErrSecInternalComponent ErrSec = 0 // ErrSecInternalError: An internal error occurred. ErrSecInternalError ErrSec = 0 // ErrSecInvalidACL: An invalid access control list was detected. ErrSecInvalidACL ErrSec = 0 // ErrSecInvalidAccessCredentials: Invalid access credentials were detected. ErrSecInvalidAccessCredentials ErrSec = 0 // ErrSecInvalidAccessRequest: The access request is invalid. ErrSecInvalidAccessRequest ErrSec = 0 // ErrSecInvalidAction: The action is invalid. ErrSecInvalidAction ErrSec = 0 // ErrSecInvalidAddinFunctionTable: An invalid add-in function table was detected. ErrSecInvalidAddinFunctionTable ErrSec = 0 // ErrSecInvalidAlgorithm: An invalid algorithm was detected. ErrSecInvalidAlgorithm ErrSec = 0 // ErrSecInvalidAlgorithmParms: An algorithm parameters attribute is not valid. ErrSecInvalidAlgorithmParms ErrSec = 0 // ErrSecInvalidAttributeAccessCredentials: An access credentials attribute is not valid. ErrSecInvalidAttributeAccessCredentials ErrSec = 0 // ErrSecInvalidAttributeBase: A base attribute is not valid. ErrSecInvalidAttributeBase ErrSec = 0 // ErrSecInvalidAttributeBlockSize: A block size attribute is not valid. ErrSecInvalidAttributeBlockSize ErrSec = 0 // ErrSecInvalidAttributeDLDBHandle: A database handle attribute is not valid. ErrSecInvalidAttributeDLDBHandle ErrSec = 0 // ErrSecInvalidAttributeEffectiveBits: An effective bits attribute is not valid. ErrSecInvalidAttributeEffectiveBits ErrSec = 0 // ErrSecInvalidAttributeEndDate: An end date attribute is not valid. ErrSecInvalidAttributeEndDate ErrSec = 0 // ErrSecInvalidAttributeInitVector: An init vector attribute is not valid. ErrSecInvalidAttributeInitVector ErrSec = 0 // ErrSecInvalidAttributeIterationCount: An iteration count attribute is not valid. ErrSecInvalidAttributeIterationCount ErrSec = 0 // ErrSecInvalidAttributeKey: A key attribute is not valid. ErrSecInvalidAttributeKey ErrSec = 0 // ErrSecInvalidAttributeKeyLength: A key length attribute is not valid. ErrSecInvalidAttributeKeyLength ErrSec = 0 // ErrSecInvalidAttributeKeyType: A key type attribute is not valid. ErrSecInvalidAttributeKeyType ErrSec = 0 // ErrSecInvalidAttributeLabel: A label attribute is not valid. ErrSecInvalidAttributeLabel ErrSec = 0 // ErrSecInvalidAttributeMode: A mode attribute is not valid. ErrSecInvalidAttributeMode ErrSec = 0 // ErrSecInvalidAttributeOutputSize: An output size attribute is not valid. ErrSecInvalidAttributeOutputSize ErrSec = 0 // ErrSecInvalidAttributePadding: A padding attribute is not valid. ErrSecInvalidAttributePadding ErrSec = 0 // ErrSecInvalidAttributePassphrase: A passphrase attribute is not valid. ErrSecInvalidAttributePassphrase ErrSec = 0 // ErrSecInvalidAttributePrime: A prime attribute is not valid. ErrSecInvalidAttributePrime ErrSec = 0 // ErrSecInvalidAttributePrivateKeyFormat: A private key format attribute is not valid. ErrSecInvalidAttributePrivateKeyFormat ErrSec = 0 // ErrSecInvalidAttributePublicKeyFormat: A public key format attribute is not valid. ErrSecInvalidAttributePublicKeyFormat ErrSec = 0 // ErrSecInvalidAttributeRandom: A random number attribute is not valid. ErrSecInvalidAttributeRandom ErrSec = 0 // ErrSecInvalidAttributeRounds: The number of rounds attribute is not valid. ErrSecInvalidAttributeRounds ErrSec = 0 // ErrSecInvalidAttributeSalt: A salt attribute is not valid. ErrSecInvalidAttributeSalt ErrSec = 0 // ErrSecInvalidAttributeSeed: A seed attribute is not valid. ErrSecInvalidAttributeSeed ErrSec = 0 // ErrSecInvalidAttributeStartDate: A start date attribute is not valid. ErrSecInvalidAttributeStartDate ErrSec = 0 // ErrSecInvalidAttributeSubprime: A subprime attribute is not valid. ErrSecInvalidAttributeSubprime ErrSec = 0 // ErrSecInvalidAttributeSymmetricKeyFormat: A symmetric key format attribute is not valid. ErrSecInvalidAttributeSymmetricKeyFormat ErrSec = 0 // ErrSecInvalidAttributeVersion: A version attribute is not valid. ErrSecInvalidAttributeVersion ErrSec = 0 // ErrSecInvalidAttributeWrappedKeyFormat: A wrapped key format attribute is not valid. ErrSecInvalidAttributeWrappedKeyFormat ErrSec = 0 // ErrSecInvalidAuthority: The authority is not valid. ErrSecInvalidAuthority ErrSec = 0 // ErrSecInvalidAuthorityKeyID: The authority key ID is not valid. ErrSecInvalidAuthorityKeyID ErrSec = 0 // ErrSecInvalidBaseACLs: The base access control lists are not valid. ErrSecInvalidBaseACLs ErrSec = 0 // ErrSecInvalidBundleInfo: The bundle information is not valid. ErrSecInvalidBundleInfo ErrSec = 0 // ErrSecInvalidCRL: The certificate revocation list is not valid. ErrSecInvalidCRL ErrSec = 0 ErrSecInvalidCRLAuthority ErrSec = 0 // ErrSecInvalidCRLEncoding: The certificate revocation list encoding is not valid. ErrSecInvalidCRLEncoding ErrSec = 0 // ErrSecInvalidCRLGroup: An invalid certificate revocation list group was detected. ErrSecInvalidCRLGroup ErrSec = 0 // ErrSecInvalidCRLIndex: The certificate revocation list index is not valid. ErrSecInvalidCRLIndex ErrSec = 0 // ErrSecInvalidCRLType: The certificate revocation list type is not valid. ErrSecInvalidCRLType ErrSec = 0 // ErrSecInvalidCallback: The callback is not valid. ErrSecInvalidCallback ErrSec = 0 // ErrSecInvalidCertAuthority: The certificate authority is not valid. ErrSecInvalidCertAuthority ErrSec = 0 // ErrSecInvalidCertificateGroup: An invalid certificate group was detected. ErrSecInvalidCertificateGroup ErrSec = 0 // ErrSecInvalidCertificateRef: An invalid certificate reference was detected. ErrSecInvalidCertificateRef ErrSec = 0 // ErrSecInvalidContext: An invalid context was detected. ErrSecInvalidContext ErrSec = 0 // ErrSecInvalidDBList: An invalid DB list was detected. ErrSecInvalidDBList ErrSec = 0 // ErrSecInvalidDBLocation: The database location is not valid. ErrSecInvalidDBLocation ErrSec = 0 // ErrSecInvalidData: Invalid data was detected. ErrSecInvalidData ErrSec = 0 // ErrSecInvalidDatabaseBlob: The specified database has an invalid blob. ErrSecInvalidDatabaseBlob ErrSec = 0 // ErrSecInvalidDigestAlgorithm: An invalid digest algorithm was detected. ErrSecInvalidDigestAlgorithm ErrSec = 0 // ErrSecInvalidEncoding: The encoding is not valid. ErrSecInvalidEncoding ErrSec = 0 // ErrSecInvalidExtendedKeyUsage: The extended key usage is not valid. ErrSecInvalidExtendedKeyUsage ErrSec = 0 // ErrSecInvalidFormType: The form type is not valid. ErrSecInvalidFormType ErrSec = 0 // ErrSecInvalidGUID: An invalid GUID was detected. ErrSecInvalidGUID ErrSec = 0 // ErrSecInvalidHandle: An invalid handle was encountered. ErrSecInvalidHandle ErrSec = 0 // ErrSecInvalidHandleUsage: The common security services manager handle does not match with the service type. ErrSecInvalidHandleUsage ErrSec = 0 // ErrSecInvalidID: The ID is not valid. ErrSecInvalidID ErrSec = 0 // ErrSecInvalidIDLinkage: The ID linkage is not valid. ErrSecInvalidIDLinkage ErrSec = 0 // ErrSecInvalidIdentifier: The identifier is not valid. ErrSecInvalidIdentifier ErrSec = 0 // ErrSecInvalidIndex: The index is not valid. ErrSecInvalidIndex ErrSec = 0 // ErrSecInvalidIndexInfo: The index information is not valid. ErrSecInvalidIndexInfo ErrSec = 0 // ErrSecInvalidInputVector: The input vector is not valid. ErrSecInvalidInputVector ErrSec = 0 // ErrSecInvalidItemRef: The item reference is invalid. ErrSecInvalidItemRef ErrSec = 0 // ErrSecInvalidKeyAttributeMask: The key attribute mask is not valid. ErrSecInvalidKeyAttributeMask ErrSec = 0 // ErrSecInvalidKeyBlob: The specified database has an invalid key blob. ErrSecInvalidKeyBlob ErrSec = 0 // ErrSecInvalidKeyFormat: The key format is not valid. ErrSecInvalidKeyFormat ErrSec = 0 // ErrSecInvalidKeyHierarchy: An invalid key hierarchy was detected. ErrSecInvalidKeyHierarchy ErrSec = 0 // ErrSecInvalidKeyLabel: The key label is not valid. ErrSecInvalidKeyLabel ErrSec = 0 // ErrSecInvalidKeyRef: An invalid key was encountered. ErrSecInvalidKeyRef ErrSec = 0 // ErrSecInvalidKeyUsageForPolicy: The key usage is not valid for the specified policy. ErrSecInvalidKeyUsageForPolicy ErrSec = 0 // ErrSecInvalidKeyUsageMask: The key usage mask is not valid. ErrSecInvalidKeyUsageMask ErrSec = 0 // ErrSecInvalidKeychain: The keychain is not valid. ErrSecInvalidKeychain ErrSec = 0 // ErrSecInvalidLoginName: An invalid login name was detected. ErrSecInvalidLoginName ErrSec = 0 // ErrSecInvalidModifyMode: The modify mode is not valid. ErrSecInvalidModifyMode ErrSec = 0 // ErrSecInvalidName: An invalid name was detected. ErrSecInvalidName ErrSec = 0 // ErrSecInvalidNetworkAddress: An invalid network address was detected. ErrSecInvalidNetworkAddress ErrSec = 0 // ErrSecInvalidNewOwner: The new owner is not valid. ErrSecInvalidNewOwner ErrSec = 0 // ErrSecInvalidNumberOfFields: An invalid number of fields were detected. ErrSecInvalidNumberOfFields ErrSec = 0 // ErrSecInvalidOutputVector: The output vector is not valid. ErrSecInvalidOutputVector ErrSec = 0 // ErrSecInvalidOwnerEdit: An invalid attempt to change the owner of an item. ErrSecInvalidOwnerEdit ErrSec = 0 // ErrSecInvalidPVC: An invalid pointer validation checking policy was detected. ErrSecInvalidPVC ErrSec = 0 // ErrSecInvalidParsingModule: The parsing module is not valid. ErrSecInvalidParsingModule ErrSec = 0 // ErrSecInvalidPassthroughID: An invalid passthrough ID was detected. ErrSecInvalidPassthroughID ErrSec = 0 // ErrSecInvalidPasswordRef: The password reference is invalid. ErrSecInvalidPasswordRef ErrSec = 0 // ErrSecInvalidPointer: An invalid pointer was detected. ErrSecInvalidPointer ErrSec = 0 // ErrSecInvalidPolicyIdentifiers: The policy identifiers are not valid. ErrSecInvalidPolicyIdentifiers ErrSec = 0 // ErrSecInvalidPrefsDomain: The preference domain specified is invalid. ErrSecInvalidPrefsDomain ErrSec = 0 // ErrSecInvalidQuery: The specified query is not valid. ErrSecInvalidQuery ErrSec = 0 // ErrSecInvalidReason: The trust policy reason is not valid. ErrSecInvalidReason ErrSec = 0 // ErrSecInvalidRecord: An invalid record was detected. ErrSecInvalidRecord ErrSec = 0 // ErrSecInvalidRequestInputs: The request inputs are not valid. ErrSecInvalidRequestInputs ErrSec = 0 // ErrSecInvalidRequestor: The requestor is not valid. ErrSecInvalidRequestor ErrSec = 0 // ErrSecInvalidResponseVector: The response vector is not valid. ErrSecInvalidResponseVector ErrSec = 0 // ErrSecInvalidRoot: The root or anchor certificate is not valid. ErrSecInvalidRoot ErrSec = 0 // ErrSecInvalidSampleValue: An invalid sample value was detected. ErrSecInvalidSampleValue ErrSec = 0 // ErrSecInvalidScope: An invalid scope was detected. ErrSecInvalidScope ErrSec = 0 // ErrSecInvalidSearchRef: The search reference is invalid. ErrSecInvalidSearchRef ErrSec = 0 // ErrSecInvalidServiceMask: An invalid service mask was detected. ErrSecInvalidServiceMask ErrSec = 0 // ErrSecInvalidSignature: An invalid signature was detected. ErrSecInvalidSignature ErrSec = 0 // ErrSecInvalidStopOnPolicy: The stop-on policy is not valid. ErrSecInvalidStopOnPolicy ErrSec = 0 // ErrSecInvalidSubServiceID: An invalid sub-service ID was detected. ErrSecInvalidSubServiceID ErrSec = 0 // ErrSecInvalidSubjectKeyID: The subject key ID is not valid. ErrSecInvalidSubjectKeyID ErrSec = 0 // ErrSecInvalidSubjectName: An invalid certificate subject name was detected. ErrSecInvalidSubjectName ErrSec = 0 // ErrSecInvalidTimeString: The time specified is not valid. ErrSecInvalidTimeString ErrSec = 0 // ErrSecInvalidTrustSetting: The trust setting is invalid. ErrSecInvalidTrustSetting ErrSec = 0 // ErrSecInvalidTrustSettings: The trust settings record is corrupted. ErrSecInvalidTrustSettings ErrSec = 0 // ErrSecInvalidTuple: The tuple is not valid. ErrSecInvalidTuple ErrSec = 0 // ErrSecInvalidTupleCredentials: The tuple credentials are not valid. ErrSecInvalidTupleCredentials ErrSec = 0 // ErrSecInvalidTupleGroup: The tuple group is not valid. ErrSecInvalidTupleGroup ErrSec = 0 // ErrSecInvalidValidityPeriod: The validity period is not valid. ErrSecInvalidValidityPeriod ErrSec = 0 // ErrSecInvalidValue: An invalid value was detected. ErrSecInvalidValue ErrSec = 0 // ErrSecItemNotFound: The item cannot be found. ErrSecItemNotFound ErrSec = 0 // ErrSecKeyBlobTypeIncorrect: The key blob type is incorrect. ErrSecKeyBlobTypeIncorrect ErrSec = 0 // ErrSecKeyHeaderInconsistent: The key header is inconsistent. ErrSecKeyHeaderInconsistent ErrSec = 0 // ErrSecKeyIsSensitive: The key must be wrapped to be exported. ErrSecKeyIsSensitive ErrSec = 0 // ErrSecKeySizeNotAllowed: The key size is not allowed. ErrSecKeySizeNotAllowed ErrSec = 0 // ErrSecKeyUsageIncorrect: The key usage is incorrect. ErrSecKeyUsageIncorrect ErrSec = 0 // ErrSecLibraryReferenceNotFound: A library reference was not found. ErrSecLibraryReferenceNotFound ErrSec = 0 // ErrSecMDSError: A module directory service error occurred. ErrSecMDSError ErrSec = 0 // ErrSecMemoryError: A memory error occurred. ErrSecMemoryError ErrSec = 0 // ErrSecMissingAlgorithmParms: An algorithm parameters attribute is missing. ErrSecMissingAlgorithmParms ErrSec = 0 // ErrSecMissingAttributeAccessCredentials: An access credentials attribute is missing. ErrSecMissingAttributeAccessCredentials ErrSec = 0 // ErrSecMissingAttributeBase: A base attribute is missing. ErrSecMissingAttributeBase ErrSec = 0 // ErrSecMissingAttributeBlockSize: A block size attribute is missing. ErrSecMissingAttributeBlockSize ErrSec = 0 // ErrSecMissingAttributeDLDBHandle: A database handle attribute is missing. ErrSecMissingAttributeDLDBHandle ErrSec = 0 // ErrSecMissingAttributeEffectiveBits: An effective bits attribute is missing. ErrSecMissingAttributeEffectiveBits ErrSec = 0 // ErrSecMissingAttributeEndDate: An end date attribute is missing. ErrSecMissingAttributeEndDate ErrSec = 0 // ErrSecMissingAttributeInitVector: An init vector attribute is missing. ErrSecMissingAttributeInitVector ErrSec = 0 // ErrSecMissingAttributeIterationCount: An iteration count attribute is missing. ErrSecMissingAttributeIterationCount ErrSec = 0 // ErrSecMissingAttributeKey: A key attribute is missing. ErrSecMissingAttributeKey ErrSec = 0 // ErrSecMissingAttributeKeyLength: A key length attribute is missing. ErrSecMissingAttributeKeyLength ErrSec = 0 // ErrSecMissingAttributeKeyType: A key type attribute is missing. ErrSecMissingAttributeKeyType ErrSec = 0 // ErrSecMissingAttributeLabel: A label attribute is missing. ErrSecMissingAttributeLabel ErrSec = 0 // ErrSecMissingAttributeMode: A mode attribute is missing. ErrSecMissingAttributeMode ErrSec = 0 // ErrSecMissingAttributeOutputSize: An output size attribute is missing. ErrSecMissingAttributeOutputSize ErrSec = 0 // ErrSecMissingAttributePadding: A padding attribute is missing. ErrSecMissingAttributePadding ErrSec = 0 // ErrSecMissingAttributePassphrase: A passphrase attribute is missing. ErrSecMissingAttributePassphrase ErrSec = 0 // ErrSecMissingAttributePrime: A prime attribute is missing. ErrSecMissingAttributePrime ErrSec = 0 // ErrSecMissingAttributePrivateKeyFormat: A private key format attribute is missing. ErrSecMissingAttributePrivateKeyFormat ErrSec = 0 // ErrSecMissingAttributePublicKeyFormat: A public key format attribute is missing. ErrSecMissingAttributePublicKeyFormat ErrSec = 0 // ErrSecMissingAttributeRandom: A random number attribute is missing. ErrSecMissingAttributeRandom ErrSec = 0 // ErrSecMissingAttributeRounds: The number of rounds attribute is missing. ErrSecMissingAttributeRounds ErrSec = 0 // ErrSecMissingAttributeSalt: A salt attribute is missing. ErrSecMissingAttributeSalt ErrSec = 0 // ErrSecMissingAttributeSeed: A seed attribute is missing. ErrSecMissingAttributeSeed ErrSec = 0 // ErrSecMissingAttributeStartDate: A start date attribute is missing. ErrSecMissingAttributeStartDate ErrSec = 0 // ErrSecMissingAttributeSubprime: A subprime attribute is missing. ErrSecMissingAttributeSubprime ErrSec = 0 // ErrSecMissingAttributeSymmetricKeyFormat: A symmetric key format attribute is missing. ErrSecMissingAttributeSymmetricKeyFormat ErrSec = 0 // ErrSecMissingAttributeVersion: A version attribute is missing. ErrSecMissingAttributeVersion ErrSec = 0 // ErrSecMissingAttributeWrappedKeyFormat: A wrapped key format attribute is missing. ErrSecMissingAttributeWrappedKeyFormat ErrSec = 0 // ErrSecMissingEntitlement: A required entitlement is missing. ErrSecMissingEntitlement ErrSec = 0 ErrSecMissingQualifiedCertStatement ErrSec = 0 // ErrSecMissingRequiredExtension: A required certificate extension is missing. ErrSecMissingRequiredExtension ErrSec = 0 // ErrSecMissingValue: A missing value was detected. ErrSecMissingValue ErrSec = 0 // ErrSecMobileMeCSRVerifyFailure: A MobileMe certificate signing request verification failure occurred. ErrSecMobileMeCSRVerifyFailure ErrSec = 0 // ErrSecMobileMeFailedConsistencyCheck: MobileMe found a failed consistency check. ErrSecMobileMeFailedConsistencyCheck ErrSec = 0 // ErrSecMobileMeNoRequestPending: MobileMe has no request pending. ErrSecMobileMeNoRequestPending ErrSec = 0 // ErrSecMobileMeRequestAlreadyPending: A MobileMe request is already pending. ErrSecMobileMeRequestAlreadyPending ErrSec = 0 // ErrSecMobileMeRequestQueued: The MobileMe request will be sent during the next connection. ErrSecMobileMeRequestQueued ErrSec = 0 // ErrSecMobileMeRequestRedirected: The MobileMe request was redirected. ErrSecMobileMeRequestRedirected ErrSec = 0 // ErrSecMobileMeServerAlreadyExists: The MobileMe server reported that the item already exists. ErrSecMobileMeServerAlreadyExists ErrSec = 0 // ErrSecMobileMeServerError: A MobileMe server error occurred. ErrSecMobileMeServerError ErrSec = 0 // ErrSecMobileMeServerNotAvailable: The MobileMe server is not available. ErrSecMobileMeServerNotAvailable ErrSec = 0 // ErrSecMobileMeServerServiceErr: A MobileMe service error occurred. ErrSecMobileMeServerServiceErr ErrSec = 0 // ErrSecModuleManagerInitializeFailed: A module failed to initialize. ErrSecModuleManagerInitializeFailed ErrSec = 0 // ErrSecModuleManagerNotFound: A module was not found. ErrSecModuleManagerNotFound ErrSec = 0 // ErrSecModuleManifestVerifyFailed: A module manifest verification failure occurred. ErrSecModuleManifestVerifyFailed ErrSec = 0 // ErrSecModuleNotLoaded: A module was not loaded. ErrSecModuleNotLoaded ErrSec = 0 // ErrSecMultipleExecSegments: The image contains multiple executable segments. ErrSecMultipleExecSegments ErrSec = -66995 // ErrSecMultiplePrivKeys: An attempt was made to import multiple private keys. ErrSecMultiplePrivKeys ErrSec = 0 // ErrSecMultipleValuesUnsupported: Multiple values are not supported. ErrSecMultipleValuesUnsupported ErrSec = 0 // ErrSecNetworkFailure: A network failure occurred. ErrSecNetworkFailure ErrSec = 0 // ErrSecNoAccessForItem: The specified item has no access control. ErrSecNoAccessForItem ErrSec = 0 // ErrSecNoBasicConstraints: No basic constraints were found. ErrSecNoBasicConstraints ErrSec = 0 // ErrSecNoBasicConstraintsCA: No basic CA constraints were found. ErrSecNoBasicConstraintsCA ErrSec = 0 // ErrSecNoCertificateModule: There is no certificate module available. ErrSecNoCertificateModule ErrSec = 0 // ErrSecNoDefaultAuthority: No default authority was detected. ErrSecNoDefaultAuthority ErrSec = 0 // ErrSecNoDefaultKeychain: A default keychain does not exist. ErrSecNoDefaultKeychain ErrSec = 0 // ErrSecNoFieldValues: No field values were detected. ErrSecNoFieldValues ErrSec = 0 // ErrSecNoPolicyModule: There is no policy module available. ErrSecNoPolicyModule ErrSec = 0 // ErrSecNoStorageModule: There is no storage module available. ErrSecNoStorageModule ErrSec = 0 // ErrSecNoSuchAttr: The attribute does not exist. ErrSecNoSuchAttr ErrSec = 0 // ErrSecNoSuchClass: The keychain item class does not exist. ErrSecNoSuchClass ErrSec = 0 // ErrSecNoSuchKeychain: The keychain does not exist. ErrSecNoSuchKeychain ErrSec = 0 // ErrSecNoTrustSettings: No trust settings were found. ErrSecNoTrustSettings ErrSec = 0 // ErrSecNotAvailable: No trust results are available. ErrSecNotAvailable ErrSec = 0 // ErrSecNotInitialized: A function was called without initializing the common security services manager. ErrSecNotInitialized ErrSec = 0 // ErrSecNotLoggedIn: You are not logged in. ErrSecNotLoggedIn ErrSec = 0 // ErrSecNotSigner: The certificate is not signed by its proposed parent. ErrSecNotSigner ErrSec = 0 // ErrSecNotTrusted: The trust policy is not trusted. ErrSecNotTrusted ErrSec = 0 // ErrSecOCSPBadRequest: The online certificate status protocol (OCSP) request is incorrect or cannot be parsed. ErrSecOCSPBadRequest ErrSec = 0 // ErrSecOCSPBadResponse: The online certificate status protocol (OCSP) response is incorrect or cannot be parsed. ErrSecOCSPBadResponse ErrSec = 0 // ErrSecOCSPNoSigner: The online certificate status protocol (OCSP) response has no signer. ErrSecOCSPNoSigner ErrSec = 0 // ErrSecOCSPNotTrustedToAnchor: The online certificate status protocol (OCSP) response is not trusted to a root or anchor certificate. ErrSecOCSPNotTrustedToAnchor ErrSec = 0 // ErrSecOCSPResponderInternalError: The online certificate status protocol (OCSP) responder detected an internal error. ErrSecOCSPResponderInternalError ErrSec = 0 // ErrSecOCSPResponderMalformedReq: The online certificate status protocol (OCSP) responder detected a malformed request. ErrSecOCSPResponderMalformedReq ErrSec = 0 // ErrSecOCSPResponderSignatureRequired: The online certificate status protocol (OCSP) responder requires a signature. ErrSecOCSPResponderSignatureRequired ErrSec = 0 // ErrSecOCSPResponderTryLater: The online certificate status protocol (OCSP) responder is busy, try again later. ErrSecOCSPResponderTryLater ErrSec = 0 ErrSecOCSPResponderUnauthorized ErrSec = 0 // ErrSecOCSPResponseNonceMismatch: The online certificate status protocol (OCSP) response nonce does not match the request. ErrSecOCSPResponseNonceMismatch ErrSec = 0 // ErrSecOCSPSignatureError: The online certificate status protocol (OCSP) response has an invalid signature. ErrSecOCSPSignatureError ErrSec = 0 // ErrSecOCSPStatusUnrecognized: The online certificate status protocol (OCSP) server does not recognize this certificate. ErrSecOCSPStatusUnrecognized ErrSec = 0 ErrSecOCSPUnavailable ErrSec = 0 // ErrSecOpWr: The file is already open with write permission. ErrSecOpWr ErrSec = 0 // ErrSecOutputLengthError: An output length error was detected. ErrSecOutputLengthError ErrSec = 0 // ErrSecPVCAlreadyConfigured: The PVC is already configured. ErrSecPVCAlreadyConfigured ErrSec = 0 // ErrSecPVCReferentNotFound: A reference to the calling module was not found in the list of authorized callers. ErrSecPVCReferentNotFound ErrSec = 0 // ErrSecParam: One or more parameters passed to the function are not valid. ErrSecParam ErrSec = 0 // ErrSecPassphraseRequired: A password is required for import or export. ErrSecPassphraseRequired ErrSec = 0 // ErrSecPathLengthConstraintExceeded: The path length constraint was exceeded. ErrSecPathLengthConstraintExceeded ErrSec = 0 // ErrSecPkcs12VerifyFailure: MAC verification failed during PKCS12 Import. ErrSecPkcs12VerifyFailure ErrSec = 0 // ErrSecPolicyNotFound: The specified policy cannot be found. ErrSecPolicyNotFound ErrSec = 0 // ErrSecPrivilegeNotGranted: The privilege is not granted. ErrSecPrivilegeNotGranted ErrSec = 0 // ErrSecPrivilegeNotSupported: The privilege is not supported. ErrSecPrivilegeNotSupported ErrSec = 0 // ErrSecPublicKeyInconsistent: The public key is inconsistent. ErrSecPublicKeyInconsistent ErrSec = 0 // ErrSecQuerySizeUnknown: The query size is unknown. ErrSecQuerySizeUnknown ErrSec = 0 // ErrSecQuotaExceeded: The quota was exceeded. ErrSecQuotaExceeded ErrSec = 0 // ErrSecReadOnly: Read-only error. ErrSecReadOnly ErrSec = 0 // ErrSecReadOnlyAttr: The attribute is read-only. ErrSecReadOnlyAttr ErrSec = 0 // ErrSecRecordModified: The record is modified. ErrSecRecordModified ErrSec = 0 // ErrSecRejectedForm: The trust policy has a rejected form. ErrSecRejectedForm ErrSec = 0 // ErrSecRequestDescriptor: The request descriptor is not valid. ErrSecRequestDescriptor ErrSec = 0 // ErrSecRequestLost: The request is lost. ErrSecRequestLost ErrSec = 0 // ErrSecRequestRejected: The request is rejected. ErrSecRequestRejected ErrSec = 0 // ErrSecResourceSignBadCertChainLength: Resource signing detects an incorrect certificate chain length. ErrSecResourceSignBadCertChainLength ErrSec = 0 // ErrSecResourceSignBadExtKeyUsage: Resource signing detects an error in the extended key usage. ErrSecResourceSignBadExtKeyUsage ErrSec = 0 ErrSecRestrictedAPI ErrSec = 0 // ErrSecSMIMEBadExtendedKeyUsage: The appropriate extended key usage for SMIME is not found. ErrSecSMIMEBadExtendedKeyUsage ErrSec = 0 // ErrSecSMIMEBadKeyUsage: The key usage is not compatible with SMIME. ErrSecSMIMEBadKeyUsage ErrSec = 0 // ErrSecSMIMEEmailAddressesNotFound: An email address mismatch was detected. ErrSecSMIMEEmailAddressesNotFound ErrSec = 0 // ErrSecSMIMEKeyUsageNotCritical: The key usage extension is not marked as critical. ErrSecSMIMEKeyUsageNotCritical ErrSec = 0 // ErrSecSMIMENoEmailAddress: No email address is found in the certificate. ErrSecSMIMENoEmailAddress ErrSec = 0 // ErrSecSMIMESubjAltNameNotCritical: The subject alternative name extension is not marked as critical. ErrSecSMIMESubjAltNameNotCritical ErrSec = 0 // ErrSecSSLBadExtendedKeyUsage: The appropriate extended key usage for SSL is not found. ErrSecSSLBadExtendedKeyUsage ErrSec = 0 // ErrSecSelfCheckFailed: Self-check failed. ErrSecSelfCheckFailed ErrSec = 0 // ErrSecServiceNotAvailable: Self-check failed. ErrSecServiceNotAvailable ErrSec = 0 // ErrSecSigningTimeMissing: A signing time is missing. ErrSecSigningTimeMissing ErrSec = 0 // ErrSecStagedOperationInProgress: A staged operation is in progress. ErrSecStagedOperationInProgress ErrSec = 0 // ErrSecStagedOperationNotStarted: A staged operation was not started. ErrSecStagedOperationNotStarted ErrSec = 0 // ErrSecSuccess: No error. ErrSecSuccess ErrSec = 0 // ErrSecTagNotFound: The specified tag is not found. ErrSecTagNotFound ErrSec = 0 // ErrSecTimestampAddInfoNotAvailable: The additional information requested is not available. ErrSecTimestampAddInfoNotAvailable ErrSec = 0 // ErrSecTimestampBadAlg: Found an unrecognized or unsupported algorithm identifier (AI) in timestamp. ErrSecTimestampBadAlg ErrSec = 0 // ErrSecTimestampBadDataFormat: The timestamp data submitted has the wrong format. ErrSecTimestampBadDataFormat ErrSec = 0 // ErrSecTimestampBadRequest: The timestamp transaction is not permitted or supported. ErrSecTimestampBadRequest ErrSec = 0 // ErrSecTimestampInvalid: The timestamp is not valid. ErrSecTimestampInvalid ErrSec = 0 // ErrSecTimestampMissing: A timestamp is expected but is not found. ErrSecTimestampMissing ErrSec = 0 // ErrSecTimestampNotTrusted: The timestamp is not trusted. ErrSecTimestampNotTrusted ErrSec = 0 // ErrSecTimestampRejection: A timestamp transaction is rejected. ErrSecTimestampRejection ErrSec = 0 // ErrSecTimestampRevocationNotification: A timestamp authority revocation notification is issued. ErrSecTimestampRevocationNotification ErrSec = 0 // ErrSecTimestampRevocationWarning: A timestamp authority revocation warning is issued. ErrSecTimestampRevocationWarning ErrSec = 0 ErrSecTimestampServiceNotAvailable ErrSec = 0 // ErrSecTimestampSystemFailure: The timestamp request cannot be handled due to a system failure. ErrSecTimestampSystemFailure ErrSec = 0 // ErrSecTimestampTimeNotAvailable: The time source for the timestamp authority is not available. ErrSecTimestampTimeNotAvailable ErrSec = 0 // ErrSecTimestampUnacceptedExtension: The requested extension is not supported by the timestamp authority. ErrSecTimestampUnacceptedExtension ErrSec = 0 // ErrSecTimestampUnacceptedPolicy: The requested policy is not supported by the timestamp authority. ErrSecTimestampUnacceptedPolicy ErrSec = 0 // ErrSecTimestampWaiting: A timestamp transaction is waiting. ErrSecTimestampWaiting ErrSec = 0 // ErrSecTrustNotAvailable: No trust results are available. ErrSecTrustNotAvailable ErrSec = 0 // ErrSecTrustSettingDeny: The trust setting for this policy is set to Deny. ErrSecTrustSettingDeny ErrSec = 0 // ErrSecUnimplemented: A function or operation is not implemented. ErrSecUnimplemented ErrSec = 0 // ErrSecUnknownCRLExtension: An unknown certificate revocation list extension was detected. ErrSecUnknownCRLExtension ErrSec = 0 // ErrSecUnknownCertExtension: An unknown certificate extension was detected. ErrSecUnknownCertExtension ErrSec = 0 // ErrSecUnknownCriticalExtensionFlag: There is an unknown critical extension flag. ErrSecUnknownCriticalExtensionFlag ErrSec = 0 // ErrSecUnknownFormat: The item you are trying to import has an unknown format. ErrSecUnknownFormat ErrSec = 0 // ErrSecUnknownQualifiedCertStatement: An unknown qualified certificate statement was detected. ErrSecUnknownQualifiedCertStatement ErrSec = 0 // ErrSecUnknownTag: An unknown tag was detected. ErrSecUnknownTag ErrSec = 0 // ErrSecUnsupportedAddressType: The address type is not supported. ErrSecUnsupportedAddressType ErrSec = 0 // ErrSecUnsupportedFieldFormat: The field format is not supported. ErrSecUnsupportedFieldFormat ErrSec = 0 // ErrSecUnsupportedFormat: The specified import or export format is not supported. ErrSecUnsupportedFormat ErrSec = 0 // ErrSecUnsupportedIndexInfo: The index information is not supported. ErrSecUnsupportedIndexInfo ErrSec = 0 // ErrSecUnsupportedKeyAttributeMask: The key attribute mask is not supported. ErrSecUnsupportedKeyAttributeMask ErrSec = 0 // ErrSecUnsupportedKeyFormat: The key header format is not supported. ErrSecUnsupportedKeyFormat ErrSec = 0 // ErrSecUnsupportedKeyLabel: The key label is not supported. ErrSecUnsupportedKeyLabel ErrSec = 0 // ErrSecUnsupportedKeySize: The key size is not supported. ErrSecUnsupportedKeySize ErrSec = 0 // ErrSecUnsupportedKeyUsageMask: The key usage mask is not supported. ErrSecUnsupportedKeyUsageMask ErrSec = 0 // ErrSecUnsupportedLocality: The locality is not supported. ErrSecUnsupportedLocality ErrSec = 0 // ErrSecUnsupportedNumAttributes: The number of attributes is not supported. ErrSecUnsupportedNumAttributes ErrSec = 0 // ErrSecUnsupportedNumIndexes: The number of indexes is not supported. ErrSecUnsupportedNumIndexes ErrSec = 0 // ErrSecUnsupportedNumRecordTypes: The number of record types is not supported. ErrSecUnsupportedNumRecordTypes ErrSec = 0 // ErrSecUnsupportedNumSelectionPreds: The number of selection predicates is not supported. ErrSecUnsupportedNumSelectionPreds ErrSec = 0 // ErrSecUnsupportedOperator: The operator is not supported. ErrSecUnsupportedOperator ErrSec = 0 // ErrSecUnsupportedQueryLimits: The query limits are not supported. ErrSecUnsupportedQueryLimits ErrSec = 0 // ErrSecUnsupportedService: The service is not supported. ErrSecUnsupportedService ErrSec = 0 // ErrSecUnsupportedVectorOfBuffers: The vector of buffers is not supported. ErrSecUnsupportedVectorOfBuffers ErrSec = 0 // ErrSecUserCanceled: User canceled the operation. ErrSecUserCanceled ErrSec = 0 // ErrSecVerificationFailure: A verification failure occurred. ErrSecVerificationFailure ErrSec = 0 // ErrSecVerifyActionFailed: A verify action failed. ErrSecVerifyActionFailed ErrSec = 0 // ErrSecVerifyFailed: A cryptographic verification failure occurred. ErrSecVerifyFailed ErrSec = 0 // ErrSecWrPerm: Write permissions error. ErrSecWrPerm ErrSec = 0 // ErrSecWrongSecVersion: The version is incorrect. ErrSecWrongSecVersion ErrSec = 0 // Deprecated. ErrSecDskFull ErrSec = 0 // Deprecated. ErrSecInvaldCRLAuthority ErrSec = 0 // Deprecated. ErrSecInvalidTupleCredendtials ErrSec = 0 )
type ErrSecureDownloadInvalid ¶
type ErrSecureDownloadInvalid int
const ( ErrSecureDownloadInvalidDownload ErrSecureDownloadInvalid = 0 ErrSecureDownloadInvalidTicket ErrSecureDownloadInvalid = 0 )
func (ErrSecureDownloadInvalid) String ¶
func (e ErrSecureDownloadInvalid) String() string
type ErrSession ¶
type ErrSession int
const ( // ErrSessionAuthorizationDenied: Authorization denied. ErrSessionAuthorizationDenied ErrSession = -60502 // ErrSessionInternal: An unrecognized internal error occurred. ErrSessionInternal ErrSession = -60008 // ErrSessionInvalidAttributes: Detected an invalid set of request attribute bits. ErrSessionInvalidAttributes ErrSession = -60501 // ErrSessionInvalidFlags: Encountered invalid flags or options. ErrSessionInvalidFlags ErrSession = -60011 // ErrSessionInvalidId: Detected an invalid session ID. ErrSessionInvalidId ErrSession = -60500 // ErrSessionSuccess: The operation completed successfully. ErrSessionSuccess ErrSession = 0 // ErrSessionValueNotSet: The requested session attribute has not been set. ErrSessionValueNotSet ErrSession = -60503 )
func (ErrSession) String ¶
func (e ErrSession) String() string
type Extension_data_format ¶
type Extension_data_format int
See: https://developer.apple.com/documentation/Security/extension_data_format
const ( CSSM_X509_DATAFORMAT_ENCODED Extension_data_format = 0 CSSM_X509_DATAFORMAT_PAIR Extension_data_format = 2 CSSM_X509_DATAFORMAT_PARSED Extension_data_format = 1 )
func (Extension_data_format) String ¶
func (e Extension_data_format) String() string
type KSec ¶
type KSec uint
const ( // KSecCertEncodingItemAttr: Certificate encoding. KSecCertEncodingItemAttr KSec = 'c'<<24 | 'e'<<16 | 'n'<<8 | 'c' // 'cenc' // KSecCertTypeItemAttr: Certificate type. KSecCertTypeItemAttr KSec = 'c'<<24 | 't'<<16 | 'y'<<8 | 'p' // 'ctyp' // KSecHonorRoot: The access control list should treat the root user as a typical user for ownership purposes. KSecHonorRoot KSec = 0 // KSecIssuerItemAttr: DER-encoded issuer distinguished name. KSecIssuerItemAttr KSec = 'i'<<24 | 's'<<16 | 's'<<8 | 'u' // 'issu' // KSecMatchBits: The access control list should be owned by users whose ID matches the specified user ID or who are members of a group whose ID matches the specified group ID parameter. KSecMatchBits KSec = 0 // KSecPublicKeyHashItemAttr: Public key hash. KSecPublicKeyHashItemAttr KSec = 'h'<<24 | 'p'<<16 | 'k'<<8 | 'y' // 'hpky' // KSecReadPermStatus: Indicates the keychain is readable. KSecReadPermStatus KSec = 0 // KSecSerialNumberItemAttr: DER-encoded certificate serial number (without the tag and length). KSecSerialNumberItemAttr KSec = 's'<<24 | 'n'<<16 | 'b'<<8 | 'r' // 'snbr' // KSecSubjectItemAttr: DER-encoded subject distinguished name. KSecSubjectItemAttr KSec = 's'<<24 | 'u'<<16 | 'b'<<8 | 'j' // 'subj' // KSecSubjectKeyIdentifierItemAttr: Subject key identifier. KSecSubjectKeyIdentifierItemAttr KSec = 's'<<24 | 'k'<<16 | 'i'<<8 | 'd' // 'skid' // KSecUnlockStateStatus: Indicates the keychain is unlocked. KSecUnlockStateStatus KSec = 0 // KSecUseOnlyGID: The access control list should be owned by users that are members of a group matching the specified group ID parameter. KSecUseOnlyGID KSec = 0 // KSecUseOnlyUID: The access control list should be owned by the user matching the specified user ID parameter. KSecUseOnlyUID KSec = 0 // KSecWritePermStatus: Indicates the keychain is writable. KSecWritePermStatus KSec = 0 )
type KSecCS ¶
type KSecCS uint
const ( KSecCSAllowNetworkAccess KSecCS = 65536 // KSecCSBasicValidateOnly: Do not validate either the main executable or the bundle resources, if any. KSecCSBasicValidateOnly KSecCS = 2 KSecCSCalculateCMSDigest KSecCS = 64 // KSecCSCheckAllArchitectures: For multi-architecture (universal) Mach-O programs, validate all architectures included. KSecCSCheckAllArchitectures KSecCS = 1 KSecCSCheckGatekeeperArchitectures KSecCS = 64 // KSecCSCheckNestedCode: For code in bundle form, locate and recursively check embedded code. KSecCSCheckNestedCode KSecCS = 8 // KSecCSContentInformation: More information about the file system contents making up the signed code on disk. KSecCSContentInformation KSecCS = 16 // KSecCSDedicatedHost: Declares dedicated hosting for the given host. KSecCSDedicatedHost KSecCS = 1 // KSecCSDoNotValidateExecutable: Do not validate the contents of the main executable. KSecCSDoNotValidateExecutable KSecCS = 2 // KSecCSDoNotValidateResources: Do not validate the presence and contents of all bundle resources (if any). KSecCSDoNotValidateResources KSecCS = 4 // KSecCSDynamicInformation: Dynamic validity information about running code. KSecCSDynamicInformation KSecCS = 8 KSecCSFastExecutableValidation KSecCS = 131072 KSecCSFullReport KSecCS = 32 // KSecCSGenerateGuestHash: Ask the host to generate the unique binary identifier (kSecCodeInfoUnique) from the copy on disk at the path given. KSecCSGenerateGuestHash KSecCS = 2 // KSecCSInternalInformation: Internal code signing information. KSecCSInternalInformation KSecCS = 1 // KSecCSRequirementInformation: Code requirements—including the designated requirement—embedded in the code. KSecCSRequirementInformation KSecCS = 4 KSecCSRestrictSidebandData KSecCS = 512 KSecCSRestrictSymlinks KSecCS = 128 KSecCSRestrictToAppLike KSecCS = 256 // KSecCSSigningInformation: Cryptographic signing information. KSecCSSigningInformation KSecCS = 2 KSecCSSingleThreaded KSecCS = 4096 // KSecCSSkipResourceDirectory: Suppress validating the resource directory. KSecCSSkipResourceDirectory KSecCS = 32 // KSecCSStrictValidate: Perform additional checks to ensure the validity of code in bundle form. KSecCSStrictValidate KSecCS = 16 KSecCSUseSoftwareSigningCert KSecCS = 1024 KSecCSValidatePEH KSecCS = 2048 )
type KSecKey ¶
type KSecKey uint
const ( // KSecKeyAlias: Type blob; currently unused. KSecKeyAlias KSecKey = 0 // KSecKeyAlwaysSensitive: Type uint32; value is nonzero. KSecKeyAlwaysSensitive KSecKey = 0 // KSecKeyApplicationTag: Type blob; currently unused. KSecKeyApplicationTag KSecKey = 0 // KSecKeyDecrypt: Type uint32; value is nonzero. KSecKeyDecrypt KSecKey = 0 // KSecKeyEffectiveKeySize: Type uint32; value is the effective number of bits in this key. KSecKeyEffectiveKeySize KSecKey = 0 // KSecKeyEncrypt: Type uint32; value is nonzero. KSecKeyEncrypt KSecKey = 0 // KSecKeyEndDate: Type `CSSM_DATE`. KSecKeyEndDate KSecKey = 0 // KSecKeyExtractable: Type uint32; value is nonzero. KSecKeyExtractable KSecKey = 0 // KSecKeyKeyClass: Type uint32 (`CSSM_KEYCLASS`); value is one of `CSSM_KEYCLASS_PUBLIC_KEY`, `CSSM_KEYCLASS_PRIVATE_KEY` or `CSSM_KEYCLASS_SESSION_KEY`. KSecKeyKeyClass KSecKey = 0 // KSecKeyKeyCreator: Type data. KSecKeyKeyCreator KSecKey = 0 // KSecKeyKeySizeInBits: Type uint32; value is the number of bits in this key. KSecKeyKeySizeInBits KSecKey = 0 // KSecKeyKeyType: Type uint32; value is a CSSM algorithm (`CSSM_ALGORITHMS`) representing the algorithm associated with this key. KSecKeyKeyType KSecKey = 0 // KSecKeyLabel: # Discussion KSecKeyLabel KSecKey = 0 // KSecKeyModifiable: Type uint32; value is nonzero. KSecKeyModifiable KSecKey = 0 // KSecKeyNeverExtractable: Type uint32; value is nonzero. KSecKeyNeverExtractable KSecKey = 0 // KSecKeyPermanent: Type uint32; value is nonzero. KSecKeyPermanent KSecKey = 0 // KSecKeyPrintName: Type blob; human readable name of the key. KSecKeyPrintName KSecKey = 0 // KSecKeyPrivate: Type uint32; value is nonzero. KSecKeyPrivate KSecKey = 0 // KSecKeySensitive: Type uint32; value is nonzero. KSecKeySensitive KSecKey = 0 // KSecKeySign: Type uint32, value is nonzero. KSecKeySign KSecKey = 0 // KSecKeySignRecover: Type uint32. KSecKeySignRecover KSecKey = 0 // KSecKeyUnwrap: Type uint32; value is nonzero. KSecKeyUnwrap KSecKey = 0 // KSecKeyVerify: Type uint32, value is nonzero. KSecKeyVerify KSecKey = 0 // KSecKeyVerifyRecover: Type uint32. KSecKeyVerifyRecover KSecKey = 0 // KSecKeyWrap: Type uint32; value is nonzero. KSecKeyWrap KSecKey = 0 // Deprecated. KSecKeyDerive KSecKey = 0 // Deprecated. KSecKeyStartDate KSecKey = 0 )
type KSecRevocation ¶
type KSecRevocation uint
const ( // KSecRevocationCRLMethod: Perform revocation checking using the CRL (Certification Revocation List) method. KSecRevocationCRLMethod KSecRevocation = 17 // KSecRevocationNetworkAccessDisabled: Consult only locally cached replies; do not use network access. KSecRevocationNetworkAccessDisabled KSecRevocation = 16 // KSecRevocationOCSPMethod: Perform revocation checking using OCSP (Online Certificate Status Protocol). KSecRevocationOCSPMethod KSecRevocation = 1 // KSecRevocationPreferCRL: Prefer CRL revocation checking over OCSP; by default, OCSP is preferred. KSecRevocationPreferCRL KSecRevocation = 4 // KSecRevocationRequirePositiveResponse: Require a positive response to pass the policy. KSecRevocationRequirePositiveResponse KSecRevocation = 8 // KSecRevocationUseAnyAvailableMethod: Perform either OCSP or CRL checking. KSecRevocationUseAnyAvailableMethod KSecRevocation = 0 )
func (KSecRevocation) String ¶
func (e KSecRevocation) String() string
type KSecTransform ¶
type KSecTransform uint
const ( // Deprecated. KSecTransformErrorAbortInProgress KSecTransform = 0 // Deprecated. KSecTransformErrorAborted KSecTransform = 0 // Deprecated. KSecTransformErrorAttributeNotFound KSecTransform = 0 // Deprecated. KSecTransformErrorInvalidAlgorithm KSecTransform = 0 // Deprecated. KSecTransformErrorInvalidConnection KSecTransform = 0 // Deprecated. KSecTransformErrorInvalidInput KSecTransform = 0 // Deprecated. KSecTransformErrorInvalidInputDictionary KSecTransform = 0 // Deprecated. KSecTransformErrorInvalidLength KSecTransform = 0 // Deprecated. KSecTransformErrorInvalidOperation KSecTransform = 0 // Deprecated. KSecTransformErrorInvalidType KSecTransform = 0 // Deprecated. KSecTransformErrorMissingParameter KSecTransform = 0 // Deprecated. KSecTransformErrorMoreThanOneOutput KSecTransform = 0 // Deprecated. KSecTransformErrorNameAlreadyRegistered KSecTransform = 0 // Deprecated. KSecTransformErrorNotInitializedCorrectly KSecTransform = 0 // Deprecated. KSecTransformErrorUnsupportedAttribute KSecTransform = 0 // Deprecated. KSecTransformInvalidArgument KSecTransform = 0 // Deprecated. KSecTransformInvalidOverride KSecTransform = 0 // Deprecated. KSecTransformOperationNotSupportedOnGroup KSecTransform = 0 // Deprecated. KSecTransformTransformIsExecuting KSecTransform = 0 // Deprecated. KSecTransformTransformIsNotRegistered KSecTransform = 0 )
func (KSecTransform) String ¶
func (e KSecTransform) String() string
type Mds_funcs ¶
type Mds_funcs struct {
CreateRelation func(Cssm_dl_db_handle, uint, *byte, uint, uintptr, uint, uintptr) int
DataAbortQuery func(Cssm_dl_db_handle, int) int
DataDelete func(Cssm_dl_db_handle, uintptr) int
DataGetFirst func(Cssm_dl_db_handle, uintptr, *int, uintptr, uintptr, uintptr) int
DataGetFromUniqueRecordId func(Cssm_dl_db_handle, uintptr, uintptr, uintptr) int
DataGetNext func(Cssm_dl_db_handle, int, uintptr, uintptr, uintptr) int
DataInsert func(Cssm_dl_db_handle, uint, uintptr, uintptr, uintptr) int
DataModify func(Cssm_dl_db_handle, uint, uintptr, uintptr, uintptr, uint) int
DbClose func(Cssm_dl_db_handle) int
DbOpen func(int, *byte, uintptr, uint, uintptr, unsafe.Pointer, *int) int
DestroyRelation func(Cssm_dl_db_handle, uint) int
FreeNameList func(int, uintptr) int
FreeUniqueRecord func(Cssm_dl_db_handle, uintptr) int
GetDbNameFromHandle func(Cssm_dl_db_handle, *byte) int
GetDbNames func(int, uintptr) int
}
Mds_funcs
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/mds_funcs-c.struct
type NoSecuritySession ¶
type NoSecuritySession uint
const ( // CallerSecuritySession: A value that is a placeholder for the caller’s session. CallerSecuritySession NoSecuritySession = 0 // NoSecuritySessionValue: Not a valid session. NoSecuritySessionValue NoSecuritySession = 0 )
func (NoSecuritySession) String ¶
func (e NoSecuritySession) String() string
type OS_sec_certificate ¶
type OS_sec_certificate interface {
objectivec.IObject
}
OS_sec_certificate protocol.
See: https://developer.apple.com/documentation/Security/OS_sec_certificate
type OS_sec_certificateObject ¶
type OS_sec_certificateObject struct {
objectivec.Object
}
OS_sec_certificateObject wraps an existing Objective-C object that conforms to the OS_sec_certificate protocol.
func OS_sec_certificateObjectFromID ¶
func OS_sec_certificateObjectFromID(id objc.ID) OS_sec_certificateObject
OS_sec_certificateObjectFromID constructs a OS_sec_certificateObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_sec_certificateObject) BaseObject ¶
func (o OS_sec_certificateObject) BaseObject() objectivec.Object
type OS_sec_identity ¶
type OS_sec_identity interface {
objectivec.IObject
}
OS_sec_identity protocol.
See: https://developer.apple.com/documentation/Security/OS_sec_identity
type OS_sec_identityObject ¶
type OS_sec_identityObject struct {
objectivec.Object
}
OS_sec_identityObject wraps an existing Objective-C object that conforms to the OS_sec_identity protocol.
func OS_sec_identityObjectFromID ¶
func OS_sec_identityObjectFromID(id objc.ID) OS_sec_identityObject
OS_sec_identityObjectFromID constructs a OS_sec_identityObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_sec_identityObject) BaseObject ¶
func (o OS_sec_identityObject) BaseObject() objectivec.Object
type OS_sec_object ¶
type OS_sec_object interface {
objectivec.IObject
}
A `sec_object` is a generic, ARC-able type wrapper for common CoreFoundation Security types.
See: https://developer.apple.com/documentation/Security/OS_sec_object
type OS_sec_objectObject ¶
type OS_sec_objectObject struct {
objectivec.Object
}
OS_sec_objectObject wraps an existing Objective-C object that conforms to the OS_sec_object protocol.
func OS_sec_objectObjectFromID ¶
func OS_sec_objectObjectFromID(id objc.ID) OS_sec_objectObject
OS_sec_objectObjectFromID constructs a OS_sec_objectObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_sec_objectObject) BaseObject ¶
func (o OS_sec_objectObject) BaseObject() objectivec.Object
type OS_sec_protocol_metadata ¶
type OS_sec_protocol_metadata interface {
objectivec.IObject
}
A `sec_protocol_metadata` instance conatins read-only properties of a connected and configured security protocol. Clients use this object to read information about a protocol instance. Properties include, for example, the negotiated TLS version, ciphersuite, and peer certificates.
See: https://developer.apple.com/documentation/Security/OS_sec_protocol_metadata
type OS_sec_protocol_metadataObject ¶
type OS_sec_protocol_metadataObject struct {
objectivec.Object
}
OS_sec_protocol_metadataObject wraps an existing Objective-C object that conforms to the OS_sec_protocol_metadata protocol.
func OS_sec_protocol_metadataObjectFromID ¶
func OS_sec_protocol_metadataObjectFromID(id objc.ID) OS_sec_protocol_metadataObject
OS_sec_protocol_metadataObjectFromID constructs a OS_sec_protocol_metadataObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_sec_protocol_metadataObject) BaseObject ¶
func (o OS_sec_protocol_metadataObject) BaseObject() objectivec.Object
type OS_sec_protocol_options ¶
type OS_sec_protocol_options interface {
objectivec.IObject
}
A `sec_protocol_options` instance is a container of options for security protocol instances, such as TLS. Protocol options are used to configure security protocols in the network stack. For example, clients may set the maximum and minimum allowed TLS versions through protocol options.
See: https://developer.apple.com/documentation/Security/OS_sec_protocol_options
type OS_sec_protocol_optionsObject ¶
type OS_sec_protocol_optionsObject struct {
objectivec.Object
}
OS_sec_protocol_optionsObject wraps an existing Objective-C object that conforms to the OS_sec_protocol_options protocol.
func OS_sec_protocol_optionsObjectFromID ¶
func OS_sec_protocol_optionsObjectFromID(id objc.ID) OS_sec_protocol_optionsObject
OS_sec_protocol_optionsObjectFromID constructs a OS_sec_protocol_optionsObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_sec_protocol_optionsObject) BaseObject ¶
func (o OS_sec_protocol_optionsObject) BaseObject() objectivec.Object
type OS_sec_trust ¶
type OS_sec_trust interface {
objectivec.IObject
}
These are os_object compatible and ARC-able wrappers around existing CoreFoundation Security types, including: SecTrustRef, SecIdentityRef, and SecCertificateRef. They allow clients to use these types in os_object-type APIs and data structures. The underlying CoreFoundation types may be extracted and used by clients as needed.
See: https://developer.apple.com/documentation/Security/OS_sec_trust
type OS_sec_trustObject ¶
type OS_sec_trustObject struct {
objectivec.Object
}
OS_sec_trustObject wraps an existing Objective-C object that conforms to the OS_sec_trust protocol.
func OS_sec_trustObjectFromID ¶
func OS_sec_trustObjectFromID(id objc.ID) OS_sec_trustObject
OS_sec_trustObjectFromID constructs a OS_sec_trustObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (OS_sec_trustObject) BaseObject ¶
func (o OS_sec_trustObject) BaseObject() objectivec.Object
type OpaqueSecAccessRef ¶
type OpaqueSecAccessRef uintptr
See: https://developer.apple.com/documentation/Security/OpaqueSecAccessRef
type OpaqueSecCertificateRef ¶
type OpaqueSecCertificateRef uintptr
See: https://developer.apple.com/documentation/Security/OpaqueSecCertificateRef
type OpaqueSecIdentityRef ¶
type OpaqueSecIdentityRef uintptr
See: https://developer.apple.com/documentation/Security/OpaqueSecIdentityRef
type OpaqueSecKeyRef ¶
type OpaqueSecKeyRef = string
See: https://developer.apple.com/documentation/Security/OpaqueSecKeyRef
type SSLAuthenticate ¶
type SSLAuthenticate int
See: https://developer.apple.com/documentation/Security/SSLAuthenticate
const ( // KAlwaysAuthenticate: Indicates that client-side authentication is required. KAlwaysAuthenticate SSLAuthenticate = 1 // KNeverAuthenticate: Indicates that client-side authentication is not required. KNeverAuthenticate SSLAuthenticate = 0 // KTryAuthenticate: Indicates that client-side authentication should be attempted. KTryAuthenticate SSLAuthenticate = 2 )
func (SSLAuthenticate) String ¶
func (e SSLAuthenticate) String() string
type SSLCipherSuite ¶
type SSLCipherSuite = uint16
SSLCipherSuite is a type for storing cipher suite values.
See: https://developer.apple.com/documentation/Security/SSLCipherSuite
func Sec_protocol_metadata_get_negotiated_ciphersuite
deprecated
func Sec_protocol_metadata_get_negotiated_ciphersuite(metadata Sec_protocol_metadata_t) SSLCipherSuite
Sec_protocol_metadata_get_negotiated_ciphersuite.
Deprecated: Deprecated since macOS 10.15.
type SSLCiphersuiteGroup ¶
type SSLCiphersuiteGroup int
See: https://developer.apple.com/documentation/Security/SSLCiphersuiteGroup
type SSLClientCertificateState ¶
type SSLClientCertificateState int
See: https://developer.apple.com/documentation/Security/SSLClientCertificateState
const ( // KSSLClientCertNone: Indicates that the server hasn’t asked for a certificate and that the client hasn’t sent one. KSSLClientCertNone SSLClientCertificateState = 0 // KSSLClientCertRejected: Indicates that the client sent a certificate but the certificate failed validation. KSSLClientCertRejected SSLClientCertificateState = 3 // KSSLClientCertRequested: Indicates that the server has asked for a certificate, but the client has not sent it. KSSLClientCertRequested SSLClientCertificateState = 1 // KSSLClientCertSent: Indicates that the server asked for a certificate, the client sent one, and the server validated it. KSSLClientCertSent SSLClientCertificateState = 2 )
func (SSLClientCertificateState) String ¶
func (e SSLClientCertificateState) String() string
type SSLConnectionRef ¶
type SSLConnectionRef uintptr
SSLConnectionRef is a pointer to an opaque I/O connection object.
See: https://developer.apple.com/documentation/Security/SSLConnectionRef
type SSLConnectionType ¶
type SSLConnectionType int
See: https://developer.apple.com/documentation/Security/SSLConnectionType
const ( // KSSLDatagramType: Datagram-based communication (UDP). KSSLDatagramType SSLConnectionType = 1 // KSSLStreamType: Stream-based communication (TCP). KSSLStreamType SSLConnectionType = 0 )
func (SSLConnectionType) String ¶
func (e SSLConnectionType) String() string
type SSLContextRef ¶
type SSLContextRef uintptr
SSLContextRef is an opaque type that represents an SSL session context object.
See: https://developer.apple.com/documentation/Security/SSLContext
type SSLNullWithNullNull ¶
type SSLNullWithNullNull uint
const ( // SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: Session key size conforms to pre-1998 US export restrictions. SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA SSLNullWithNullNull = 17 SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 19 SSL_DHE_DSS_WITH_DES_CBC_SHA SSLNullWithNullNull = 18 // SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: Session key size conforms to pre-1998 US export restrictions. SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA SSLNullWithNullNull = 20 SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 22 SSL_DHE_RSA_WITH_DES_CBC_SHA SSLNullWithNullNull = 21 SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA SSLNullWithNullNull = 11 SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 13 SSL_DH_DSS_WITH_DES_CBC_SHA SSLNullWithNullNull = 12 // SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA: Session key size conforms to pre-1998 US export restrictions. SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA SSLNullWithNullNull = 14 SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 16 SSL_DH_RSA_WITH_DES_CBC_SHA SSLNullWithNullNull = 15 // SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA: Session key size conforms to pre-1998 US export restrictions. SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA SSLNullWithNullNull = 25 // SSL_DH_anon_EXPORT_WITH_RC4_40_MD5: Session key size conforms to pre-1998 US export restrictions. SSL_DH_anon_EXPORT_WITH_RC4_40_MD5 SSLNullWithNullNull = 23 SSL_DH_anon_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 27 SSL_DH_anon_WITH_DES_CBC_SHA SSLNullWithNullNull = 26 SSL_DH_anon_WITH_RC4_128_MD5 SSLNullWithNullNull = 24 SSL_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA SSLNullWithNullNull = 29 SSL_FORTEZZA_DMS_WITH_NULL_SHA SSLNullWithNullNull = 28 SSL_NO_SUCH_CIPHERSUITE SSLNullWithNullNull = 65535 SSL_NULL_WITH_NULL_NULL SSLNullWithNullNull = 0 // SSL_RSA_EXPORT_WITH_DES40_CBC_SHA: Session key size conforms to pre-1998 US export restrictions. SSL_RSA_EXPORT_WITH_DES40_CBC_SHA SSLNullWithNullNull = 8 // SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5: Session key size conforms to pre-1998 US export restrictions. SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5 SSLNullWithNullNull = 6 // SSL_RSA_EXPORT_WITH_RC4_40_MD5: Session key size conforms to pre-1998 US export restrictions. SSL_RSA_EXPORT_WITH_RC4_40_MD5 SSLNullWithNullNull = 3 // SSL_RSA_WITH_3DES_EDE_CBC_MD5: This value can be specified for SSL 2 but not SSL 3. SSL_RSA_WITH_3DES_EDE_CBC_MD5 SSLNullWithNullNull = 65411 SSL_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 10 // SSL_RSA_WITH_DES_CBC_MD5: This value can be specified for SSL 2 but not SSL 3. SSL_RSA_WITH_DES_CBC_MD5 SSLNullWithNullNull = 65410 SSL_RSA_WITH_DES_CBC_SHA SSLNullWithNullNull = 9 // SSL_RSA_WITH_IDEA_CBC_MD5: This value can be specified for SSL 2 but not SSL 3. SSL_RSA_WITH_IDEA_CBC_MD5 SSLNullWithNullNull = 65409 SSL_RSA_WITH_IDEA_CBC_SHA SSLNullWithNullNull = 7 SSL_RSA_WITH_NULL_MD5 SSLNullWithNullNull = 1 SSL_RSA_WITH_NULL_SHA SSLNullWithNullNull = 2 // SSL_RSA_WITH_RC2_CBC_MD5: This value can be specified for SSL 2 but not SSL 3. SSL_RSA_WITH_RC2_CBC_MD5 SSLNullWithNullNull = 65408 SSL_RSA_WITH_RC4_128_MD5 SSLNullWithNullNull = 4 SSL_RSA_WITH_RC4_128_SHA SSLNullWithNullNull = 5 TLS_AES_128_CCM_8_SHA256 SSLNullWithNullNull = 4869 TLS_AES_128_CCM_SHA256 SSLNullWithNullNull = 4868 TLS_AES_128_GCM_SHA256 SSLNullWithNullNull = 4865 TLS_AES_256_GCM_SHA384 SSLNullWithNullNull = 4866 TLS_CHACHA20_POLY1305_SHA256 SSLNullWithNullNull = 4867 TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 19 TLS_DHE_DSS_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 50 TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 64 TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 162 TLS_DHE_DSS_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 56 TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 SSLNullWithNullNull = 106 TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 163 TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 143 TLS_DHE_PSK_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 144 TLS_DHE_PSK_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 178 TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 170 TLS_DHE_PSK_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 145 TLS_DHE_PSK_WITH_AES_256_CBC_SHA384 SSLNullWithNullNull = 179 TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 171 TLS_DHE_PSK_WITH_NULL_SHA SSLNullWithNullNull = 45 TLS_DHE_PSK_WITH_NULL_SHA256 SSLNullWithNullNull = 180 TLS_DHE_PSK_WITH_NULL_SHA384 SSLNullWithNullNull = 181 TLS_DHE_PSK_WITH_RC4_128_SHA SSLNullWithNullNull = 142 TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 22 TLS_DHE_RSA_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 51 TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 103 TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 158 TLS_DHE_RSA_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 57 TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 SSLNullWithNullNull = 107 TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 159 TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 13 TLS_DH_DSS_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 48 TLS_DH_DSS_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 62 TLS_DH_DSS_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 164 TLS_DH_DSS_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 54 TLS_DH_DSS_WITH_AES_256_CBC_SHA256 SSLNullWithNullNull = 104 TLS_DH_DSS_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 165 TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 16 TLS_DH_RSA_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 49 TLS_DH_RSA_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 63 TLS_DH_RSA_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 160 TLS_DH_RSA_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 55 TLS_DH_RSA_WITH_AES_256_CBC_SHA256 SSLNullWithNullNull = 105 TLS_DH_RSA_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 161 TLS_DH_anon_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 27 TLS_DH_anon_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 52 TLS_DH_anon_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 108 TLS_DH_anon_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 166 TLS_DH_anon_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 58 TLS_DH_anon_WITH_AES_256_CBC_SHA256 SSLNullWithNullNull = 109 TLS_DH_anon_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 167 TLS_DH_anon_WITH_RC4_128_MD5 SSLNullWithNullNull = 24 TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 49160 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 49161 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 49187 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 49195 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 49162 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 SSLNullWithNullNull = 49188 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 49196 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 SSLNullWithNullNull = 52393 TLS_ECDHE_ECDSA_WITH_NULL_SHA SSLNullWithNullNull = 49158 TLS_ECDHE_ECDSA_WITH_RC4_128_SHA SSLNullWithNullNull = 49159 TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 49205 TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 49206 TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 SSLNullWithNullNull = 52396 TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 49170 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 49171 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 49191 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 49199 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 49172 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 SSLNullWithNullNull = 49192 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 49200 TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 SSLNullWithNullNull = 52392 TLS_ECDHE_RSA_WITH_NULL_SHA SSLNullWithNullNull = 49168 TLS_ECDHE_RSA_WITH_RC4_128_SHA SSLNullWithNullNull = 49169 TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 49155 TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 49156 TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 49189 TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 49197 TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 49157 TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 SSLNullWithNullNull = 49190 TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 49198 TLS_ECDH_ECDSA_WITH_NULL_SHA SSLNullWithNullNull = 49153 TLS_ECDH_ECDSA_WITH_RC4_128_SHA SSLNullWithNullNull = 49154 TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 49165 TLS_ECDH_RSA_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 49166 TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 49193 TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 49201 TLS_ECDH_RSA_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 49167 TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 SSLNullWithNullNull = 49194 TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 49202 TLS_ECDH_RSA_WITH_NULL_SHA SSLNullWithNullNull = 49163 TLS_ECDH_RSA_WITH_RC4_128_SHA SSLNullWithNullNull = 49164 TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 49175 TLS_ECDH_anon_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 49176 TLS_ECDH_anon_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 49177 TLS_ECDH_anon_WITH_NULL_SHA SSLNullWithNullNull = 49173 TLS_ECDH_anon_WITH_RC4_128_SHA SSLNullWithNullNull = 49174 TLS_EMPTY_RENEGOTIATION_INFO_SCSV SSLNullWithNullNull = 255 TLS_NULL_WITH_NULL_NULL SSLNullWithNullNull = 0 TLS_PSK_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 139 TLS_PSK_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 140 TLS_PSK_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 174 TLS_PSK_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 168 TLS_PSK_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 141 TLS_PSK_WITH_AES_256_CBC_SHA384 SSLNullWithNullNull = 175 TLS_PSK_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 169 TLS_PSK_WITH_CHACHA20_POLY1305_SHA256 SSLNullWithNullNull = 52395 TLS_PSK_WITH_NULL_SHA SSLNullWithNullNull = 44 TLS_PSK_WITH_NULL_SHA256 SSLNullWithNullNull = 176 TLS_PSK_WITH_NULL_SHA384 SSLNullWithNullNull = 177 TLS_PSK_WITH_RC4_128_SHA SSLNullWithNullNull = 138 TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 147 TLS_RSA_PSK_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 148 TLS_RSA_PSK_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 182 TLS_RSA_PSK_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 172 TLS_RSA_PSK_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 149 TLS_RSA_PSK_WITH_AES_256_CBC_SHA384 SSLNullWithNullNull = 183 TLS_RSA_PSK_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 173 TLS_RSA_PSK_WITH_NULL_SHA SSLNullWithNullNull = 46 TLS_RSA_PSK_WITH_NULL_SHA256 SSLNullWithNullNull = 184 TLS_RSA_PSK_WITH_NULL_SHA384 SSLNullWithNullNull = 185 TLS_RSA_PSK_WITH_RC4_128_SHA SSLNullWithNullNull = 146 TLS_RSA_WITH_3DES_EDE_CBC_SHA SSLNullWithNullNull = 10 TLS_RSA_WITH_AES_128_CBC_SHA SSLNullWithNullNull = 47 TLS_RSA_WITH_AES_128_CBC_SHA256 SSLNullWithNullNull = 60 TLS_RSA_WITH_AES_128_GCM_SHA256 SSLNullWithNullNull = 156 TLS_RSA_WITH_AES_256_CBC_SHA SSLNullWithNullNull = 53 TLS_RSA_WITH_AES_256_CBC_SHA256 SSLNullWithNullNull = 61 TLS_RSA_WITH_AES_256_GCM_SHA384 SSLNullWithNullNull = 157 TLS_RSA_WITH_NULL_MD5 SSLNullWithNullNull = 1 TLS_RSA_WITH_NULL_SHA SSLNullWithNullNull = 2 TLS_RSA_WITH_NULL_SHA256 SSLNullWithNullNull = 59 TLS_RSA_WITH_RC4_128_MD5 SSLNullWithNullNull = 4 TLS_RSA_WITH_RC4_128_SHA SSLNullWithNullNull = 5 )
func (SSLNullWithNullNull) String ¶
func (e SSLNullWithNullNull) String() string
type SSLProtocol ¶
type SSLProtocol int
See: https://developer.apple.com/documentation/Security/SSLProtocol
const ( // KDTLSProtocol1: Specifies the DTLS 1.0 protocol. KDTLSProtocol1 SSLProtocol = 9 // KDTLSProtocol12: Specifies the DTLS 1.2 protocol. KDTLSProtocol12 SSLProtocol = 11 // KSSLProtocol2: Specifies that only the SSL 2.0 protocol may be negotiated. KSSLProtocol2 SSLProtocol = 1 // KSSLProtocol3: Specifies that the SSL 3.0 protocol is preferred; the SSL 2.0 protocol may be negotiated if the peer cannot use the SSL 3.0 protocol. KSSLProtocol3 SSLProtocol = 2 // KSSLProtocol3Only: Specifies that only the SSL 3.0 protocol may be negotiated; fails if the peer tries to negotiate the SSL 2.0 protocol. KSSLProtocol3Only SSLProtocol = 3 // KSSLProtocolAll: Specifies all supported versions. KSSLProtocolAll SSLProtocol = 6 // KSSLProtocolUnknown: Specifies that no protocol has been or should be negotiated or specified; use default. KSSLProtocolUnknown SSLProtocol = 0 // KTLSProtocol1: Specifies that the TLS 1.0 protocol is preferred but lower versions may be negotiated. KTLSProtocol1 SSLProtocol = 4 // KTLSProtocol11: Specifies that the TLS 1.1 protocol is preferred but lower versions may be negotiated. KTLSProtocol11 SSLProtocol = 7 // KTLSProtocol12: Specifies that the TLS 1.2 protocol is preferred but lower versions may be negotiated. KTLSProtocol12 SSLProtocol = 8 // KTLSProtocol13: Specifies that the TLS 1.3 protocol is preferred but lower versions may be negotiated. KTLSProtocol13 SSLProtocol = 10 // KTLSProtocol1Only: Specifies that only the TLS 1.0 protocol may be negotiated. KTLSProtocol1Only SSLProtocol = 5 // KTLSProtocolMaxSupported: The maximum system supported version. KTLSProtocolMaxSupported SSLProtocol = 999 )
func Sec_protocol_metadata_get_negotiated_protocol_version
deprecated
func Sec_protocol_metadata_get_negotiated_protocol_version(metadata Sec_protocol_metadata_t) SSLProtocol
Sec_protocol_metadata_get_negotiated_protocol_version.
Deprecated: Deprecated since macOS 10.15.
func (SSLProtocol) String ¶
func (e SSLProtocol) String() string
type SSLProtocolSide ¶
type SSLProtocolSide int
See: https://developer.apple.com/documentation/Security/SSLProtocolSide
const ( // KSSLClientSide: Client side. KSSLClientSide SSLProtocolSide = 1 // KSSLServerSide: Server side. KSSLServerSide SSLProtocolSide = 0 )
func (SSLProtocolSide) String ¶
func (e SSLProtocolSide) String() string
type SSLReadFunc ¶
SSLReadFunc is a pointer to a customized read function that secure transport calls to read data from the connection.
See: https://developer.apple.com/documentation/Security/SSLReadFunc
type SSLSessionOption ¶
type SSLSessionOption int
See: https://developer.apple.com/documentation/Security/SSLSessionOption
const ( // KSSLSessionOptionAllowRenegotiation: Allow renegotiation. KSSLSessionOptionAllowRenegotiation SSLSessionOption = 8 // KSSLSessionOptionAllowServerIdentityChange: Allow server identity change on renegotiation. KSSLSessionOptionAllowServerIdentityChange SSLSessionOption = 5 // KSSLSessionOptionBreakOnCertRequested: Enables returning from (with a result of ) when the server requests a client certificate. KSSLSessionOptionBreakOnCertRequested SSLSessionOption = 1 // KSSLSessionOptionBreakOnClientAuth: Enables returning from (with a result of ) when the client authentication portion of the handshake is complete to allow your application to perform its own certificate verification. KSSLSessionOptionBreakOnClientAuth SSLSessionOption = 2 // KSSLSessionOptionBreakOnClientHello: Break from a client hello in order to check for SNI. KSSLSessionOptionBreakOnClientHello SSLSessionOption = 7 // KSSLSessionOptionBreakOnServerAuth: Enables returning from (with a result of ) when the server authentication portion of the handshake is complete to allow your application to perform its own certificate verification. KSSLSessionOptionBreakOnServerAuth SSLSessionOption = 0 // KSSLSessionOptionEnableSessionTickets: Enable session tickets. KSSLSessionOptionEnableSessionTickets SSLSessionOption = 9 // KSSLSessionOptionFallback: Enable fallback countermeasures. KSSLSessionOptionFallback SSLSessionOption = 6 // KSSLSessionOptionFalseStart: When enabled, TLS False Start is used if an adequate cipher-suite is negotiated. KSSLSessionOptionFalseStart SSLSessionOption = 3 // KSSLSessionOptionSendOneByteRecord: Enables record splitting for BEAST attack mitigation. KSSLSessionOptionSendOneByteRecord SSLSessionOption = 4 )
func (SSLSessionOption) String ¶
func (e SSLSessionOption) String() string
type SSLSessionState ¶
type SSLSessionState int
See: https://developer.apple.com/documentation/Security/SSLSessionState
const ( // KSSLAborted: The connection aborted. KSSLAborted SSLSessionState = 4 // KSSLClosed: The connection closed normally. KSSLClosed SSLSessionState = 3 // KSSLConnected: The SSL handshake is complete; the connection is ready for normal I/O. KSSLConnected SSLSessionState = 2 // KSSLHandshake: The SSL handshake is in progress. KSSLHandshake SSLSessionState = 1 // KSSLIdle: No I/O has been performed yet. KSSLIdle SSLSessionState = 0 )
func (SSLSessionState) String ¶
func (e SSLSessionState) String() string
type SSLWriteFunc ¶
SSLWriteFunc is a pointer to a customized write function that secure transport calls to write data to the connection.
See: https://developer.apple.com/documentation/Security/SSLWriteFunc
type SecACLRef ¶
type SecACLRef uintptr
SecACLRef is an opaque type that represents information about an ACL entry.
See: https://developer.apple.com/documentation/Security/SecACL
type SecAccessControlCreateFlags ¶
type SecAccessControlCreateFlags int
See: https://developer.apple.com/documentation/Security/SecAccessControlCreateFlags
const ( // KSecAccessControlAnd: Indicates that all constraints must be satisfied. KSecAccessControlAnd SecAccessControlCreateFlags = 32768 // KSecAccessControlApplicationPassword: Option to use an application-provided password for data encryption key generation. KSecAccessControlApplicationPassword SecAccessControlCreateFlags = 2147483648 // KSecAccessControlBiometryAny: Constraint to access an item with Touch ID for any enrolled fingers, or Face ID. KSecAccessControlBiometryAny SecAccessControlCreateFlags = 2 // KSecAccessControlBiometryCurrentSet: Constraint to access an item with Touch ID for currently enrolled fingers, or from Face ID with the currently enrolled user. KSecAccessControlBiometryCurrentSet SecAccessControlCreateFlags = 8 KSecAccessControlCompanion SecAccessControlCreateFlags = 32 // KSecAccessControlDevicePasscode: Constraint to access an item with a passcode. KSecAccessControlDevicePasscode SecAccessControlCreateFlags = 16 // KSecAccessControlOr: Indicates that at least one constraint must be satisfied. KSecAccessControlOr SecAccessControlCreateFlags = 16384 // KSecAccessControlPrivateKeyUsage: Enable a private key to be used in signing a block of data or verifying a signed block. KSecAccessControlPrivateKeyUsage SecAccessControlCreateFlags = 1073741824 // KSecAccessControlUserPresence: Constraint to access an item with either biometry or passcode. KSecAccessControlUserPresence SecAccessControlCreateFlags = 1 // Deprecated. KSecAccessControlTouchIDAny SecAccessControlCreateFlags = 2 // Deprecated. KSecAccessControlTouchIDCurrentSet SecAccessControlCreateFlags = 8 // Deprecated. KSecAccessControlWatch SecAccessControlCreateFlags = 32 )
func (SecAccessControlCreateFlags) String ¶
func (e SecAccessControlCreateFlags) String() string
type SecAccessControlRef ¶
type SecAccessControlRef uintptr
SecAccessControlRef is an opaque type that contains information about how a keychain item may be used.
See: https://developer.apple.com/documentation/Security/SecAccessControl
func SecAccessControlCreateWithFlags ¶
func SecAccessControlCreateWithFlags(allocator corefoundation.CFAllocatorRef, protection corefoundation.CFTypeRef, flags SecAccessControlCreateFlags, err *corefoundation.CFErrorRef) SecAccessControlRef
SecAccessControlCreateWithFlags creates a new access control object with the specified protection type and flags.
See: https://developer.apple.com/documentation/Security/SecAccessControlCreateWithFlags(_:_:_:_:)
type SecAccessOwnerType ¶
type SecAccessOwnerType = uint32
SecAccessOwnerType is a type for flags that enable you to configure ACL ownership.
See: https://developer.apple.com/documentation/Security/SecAccessOwnerType
type SecAccessRef ¶
type SecAccessRef uintptr
SecAccessRef is an opaque type that identifies a keychain item’s access information.
See: https://developer.apple.com/documentation/Security/SecAccess
type SecAsn1AlgId ¶
SecAsn1AlgId - A structure identifying an ASN.1 algorithm by its OID, and its corresponding parameters.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecAsn1AlgId
type SecAsn1PubKeyInfo ¶
type SecAsn1PubKeyInfo struct {
SubjectPublicKey unsafe.Pointer
Algorithm SecAsn1AlgId
}
SecAsn1PubKeyInfo - A structure containing a public key and its associated algorithm.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecAsn1PubKeyInfo
type SecAsn1Template_struct ¶
SecAsn1Template_struct - A structure that defines one element of a BER or DER encoding.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecAsn1Template_struct
type SecAuthenticationType ¶
type SecAuthenticationType int
See: https://developer.apple.com/documentation/Security/SecAuthenticationType
const ( // KSecAuthenticationTypeAny: Specifies that any authentication type is acceptable. KSecAuthenticationTypeAny SecAuthenticationType = 0 // KSecAuthenticationTypeDPA: Specifies Distributed Password authentication. KSecAuthenticationTypeDPA SecAuthenticationType = 0 // KSecAuthenticationTypeDefault: Specifies the default authentication type. KSecAuthenticationTypeDefault SecAuthenticationType = 0 // KSecAuthenticationTypeHTMLForm: Specifies HTML form based authentication. KSecAuthenticationTypeHTMLForm SecAuthenticationType = 0 // KSecAuthenticationTypeHTTPBasic: Specifies HTTP Basic authentication. KSecAuthenticationTypeHTTPBasic SecAuthenticationType = 0 // KSecAuthenticationTypeHTTPDigest: Specifies HTTP Digest Access authentication. KSecAuthenticationTypeHTTPDigest SecAuthenticationType = 0 // KSecAuthenticationTypeMSN: Specifies Microsoft Network default authentication. KSecAuthenticationTypeMSN SecAuthenticationType = 0 // KSecAuthenticationTypeNTLM: Specifies Windows NT LAN Manager authentication. KSecAuthenticationTypeNTLM SecAuthenticationType = 0 // KSecAuthenticationTypeRPA: Specifies Remote Password authentication. KSecAuthenticationTypeRPA SecAuthenticationType = 0 )
func (SecAuthenticationType) String ¶
func (e SecAuthenticationType) String() string
type SecCEBasicConstraints ¶
type SecCEBasicConstraints struct {
Critical bool
IsCA bool
PathLenConstraint uint32
PathLenConstraintPresent bool
Present bool
}
SecCEBasicConstraints
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecCEBasicConstraints
type SecCEPolicyConstraints ¶
type SecCEPolicyConstraints struct {
Critical bool
InhibitPolicyMapping uint32
InhibitPolicyMappingPresent bool
Present bool
RequireExplicitPolicy uint32
RequireExplicitPolicyPresent bool
}
SecCEPolicyConstraints
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecCEPolicyConstraints
type SecCSDigestAlgorithm ¶
type SecCSDigestAlgorithm int
See: https://developer.apple.com/documentation/Security/SecCSDigestAlgorithm
type SecCSFlags ¶
type SecCSFlags int
See: https://developer.apple.com/documentation/Security/SecCSFlags
const ( KSecCSApplyEmbeddedPolicy SecCSFlags = 33554432 KSecCSCheckTrustedAnchors SecCSFlags = 134217728 // KSecCSConsiderExpiration: Consider expired certificates invalid. KSecCSConsiderExpiration SecCSFlags = 2147483648 // KSecCSEnforceRevocationChecks: # Discussion KSecCSEnforceRevocationChecks SecCSFlags = 1073741824 KSecCSMatchGuestRequirementInKernel SecCSFlags = 8388608 KSecCSNoNetworkAccess SecCSFlags = 536870912 KSecCSQuickCheck SecCSFlags = 67108864 KSecCSReportProgress SecCSFlags = 268435456 KSecCSStripDisallowedXattrs SecCSFlags = 16777216 )
func (SecCSFlags) String ¶
func (e SecCSFlags) String() string
type SecCertificateRef ¶
type SecCertificateRef uintptr
SecCertificateRef is an abstract Core Foundation-type object representing an X.509 certificate.
See: https://developer.apple.com/documentation/Security/SecCertificate
func SecCertificateCopyPreferred ¶
func SecCertificateCopyPreferred(name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef) SecCertificateRef
SecCertificateCopyPreferred returns the preferred certificate for the specified name and key usage.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyPreferred(_:_:)
func SecCertificateCreateWithData ¶
func SecCertificateCreateWithData(allocator corefoundation.CFAllocatorRef, data corefoundation.CFDataRef) SecCertificateRef
SecCertificateCreateWithData creates a certificate object from a DER representation of a certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCreateWithData(_:_:)
func SecTrustGetCertificateAtIndex
deprecated
func SecTrustGetCertificateAtIndex(trust SecTrustRef, ix int) SecCertificateRef
SecTrustGetCertificateAtIndex returns a specific certificate from the certificate chain used to evaluate trust.
Deprecated: Deprecated since macOS 12.0.
See: https://developer.apple.com/documentation/Security/SecTrustGetCertificateAtIndex(_:_:)
func Sec_certificate_copy_ref ¶
func Sec_certificate_copy_ref(certificate Sec_certificate_t) SecCertificateRef
Sec_certificate_copy_ref.
See: https://developer.apple.com/documentation/Security/sec_certificate_copy_ref(_:)
type SecCodeRef ¶
type SecCodeRef uintptr
SecCodeRef is a code object representing signed code running on the system.
See: https://developer.apple.com/documentation/Security/SecCode
type SecCodeSignatureFlags ¶
type SecCodeSignatureFlags int
See: https://developer.apple.com/documentation/Security/SecCodeSignatureFlags
const ( // KSecCodeSignatureAdhoc: Must be used without a signing identity. KSecCodeSignatureAdhoc SecCodeSignatureFlags = 2 // KSecCodeSignatureEnforcement: Enforce code signing. KSecCodeSignatureEnforcement SecCodeSignatureFlags = 4096 // KSecCodeSignatureForceExpiration: Always set the considerExpiration flag when validating the code. KSecCodeSignatureForceExpiration SecCodeSignatureFlags = 1024 // KSecCodeSignatureForceHard: Always set the hard status flag on launch. KSecCodeSignatureForceHard SecCodeSignatureFlags = 256 // KSecCodeSignatureForceKill: Always set the termination status flag on launch. KSecCodeSignatureForceKill SecCodeSignatureFlags = 512 // KSecCodeSignatureHost: May host guest code. KSecCodeSignatureHost SecCodeSignatureFlags = 1 // KSecCodeSignatureLibraryValidation: Require library validation. KSecCodeSignatureLibraryValidation SecCodeSignatureFlags = 8192 KSecCodeSignatureLinkerSigned SecCodeSignatureFlags = 131072 // KSecCodeSignatureRestrict: Restrict dyld loading. KSecCodeSignatureRestrict SecCodeSignatureFlags = 2048 // KSecCodeSignatureRuntime: Apply runtime hardening policies as required by the hardened runtime version. KSecCodeSignatureRuntime SecCodeSignatureFlags = 65536 )
func (SecCodeSignatureFlags) String ¶
func (e SecCodeSignatureFlags) String() string
type SecCodeStatus ¶
type SecCodeStatus int
See: https://developer.apple.com/documentation/Security/SecCodeStatus
const ( // KSecCodeStatusDebugged: The code has been debugged by another process that was allowed to do so. KSecCodeStatusDebugged SecCodeStatus = 268435456 // KSecCodeStatusHard: The code prefers to be denied access to resources if gaining access would invalidate it. KSecCodeStatusHard SecCodeStatus = 256 // KSecCodeStatusKill: The code wants to be terminated if it ever loses its validity. KSecCodeStatusKill SecCodeStatus = 512 // KSecCodeStatusPlatform: The code ships with the operating system and is signed by Apple. KSecCodeStatusPlatform SecCodeStatus = 67108864 // KSecCodeStatusValid: The code is dynamically valid. KSecCodeStatusValid SecCodeStatus = 1 )
func (SecCodeStatus) String ¶
func (e SecCodeStatus) String() string
type SecCredentialType ¶
type SecCredentialType int
See: https://developer.apple.com/documentation/Security/SecCredentialType
const ( // KSecCredentialTypeDefault: The default setting for determining whether to present UI is used. KSecCredentialTypeDefault SecCredentialType = 0 // KSecCredentialTypeNoUI: Keychain operations on keys that have this credential are not allowed to present UI, and will fail if UI is required. KSecCredentialTypeNoUI SecCredentialType = 2 // KSecCredentialTypeWithUI: Keychain operations on keys that have this credential are allowed to present UI if required. KSecCredentialTypeWithUI SecCredentialType = 1 )
func (SecCredentialType) String ¶
func (e SecCredentialType) String() string
type SecExternalFormat ¶
type SecExternalFormat int
See: https://developer.apple.com/documentation/Security/SecExternalFormat
const ( // KSecFormatBSAFE: Format for asymmetric keys. KSecFormatBSAFE SecExternalFormat = 3 // KSecFormatNetscapeCertSequence: Set of certificates in the Netscape Certificate Sequence format. KSecFormatNetscapeCertSequence SecExternalFormat = 13 // KSecFormatOpenSSL: Format for asymmetric (public/private) keys. KSecFormatOpenSSL SecExternalFormat = 1 // KSecFormatPEMSequence: Sequence of certificates and keys with PEM armor. KSecFormatPEMSequence SecExternalFormat = 10 // KSecFormatPKCS12: Set of certificates and private keys. KSecFormatPKCS12 SecExternalFormat = 12 // KSecFormatPKCS7: Sequence of certificates, no PEM armor. KSecFormatPKCS7 SecExternalFormat = 11 // KSecFormatRawKey: Format for symmetric keys. KSecFormatRawKey SecExternalFormat = 4 // KSecFormatSSH: OpenSSH 1 format for asymmetric (public/private) keys. KSecFormatSSH SecExternalFormat = 2 // KSecFormatSSHv2: OpenSSH 2 format for public keys. KSecFormatSSHv2 SecExternalFormat = 14 // KSecFormatWrappedLSH: Not supported. KSecFormatWrappedLSH SecExternalFormat = 8 // KSecFormatWrappedOpenSSL: Format for wrapped symmetric and private keys. KSecFormatWrappedOpenSSL SecExternalFormat = 6 // KSecFormatWrappedPKCS8: Format for wrapped symmetric and private keys. KSecFormatWrappedPKCS8 SecExternalFormat = 5 // KSecFormatWrappedSSH: OpenSSH 1 format for wrapped symmetric and private keys. KSecFormatWrappedSSH SecExternalFormat = 7 // KSecFormatX509Cert: Format for certificates. KSecFormatX509Cert SecExternalFormat = 9 )
func (SecExternalFormat) String ¶
func (e SecExternalFormat) String() string
type SecExternalItemType ¶
type SecExternalItemType int
See: https://developer.apple.com/documentation/Security/SecExternalItemType
const ( // KSecItemTypeAggregate: Indicates a set of certificates or certificates and private keys. KSecItemTypeAggregate SecExternalItemType = 5 // KSecItemTypeCertificate: Indicates a certificate. KSecItemTypeCertificate SecExternalItemType = 4 // KSecItemTypePrivateKey: Indicates a private key. KSecItemTypePrivateKey SecExternalItemType = 1 // KSecItemTypePublicKey: Indicates a public key. KSecItemTypePublicKey SecExternalItemType = 2 // KSecItemTypeSessionKey: Indicates a session key. KSecItemTypeSessionKey SecExternalItemType = 3 // KSecItemTypeUnknown: Indicates that the caller does not know the type of information being imported or exported. KSecItemTypeUnknown SecExternalItemType = 0 )
func (SecExternalItemType) String ¶
func (e SecExternalItemType) String() string
type SecGuestRef ¶
type SecGuestRef = objectivec.IObject
SecGuestRef is a reference to a guest object, which identifies a particular block of guest code in the context of its code signing host.
See: https://developer.apple.com/documentation/Security/SecGuestRef
type SecIdentityRef ¶
type SecIdentityRef uintptr
SecIdentityRef is an abstract Core Foundation-type object representing an identity.
See: https://developer.apple.com/documentation/Security/SecIdentity
func SecIdentityCopyPreferred ¶
func SecIdentityCopyPreferred(name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef, validIssuers corefoundation.CFArrayRef) SecIdentityRef
SecIdentityCopyPreferred retrieves the preferred identity for the specified name and key use.
See: https://developer.apple.com/documentation/Security/SecIdentityCopyPreferred(_:_:_:)
func SecIdentityCreate ¶
func SecIdentityCreate(allocator corefoundation.CFAllocatorRef, certificate SecCertificateRef, privateKey SecKeyRef) SecIdentityRef
SecIdentityCreate.
See: https://developer.apple.com/documentation/Security/SecIdentityCreate(_:_:_:)
func Sec_identity_copy_ref ¶
func Sec_identity_copy_ref(identity Sec_identity_t) SecIdentityRef
Sec_identity_copy_ref.
See: https://developer.apple.com/documentation/Security/sec_identity_copy_ref(_:)
type SecIdentitySearchRef ¶
type SecIdentitySearchRef uintptr
SecIdentitySearchRef is contains information about an identity search.
See: https://developer.apple.com/documentation/Security/SecIdentitySearch
type SecItemAttr ¶
type SecItemAttr int
See: https://developer.apple.com/documentation/Security/SecItemAttr
const ( // KSecAccountItemAttr: Identifies the account attribute. KSecAccountItemAttr SecItemAttr = 'a'<<24 | 'c'<<16 | 'c'<<8 | 't' // 'acct' // KSecAddressItemAttr: Identifies the address attribute. KSecAddressItemAttr SecItemAttr = 'a'<<24 | 'd'<<16 | 'd'<<8 | 'r' // 'addr' // KSecAlias: Indicates an alias. KSecAlias SecItemAttr = 'a'<<24 | 'l'<<16 | 'i'<<8 | 's' // 'alis' // KSecAuthenticationTypeItemAttr: Identifies the authentication type attribute. KSecAuthenticationTypeItemAttr SecItemAttr = 'a'<<24 | 't'<<16 | 'y'<<8 | 'p' // 'atyp' // KSecCertificateEncoding: Indicates a type. KSecCertificateEncoding SecItemAttr = 'c'<<24 | 'e'<<16 | 'n'<<8 | 'c' // 'cenc' // KSecCertificateType: Indicates a type. KSecCertificateType SecItemAttr = 'c'<<24 | 't'<<16 | 'y'<<8 | 'p' // 'ctyp' // KSecCommentItemAttr: Identifies the comment attribute. KSecCommentItemAttr SecItemAttr = 'i'<<24 | 'c'<<16 | 'm'<<8 | 't' // 'icmt' // KSecCreationDateItemAttr: Identifies the creation date attribute. KSecCreationDateItemAttr SecItemAttr = 'c'<<24 | 'd'<<16 | 'a'<<8 | 't' // 'cdat' // KSecCreatorItemAttr: Identifies the creator attribute. KSecCreatorItemAttr SecItemAttr = 'c'<<24 | 'r'<<16 | 't'<<8 | 'r' // 'crtr' // KSecCrlEncoding: Indicates a type. KSecCrlEncoding SecItemAttr = 'c'<<24 | 'r'<<16 | 'n'<<8 | 'c' // 'crnc' // KSecCrlType: Indicates a type. KSecCrlType SecItemAttr = 'c'<<24 | 'r'<<16 | 't'<<8 | 'p' // 'crtp' // KSecCustomIconItemAttr: Identifies the custom icon attribute. KSecCustomIconItemAttr SecItemAttr = 'c'<<24 | 'u'<<16 | 's'<<8 | 'i' // 'cusi' // KSecDescriptionItemAttr: Identifies the description attribute. KSecDescriptionItemAttr SecItemAttr = 'd'<<24 | 'e'<<16 | 's'<<8 | 'c' // 'desc' // KSecGenericItemAttr: Identifies the generic attribute. KSecGenericItemAttr SecItemAttr = 'g'<<24 | 'e'<<16 | 'n'<<8 | 'a' // 'gena' // KSecInvisibleItemAttr: Identifies the invisible attribute. KSecInvisibleItemAttr SecItemAttr = 'i'<<24 | 'n'<<16 | 'v'<<8 | 'i' // 'invi' // KSecLabelItemAttr: Identifies the label attribute. KSecLabelItemAttr SecItemAttr = 'l'<<24 | 'a'<<16 | 'b'<<8 | 'l' // 'labl' // KSecModDateItemAttr: Identifies the modification date attribute. KSecModDateItemAttr SecItemAttr = 'm'<<24 | 'd'<<16 | 'a'<<8 | 't' // 'mdat' // KSecNegativeItemAttr: Identifies the negative attribute. KSecNegativeItemAttr SecItemAttr = 'n'<<24 | 'e'<<16 | 'g'<<8 | 'a' // 'nega' // KSecPathItemAttr: Identifies the path attribute. KSecPathItemAttr SecItemAttr = 'p'<<24 | 'a'<<16 | 't'<<8 | 'h' // 'path' // KSecPortItemAttr: Identifies the port attribute. KSecPortItemAttr SecItemAttr = 'p'<<24 | 'o'<<16 | 'r'<<8 | 't' // 'port' // KSecProtocolItemAttr: Identifies the protocol attribute. KSecProtocolItemAttr SecItemAttr = 'p'<<24 | 't'<<16 | 'c'<<8 | 'l' // 'ptcl' // KSecScriptCodeItemAttr: Identifies the script code attribute. KSecScriptCodeItemAttr SecItemAttr = 's'<<24 | 'c'<<16 | 'r'<<8 | 'p' // 'scrp' // KSecSecurityDomainItemAttr: Identifies the security domain attribute. KSecSecurityDomainItemAttr SecItemAttr = 's'<<24 | 'd'<<16 | 'm'<<8 | 'n' // 'sdmn' // KSecServerItemAttr: Identifies the server attribute. KSecServerItemAttr SecItemAttr = 's'<<24 | 'r'<<16 | 'v'<<8 | 'r' // 'srvr' // KSecServiceItemAttr: Identifies the service attribute. KSecServiceItemAttr SecItemAttr = 's'<<24 | 'v'<<16 | 'c'<<8 | 'e' // 'svce' // KSecSignatureItemAttr: Identifies the server signature attribute. KSecSignatureItemAttr SecItemAttr = 's'<<24 | 's'<<16 | 'i'<<8 | 'g' // 'ssig' // KSecTypeItemAttr: Identifies the type attribute. KSecTypeItemAttr SecItemAttr = 't'<<24 | 'y'<<16 | 'p'<<8 | 'e' // 'type' // KSecVolumeItemAttr: Identifies the volume attribute. KSecVolumeItemAttr SecItemAttr = 'v'<<24 | 'l'<<16 | 'm'<<8 | 'e' // 'vlme' )
func (SecItemAttr) String ¶
func (e SecItemAttr) String() string
type SecItemClass ¶
type SecItemClass int
See: https://developer.apple.com/documentation/Security/SecItemClass
const ( // KSecCertificateItemClass: Indicates that the item is an X509 certificate. KSecCertificateItemClass SecItemClass = 2147487744 // KSecGenericPasswordItemClass: Indicates that the item is a generic password. KSecGenericPasswordItemClass SecItemClass = 'g'<<24 | 'e'<<16 | 'n'<<8 | 'p' // 'genp' // KSecInternetPasswordItemClass: Indicates that the item is an Internet password. KSecInternetPasswordItemClass SecItemClass = 'i'<<24 | 'n'<<16 | 'e'<<8 | 't' // 'inet' // KSecPrivateKeyItemClass: Indicates that the item is a private key of a public-private pair. KSecPrivateKeyItemClass SecItemClass = 16 // KSecPublicKeyItemClass: Indicates that the item is a public key of a public-private pair. KSecPublicKeyItemClass SecItemClass = 15 // KSecSymmetricKeyItemClass: Indicates that the item is a private key used for symmetric-key encryption. KSecSymmetricKeyItemClass SecItemClass = 17 )
func (SecItemClass) String ¶
func (e SecItemClass) String() string
type SecItemImportExportFlags ¶
type SecItemImportExportFlags int
See: https://developer.apple.com/documentation/Security/SecItemImportExportFlags
const ( // KSecItemPemArmour: A flag that indicates the exported data should have PEM armor. KSecItemPemArmour SecItemImportExportFlags = 1 )
func (SecItemImportExportFlags) String ¶
func (e SecItemImportExportFlags) String() string
type SecItemImportExportKeyParameters ¶
type SecItemImportExportKeyParameters struct {
AccessRef SecAccessRef // Specifies the initial access controls of imported private keys.
AlertPrompt corefoundation.CFStringRef // The prompt to display in the secure passphrase alert panel.
AlertTitle corefoundation.CFStringRef // The title to display in the secure passphrase alert panel.
Flags SecKeyImportExportFlags // The bitwise [OR] of zero or more key import/export flags.
KeyAttributes corefoundation.CFArrayRef // An array containing zero or more key attributes for an imported key.
KeyUsage corefoundation.CFArrayRef // An array containing usage attributes applied to a key on import.
Passphrase corefoundation.CFTypeRef // The password to use during key import or export.
Version uint32 // The version of this structure.
}
SecItemImportExportKeyParameters - The import/export parameter structure.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecItemImportExportKeyParameters
type SecKeyAlgorithm ¶
type SecKeyAlgorithm = corefoundation.CFStringRef
SecKeyAlgorithm is the algorithms that cryptographic keys enable.
See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm
var ( // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeCofactor KSecKeyAlgorithmECDHKeyExchangeCofactor SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeCofactorX963SHA1 KSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeCofactorX963SHA224 KSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeCofactorX963SHA256 KSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeCofactorX963SHA384 KSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeCofactorX963SHA512 KSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeStandard KSecKeyAlgorithmECDHKeyExchangeStandard SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeStandardX963SHA1 KSecKeyAlgorithmECDHKeyExchangeStandardX963SHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeStandardX963SHA224 KSecKeyAlgorithmECDHKeyExchangeStandardX963SHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeStandardX963SHA256 KSecKeyAlgorithmECDHKeyExchangeStandardX963SHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeStandardX963SHA384 KSecKeyAlgorithmECDHKeyExchangeStandardX963SHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdhKeyExchangeStandardX963SHA512 KSecKeyAlgorithmECDHKeyExchangeStandardX963SHA512 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureDigestRFC4754 is an algorithm for generating message digest signatures. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestRFC4754 KSecKeyAlgorithmECDSASignatureDigestRFC4754 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA1 is an algorithm for generating signatures of SHA1 message digests. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestRFC4754SHA1 KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA1 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA224 is an algorithm for generating signatures of SHA224 message digests. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestRFC4754SHA224 KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA224 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA256 is an algorithm for generating signatures of SHA256 message digests. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestRFC4754SHA256 KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA256 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA384 is an algorithm for generating signatures of SHA384 message digests. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestRFC4754SHA384 KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA384 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA512 is an algorithm for generating signatures of SHA512 message digests. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestRFC4754SHA512 KSecKeyAlgorithmECDSASignatureDigestRFC4754SHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestX962 KSecKeyAlgorithmECDSASignatureDigestX962 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestX962SHA1 KSecKeyAlgorithmECDSASignatureDigestX962SHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestX962SHA224 KSecKeyAlgorithmECDSASignatureDigestX962SHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestX962SHA256 KSecKeyAlgorithmECDSASignatureDigestX962SHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestX962SHA384 KSecKeyAlgorithmECDSASignatureDigestX962SHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureDigestX962SHA512 KSecKeyAlgorithmECDSASignatureDigestX962SHA512 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA1 is an algorithm for generating message signatures by calculating and signing the SHA1 message digest. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageRFC4754SHA1 KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA1 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA224 is an algorithm for generating message signatures by calculating and signing the SHA224 message digest. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageRFC4754SHA224 KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA224 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA256 is an algorithm for generating message signatures by calculating and signing the SHA256 message digest. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageRFC4754SHA256 KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA256 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA384 is an algorithm for generating message signatures by calculating and signing the SHA384 message digest. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageRFC4754SHA384 KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA384 SecKeyAlgorithm // KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA512 is an algorithm for generating message signatures by calculating and signing the SHA512 message digest. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageRFC4754SHA512 KSecKeyAlgorithmECDSASignatureMessageRFC4754SHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageX962SHA1 KSecKeyAlgorithmECDSASignatureMessageX962SHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageX962SHA224 KSecKeyAlgorithmECDSASignatureMessageX962SHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageX962SHA256 KSecKeyAlgorithmECDSASignatureMessageX962SHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageX962SHA384 KSecKeyAlgorithmECDSASignatureMessageX962SHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureMessageX962SHA512 KSecKeyAlgorithmECDSASignatureMessageX962SHA512 SecKeyAlgorithm // // Deprecated: Deprecated since macOS 14.0. // // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/ecdsaSignatureRFC4754 KSecKeyAlgorithmECDSASignatureRFC4754 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorVariableIVX963SHA224AESGCM KSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA224AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorVariableIVX963SHA256AESGCM KSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA256AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorVariableIVX963SHA384AESGCM KSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA384AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorVariableIVX963SHA512AESGCM KSecKeyAlgorithmECIESEncryptionCofactorVariableIVX963SHA512AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorX963SHA1AESGCM KSecKeyAlgorithmECIESEncryptionCofactorX963SHA1AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorX963SHA224AESGCM KSecKeyAlgorithmECIESEncryptionCofactorX963SHA224AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorX963SHA256AESGCM KSecKeyAlgorithmECIESEncryptionCofactorX963SHA256AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorX963SHA384AESGCM KSecKeyAlgorithmECIESEncryptionCofactorX963SHA384AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionCofactorX963SHA512AESGCM KSecKeyAlgorithmECIESEncryptionCofactorX963SHA512AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardVariableIVX963SHA224AESGCM KSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA224AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardVariableIVX963SHA256AESGCM KSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA256AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardVariableIVX963SHA384AESGCM KSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA384AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardVariableIVX963SHA512AESGCM KSecKeyAlgorithmECIESEncryptionStandardVariableIVX963SHA512AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardX963SHA1AESGCM KSecKeyAlgorithmECIESEncryptionStandardX963SHA1AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardX963SHA224AESGCM KSecKeyAlgorithmECIESEncryptionStandardX963SHA224AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardX963SHA256AESGCM KSecKeyAlgorithmECIESEncryptionStandardX963SHA256AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardX963SHA384AESGCM KSecKeyAlgorithmECIESEncryptionStandardX963SHA384AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/eciesEncryptionStandardX963SHA512AESGCM KSecKeyAlgorithmECIESEncryptionStandardX963SHA512AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA1 KSecKeyAlgorithmRSAEncryptionOAEPSHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA1AESGCM KSecKeyAlgorithmRSAEncryptionOAEPSHA1AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA224 KSecKeyAlgorithmRSAEncryptionOAEPSHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA224AESGCM KSecKeyAlgorithmRSAEncryptionOAEPSHA224AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA256 KSecKeyAlgorithmRSAEncryptionOAEPSHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA256AESGCM KSecKeyAlgorithmRSAEncryptionOAEPSHA256AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA384 KSecKeyAlgorithmRSAEncryptionOAEPSHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA384AESGCM KSecKeyAlgorithmRSAEncryptionOAEPSHA384AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA512 KSecKeyAlgorithmRSAEncryptionOAEPSHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionOAEPSHA512AESGCM KSecKeyAlgorithmRSAEncryptionOAEPSHA512AESGCM SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionPKCS1 KSecKeyAlgorithmRSAEncryptionPKCS1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaEncryptionRaw KSecKeyAlgorithmRSAEncryptionRaw SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPKCS1v15Raw KSecKeyAlgorithmRSASignatureDigestPKCS1v15Raw SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPKCS1v15SHA1 KSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPKCS1v15SHA224 KSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPKCS1v15SHA256 KSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPKCS1v15SHA384 KSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPKCS1v15SHA512 KSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPSSSHA1 KSecKeyAlgorithmRSASignatureDigestPSSSHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPSSSHA224 KSecKeyAlgorithmRSASignatureDigestPSSSHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPSSSHA256 KSecKeyAlgorithmRSASignatureDigestPSSSHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPSSSHA384 KSecKeyAlgorithmRSASignatureDigestPSSSHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureDigestPSSSHA512 KSecKeyAlgorithmRSASignatureDigestPSSSHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePKCS1v15SHA1 KSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePKCS1v15SHA224 KSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePKCS1v15SHA256 KSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePKCS1v15SHA384 KSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePKCS1v15SHA512 KSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePSSSHA1 KSecKeyAlgorithmRSASignatureMessagePSSSHA1 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePSSSHA224 KSecKeyAlgorithmRSASignatureMessagePSSSHA224 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePSSSHA256 KSecKeyAlgorithmRSASignatureMessagePSSSHA256 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePSSSHA384 KSecKeyAlgorithmRSASignatureMessagePSSSHA384 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureMessagePSSSHA512 KSecKeyAlgorithmRSASignatureMessagePSSSHA512 SecKeyAlgorithm // See: https://developer.apple.com/documentation/Security/SecKeyAlgorithm/rsaSignatureRaw KSecKeyAlgorithmRSASignatureRaw SecKeyAlgorithm )
type SecKeyGeneratePairBlock ¶
type SecKeyGeneratePairBlock = func(string, string, objectivec.IObject)
SecKeyGeneratePairBlock is a block called with the results of a call to [SecKeyGeneratePairAsync(_:_:_:)].
See: https://developer.apple.com/documentation/Security/SecKeyGeneratePairBlock
type SecKeyImportExportFlags ¶
type SecKeyImportExportFlags int
See: https://developer.apple.com/documentation/Security/SecKeyImportExportFlags
const ( // KSecKeyImportOnlyOne: A flag that you set to prevent importing more than one private key. KSecKeyImportOnlyOne SecKeyImportExportFlags = 1 // KSecKeyNoAccessControl: A flag that indicates imported private keys have no access object attached to them. KSecKeyNoAccessControl SecKeyImportExportFlags = 4 // KSecKeySecurePassphrase: A flag that indicates the user should be prompted for a passphrase on import or export. KSecKeySecurePassphrase SecKeyImportExportFlags = 2 )
func (SecKeyImportExportFlags) String ¶
func (e SecKeyImportExportFlags) String() string
type SecKeyImportExportParameters ¶
type SecKeyImportExportParameters struct {
AccessRef SecAccessRef // Specifies the initial access controls of imported private keys.
AlertPrompt corefoundation.CFStringRef // The prompt to display in the secure passphrase alert panel.
AlertTitle corefoundation.CFStringRef // The title to display in the secure passphrase alert panel.
Flags SecKeyImportExportFlags // The bitwise [OR] of zero or more key import/export flags.
KeyAttributes CSSM_KEYATTR_FLAGS // A word of bits constituting the low-level attribute flags for imported keys.
KeyUsage CSSM_KEYUSE // A word of bits constituting the low-level use flags for imported keys.
Passphrase corefoundation.CFTypeRef // The password to use during key import or export.
Version uint32 // The version of this structure.
}
SecKeyImportExportParameters - The legacy import/export parameter structure.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecKeyImportExportParameters
type SecKeyKeyExchangeParameter ¶
type SecKeyKeyExchangeParameter = corefoundation.CFStringRef
SecKeyKeyExchangeParameter is the dictionary keys used to specify Diffie-Hellman key exchange parameters.
See: https://developer.apple.com/documentation/Security/SecKeyKeyExchangeParameter
var ( // See: https://developer.apple.com/documentation/Security/SecKeyKeyExchangeParameter/requestedSize KSecKeyKeyExchangeParameterRequestedSize SecKeyKeyExchangeParameter KSecKeyKeyExchangeParameterSharedInfo SecKeyKeyExchangeParameter )
type SecKeyOperationType ¶
type SecKeyOperationType int
See: https://developer.apple.com/documentation/Security/SecKeyOperationType
type SecKeyRef ¶
type SecKeyRef uintptr
SecKeyRef is an object that represents a cryptographic key.
See: https://developer.apple.com/documentation/Security/SecKey
func SecCertificateCopyKey ¶
func SecCertificateCopyKey(certificate SecCertificateRef) SecKeyRef
SecCertificateCopyKey retrieves the public key for a given certificate.
See: https://developer.apple.com/documentation/Security/SecCertificateCopyKey(_:)
func SecKeyCopyPublicKey ¶
SecKeyCopyPublicKey gets the public key associated with the given private key.
See: https://developer.apple.com/documentation/Security/SecKeyCopyPublicKey(_:)
func SecKeyCreateRandomKey ¶
func SecKeyCreateRandomKey(parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecKeyRef
SecKeyCreateRandomKey generates a new public-private key pair.
See: https://developer.apple.com/documentation/Security/SecKeyCreateRandomKey(_:_:)
func SecKeyCreateWithData ¶
func SecKeyCreateWithData(keyData corefoundation.CFDataRef, attributes corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecKeyRef
SecKeyCreateWithData restores a key from an external representation of that key.
See: https://developer.apple.com/documentation/Security/SecKeyCreateWithData(_:_:_:)
func SecTrustCopyKey ¶
func SecTrustCopyKey(trust SecTrustRef) SecKeyRef
SecTrustCopyKey.
See: https://developer.apple.com/documentation/Security/SecTrustCopyKey(_:)
func SecTrustCopyPublicKey
deprecated
func SecTrustCopyPublicKey(trust SecTrustRef) SecKeyRef
SecTrustCopyPublicKey returns the public key for a leaf certificate after it has been evaluated.
Deprecated: Deprecated since macOS 11.0.
See: https://developer.apple.com/documentation/Security/SecTrustCopyPublicKey(_:)
type SecKeySizes ¶
type SecKeySizes int
See: https://developer.apple.com/documentation/Security/SecKeySizes
const ( // KSec3DES192: 192-bit DES. KSec3DES192 SecKeySizes = 192 // KSecAES128: 128-bit AES. KSecAES128 SecKeySizes = 128 // KSecAES256: 256-bit AES. KSecAES256 SecKeySizes = 256 // KSecDefaultKeySize: The default key size for the specified type. KSecDefaultKeySize SecKeySizes = 0 // KSecRSAMax: 4096 bits is the maximum size for an RSA key. KSecRSAMax SecKeySizes = 4096 // KSecRSAMin: 1024 bits is the minimum size for an RSA key. KSecRSAMin SecKeySizes = 1024 // KSecp384r1: 384-bit ECC Keys for Suite-B from RFC 4492 section 5.1.1. KSecp384r1 SecKeySizes = 384 // KSecp521r1: 521-bit ECC Keys for Suite-B from RFC 4492 section 5.1.1. KSecp521r1 SecKeySizes = 521 )
func (SecKeySizes) String ¶
func (e SecKeySizes) String() string
type SecKeyUsage ¶
type SecKeyUsage int
See: https://developer.apple.com/documentation/Security/SecKeyUsage
const ( // KSecKeyUsageAll: All flags set. KSecKeyUsageAll SecKeyUsage = 2147483647 // KSecKeyUsageCRLSign: The [CRLSign] bit is set in KeyUsage extension. KSecKeyUsageCRLSign SecKeyUsage = 64 // KSecKeyUsageContentCommitment: The [ContentCommitment] bit is set in KeyUsage extension. KSecKeyUsageContentCommitment SecKeyUsage = 2 // KSecKeyUsageCritical: The KeyUsage extension is marked critical. KSecKeyUsageCritical SecKeyUsage = 2147483648 // KSecKeyUsageDataEncipherment: The [DataEncipherment] bit is set in KeyUsage extension. KSecKeyUsageDataEncipherment SecKeyUsage = 8 // KSecKeyUsageDecipherOnly: The [DecipherOnly] bit is set in KeyUsage extension. KSecKeyUsageDecipherOnly SecKeyUsage = 256 // KSecKeyUsageDigitalSignature: The [DigitalSignature] bit is set in KeyUsage extension. KSecKeyUsageDigitalSignature SecKeyUsage = 1 // KSecKeyUsageEncipherOnly: The [EncipherOnly] bit is set in KeyUsage extension. KSecKeyUsageEncipherOnly SecKeyUsage = 128 // KSecKeyUsageKeyAgreement: The [KeyAgreement] bit is set in KeyUsage extension. KSecKeyUsageKeyAgreement SecKeyUsage = 16 // KSecKeyUsageKeyCertSign: The [KeyCertSign] bit is set in KeyUsage extension. KSecKeyUsageKeyCertSign SecKeyUsage = 32 // KSecKeyUsageKeyEncipherment: The [KeyEncipherment] bit is set in KeyUsage extension. KSecKeyUsageKeyEncipherment SecKeyUsage = 4 // KSecKeyUsageNonRepudiation: The [NonRepudiation] bit is set in KeyUsage extension. KSecKeyUsageNonRepudiation SecKeyUsage = 2 )
func (SecKeyUsage) String ¶
func (e SecKeyUsage) String() string
type SecKeychainAttrType ¶
type SecKeychainAttrType = uint32
SecKeychainAttrType is the keychain attribute type.
See: https://developer.apple.com/documentation/Security/SecKeychainAttrType
type SecKeychainAttribute ¶
type SecKeychainAttribute struct {
Data unsafe.Pointer // A pointer to the attribute data.
Length uint32 // The length of the buffer pointed to by data.
Tag SecKeychainAttrType // A 4-byte attribute tag.
}
SecKeychainAttribute - A structure that holds a single keychain attribute.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecKeychainAttribute
type SecKeychainAttributeInfo ¶
type SecKeychainAttributeInfo struct {
Count uint32 // The number of tag-format pairs in the respective arrays.
Format *uint32 // A pointer to the first attribute format in the array.
Tag *uint32 // A pointer to the first attribute tag in the array.
}
SecKeychainAttributeInfo - A structure that represents an attribute.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecKeychainAttributeInfo
type SecKeychainAttributeList ¶
type SecKeychainAttributeList struct {
Attr *SecKeychainAttribute // A pointer to the first keychain attribute in the array.
Count uint32 // The number of keychain attributes in the array.
}
SecKeychainAttributeList - A list of keychain attributes.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecKeychainAttributeList
type SecKeychainAttributePtr ¶
type SecKeychainAttributePtr = *SecKeychainAttribute
SecKeychainAttributePtr is a pointer to a keychain attribute structure.
See: https://developer.apple.com/documentation/Security/SecKeychainAttributePtr
type SecKeychainCallbackInfo ¶
type SecKeychainCallbackInfo struct {
Item SecKeychainItemRef // A reference to the keychain item in which the event occurred. If the event did not involve an item, this field is not valid.
Keychain SecKeychainRef // A reference to the keychain in which the event occurred. If the event did not involve a keychain, this field is not valid.
Pid int32 // The ID of the process that generated this event.
Version uint32 // The version of this structure.
}
SecKeychainCallbackInfo - Information about a keychain event that keychain services deliver to your app via a callback function.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecKeychainCallbackInfo
type SecKeychainEvent ¶
type SecKeychainEvent int
See: https://developer.apple.com/documentation/Security/SecKeychainEvent
const ( // KSecAddEvent: Indicates an item was added to a keychain. KSecAddEvent SecKeychainEvent = 3 // KSecDataAccessEvent: Indicates a process has accessed a keychain item’s data. KSecDataAccessEvent SecKeychainEvent = 10 // KSecDefaultChangedEvent: Indicates that a different keychain was specified as the default. KSecDefaultChangedEvent SecKeychainEvent = 9 // KSecDeleteEvent: Indicates an item was deleted from a keychain. KSecDeleteEvent SecKeychainEvent = 4 // KSecKeychainListChangedEvent: Indicates the list of keychains has changed. KSecKeychainListChangedEvent SecKeychainEvent = 11 // KSecLockEvent: Indicates a keychain was locked. KSecLockEvent SecKeychainEvent = 1 // KSecPasswordChangedEvent: Indicates the keychain password was changed. KSecPasswordChangedEvent SecKeychainEvent = 6 // KSecTrustSettingsChangedEvent: Indicates trust settings have changed. KSecTrustSettingsChangedEvent SecKeychainEvent = 12 // KSecUnlockEvent: Indicates a keychain was successfully unlocked. KSecUnlockEvent SecKeychainEvent = 2 // KSecUpdateEvent: Indicates a keychain item was updated. KSecUpdateEvent SecKeychainEvent = 5 )
func (SecKeychainEvent) String ¶
func (e SecKeychainEvent) String() string
type SecKeychainEventMask ¶
type SecKeychainEventMask int
See: https://developer.apple.com/documentation/Security/SecKeychainEventMask
const ( // KSecAddEventMask: If the bit specified by this mask is set, your callback function is invoked when an item is added to a keychain. KSecAddEventMask SecKeychainEventMask = 8 // KSecDefaultChangedEventMask: If the bit specified by this mask is set, your callback function is invoked when a different keychain is specified as the default. KSecDefaultChangedEventMask SecKeychainEventMask = 512 // KSecDeleteEventMask: If the bit specified by this mask is set, your callback function is invoked when an item is deleted from a keychain. KSecDeleteEventMask SecKeychainEventMask = 16 // KSecEveryEventMask: If all the bits are set, your callback function is invoked whenever any event occurs. KSecEveryEventMask SecKeychainEventMask = 4294967295 // KSecKeychainListChangedMask: If the bit specified by this mask is set, your callback function is invoked when a keychain list is changed. KSecKeychainListChangedMask SecKeychainEventMask = 2048 // KSecLockEventMask: If the bit specified by this mask is set, your callback function is invoked when a keychain is locked. KSecLockEventMask SecKeychainEventMask = 2 // KSecPasswordChangedEventMask: If the bit specified by this mask is set, your callback function is invoked when the keychain password is changed. KSecPasswordChangedEventMask SecKeychainEventMask = 64 // KSecTrustSettingsChangedEventMask: If the bit specified by this mask is set, your callback function is invoked when there is a change in certificate trust settings. KSecTrustSettingsChangedEventMask SecKeychainEventMask = 4096 // KSecUnlockEventMask: If the bit specified by this mask is set, your callback function is invoked when a keychain is unlocked. KSecUnlockEventMask SecKeychainEventMask = 4 // KSecUpdateEventMask: If the bit specified by this mask is set, your callback function is invoked when a keychain item is updated. KSecUpdateEventMask SecKeychainEventMask = 32 // Deprecated. KSecDataAccessEventMask SecKeychainEventMask = 1024 )
func (SecKeychainEventMask) String ¶
func (e SecKeychainEventMask) String() string
type SecKeychainItemRef ¶
type SecKeychainItemRef uintptr
SecKeychainItemRef is an opaque type that represents a keychain item.
See: https://developer.apple.com/documentation/Security/SecKeychainItem
type SecKeychainPromptSelector ¶
type SecKeychainPromptSelector int
See: https://developer.apple.com/documentation/Security/SecKeychainPromptSelector
const ( // KSecKeychainPromptInvalid: Indicates that a passphrase should be required when an application with an invalid signature attempts to use the keychain, overriding the system default. KSecKeychainPromptInvalid SecKeychainPromptSelector = 64 // KSecKeychainPromptInvalidAct: Indicates that a passphrase should be required when an application with an invalid signature attempts to use the keychain. KSecKeychainPromptInvalidAct SecKeychainPromptSelector = 128 // KSecKeychainPromptRequirePassphase: Indicates that a passphrase should be required for every access. KSecKeychainPromptRequirePassphase SecKeychainPromptSelector = 1 // KSecKeychainPromptUnsigned: Indicates that a passphrase should be required when an unsigned application attempts to use the keychain, overriding the system default. KSecKeychainPromptUnsigned SecKeychainPromptSelector = 16 // KSecKeychainPromptUnsignedAct: Indicates that a passphrase should be required when an unsigned application attempts to use the keychain. KSecKeychainPromptUnsignedAct SecKeychainPromptSelector = 32 )
func (SecKeychainPromptSelector) String ¶
func (e SecKeychainPromptSelector) String() string
type SecKeychainRef ¶
type SecKeychainRef uintptr
SecKeychainRef is an opaque type that represents a keychain.
See: https://developer.apple.com/documentation/Security/SecKeychain
type SecKeychainSearchRef ¶
type SecKeychainSearchRef uintptr
SecKeychainSearchRef is an opaque type that contains information about a keychain search.
See: https://developer.apple.com/documentation/Security/SecKeychainSearch
type SecKeychainSettings ¶
type SecKeychainSettings struct {
Version uint32 // The keychain version.
LockOnSleep bool // A Boolean value indicating whether the keychain locks when the system sleeps.
UseLockInterval bool // A Boolean value indicating whether the keychain automatically locks after a certain period of time.
LockInterval uint32 // The number of seconds to wait before the keychain locks.
}
SecKeychainSettings - A structure that contains information about keychain settings.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecKeychainSettings
type SecKeychainStatus ¶
type SecKeychainStatus = uint32
SecKeychainStatus is a value that defines the current status of a keychain.
See: https://developer.apple.com/documentation/Security/SecKeychainStatus
type SecMessageBlock ¶
type SecMessageBlock = func(unsafe.Pointer, objectivec.IObject, uint32)
SecMessageBlock is a block that delivers messages during asynchronous operations.
See: https://developer.apple.com/documentation/Security/SecMessageBlock
type SecPadding ¶
type SecPadding int
See: https://developer.apple.com/documentation/Security/SecPadding
const ( // Deprecated. KSecPaddingOAEP SecPadding = 2 // Deprecated. KSecPaddingPKCS1 SecPadding = 1 // Deprecated. KSecPaddingPKCS1MD2 SecPadding = 32768 // Deprecated. KSecPaddingPKCS1MD5 SecPadding = 32769 // Deprecated. KSecPaddingPKCS1SHA1 SecPadding = 32770 // Deprecated. KSecPaddingPKCS1SHA224 SecPadding = 32771 // Deprecated. KSecPaddingPKCS1SHA256 SecPadding = 32772 // Deprecated. KSecPaddingPKCS1SHA384 SecPadding = 32773 // Deprecated. KSecPaddingPKCS1SHA512 SecPadding = 32774 // Deprecated. KSecPaddingSigRaw SecPadding = 16384 )
func (SecPadding) String ¶
func (e SecPadding) String() string
type SecPasswordRef ¶
type SecPasswordRef uintptr
SecPasswordRef is contains information about a password.
See: https://developer.apple.com/documentation/Security/SecPassword
type SecPolicyRef ¶
type SecPolicyRef uintptr
SecPolicyRef is an object that represents a trust policy.
See: https://developer.apple.com/documentation/Security/SecPolicy
func SecPolicyCreateBasicX509 ¶
func SecPolicyCreateBasicX509() SecPolicyRef
SecPolicyCreateBasicX509 returns a policy object for the default X.509 policy.
See: https://developer.apple.com/documentation/Security/SecPolicyCreateBasicX509()
func SecPolicyCreateRevocation ¶
func SecPolicyCreateRevocation(revocationFlags uint64) SecPolicyRef
SecPolicyCreateRevocation returns a policy object for checking revocation of certificates.
See: https://developer.apple.com/documentation/Security/SecPolicyCreateRevocation(_:)
func SecPolicyCreateSSL ¶
func SecPolicyCreateSSL(server bool, hostname corefoundation.CFStringRef) SecPolicyRef
SecPolicyCreateSSL returns a policy object for evaluating SSL certificate chains.
See: https://developer.apple.com/documentation/Security/SecPolicyCreateSSL(_:_:)
func SecPolicyCreateWithOID
deprecated
func SecPolicyCreateWithOID(policyOID corefoundation.CFTypeRef) SecPolicyRef
SecPolicyCreateWithOID returns a policy object for the specified policy type object identifier.
Deprecated: Deprecated since macOS 10.9.
See: https://developer.apple.com/documentation/Security/SecPolicyCreateWithOID
func SecPolicyCreateWithProperties ¶
func SecPolicyCreateWithProperties(policyIdentifier corefoundation.CFTypeRef, properties corefoundation.CFDictionaryRef) SecPolicyRef
SecPolicyCreateWithProperties returns a policy object based on an object identifier for the policy type.
See: https://developer.apple.com/documentation/Security/SecPolicyCreateWithProperties(_:_:)
type SecPolicySearchRef ¶
type SecPolicySearchRef uintptr
SecPolicySearchRef is an object that contains information about a policy search.
See: https://developer.apple.com/documentation/Security/SecPolicySearch
type SecPreferencesDomain ¶
type SecPreferencesDomain int
See: https://developer.apple.com/documentation/Security/SecPreferencesDomain
const ( // KSecPreferencesDomainCommon: Indicates the preferences are common to everyone. KSecPreferencesDomainCommon SecPreferencesDomain = 2 // KSecPreferencesDomainDynamic: Indicates a dynamic search list (typically provided by removable keychains such as smart cards). KSecPreferencesDomainDynamic SecPreferencesDomain = 3 // KSecPreferencesDomainSystem: Indicates the system or daemon preference domain preferences. KSecPreferencesDomainSystem SecPreferencesDomain = 1 // KSecPreferencesDomainUser: Indicates the user preference domain preferences. KSecPreferencesDomainUser SecPreferencesDomain = 0 )
func (SecPreferencesDomain) String ¶
func (e SecPreferencesDomain) String() string
type SecProtocolType ¶
type SecProtocolType int
See: https://developer.apple.com/documentation/Security/SecProtocolType
const ( // KSecProtocolTypeAFP: Indicates AFP over TCP. KSecProtocolTypeAFP SecProtocolType = 'a'<<24 | 'f'<<16 | 'p'<<8 | ' ' // 'afp ' // KSecProtocolTypeAny: Indicates that any protocol is acceptable. KSecProtocolTypeAny SecProtocolType = 0 // KSecProtocolTypeAppleTalk: Indicates AFP over AppleTalk. KSecProtocolTypeAppleTalk SecProtocolType = 'a'<<24 | 't'<<16 | 'l'<<8 | 'k' // 'atlk' // KSecProtocolTypeCIFS: Indicates CIFS. KSecProtocolTypeCIFS SecProtocolType = 'c'<<24 | 'i'<<16 | 'f'<<8 | 's' // 'cifs' // KSecProtocolTypeCVSpserver: Indicates CVS pserver. KSecProtocolTypeCVSpserver SecProtocolType = 'c'<<24 | 'v'<<16 | 's'<<8 | 'p' // 'cvsp' // KSecProtocolTypeDAAP: Indicates DAAP. KSecProtocolTypeDAAP SecProtocolType = 'd'<<24 | 'a'<<16 | 'a'<<8 | 'p' // 'daap' // KSecProtocolTypeEPPC: Indicates Remote Apple Events. KSecProtocolTypeEPPC SecProtocolType = 'e'<<24 | 'p'<<16 | 'p'<<8 | 'c' // 'eppc' // KSecProtocolTypeFTP: Indicates FTP. KSecProtocolTypeFTP SecProtocolType = 'f'<<24 | 't'<<16 | 'p'<<8 | ' ' // 'ftp ' // KSecProtocolTypeFTPAccount: Indicates a client side FTP account. KSecProtocolTypeFTPAccount SecProtocolType = 'f'<<24 | 't'<<16 | 'p'<<8 | 'a' // 'ftpa' // KSecProtocolTypeFTPProxy: Indicates FTP proxy. KSecProtocolTypeFTPProxy SecProtocolType = 'f'<<24 | 't'<<16 | 'p'<<8 | 'x' // 'ftpx' // KSecProtocolTypeFTPS: Indicates FTP over TLS/SSL. KSecProtocolTypeFTPS SecProtocolType = 'f'<<24 | 't'<<16 | 'p'<<8 | 's' // 'ftps' // KSecProtocolTypeHTTP: Indicates HTTP. KSecProtocolTypeHTTP SecProtocolType = 'h'<<24 | 't'<<16 | 't'<<8 | 'p' // 'http' // KSecProtocolTypeHTTPProxy: Indicates HTTP proxy. KSecProtocolTypeHTTPProxy SecProtocolType = 'h'<<24 | 't'<<16 | 'p'<<8 | 'x' // 'htpx' // KSecProtocolTypeHTTPS: Indicates HTTP over TLS/SSL. KSecProtocolTypeHTTPS SecProtocolType = 'h'<<24 | 't'<<16 | 'p'<<8 | 's' // 'htps' // KSecProtocolTypeHTTPSProxy: Indicates HTTPS proxy. KSecProtocolTypeHTTPSProxy SecProtocolType = 'h'<<24 | 't'<<16 | 's'<<8 | 'x' // 'htsx' // KSecProtocolTypeIMAP: Indicates IMAP. KSecProtocolTypeIMAP SecProtocolType = 'i'<<24 | 'm'<<16 | 'a'<<8 | 'p' // 'imap' // KSecProtocolTypeIMAPS: Indicates IMAP4 over TLS/SSL. KSecProtocolTypeIMAPS SecProtocolType = 'i'<<24 | 'm'<<16 | 'p'<<8 | 's' // 'imps' // KSecProtocolTypeIPP: Indicates IPP. KSecProtocolTypeIPP SecProtocolType = 'i'<<24 | 'p'<<16 | 'p'<<8 | ' ' // 'ipp ' // KSecProtocolTypeIRC: Indicates IRC. KSecProtocolTypeIRC SecProtocolType = 'i'<<24 | 'r'<<16 | 'c'<<8 | ' ' // 'irc ' // KSecProtocolTypeIRCS: Indicates IRC over TLS/SSL. KSecProtocolTypeIRCS SecProtocolType = 'i'<<24 | 'r'<<16 | 'c'<<8 | 's' // 'ircs' // KSecProtocolTypeLDAP: Indicates LDAP. KSecProtocolTypeLDAP SecProtocolType = 'l'<<24 | 'd'<<16 | 'a'<<8 | 'p' // 'ldap' // KSecProtocolTypeLDAPS: Indicates LDAP over TLS/SSL. KSecProtocolTypeLDAPS SecProtocolType = 'l'<<24 | 'd'<<16 | 'p'<<8 | 's' // 'ldps' // KSecProtocolTypeNNTP: Indicates NNTP. KSecProtocolTypeNNTP SecProtocolType = 'n'<<24 | 'n'<<16 | 't'<<8 | 'p' // 'nntp' // KSecProtocolTypeNNTPS: Indicates NNTP over TLS/SSL. KSecProtocolTypeNNTPS SecProtocolType = 'n'<<24 | 't'<<16 | 'p'<<8 | 's' // 'ntps' // KSecProtocolTypePOP3: Indicates POP3. KSecProtocolTypePOP3 SecProtocolType = 'p'<<24 | 'o'<<16 | 'p'<<8 | '3' // 'pop3' // KSecProtocolTypePOP3S: Indicates POP3 over TLS/SSL. KSecProtocolTypePOP3S SecProtocolType = 'p'<<24 | 'o'<<16 | 'p'<<8 | 's' // 'pops' // KSecProtocolTypeRTSP: Indicates RTSP. KSecProtocolTypeRTSP SecProtocolType = 'r'<<24 | 't'<<16 | 's'<<8 | 'p' // 'rtsp' // KSecProtocolTypeRTSPProxy: Indicates RTSP proxy. KSecProtocolTypeRTSPProxy SecProtocolType = 'r'<<24 | 't'<<16 | 's'<<8 | 'x' // 'rtsx' // KSecProtocolTypeSMB: Indicates SMB. KSecProtocolTypeSMB SecProtocolType = 's'<<24 | 'm'<<16 | 'b'<<8 | ' ' // 'smb ' // KSecProtocolTypeSMTP: Indicates SMTP. KSecProtocolTypeSMTP SecProtocolType = 's'<<24 | 'm'<<16 | 't'<<8 | 'p' // 'smtp' // KSecProtocolTypeSOCKS: Indicates SOCKS. KSecProtocolTypeSOCKS SecProtocolType = 's'<<24 | 'o'<<16 | 'x'<<8 | ' ' // 'sox ' // KSecProtocolTypeSSH: Indicates SSH. KSecProtocolTypeSSH SecProtocolType = 's'<<24 | 's'<<16 | 'h'<<8 | ' ' // 'ssh ' // KSecProtocolTypeSVN: Indicates Subversion. KSecProtocolTypeSVN SecProtocolType = 's'<<24 | 'v'<<16 | 'n'<<8 | ' ' // 'svn ' // KSecProtocolTypeTelnet: Indicates Telnet. KSecProtocolTypeTelnet SecProtocolType = 't'<<24 | 'e'<<16 | 'l'<<8 | 'n' // 'teln' // KSecProtocolTypeTelnetS: Indicates Telnet over TLS/SSL. KSecProtocolTypeTelnetS SecProtocolType = 't'<<24 | 'e'<<16 | 'l'<<8 | 's' // 'tels' )
func (SecProtocolType) String ¶
func (e SecProtocolType) String() string
type SecPublicKeyHash ¶
type SecPublicKeyHash = uint8
SecPublicKeyHash is a container for a 20-byte public key hash.
See: https://developer.apple.com/documentation/Security/SecPublicKeyHash
type SecRandomRef ¶
type SecRandomRef uintptr
SecRandomRef is an abstract Core Foundation-type object containing information about a random number generator.
See: https://developer.apple.com/documentation/Security/SecRandomRef
var ( // KSecRandomDefault is an alias for the default random number generator. // // See: https://developer.apple.com/documentation/Security/kSecRandomDefault KSecRandomDefault SecRandomRef )
type SecRequirementRef ¶
type SecRequirementRef uintptr
SecRequirementRef is a code requirement object.
See: https://developer.apple.com/documentation/Security/SecRequirement
type SecRequirementType ¶
type SecRequirementType int
See: https://developer.apple.com/documentation/Security/SecRequirementType
const ( // KSecDesignatedRequirementType: A designated requirement. KSecDesignatedRequirementType SecRequirementType = 3 // KSecGuestRequirementType: What guests this code may run. KSecGuestRequirementType SecRequirementType = 2 // KSecHostRequirementType: What hosts may run this code. KSecHostRequirementType SecRequirementType = 1 // KSecInvalidRequirementType: Invalid type of requirement. KSecInvalidRequirementType SecRequirementType = 6 // KSecLibraryRequirementType: What libraries this code may link against. KSecLibraryRequirementType SecRequirementType = 4 // KSecPluginRequirementType: What plug-ins this code may load. KSecPluginRequirementType SecRequirementType = 5 )
func (SecRequirementType) String ¶
func (e SecRequirementType) String() string
type SecStaticCodeRef ¶
type SecStaticCodeRef uintptr
SecStaticCodeRef is a static code object representing signed code on disk.
See: https://developer.apple.com/documentation/Security/SecStaticCode
type SecTaskRef ¶
type SecTaskRef uintptr
SecTaskRef is the Core Foundation type representing a task.
See: https://developer.apple.com/documentation/Security/SecTask
func SecTaskCreateFromSelf ¶
func SecTaskCreateFromSelf(allocator corefoundation.CFAllocatorRef) SecTaskRef
SecTaskCreateFromSelf creates a task object for the current task.
See: https://developer.apple.com/documentation/Security/SecTaskCreateFromSelf(_:)
func SecTaskCreateWithAuditToken ¶
func SecTaskCreateWithAuditToken(allocator corefoundation.CFAllocatorRef, token uintptr) SecTaskRef
SecTaskCreateWithAuditToken creates a task object for the task that sent the Mach message represented by the audit token.
See: https://developer.apple.com/documentation/Security/SecTaskCreateWithAuditToken(_:_:)
type SecTransformDataBlock ¶
SecTransformDataBlock is a block used to override the default data handling for a transform.
See: https://developer.apple.com/documentation/Security/SecTransformDataBlock
type SecTransformImplementationRef ¶
type SecTransformImplementationRef uintptr
SecTransformImplementationRef is an opaque pointer to a block that implements an instance of a transform.
See: https://developer.apple.com/documentation/Security/SecTransformImplementationRef
type SecTransformInstanceBlock ¶
type SecTransformInstanceBlock = func() objectivec.IObject
SecTransformInstanceBlock is a block that you return from a transform creation function.
See: https://developer.apple.com/documentation/Security/SecTransformInstanceBlock
type SecTransformMetaAttributeType ¶
type SecTransformMetaAttributeType int
See: https://developer.apple.com/documentation/Security/SecTransformMetaAttributeType
const ( // KSecTransformMetaAttributeCanCycle: The transform allows cyclic behavior. KSecTransformMetaAttributeCanCycle SecTransformMetaAttributeType = 7 // KSecTransformMetaAttributeDeferred: The attribute defers notifications. KSecTransformMetaAttributeDeferred SecTransformMetaAttributeType = 5 // KSecTransformMetaAttributeExternalize: The attribute is exportable. KSecTransformMetaAttributeExternalize SecTransformMetaAttributeType = 8 // KSecTransformMetaAttributeHasInboundConnection: The attribute has an inbound connection. KSecTransformMetaAttributeHasInboundConnection SecTransformMetaAttributeType = 10 // KSecTransformMetaAttributeHasOutboundConnections: The attribute has an outbound connection. KSecTransformMetaAttributeHasOutboundConnections SecTransformMetaAttributeType = 9 // KSecTransformMetaAttributeName: The name of the attribute. KSecTransformMetaAttributeName SecTransformMetaAttributeType = 1 // KSecTransformMetaAttributeRef: A direct reference to an attribute’s value. KSecTransformMetaAttributeRef SecTransformMetaAttributeType = 2 // KSecTransformMetaAttributeRequired: Indicates whether the attribute value is optional. KSecTransformMetaAttributeRequired SecTransformMetaAttributeType = 3 // KSecTransformMetaAttributeRequiresOutboundConnection: The attribute requires an outbound connection. KSecTransformMetaAttributeRequiresOutboundConnection SecTransformMetaAttributeType = 4 // KSecTransformMetaAttributeStream: The attribute expects stream operation. KSecTransformMetaAttributeStream SecTransformMetaAttributeType = 6 // KSecTransformMetaAttributeValue: The actual value of the attribute. KSecTransformMetaAttributeValue SecTransformMetaAttributeType = 0 )
func (SecTransformMetaAttributeType) String ¶
func (e SecTransformMetaAttributeType) String() string
type SecTrustCallback ¶
type SecTrustCallback = func(objectivec.IObject, SecTrustResultType)
SecTrustCallback is a block called with the results of an asynchronous trust evaluation.
See: https://developer.apple.com/documentation/Security/SecTrustCallback
type SecTrustOptionFlags ¶
type SecTrustOptionFlags int
See: https://developer.apple.com/documentation/Security/SecTrustOptionFlags
const ( // KSecTrustOptionAllowExpired: Allow expired certificates (except for the root certificate). KSecTrustOptionAllowExpired SecTrustOptionFlags = 1 // KSecTrustOptionAllowExpiredRoot: Allow expired root certificates. KSecTrustOptionAllowExpiredRoot SecTrustOptionFlags = 8 // KSecTrustOptionFetchIssuerFromNet: Allow network downloads of CA certificates. KSecTrustOptionFetchIssuerFromNet SecTrustOptionFlags = 4 // KSecTrustOptionImplicitAnchors: Treat properly self-signed certificates as anchors implicitly. KSecTrustOptionImplicitAnchors SecTrustOptionFlags = 64 // KSecTrustOptionLeafIsCA: Allow CA certificates as leaf certificates. KSecTrustOptionLeafIsCA SecTrustOptionFlags = 2 // KSecTrustOptionRequireRevPerCert: Require a positive revocation check for each certificate. KSecTrustOptionRequireRevPerCert SecTrustOptionFlags = 16 // KSecTrustOptionUseTrustSettings: Use TrustSettings instead of anchors. KSecTrustOptionUseTrustSettings SecTrustOptionFlags = 32 )
func (SecTrustOptionFlags) String ¶
func (e SecTrustOptionFlags) String() string
type SecTrustRef ¶
type SecTrustRef uintptr
SecTrustRef is an object used to evaluate trust.
See: https://developer.apple.com/documentation/Security/SecTrust
func Sec_trust_copy_ref ¶
func Sec_trust_copy_ref(trust Sec_trust_t) SecTrustRef
Sec_trust_copy_ref.
See: https://developer.apple.com/documentation/Security/sec_trust_copy_ref(_:)
type SecTrustResultType ¶
type SecTrustResultType int
See: https://developer.apple.com/documentation/Security/SecTrustResultType
const ( // KSecTrustResultConfirm: User confirmation is required before proceeding. KSecTrustResultConfirm SecTrustResultType = 2 // KSecTrustResultDeny: The user specified that the certificate should not be trusted. KSecTrustResultDeny SecTrustResultType = 3 // KSecTrustResultFatalTrustFailure: Trust is denied and no simple fix is available. KSecTrustResultFatalTrustFailure SecTrustResultType = 6 // KSecTrustResultInvalid: An indication of an invalid setting or result. KSecTrustResultInvalid SecTrustResultType = 0 // KSecTrustResultOtherError: A value that indicates a failure other than trust evaluation. KSecTrustResultOtherError SecTrustResultType = 7 // KSecTrustResultProceed: The user granted permission to trust the certificate for the purposes designated in the specified policies. KSecTrustResultProceed SecTrustResultType = 1 // KSecTrustResultRecoverableTrustFailure: Trust is denied, but recovery may be possible. KSecTrustResultRecoverableTrustFailure SecTrustResultType = 5 // KSecTrustResultUnspecified: The user did not specify a trust setting. KSecTrustResultUnspecified SecTrustResultType = 4 )
func (SecTrustResultType) String ¶
func (e SecTrustResultType) String() string
type SecTrustSettingsDomain ¶
type SecTrustSettingsDomain int
See: https://developer.apple.com/documentation/Security/SecTrustSettingsDomain
const ( // KSecTrustSettingsDomainAdmin: Locally administered, system-wide trust settings. KSecTrustSettingsDomainAdmin SecTrustSettingsDomain = 1 // KSecTrustSettingsDomainSystem: System trust settings. KSecTrustSettingsDomainSystem SecTrustSettingsDomain = 2 // KSecTrustSettingsDomainUser: Per-user trust settings. KSecTrustSettingsDomainUser SecTrustSettingsDomain = 0 )
func (SecTrustSettingsDomain) String ¶
func (e SecTrustSettingsDomain) String() string
type SecTrustSettingsKeyUsage ¶
type SecTrustSettingsKeyUsage int
See: https://developer.apple.com/documentation/Security/SecTrustSettingsKeyUsage
const ( // KSecTrustSettingsKeyUseAny: The key can be used for any purpose. KSecTrustSettingsKeyUseAny SecTrustSettingsKeyUsage = 4294967295 // KSecTrustSettingsKeyUseEnDecryptData: The key can be used to encrypt or decrypt data. KSecTrustSettingsKeyUseEnDecryptData SecTrustSettingsKeyUsage = 2 // KSecTrustSettingsKeyUseEnDecryptKey: The key can be used to encrypt or decrypt (wrap or unwrap) a key. KSecTrustSettingsKeyUseEnDecryptKey SecTrustSettingsKeyUsage = 4 // KSecTrustSettingsKeyUseKeyExchange: The key is a private key that has been shared using a key exchange protocol, such as Diffie-Hellman key exchange. KSecTrustSettingsKeyUseKeyExchange SecTrustSettingsKeyUsage = 32 // KSecTrustSettingsKeyUseSignCert: The key can be used to sign a certificate or verify a signature. KSecTrustSettingsKeyUseSignCert SecTrustSettingsKeyUsage = 8 // KSecTrustSettingsKeyUseSignRevocation: The key can be used to sign an OCSP (online certificate status protocol) message or CRL (certificate verification list), or to verify a signature. KSecTrustSettingsKeyUseSignRevocation SecTrustSettingsKeyUsage = 16 // KSecTrustSettingsKeyUseSignature: The key can be used to sign data or verify a signature. KSecTrustSettingsKeyUseSignature SecTrustSettingsKeyUsage = 1 )
func (SecTrustSettingsKeyUsage) String ¶
func (e SecTrustSettingsKeyUsage) String() string
type SecTrustSettingsResult ¶
type SecTrustSettingsResult int
See: https://developer.apple.com/documentation/Security/SecTrustSettingsResult
const ( // KSecTrustSettingsResultDeny: This certificate is explicitly distrusted. KSecTrustSettingsResultDeny SecTrustSettingsResult = 3 // KSecTrustSettingsResultInvalid: Never valid in a trust settings array or in an API call. KSecTrustSettingsResultInvalid SecTrustSettingsResult = 0 // KSecTrustSettingsResultTrustAsRoot: This non-root certificate is explicitly trusted as if it were a trusted root. KSecTrustSettingsResultTrustAsRoot SecTrustSettingsResult = 2 // KSecTrustSettingsResultTrustRoot: This root certificate is explicitly trusted. KSecTrustSettingsResultTrustRoot SecTrustSettingsResult = 1 // KSecTrustSettingsResultUnspecified: This certificate is neither trusted nor distrusted. KSecTrustSettingsResultUnspecified SecTrustSettingsResult = 4 )
func (SecTrustSettingsResult) String ¶
func (e SecTrustSettingsResult) String() string
type SecTrustWithErrorCallback ¶
type SecTrustWithErrorCallback = func(objectivec.IObject, bool, objectivec.IObject)
SecTrustWithErrorCallback is a block called with the results of an asynchronous trust evaluation.
See: https://developer.apple.com/documentation/Security/SecTrustWithErrorCallback
type SecTrustedApplicationRef ¶
type SecTrustedApplicationRef uintptr
SecTrustedApplicationRef is an opaque type that contains information about a trusted app.
See: https://developer.apple.com/documentation/Security/SecTrustedApplication
type Sec_certificate_t ¶
type Sec_certificate_t = objectivec.Object
See: https://developer.apple.com/documentation/Security/sec_certificate_t
func Sec_certificate_create ¶
func Sec_certificate_create(certificate SecCertificateRef) Sec_certificate_t
Sec_certificate_create.
See: https://developer.apple.com/documentation/Security/sec_certificate_create(_:)
type Sec_identity_t ¶
type Sec_identity_t = objectivec.Object
See: https://developer.apple.com/documentation/Security/sec_identity_t
func Sec_identity_create ¶
func Sec_identity_create(identity SecIdentityRef) Sec_identity_t
Sec_identity_create.
See: https://developer.apple.com/documentation/Security/sec_identity_create(_:)
func Sec_identity_create_with_certificates ¶
func Sec_identity_create_with_certificates(identity SecIdentityRef, certificates corefoundation.CFArrayRef) Sec_identity_t
Sec_identity_create_with_certificates.
See: https://developer.apple.com/documentation/Security/sec_identity_create_with_certificates(_:_:)
type Sec_object_t ¶
type Sec_object_t = objectivec.Object
Sec_object_t is a `sec_object` is a generic, ARC-able type wrapper for common CoreFoundation Security types.
See: https://developer.apple.com/documentation/Security/sec_object_t
type Sec_protocol_challenge_complete_t ¶
type Sec_protocol_challenge_complete_t = func(objectivec.Object)
See: https://developer.apple.com/documentation/Security/sec_protocol_challenge_complete_t
type Sec_protocol_challenge_t ¶
type Sec_protocol_challenge_t = func(*objectivec.Object)
See: https://developer.apple.com/documentation/Security/sec_protocol_challenge_t
type Sec_protocol_key_update_complete_t ¶
type Sec_protocol_key_update_complete_t = func()
See: https://developer.apple.com/documentation/Security/sec_protocol_key_update_complete_t
type Sec_protocol_key_update_t ¶
type Sec_protocol_key_update_t = func(*objectivec.Object)
See: https://developer.apple.com/documentation/Security/sec_protocol_key_update_t
type Sec_protocol_metadata_t ¶
type Sec_protocol_metadata_t = objectivec.Object
Sec_protocol_metadata_t is a `sec_protocol_metadata` instance conatins read-only properties of a connected and configured security protocol. Clients use this object to read information about a protocol instance. Properties include, for example, the negotiated TLS version, ciphersuite, and peer certificates.
See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_t
type Sec_protocol_options_t ¶
type Sec_protocol_options_t = objectivec.Object
Sec_protocol_options_t is a `sec_protocol_options` instance is a container of options for security protocol instances, such as TLS. Protocol options are used to configure security protocols in the network stack. For example, clients may set the maximum and minimum allowed TLS versions through protocol options.
See: https://developer.apple.com/documentation/Security/sec_protocol_options_t
type Sec_protocol_pre_shared_key_selection_complete_t ¶
type Sec_protocol_pre_shared_key_selection_complete_t = func(objectivec.Object)
See: https://developer.apple.com/documentation/Security/sec_protocol_pre_shared_key_selection_complete_t
type Sec_protocol_pre_shared_key_selection_t ¶
type Sec_protocol_pre_shared_key_selection_t = func(*objectivec.Object)
See: https://developer.apple.com/documentation/Security/sec_protocol_pre_shared_key_selection_t
type Sec_protocol_verify_complete_t ¶
type Sec_protocol_verify_complete_t = func(bool)
See: https://developer.apple.com/documentation/Security/sec_protocol_verify_complete_t
type Sec_protocol_verify_t ¶
type Sec_protocol_verify_t = func(*objectivec.Object)
See: https://developer.apple.com/documentation/Security/sec_protocol_verify_t
type Sec_trust_t ¶
type Sec_trust_t = objectivec.Object
Sec_trust_t is these are os_object compatible and ARC-able wrappers around existing CoreFoundation Security types, including: SecTrustRef, SecIdentityRef, and SecCertificateRef. They allow clients to use these types in os_object-type APIs and data structures. The underlying CoreFoundation types may be extracted and used by clients as needed.
See: https://developer.apple.com/documentation/Security/sec_trust_t
func Sec_trust_create ¶
func Sec_trust_create(trust SecTrustRef) Sec_trust_t
Sec_trust_create.
See: https://developer.apple.com/documentation/Security/sec_trust_create(_:)
type SecureDownloadRef ¶
type SecureDownloadRef uintptr
SecureDownloadRef is an opaque type representing a secure download object.
See: https://developer.apple.com/documentation/Security/SecureDownloadRef
type SecureDownloadTrustCallbackResult ¶
type SecureDownloadTrustCallbackResult int
See: https://developer.apple.com/documentation/Security/SecureDownloadTrustCallbackResult
type SecuritySessionId ¶
type SecuritySessionId = uint32
SecuritySessionId is a type that contains an authorization session identifier.
See: https://developer.apple.com/documentation/Security/SecuritySessionId
type SessionAttributeBits ¶
type SessionAttributeBits int
See: https://developer.apple.com/documentation/Security/SessionAttributeBits
const ( // SessionHasGraphicAccess: A bit that indicates a graphic subsystem is available. SessionHasGraphicAccess SessionAttributeBits = 16 // SessionHasTTY: A bit that indicates `/dev/tty` is available. SessionHasTTY SessionAttributeBits = 32 // SessionIsRemote: A bit that indicates the session was initiated over the network. SessionIsRemote SessionAttributeBits = 4096 // SessionIsRoot: A bit that indicates the session is the root session. SessionIsRoot SessionAttributeBits = 1 )
func (SessionAttributeBits) String ¶
func (e SessionAttributeBits) String() string
type SessionCreationFlags ¶
type SessionCreationFlags int
See: https://developer.apple.com/documentation/Security/SessionCreationFlags
const ( // SessionKeepCurrentBootstrap: The caller has allocated sub-bootstrap. SessionKeepCurrentBootstrap SessionCreationFlags = 32768 )
func (SessionCreationFlags) String ¶
func (e SessionCreationFlags) String() string
type Tls_ciphersuite_group_t ¶
type Tls_ciphersuite_group_t int
See: https://developer.apple.com/documentation/Security/tls_ciphersuite_group_t
type Tls_ciphersuite_t ¶
type Tls_ciphersuite_t int
See: https://developer.apple.com/documentation/Security/tls_ciphersuite_t
type Tls_protocol_version_t ¶
type Tls_protocol_version_t int
See: https://developer.apple.com/documentation/Security/tls_protocol_version_t
const ( // Tls_protocol_version_DTLSv10: The DTLS 1.0 protocol. Tls_protocol_version_DTLSv10 Tls_protocol_version_t = 65279 // Tls_protocol_version_DTLSv12: The DTLS 1.2 protocol. Tls_protocol_version_DTLSv12 Tls_protocol_version_t = 65277 // Tls_protocol_version_TLSv10: The TLS 1.0 protocol. Tls_protocol_version_TLSv10 Tls_protocol_version_t = 769 // Tls_protocol_version_TLSv11: The TLS 1.1 protocol. Tls_protocol_version_TLSv11 Tls_protocol_version_t = 770 // Tls_protocol_version_TLSv12: The TLS 1.2 protocol. Tls_protocol_version_TLSv12 Tls_protocol_version_t = 771 // Tls_protocol_version_TLSv13: The TLS 1.3 protocol. Tls_protocol_version_TLSv13 Tls_protocol_version_t = 772 )
func (Tls_protocol_version_t) String ¶
func (e Tls_protocol_version_t) String() string
type X509_validity ¶
X509_validity
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/x509_validity
Source Files
¶
- doc.gen.go
- enums.gen.go
- functions.gen.go
- generate.go
- global_vars.gen.go
- os_sec_certificate_protocol.gen.go
- os_sec_identity_protocol.gen.go
- os_sec_object_protocol.gen.go
- os_sec_protocol_metadata_protocol.gen.go
- os_sec_protocol_options_protocol.gen.go
- os_sec_trust_protocol.gen.go
- typedefs.gen.go
- types.gen.go
- undefined_types.gen.go