security

package
v0.6.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Authorization and authentication

Secure data

Secure code

Launch environment constraints

Cryptography

Result codes

Legacy interfaces

Variables

Functions

Enumerations

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ADC_CERT_POLICY
	CSSMOID_ADC_CERT_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AD_CA_ISSUERS
	CSSMOID_AD_CA_ISSUERS unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AD_CA_REPOSITORY
	CSSMOID_AD_CA_REPOSITORY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AD_OCSP
	CSSMOID_AD_OCSP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AD_TIME_STAMPING
	CSSMOID_AD_TIME_STAMPING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_EPHEM
	CSSMOID_ANSI_DH_EPHEM unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_EPHEM_SHA1
	CSSMOID_ANSI_DH_EPHEM_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_HYBRID1
	CSSMOID_ANSI_DH_HYBRID1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_HYBRID1_SHA1
	CSSMOID_ANSI_DH_HYBRID1_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_HYBRID2
	CSSMOID_ANSI_DH_HYBRID2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_HYBRID2_SHA1
	CSSMOID_ANSI_DH_HYBRID2_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_HYBRID_ONEFLOW
	CSSMOID_ANSI_DH_HYBRID_ONEFLOW unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_ONE_FLOW
	CSSMOID_ANSI_DH_ONE_FLOW unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_ONE_FLOW_SHA1
	CSSMOID_ANSI_DH_ONE_FLOW_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_PUB_NUMBER
	CSSMOID_ANSI_DH_PUB_NUMBER unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_STATIC
	CSSMOID_ANSI_DH_STATIC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_DH_STATIC_SHA1
	CSSMOID_ANSI_DH_STATIC_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_MQV1
	CSSMOID_ANSI_MQV1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_MQV1_SHA1
	CSSMOID_ANSI_MQV1_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_MQV2
	CSSMOID_ANSI_MQV2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ANSI_MQV2_SHA1
	CSSMOID_ANSI_MQV2_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLEID_CERT_POLICY
	CSSMOID_APPLEID_CERT_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLEID_SHARING_CERT_POLICY
	CSSMOID_APPLEID_SHARING_CERT_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_ASC
	CSSMOID_APPLE_ASC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_CERT_POLICY
	CSSMOID_APPLE_CERT_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_ECDSA
	CSSMOID_APPLE_ECDSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_CODE_SIGNING
	CSSMOID_APPLE_EKU_CODE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_CODE_SIGNING_DEV
	CSSMOID_APPLE_EKU_CODE_SIGNING_DEV unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_ICHAT_ENCRYPTION
	CSSMOID_APPLE_EKU_ICHAT_ENCRYPTION unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_ICHAT_SIGNING
	CSSMOID_APPLE_EKU_ICHAT_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_PASSBOOK_SIGNING
	CSSMOID_APPLE_EKU_PASSBOOK_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_PROFILE_SIGNING
	CSSMOID_APPLE_EKU_PROFILE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_QA_PROFILE_SIGNING
	CSSMOID_APPLE_EKU_QA_PROFILE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_RESOURCE_SIGNING
	CSSMOID_APPLE_EKU_RESOURCE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EKU_SYSTEM_IDENTITY
	CSSMOID_APPLE_EKU_SYSTEM_IDENTITY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION
	CSSMOID_APPLE_EXTENSION unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_AAI_INTERMEDIATE
	CSSMOID_APPLE_EXTENSION_AAI_INTERMEDIATE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_ADC_APPLE_SIGNING
	CSSMOID_APPLE_EXTENSION_ADC_APPLE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_ADC_DEV_SIGNING
	CSSMOID_APPLE_EXTENSION_ADC_DEV_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_APPLEID_INTERMEDIATE
	CSSMOID_APPLE_EXTENSION_APPLEID_INTERMEDIATE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_APPLEID_SHARING
	CSSMOID_APPLE_EXTENSION_APPLEID_SHARING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_APPLE_SIGNING
	CSSMOID_APPLE_EXTENSION_APPLE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_CODE_SIGNING
	CSSMOID_APPLE_EXTENSION_CODE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_DEVELOPER_AUTHENTICATION
	CSSMOID_APPLE_EXTENSION_DEVELOPER_AUTHENTICATION unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_ESCROW_SERVICE
	CSSMOID_APPLE_EXTENSION_ESCROW_SERVICE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_INTERMEDIATE_MARKER
	CSSMOID_APPLE_EXTENSION_INTERMEDIATE_MARKER unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_ITMS_INTERMEDIATE
	CSSMOID_APPLE_EXTENSION_ITMS_INTERMEDIATE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_MACAPPSTORE_RECEIPT
	CSSMOID_APPLE_EXTENSION_MACAPPSTORE_RECEIPT unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_PASSBOOK_SIGNING
	CSSMOID_APPLE_EXTENSION_PASSBOOK_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_PROVISIONING_PROFILE_SIGNING
	CSSMOID_APPLE_EXTENSION_PROVISIONING_PROFILE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_SERVER_AUTHENTICATION
	CSSMOID_APPLE_EXTENSION_SERVER_AUTHENTICATION unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_SYSINT2_INTERMEDIATE
	CSSMOID_APPLE_EXTENSION_SYSINT2_INTERMEDIATE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_EXTENSION_WWDR_INTERMEDIATE
	CSSMOID_APPLE_EXTENSION_WWDR_INTERMEDIATE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_FEE
	CSSMOID_APPLE_FEE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_FEED
	CSSMOID_APPLE_FEED unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_FEEDEXP
	CSSMOID_APPLE_FEEDEXP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_FEE_MD5
	CSSMOID_APPLE_FEE_MD5 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_FEE_SHA1
	CSSMOID_APPLE_FEE_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_ISIGN
	CSSMOID_APPLE_ISIGN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_APPLEID_SHARING
	CSSMOID_APPLE_TP_APPLEID_SHARING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_CODE_SIGN
	CSSMOID_APPLE_TP_CODE_SIGN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_CODE_SIGNING
	CSSMOID_APPLE_TP_CODE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_CSR_GEN
	CSSMOID_APPLE_TP_CSR_GEN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_EAP
	CSSMOID_APPLE_TP_EAP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_ESCROW_SERVICE
	CSSMOID_APPLE_TP_ESCROW_SERVICE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_ICHAT
	CSSMOID_APPLE_TP_ICHAT unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_IP_SEC
	CSSMOID_APPLE_TP_IP_SEC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_LOCAL_CERT_GEN
	CSSMOID_APPLE_TP_LOCAL_CERT_GEN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_MACAPPSTORE_RECEIPT
	CSSMOID_APPLE_TP_MACAPPSTORE_RECEIPT unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_MOBILE_STORE
	CSSMOID_APPLE_TP_MOBILE_STORE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_PACKAGE_SIGNING
	CSSMOID_APPLE_TP_PACKAGE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_PASSBOOK_SIGNING
	CSSMOID_APPLE_TP_PASSBOOK_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_PCS_ESCROW_SERVICE
	CSSMOID_APPLE_TP_PCS_ESCROW_SERVICE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_PKINIT_CLIENT
	CSSMOID_APPLE_TP_PKINIT_CLIENT unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_PKINIT_SERVER
	CSSMOID_APPLE_TP_PKINIT_SERVER unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_PROFILE_SIGNING
	CSSMOID_APPLE_TP_PROFILE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_PROVISIONING_PROFILE_SIGNING
	CSSMOID_APPLE_TP_PROVISIONING_PROFILE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_QA_PROFILE_SIGNING
	CSSMOID_APPLE_TP_QA_PROFILE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_RESOURCE_SIGN
	CSSMOID_APPLE_TP_RESOURCE_SIGN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_REVOCATION
	CSSMOID_APPLE_TP_REVOCATION unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_REVOCATION_CRL
	CSSMOID_APPLE_TP_REVOCATION_CRL unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_REVOCATION_OCSP
	CSSMOID_APPLE_TP_REVOCATION_OCSP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_SMIME
	CSSMOID_APPLE_TP_SMIME unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_SSL
	CSSMOID_APPLE_TP_SSL unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_SW_UPDATE_SIGNING
	CSSMOID_APPLE_TP_SW_UPDATE_SIGNING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_TEST_MOBILE_STORE
	CSSMOID_APPLE_TP_TEST_MOBILE_STORE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_TP_TIMESTAMPING
	CSSMOID_APPLE_TP_TIMESTAMPING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_APPLE_X509_BASIC
	CSSMOID_APPLE_X509_BASIC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AliasedEntryName
	CSSMOID_AliasedEntryName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AuthorityInfoAccess
	CSSMOID_AuthorityInfoAccess unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AuthorityKeyIdentifier
	CSSMOID_AuthorityKeyIdentifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_AuthorityRevocationList
	CSSMOID_AuthorityRevocationList unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_BasicConstraints
	CSSMOID_BasicConstraints unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_BiometricInfo
	CSSMOID_BiometricInfo unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_BusinessCategory
	CSSMOID_BusinessCategory unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CACertificate
	CSSMOID_CACertificate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CSSMKeyStruct
	CSSMOID_CSSMKeyStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CertIssuer
	CSSMOID_CertIssuer unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Certicom
	CSSMOID_Certicom unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CerticomEllCurve
	CSSMOID_CerticomEllCurve unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CertificatePolicies
	CSSMOID_CertificatePolicies unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CertificateRevocationList
	CSSMOID_CertificateRevocationList unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ChallengePassword
	CSSMOID_ChallengePassword unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ClientAuth
	CSSMOID_ClientAuth unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveFacsimileTelephoneNumber
	CSSMOID_CollectiveFacsimileTelephoneNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveInternationalISDNNumber
	CSSMOID_CollectiveInternationalISDNNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveOrganizationName
	CSSMOID_CollectiveOrganizationName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveOrganizationalUnitName
	CSSMOID_CollectiveOrganizationalUnitName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectivePhysicalDeliveryOfficeName
	CSSMOID_CollectivePhysicalDeliveryOfficeName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectivePostOfficeBox
	CSSMOID_CollectivePostOfficeBox unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectivePostalAddress
	CSSMOID_CollectivePostalAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectivePostalCode
	CSSMOID_CollectivePostalCode unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveStateProvinceName
	CSSMOID_CollectiveStateProvinceName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveStreetAddress
	CSSMOID_CollectiveStreetAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveTelephoneNumber
	CSSMOID_CollectiveTelephoneNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveTelexNumber
	CSSMOID_CollectiveTelexNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CollectiveTelexTerminalIdentifier
	CSSMOID_CollectiveTelexTerminalIdentifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CommonName
	CSSMOID_CommonName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ContentType
	CSSMOID_ContentType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CounterSignature
	CSSMOID_CounterSignature unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CountryName
	CSSMOID_CountryName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CrlDistributionPoints
	CSSMOID_CrlDistributionPoints unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CrlNumber
	CSSMOID_CrlNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CrlReason
	CSSMOID_CrlReason unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_CrossCertificatePair
	CSSMOID_CrossCertificatePair unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DES_CBC
	CSSMOID_DES_CBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DH
	CSSMOID_DH unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DNQualifier
	CSSMOID_DNQualifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT
	CSSMOID_DOTMAC_CERT unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_EMAIL_ENCRYPT
	CSSMOID_DOTMAC_CERT_EMAIL_ENCRYPT unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_EMAIL_SIGN
	CSSMOID_DOTMAC_CERT_EMAIL_SIGN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_EXTENSION
	CSSMOID_DOTMAC_CERT_EXTENSION unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_IDENTITY
	CSSMOID_DOTMAC_CERT_IDENTITY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_POLICY
	CSSMOID_DOTMAC_CERT_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ
	CSSMOID_DOTMAC_CERT_REQ unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_FETCH
	CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_FETCH unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_LIST
	CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_LIST unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_REMOVE
	CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_REMOVE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_STORE
	CSSMOID_DOTMAC_CERT_REQ_ARCHIVE_STORE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_EMAIL_ENCRYPT
	CSSMOID_DOTMAC_CERT_REQ_EMAIL_ENCRYPT unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_EMAIL_SIGN
	CSSMOID_DOTMAC_CERT_REQ_EMAIL_SIGN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_IDENTITY
	CSSMOID_DOTMAC_CERT_REQ_IDENTITY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_SHARED_SERVICES
	CSSMOID_DOTMAC_CERT_REQ_SHARED_SERVICES unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_VALUE_ASYNC
	CSSMOID_DOTMAC_CERT_REQ_VALUE_ASYNC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_VALUE_HOSTNAME
	CSSMOID_DOTMAC_CERT_REQ_VALUE_HOSTNAME unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_VALUE_IS_PENDING
	CSSMOID_DOTMAC_CERT_REQ_VALUE_IS_PENDING unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_VALUE_PASSWORD
	CSSMOID_DOTMAC_CERT_REQ_VALUE_PASSWORD unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_VALUE_RENEW
	CSSMOID_DOTMAC_CERT_REQ_VALUE_RENEW unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DOTMAC_CERT_REQ_VALUE_USERNAME
	CSSMOID_DOTMAC_CERT_REQ_VALUE_USERNAME unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DSA
	CSSMOID_DSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DSA_CMS
	CSSMOID_DSA_CMS unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DSA_JDK
	CSSMOID_DSA_JDK unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DeltaCrlIndicator
	CSSMOID_DeltaCrlIndicator unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Description
	CSSMOID_Description unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DestinationIndicator
	CSSMOID_DestinationIndicator unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DistinguishedName
	CSSMOID_DistinguishedName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_DomainComponent
	CSSMOID_DomainComponent unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ECDSA_WithSHA1
	CSSMOID_ECDSA_WithSHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ECDSA_WithSHA224
	CSSMOID_ECDSA_WithSHA224 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ECDSA_WithSHA256
	CSSMOID_ECDSA_WithSHA256 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ECDSA_WithSHA384
	CSSMOID_ECDSA_WithSHA384 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ECDSA_WithSHA512
	CSSMOID_ECDSA_WithSHA512 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ECDSA_WithSpecified
	CSSMOID_ECDSA_WithSpecified unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_EKU_IPSec
	CSSMOID_EKU_IPSec unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ETSI_QCS_QC_COMPLIANCE
	CSSMOID_ETSI_QCS_QC_COMPLIANCE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ETSI_QCS_QC_LIMIT_VALUE
	CSSMOID_ETSI_QCS_QC_LIMIT_VALUE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ETSI_QCS_QC_RETENTION
	CSSMOID_ETSI_QCS_QC_RETENTION unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ETSI_QCS_QC_SSCD
	CSSMOID_ETSI_QCS_QC_SSCD unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_EmailAddress
	CSSMOID_EmailAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_EmailProtection
	CSSMOID_EmailProtection unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_EnhancedSearchGuide
	CSSMOID_EnhancedSearchGuide unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ExtendedCertificateAttributes
	CSSMOID_ExtendedCertificateAttributes unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ExtendedKeyUsage
	CSSMOID_ExtendedKeyUsage unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ExtendedKeyUsageAny
	CSSMOID_ExtendedKeyUsageAny unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ExtendedUseCodeSigning
	CSSMOID_ExtendedUseCodeSigning unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_FacsimileTelephoneNumber
	CSSMOID_FacsimileTelephoneNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_GenerationQualifier
	CSSMOID_GenerationQualifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_GivenName
	CSSMOID_GivenName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_HoldInstructionCode
	CSSMOID_HoldInstructionCode unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_HouseIdentifier
	CSSMOID_HouseIdentifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_InhibitAnyPolicy
	CSSMOID_InhibitAnyPolicy unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Initials
	CSSMOID_Initials unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_InternationalISDNNumber
	CSSMOID_InternationalISDNNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_InvalidityDate
	CSSMOID_InvalidityDate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_IssuerAltName
	CSSMOID_IssuerAltName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_IssuingDistributionPoint
	CSSMOID_IssuingDistributionPoint unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_IssuingDistributionPoints
	CSSMOID_IssuingDistributionPoints unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_KERBv5_PKINIT_AUTH_DATA
	CSSMOID_KERBv5_PKINIT_AUTH_DATA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_KERBv5_PKINIT_DH_KEY_DATA
	CSSMOID_KERBv5_PKINIT_DH_KEY_DATA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_KERBv5_PKINIT_KP_CLIENT_AUTH
	CSSMOID_KERBv5_PKINIT_KP_CLIENT_AUTH unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_KERBv5_PKINIT_KP_KDC
	CSSMOID_KERBv5_PKINIT_KP_KDC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_KERBv5_PKINIT_RKEY_DATA
	CSSMOID_KERBv5_PKINIT_RKEY_DATA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_KeyUsage
	CSSMOID_KeyUsage unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_KnowledgeInformation
	CSSMOID_KnowledgeInformation unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_LocalityName
	CSSMOID_LocalityName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MACAPPSTORE_CERT_POLICY
	CSSMOID_MACAPPSTORE_CERT_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MACAPPSTORE_RECEIPT_CERT_POLICY
	CSSMOID_MACAPPSTORE_RECEIPT_CERT_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MD2
	CSSMOID_MD2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MD2WithRSA
	CSSMOID_MD2WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MD4
	CSSMOID_MD4 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MD4WithRSA
	CSSMOID_MD4WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MD5
	CSSMOID_MD5 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MD5WithRSA
	CSSMOID_MD5WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MOBILE_STORE_SIGNING_POLICY
	CSSMOID_MOBILE_STORE_SIGNING_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Member
	CSSMOID_Member unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MessageDigest
	CSSMOID_MessageDigest unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_MicrosoftSGC
	CSSMOID_MicrosoftSGC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Name
	CSSMOID_Name unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_NameConstraints
	CSSMOID_NameConstraints unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_NetscapeCertSequence
	CSSMOID_NetscapeCertSequence unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_NetscapeCertType
	CSSMOID_NetscapeCertType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_NetscapeSGC
	CSSMOID_NetscapeSGC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_OAEP_ID_PSPECIFIED
	CSSMOID_OAEP_ID_PSPECIFIED unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_OAEP_MGF1
	CSSMOID_OAEP_MGF1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_OCSPSigning
	CSSMOID_OCSPSigning unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_OID_QCS_SYNTAX_V1
	CSSMOID_OID_QCS_SYNTAX_V1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_OID_QCS_SYNTAX_V2
	CSSMOID_OID_QCS_SYNTAX_V2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ObjectClass
	CSSMOID_ObjectClass unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_OrganizationName
	CSSMOID_OrganizationName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_OrganizationalUnitName
	CSSMOID_OrganizationalUnitName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Owner
	CSSMOID_Owner unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PDA_COUNTRY_CITIZEN
	CSSMOID_PDA_COUNTRY_CITIZEN unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PDA_COUNTRY_RESIDENCE
	CSSMOID_PDA_COUNTRY_RESIDENCE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PDA_DATE_OF_BIRTH
	CSSMOID_PDA_DATE_OF_BIRTH unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PDA_GENDER
	CSSMOID_PDA_GENDER unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PDA_PLACE_OF_BIRTH
	CSSMOID_PDA_PLACE_OF_BIRTH unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_certBag
	CSSMOID_PKCS12_certBag unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_crlBag
	CSSMOID_PKCS12_crlBag unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_keyBag
	CSSMOID_PKCS12_keyBag unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_pbeWithSHAAnd128BitRC2CBC
	CSSMOID_PKCS12_pbeWithSHAAnd128BitRC2CBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_pbeWithSHAAnd128BitRC4
	CSSMOID_PKCS12_pbeWithSHAAnd128BitRC4 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_pbeWithSHAAnd2Key3DESCBC
	CSSMOID_PKCS12_pbeWithSHAAnd2Key3DESCBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_pbeWithSHAAnd3Key3DESCBC
	CSSMOID_PKCS12_pbeWithSHAAnd3Key3DESCBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_pbeWithSHAAnd40BitRC4
	CSSMOID_PKCS12_pbeWithSHAAnd40BitRC4 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_pbewithSHAAnd40BitRC2CBC
	CSSMOID_PKCS12_pbewithSHAAnd40BitRC2CBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_safeContentsBag
	CSSMOID_PKCS12_safeContentsBag unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_secretBag
	CSSMOID_PKCS12_secretBag unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS12_shroudedKeyBag
	CSSMOID_PKCS12_shroudedKeyBag unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS3
	CSSMOID_PKCS3 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_DES_EDE3_CBC
	CSSMOID_PKCS5_DES_EDE3_CBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_DIGEST_ALG
	CSSMOID_PKCS5_DIGEST_ALG unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_ENCRYPT_ALG
	CSSMOID_PKCS5_ENCRYPT_ALG unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_HMAC_SHA1
	CSSMOID_PKCS5_HMAC_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_PBES2
	CSSMOID_PKCS5_PBES2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_PBKDF2
	CSSMOID_PKCS5_PBKDF2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_PBMAC1
	CSSMOID_PKCS5_PBMAC1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_RC2_CBC
	CSSMOID_PKCS5_RC2_CBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_RC5_CBC
	CSSMOID_PKCS5_RC5_CBC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_pbeWithMD2AndDES
	CSSMOID_PKCS5_pbeWithMD2AndDES unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_pbeWithMD2AndRC2
	CSSMOID_PKCS5_pbeWithMD2AndRC2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_pbeWithMD5AndDES
	CSSMOID_PKCS5_pbeWithMD5AndDES unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_pbeWithMD5AndRC2
	CSSMOID_PKCS5_pbeWithMD5AndRC2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_pbeWithSHA1AndDES
	CSSMOID_PKCS5_pbeWithSHA1AndDES unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS5_pbeWithSHA1AndRC2
	CSSMOID_PKCS5_pbeWithSHA1AndRC2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_Data
	CSSMOID_PKCS7_Data unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_DataWithAttributes
	CSSMOID_PKCS7_DataWithAttributes unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_DigestedData
	CSSMOID_PKCS7_DigestedData unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_EncryptedData
	CSSMOID_PKCS7_EncryptedData unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_EncryptedPrivateKeyInfo
	CSSMOID_PKCS7_EncryptedPrivateKeyInfo unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_EnvelopedData
	CSSMOID_PKCS7_EnvelopedData unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_SignedAndEnvelopedData
	CSSMOID_PKCS7_SignedAndEnvelopedData unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS7_SignedData
	CSSMOID_PKCS7_SignedData unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_CertTypes
	CSSMOID_PKCS9_CertTypes unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_CrlTypes
	CSSMOID_PKCS9_CrlTypes unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_FriendlyName
	CSSMOID_PKCS9_FriendlyName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_Id_Ct_TSTInfo
	CSSMOID_PKCS9_Id_Ct_TSTInfo unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_LocalKeyId
	CSSMOID_PKCS9_LocalKeyId unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_SdsiCertificate
	CSSMOID_PKCS9_SdsiCertificate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_TimeStampToken
	CSSMOID_PKCS9_TimeStampToken unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_X509Certificate
	CSSMOID_PKCS9_X509Certificate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKCS9_X509Crl
	CSSMOID_PKCS9_X509Crl unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP
	CSSMOID_PKIX_OCSP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP_ARCHIVE_CUTOFF
	CSSMOID_PKIX_OCSP_ARCHIVE_CUTOFF unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP_BASIC
	CSSMOID_PKIX_OCSP_BASIC unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP_CRL
	CSSMOID_PKIX_OCSP_CRL unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP_NOCHECK
	CSSMOID_PKIX_OCSP_NOCHECK unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP_NONCE
	CSSMOID_PKIX_OCSP_NONCE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP_RESPONSE
	CSSMOID_PKIX_OCSP_RESPONSE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PKIX_OCSP_SERVICE_LOCATOR
	CSSMOID_PKIX_OCSP_SERVICE_LOCATOR unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PhysicalDeliveryOfficeName
	CSSMOID_PhysicalDeliveryOfficeName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PolicyConstraints
	CSSMOID_PolicyConstraints unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PolicyMappings
	CSSMOID_PolicyMappings unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PostOfficeBox
	CSSMOID_PostOfficeBox unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PostalAddress
	CSSMOID_PostalAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PostalCode
	CSSMOID_PostalCode unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PreferredDeliveryMethod
	CSSMOID_PreferredDeliveryMethod unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PresentationAddress
	CSSMOID_PresentationAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_PrivateKeyUsagePeriod
	CSSMOID_PrivateKeyUsagePeriod unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ProtocolInformation
	CSSMOID_ProtocolInformation unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_QC_Statements
	CSSMOID_QC_Statements unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_QT_CPS
	CSSMOID_QT_CPS unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_QT_UNOTICE
	CSSMOID_QT_UNOTICE unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_RSA
	CSSMOID_RSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_RSAWithOAEP
	CSSMOID_RSAWithOAEP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_RegisteredAddress
	CSSMOID_RegisteredAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_RoleOccupant
	CSSMOID_RoleOccupant unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA1
	CSSMOID_SHA1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA1WithDSA
	CSSMOID_SHA1WithDSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA1WithDSA_CMS
	CSSMOID_SHA1WithDSA_CMS unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA1WithDSA_JDK
	CSSMOID_SHA1WithDSA_JDK unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA1WithRSA
	CSSMOID_SHA1WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA1WithRSA_OIW
	CSSMOID_SHA1WithRSA_OIW unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA224
	CSSMOID_SHA224 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA224WithRSA
	CSSMOID_SHA224WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA256
	CSSMOID_SHA256 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA256WithRSA
	CSSMOID_SHA256WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA384
	CSSMOID_SHA384 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA384WithRSA
	CSSMOID_SHA384WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA512
	CSSMOID_SHA512 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SHA512WithRSA
	CSSMOID_SHA512WithRSA unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SearchGuide
	CSSMOID_SearchGuide unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SeeAlso
	CSSMOID_SeeAlso unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SerialNumber
	CSSMOID_SerialNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ServerAuth
	CSSMOID_ServerAuth unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SigningTime
	CSSMOID_SigningTime unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_StateProvinceName
	CSSMOID_StateProvinceName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_StreetAddress
	CSSMOID_StreetAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SubjectAltName
	CSSMOID_SubjectAltName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SubjectDirectoryAttributes
	CSSMOID_SubjectDirectoryAttributes unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SubjectEmailAddress
	CSSMOID_SubjectEmailAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SubjectInfoAccess
	CSSMOID_SubjectInfoAccess unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SubjectKeyIdentifier
	CSSMOID_SubjectKeyIdentifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SubjectPicture
	CSSMOID_SubjectPicture unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SubjectSignatureBitmap
	CSSMOID_SubjectSignatureBitmap unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_SupportedApplicationContext
	CSSMOID_SupportedApplicationContext unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Surname
	CSSMOID_Surname unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_TEST_MOBILE_STORE_SIGNING_POLICY
	CSSMOID_TEST_MOBILE_STORE_SIGNING_POLICY unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_TelephoneNumber
	CSSMOID_TelephoneNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_TelexNumber
	CSSMOID_TelexNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_TelexTerminalIdentifier
	CSSMOID_TelexTerminalIdentifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_TimeStamping
	CSSMOID_TimeStamping unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_Title
	CSSMOID_Title unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UniqueIdentifier
	CSSMOID_UniqueIdentifier unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UniqueMember
	CSSMOID_UniqueMember unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UnstructuredAddress
	CSSMOID_UnstructuredAddress unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UnstructuredName
	CSSMOID_UnstructuredName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UseExemptions
	CSSMOID_UseExemptions unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UserCertificate
	CSSMOID_UserCertificate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UserID
	CSSMOID_UserID unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_UserPassword
	CSSMOID_UserPassword unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLIssuerNameCStruct
	CSSMOID_X509V1CRLIssuerNameCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLIssuerNameLDAP
	CSSMOID_X509V1CRLIssuerNameLDAP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLIssuerStruct
	CSSMOID_X509V1CRLIssuerStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLNextUpdate
	CSSMOID_X509V1CRLNextUpdate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLNumberOfRevokedCertEntries
	CSSMOID_X509V1CRLNumberOfRevokedCertEntries unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLRevokedCertificatesCStruct
	CSSMOID_X509V1CRLRevokedCertificatesCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLRevokedCertificatesStruct
	CSSMOID_X509V1CRLRevokedCertificatesStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLRevokedEntryCStruct
	CSSMOID_X509V1CRLRevokedEntryCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLRevokedEntryRevocationDate
	CSSMOID_X509V1CRLRevokedEntryRevocationDate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLRevokedEntrySerialNumber
	CSSMOID_X509V1CRLRevokedEntrySerialNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLRevokedEntryStruct
	CSSMOID_X509V1CRLRevokedEntryStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CRLThisUpdate
	CSSMOID_X509V1CRLThisUpdate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CertificateIssuerUniqueId
	CSSMOID_X509V1CertificateIssuerUniqueId unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1CertificateSubjectUniqueId
	CSSMOID_X509V1CertificateSubjectUniqueId unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1IssuerName
	CSSMOID_X509V1IssuerName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1IssuerNameCStruct
	CSSMOID_X509V1IssuerNameCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1IssuerNameLDAP
	CSSMOID_X509V1IssuerNameLDAP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1IssuerNameStd
	CSSMOID_X509V1IssuerNameStd unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SerialNumber
	CSSMOID_X509V1SerialNumber unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1Signature
	CSSMOID_X509V1Signature unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SignatureAlgorithm
	CSSMOID_X509V1SignatureAlgorithm unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SignatureAlgorithmParameters
	CSSMOID_X509V1SignatureAlgorithmParameters unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SignatureAlgorithmTBS
	CSSMOID_X509V1SignatureAlgorithmTBS unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SignatureCStruct
	CSSMOID_X509V1SignatureCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SignatureStruct
	CSSMOID_X509V1SignatureStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectName
	CSSMOID_X509V1SubjectName unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectNameCStruct
	CSSMOID_X509V1SubjectNameCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectNameLDAP
	CSSMOID_X509V1SubjectNameLDAP unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectNameStd
	CSSMOID_X509V1SubjectNameStd unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectPublicKey
	CSSMOID_X509V1SubjectPublicKey unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectPublicKeyAlgorithm
	CSSMOID_X509V1SubjectPublicKeyAlgorithm unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectPublicKeyAlgorithmParameters
	CSSMOID_X509V1SubjectPublicKeyAlgorithmParameters unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1SubjectPublicKeyCStruct
	CSSMOID_X509V1SubjectPublicKeyCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1ValidityNotAfter
	CSSMOID_X509V1ValidityNotAfter unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1ValidityNotBefore
	CSSMOID_X509V1ValidityNotBefore unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V1Version
	CSSMOID_X509V1Version unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLAllExtensionsCStruct
	CSSMOID_X509V2CRLAllExtensionsCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLAllExtensionsStruct
	CSSMOID_X509V2CRLAllExtensionsStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLExtensionCritical
	CSSMOID_X509V2CRLExtensionCritical unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLExtensionId
	CSSMOID_X509V2CRLExtensionId unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLExtensionType
	CSSMOID_X509V2CRLExtensionType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLNumberOfExtensions
	CSSMOID_X509V2CRLNumberOfExtensions unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntryAllExtensionsCStruct
	CSSMOID_X509V2CRLRevokedEntryAllExtensionsCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntryAllExtensionsStruct
	CSSMOID_X509V2CRLRevokedEntryAllExtensionsStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntryExtensionCritical
	CSSMOID_X509V2CRLRevokedEntryExtensionCritical unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntryExtensionId
	CSSMOID_X509V2CRLRevokedEntryExtensionId unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntryExtensionType
	CSSMOID_X509V2CRLRevokedEntryExtensionType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntryExtensionValue
	CSSMOID_X509V2CRLRevokedEntryExtensionValue unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntryNumberOfExtensions
	CSSMOID_X509V2CRLRevokedEntryNumberOfExtensions unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntrySingleExtensionCStruct
	CSSMOID_X509V2CRLRevokedEntrySingleExtensionCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLRevokedEntrySingleExtensionStruct
	CSSMOID_X509V2CRLRevokedEntrySingleExtensionStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLSignedCrlCStruct
	CSSMOID_X509V2CRLSignedCrlCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLSignedCrlStruct
	CSSMOID_X509V2CRLSignedCrlStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLSingleExtensionCStruct
	CSSMOID_X509V2CRLSingleExtensionCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLSingleExtensionStruct
	CSSMOID_X509V2CRLSingleExtensionStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLTbsCertListCStruct
	CSSMOID_X509V2CRLTbsCertListCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLTbsCertListStruct
	CSSMOID_X509V2CRLTbsCertListStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V2CRLVersion
	CSSMOID_X509V2CRLVersion unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3Certificate
	CSSMOID_X509V3Certificate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateCStruct
	CSSMOID_X509V3CertificateCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionCStruct
	CSSMOID_X509V3CertificateExtensionCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionCritical
	CSSMOID_X509V3CertificateExtensionCritical unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionId
	CSSMOID_X509V3CertificateExtensionId unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionStruct
	CSSMOID_X509V3CertificateExtensionStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionType
	CSSMOID_X509V3CertificateExtensionType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionValue
	CSSMOID_X509V3CertificateExtensionValue unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionsCStruct
	CSSMOID_X509V3CertificateExtensionsCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateExtensionsStruct
	CSSMOID_X509V3CertificateExtensionsStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3CertificateNumberOfExtensions
	CSSMOID_X509V3CertificateNumberOfExtensions unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3SignedCertificate
	CSSMOID_X509V3SignedCertificate unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X509V3SignedCertificateCStruct
	CSSMOID_X509V3SignedCertificateCStruct unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X9_62
	CSSMOID_X9_62 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X9_62_C_TwoCurve
	CSSMOID_X9_62_C_TwoCurve unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X9_62_EllCurve
	CSSMOID_X9_62_EllCurve unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X9_62_FieldType
	CSSMOID_X9_62_FieldType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X9_62_PrimeCurve
	CSSMOID_X9_62_PrimeCurve unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X9_62_PubKeyType
	CSSMOID_X9_62_PubKeyType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X9_62_SigType
	CSSMOID_X9_62_SigType unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_X_121Address
	CSSMOID_X_121Address unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_ecPublicKey
	CSSMOID_ecPublicKey unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp112r1
	CSSMOID_secp112r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp112r2
	CSSMOID_secp112r2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp128r1
	CSSMOID_secp128r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp128r2
	CSSMOID_secp128r2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp160k1
	CSSMOID_secp160k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp160r1
	CSSMOID_secp160r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp160r2
	CSSMOID_secp160r2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp192k1
	CSSMOID_secp192k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp192r1
	CSSMOID_secp192r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp224k1
	CSSMOID_secp224k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp224r1
	CSSMOID_secp224r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp256k1
	CSSMOID_secp256k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp256r1
	CSSMOID_secp256r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp384r1
	CSSMOID_secp384r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_secp521r1
	CSSMOID_secp521r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect113r1
	CSSMOID_sect113r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect113r2
	CSSMOID_sect113r2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect131r1
	CSSMOID_sect131r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect131r2
	CSSMOID_sect131r2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect163k1
	CSSMOID_sect163k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect163r1
	CSSMOID_sect163r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect163r2
	CSSMOID_sect163r2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect193r1
	CSSMOID_sect193r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect193r2
	CSSMOID_sect193r2 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect233k1
	CSSMOID_sect233k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect233r1
	CSSMOID_sect233r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect239k1
	CSSMOID_sect239k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect283k1
	CSSMOID_sect283k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect283r1
	CSSMOID_sect283r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect409k1
	CSSMOID_sect409k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect409r1
	CSSMOID_sect409r1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect571k1
	CSSMOID_sect571k1 unsafe.Pointer
	//
	// Deprecated: Deprecated since macOS 10.7.
	//
	// See: https://developer.apple.com/documentation/Security/CSSMOID_sect571r1
	CSSMOID_sect571r1 unsafe.Pointer
)
View Source
var (
	// See: https://developer.apple.com/documentation/Security/kCMSEncoderDigestAlgorithmSHA1
	KCMSEncoderDigestAlgorithmSHA1 string
	// See: https://developer.apple.com/documentation/Security/kCMSEncoderDigestAlgorithmSHA256
	KCMSEncoderDigestAlgorithmSHA256 string
	//
	// Deprecated: Deprecated since macOS 10.13. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_3DES_fallback
	KSSLSessionConfig_3DES_fallback string
	//
	// Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_ATSv1
	KSSLSessionConfig_ATSv1 string
	//
	// Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_ATSv1_noPFS
	KSSLSessionConfig_ATSv1_noPFS string
	//
	// Deprecated: Deprecated since macOS 10.13. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_RC4_fallback
	KSSLSessionConfig_RC4_fallback string
	//
	// Deprecated: Deprecated since macOS 10.13. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_TLSv1_3DES_fallback
	KSSLSessionConfig_TLSv1_3DES_fallback string
	//
	// Deprecated: Deprecated since macOS 10.13. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_TLSv1_RC4_fallback
	KSSLSessionConfig_TLSv1_RC4_fallback string
	//
	// Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_TLSv1_fallback
	KSSLSessionConfig_TLSv1_fallback string
	//
	// Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_anonymous
	KSSLSessionConfig_anonymous string
	//
	// Deprecated: Deprecated since macOS 10.13. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_default
	KSSLSessionConfig_default string
	//
	// Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_legacy
	KSSLSessionConfig_legacy string
	//
	// Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_legacy_DHE
	KSSLSessionConfig_legacy_DHE string
	//
	// Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.
	//
	// See: https://developer.apple.com/documentation/Security/kSSLSessionConfig_standard
	KSSLSessionConfig_standard 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
	// KSecAttrAccessibleAlways is the data in the keychain item can always be accessed regardless of whether the device is locked.
	//
	// Deprecated: Deprecated since macOS 10.14. Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
	//
	// See: https://developer.apple.com/documentation/Security/kSecAttrAccessibleAlways
	KSecAttrAccessibleAlways string
	// KSecAttrAccessibleAlwaysThisDeviceOnly is the data in the keychain item can always be accessed regardless of whether the device is locked.
	//
	// Deprecated: Deprecated since macOS 10.14. Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
	//
	// See: https://developer.apple.com/documentation/Security/kSecAttrAccessibleAlwaysThisDeviceOnly
	KSecAttrAccessibleAlwaysThisDeviceOnly 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
	// KSecAttrKeyTypeEC is elliptic curve algorithm.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeEC
	KSecAttrKeyTypeEC string
	// KSecAttrKeyTypeECDSA is elliptic curve DSA algorithm.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAttrKeyTypeECDSA
	KSecAttrKeyTypeECDSA 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
	// KSecBase32Encoding is a base 32 encoding.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecBase32Encoding
	KSecBase32Encoding string
	// KSecBase64Encoding is a base 64 encoding.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecBase64Encoding
	KSecBase64Encoding 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
	// KSecCompressionRatio is the compression ratio.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecCompressionRatio
	KSecCompressionRatio string
	// KSecDecodeTypeAttribute is the encoding used by a decode transform.
	//
	// See: https://developer.apple.com/documentation/Security/kSecDecodeTypeAttribute
	KSecDecodeTypeAttribute string
	// KSecDigestHMACKeyAttribute is the key for HMAC operation.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestHMACKeyAttribute
	KSecDigestHMACKeyAttribute string
	// KSecDigestHMACMD5 is an HMAC using the MD5 digest algorithm.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestHMACMD5
	KSecDigestHMACMD5 string
	// KSecDigestHMACSHA1 is an HMAC using the SHA1 digest algorithm.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestHMACSHA1
	KSecDigestHMACSHA1 string
	// KSecDigestHMACSHA2 is an HMAC using one of the SHA2 digest algorithms.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestHMACSHA2
	KSecDigestHMACSHA2 string
	// KSecDigestLengthAttribute is the digest length.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestLengthAttribute
	KSecDigestLengthAttribute string
	// KSecDigestMD2 is an MD2 digest.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestMD2
	KSecDigestMD2 string
	// KSecDigestMD4 is an MD4 digest.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestMD4
	KSecDigestMD4 string
	// KSecDigestMD5 is an MD5 digest.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestMD5
	KSecDigestMD5 string
	// KSecDigestSHA1 is an SHA1 digest.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestSHA1
	KSecDigestSHA1 string
	// KSecDigestSHA2 is an SHA2 digest.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestSHA2
	KSecDigestSHA2 string
	// KSecDigestTypeAttribute is the digest algorithm.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecDigestTypeAttribute
	KSecDigestTypeAttribute string
	// KSecEncodeLineLengthAttribute is the length of encoded Base32 or Base64 lines.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecEncodeLineLengthAttribute
	KSecEncodeLineLengthAttribute string
	// KSecEncodeTypeAttribute is the encoding used by an encode transform.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecEncodeTypeAttribute
	KSecEncodeTypeAttribute string
	// KSecEncryptKey is the encryption key for the transform.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecEncryptKey
	KSecEncryptKey string
	// KSecEncryptionMode is the encryption mode.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecEncryptionMode
	KSecEncryptionMode 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
	// KSecIVKey is the setting for an initialization vector.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecIVKey
	KSecIVKey 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
	// KSecInputIsAttributeName is the type of input to the transform.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecInputIsAttributeName
	KSecInputIsAttributeName 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
	// KSecInputIsRaw is the input is raw.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecInputIsRaw
	KSecInputIsRaw string
	// KSecKeyAttributeName is the cryptographic key associated with a transform.
	//
	// See: https://developer.apple.com/documentation/Security/kSecKeyAttributeName
	KSecKeyAttributeName string
	// KSecLineLength64 is a line length of 64 bytes.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecLineLength64
	KSecLineLength64 string
	// KSecLineLength76 is a line length of 76 bytes.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecLineLength76
	KSecLineLength76 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
	// KSecModeCBCKey is cBC mode will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecModeCBCKey
	KSecModeCBCKey string
	// KSecModeCFBKey is cFB mode will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecModeCFBKey
	KSecModeCFBKey string
	// KSecModeECBKey is eCB mode will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecModeECBKey
	KSecModeECBKey string
	// KSecModeNoneKey is no mode will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecModeNoneKey
	KSecModeNoneKey string
	// KSecModeOFBKey is oFB mode will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecModeOFBKey
	KSecModeOFBKey string
	// KSecOAEPEncodingParametersAttributeName is the OAEP encoding parameters.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecOAEPEncodingParametersAttributeName
	KSecOAEPEncodingParametersAttributeName string
	// KSecOAEPMGF1DigestAlgorithmAttributeName is the OAEP MGF1 digest algorithm.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecOAEPMGF1DigestAlgorithmAttributeName
	KSecOAEPMGF1DigestAlgorithmAttributeName string
	// KSecOAEPMessageLengthAttributeName is the OAEP message length.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecOAEPMessageLengthAttributeName
	KSecOAEPMessageLengthAttributeName 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
	// KSecPaddingKey is the kind of padding to use.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecPaddingKey
	KSecPaddingKey string
	// KSecPaddingNoneKey is no padding will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecPaddingNoneKey
	KSecPaddingNoneKey string
	// KSecPaddingOAEPKey is pKCS7 padding will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecPaddingOAEPKey
	KSecPaddingOAEPKey string
	// KSecPaddingPKCS1Key is pKCS1 padding will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecPaddingPKCS1Key
	KSecPaddingPKCS1Key string
	// KSecPaddingPKCS5Key is pKCS5 padding will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecPaddingPKCS5Key
	KSecPaddingPKCS5Key string
	// KSecPaddingPKCS7Key is pKCS7 padding will be used when encrypting or decrypting.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecPaddingPKCS7Key
	KSecPaddingPKCS7Key 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
	// KSecPolicyAppleiChat is policy for use in iChat.
	//
	// Deprecated: Deprecated since macOS 10.9.
	//
	// See: https://developer.apple.com/documentation/Security/kSecPolicyAppleiChat
	KSecPolicyAppleiChat 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 only 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 only 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
	// KSecSharedPassword is a dictionary key whose value is the shared password.
	//
	// 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
	// KSecTransformAbortAttributeName is the reason for an abort.
	//
	// Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformAbortAttributeName
	KSecTransformAbortAttributeName 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
	// KSecTransformActionAttributeNotification is an action that triggers when an attribute is set.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionAttributeNotification
	KSecTransformActionAttributeNotification string
	// KSecTransformActionAttributeValidation is an action that triggers to perform validation of an attribute.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionAttributeValidation
	KSecTransformActionAttributeValidation string
	// KSecTransformActionCanExecute is an action that triggers to verify that all required attributes are either set or connected to another transform.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionCanExecute
	KSecTransformActionCanExecute string
	// KSecTransformActionExternalizeExtraData is an action that triggers after data is stored.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionExternalizeExtraData
	KSecTransformActionExternalizeExtraData string
	// KSecTransformActionFinalize is an action that triggers just before deleting a custom transform to enable custom cleanup operations.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionFinalize
	KSecTransformActionFinalize string
	// KSecTransformActionInternalizeExtraData is an action that triggers after attributes are read into a transform.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionInternalizeExtraData
	KSecTransformActionInternalizeExtraData string
	// KSecTransformActionProcessData is an action that triggers to process the data of an attribute.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionProcessData
	KSecTransformActionProcessData string
	// KSecTransformActionStartingExecution is an action that triggers just before starting execution of a custom transform.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformActionStartingExecution
	KSecTransformActionStartingExecution string
	// KSecTransformDebugAttributeName is a write stream that should receive debug data.
	//
	// Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformDebugAttributeName
	KSecTransformDebugAttributeName 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
	// KSecTransformInputAttributeName is the input to a transform.
	//
	// Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformInputAttributeName
	KSecTransformInputAttributeName string
	// KSecTransformOutputAttributeName is the output of a transform.
	//
	// Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformOutputAttributeName
	KSecTransformOutputAttributeName 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
	// KSecTransformTransformName is the name of a transform.
	//
	// Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecTransformTransformName
	KSecTransformTransformName 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
	// KSecTrustCertificateTransparencyWhiteList is a key whose value is a Boolean used to indicate the chain satisfies Certificate Transparency by being on the allow list.
	//
	// Deprecated: Deprecated since macOS 10.13.
	//
	// See: https://developer.apple.com/documentation/Security/kSecTrustCertificateTransparencyWhiteList
	KSecTrustCertificateTransparencyWhiteList 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
	// KSecUseAuthenticationUIAllow is a value that indicates user authentication is allowed.
	//
	// Deprecated: Deprecated since macOS 11.0. Instead of kSecUseAuthenticationUI, use kSecUseAuthenticationContext and set LAContext.interactionNotAllowed property
	//
	// See: https://developer.apple.com/documentation/Security/kSecUseAuthenticationUIAllow
	KSecUseAuthenticationUIAllow string
	// KSecUseAuthenticationUIFail is a value that indicates user authentication is disallowed.
	//
	// Deprecated: Deprecated since macOS 11.0. Instead of kSecUseAuthenticationUI, use kSecUseAuthenticationContext and set LAContext.interactionNotAllowed property
	//
	// See: https://developer.apple.com/documentation/Security/kSecUseAuthenticationUIFail
	KSecUseAuthenticationUIFail 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
	// KSecUseItemList is a key whose value is an array of items to search.
	//
	// See: https://developer.apple.com/documentation/Security/kSecUseItemList
	KSecUseItemList string
	// KSecUseKeychain is a key whose value is a keychain to operate on.
	//
	// See: https://developer.apple.com/documentation/Security/kSecUseKeychain
	KSecUseKeychain string
	// KSecUseNoAuthenticationUI is a key whose value is a Boolean indicating whether to disallow UI authentication.
	//
	// Deprecated: Deprecated since macOS 10.11. Use the key [kSecUseAuthenticationUI](<https://developer.apple.com/documentation/Security/kSecUseAuthenticationUI>) with value [kSecUseAuthenticationUIFail](<https://developer.apple.com/documentation/Security/kSecUseAuthenticationUIFail>) instead.
	//
	// See: https://developer.apple.com/documentation/Security/kSecUseNoAuthenticationUI
	KSecUseNoAuthenticationUI string
	// KSecUseOperationPrompt is a key whose value is an operation prompt.
	//
	// Deprecated: Deprecated since macOS 11.0. Use kSecUseAuthenticationContext and set LAContext.localizedReason property
	//
	// See: https://developer.apple.com/documentation/Security/kSecUseOperationPrompt
	KSecUseOperationPrompt 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
	// KSecZLibEncoding is a compressed encoding.
	//
	// Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported
	//
	// See: https://developer.apple.com/documentation/Security/kSecZLibEncoding
	KSecZLibEncoding 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.

It panics if AuthorizationCopyInfo is unavailable at run time; use TryAuthorizationCopyInfo to get an error instead.

See: https://developer.apple.com/documentation/Security/AuthorizationCopyInfo(_:_:_:)

func AuthorizationCopyPrivilegedReference deprecated

func AuthorizationCopyPrivilegedReference(authorization *AuthorizationRef, flags AuthorizationFlags) int32

AuthorizationCopyPrivilegedReference retrieves the authorization reference passed by the AuthorizationExecuteWithPrivileges function.

It panics if AuthorizationCopyPrivilegedReference is unavailable at run time; use TryAuthorizationCopyPrivilegedReference to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use a `launchd`-launched helper tool and/or the Service Management framework for this functionality.

See: https://developer.apple.com/documentation/Security/AuthorizationCopyPrivilegedReference

func AuthorizationCopyRights

func AuthorizationCopyRights(authorization AuthorizationRef, rights *AuthorizationRights, environment *AuthorizationEnvironment, flags AuthorizationFlags, authorizedRights **AuthorizationRights) int32

AuthorizationCopyRights authorizes and preauthorizes rights synchronously.

It panics if AuthorizationCopyRights is unavailable at run time; use TryAuthorizationCopyRights to get an error instead.

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.

It panics if AuthorizationCopyRightsAsync is unavailable at run time; use TryAuthorizationCopyRightsAsync to get an error instead.

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.

It panics if AuthorizationCreate is unavailable at run time; use TryAuthorizationCreate to get an error instead.

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.

It panics if AuthorizationCreateFromExternalForm is unavailable at run time; use TryAuthorizationCreateFromExternalForm to get an error instead.

See: https://developer.apple.com/documentation/Security/AuthorizationCreateFromExternalForm(_:_:)

func AuthorizationExecuteWithPrivileges deprecated

func AuthorizationExecuteWithPrivileges(authorization AuthorizationRef, pathToTool string, options AuthorizationFlags, arguments **byte, communicationsPipe unsafe.Pointer) int32

AuthorizationExecuteWithPrivileges runs an executable tool with root privileges.

It panics if AuthorizationExecuteWithPrivileges is unavailable at run time; use TryAuthorizationExecuteWithPrivileges to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use a `launchd`-launched helper tool and/or the Service Management framework for this functionality.

See: https://developer.apple.com/documentation/Security/AuthorizationExecuteWithPrivileges

func AuthorizationFree

func AuthorizationFree(authorization AuthorizationRef, flags AuthorizationFlags) int32

AuthorizationFree frees the memory associated with an authorization reference.

It panics if AuthorizationFree is unavailable at run time; use TryAuthorizationFree to get an error instead.

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.

It panics if AuthorizationFreeItemSet is unavailable at run time; use TryAuthorizationFreeItemSet to get an error instead.

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.

It panics if AuthorizationMakeExternalForm is unavailable at run time; use TryAuthorizationMakeExternalForm to get an error instead.

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.

It panics if AuthorizationRightGet is unavailable at run time; use TryAuthorizationRightGet to get an error instead.

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.

It panics if AuthorizationRightRemove is unavailable at run time; use TryAuthorizationRightRemove to get an error instead.

See: https://developer.apple.com/documentation/Security/AuthorizationRightRemove(_:_:)

func AuthorizationRightSet

func AuthorizationRightSet(authRef AuthorizationRef, rightName string, rightDefinition corefoundation.CFTypeRef, descriptionKey corefoundation.CFStringRef, bundle corefoundation.CFBundleRef, localeTableName corefoundation.CFStringRef) int32

AuthorizationRightSet creates or updates a right entry in the policy database.

It panics if AuthorizationRightSet is unavailable at run time; use TryAuthorizationRightSet to get an error instead.

See: https://developer.apple.com/documentation/Security/AuthorizationRightSet(_:_:_:_:_:_:)

func BindFunc

func BindFunc(fptr any, name string) (err error)

BindFunc binds the Security symbol name into fptr, which must be a pointer to a func variable.

The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.

func CMSDecoderCopyAllCerts

func CMSDecoderCopyAllCerts(cmsDecoder CMSDecoderRef, certsOut *corefoundation.CFArrayRef) int32

CMSDecoderCopyAllCerts obtains an array of all of the certificates in a message.

It panics if CMSDecoderCopyAllCerts is unavailable at run time; use TryCMSDecoderCopyAllCerts to get an error instead.

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.

It panics if CMSDecoderCopyContent is unavailable at run time; use TryCMSDecoderCopyContent to get an error instead.

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.

It panics if CMSDecoderCopyDetachedContent is unavailable at run time; use TryCMSDecoderCopyDetachedContent to get an error instead.

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.

It panics if CMSDecoderCopyEncapsulatedContentType is unavailable at run time; use TryCMSDecoderCopyEncapsulatedContentType to get an error instead.

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.

It panics if CMSDecoderCopySignerCert is unavailable at run time; use TryCMSDecoderCopySignerCert to get an error instead.

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.

It panics if CMSDecoderCopySignerEmailAddress is unavailable at run time; use TryCMSDecoderCopySignerEmailAddress to get an error instead.

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.

It panics if CMSDecoderCopySignerSigningTime is unavailable at run time; use TryCMSDecoderCopySignerSigningTime to get an error instead.

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.

It panics if CMSDecoderCopySignerStatus is unavailable at run time; use TryCMSDecoderCopySignerStatus to get an error instead.

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.

It panics if CMSDecoderCopySignerTimestamp is unavailable at run time; use TryCMSDecoderCopySignerTimestamp to get an error instead.

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.

It panics if CMSDecoderCopySignerTimestampCertificates is unavailable at run time; use TryCMSDecoderCopySignerTimestampCertificates to get an error instead.

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.

It panics if CMSDecoderCopySignerTimestampWithPolicy is unavailable at run time; use TryCMSDecoderCopySignerTimestampWithPolicy to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSDecoderCopySignerTimestampWithPolicy(_:_:_:_:)

func CMSDecoderCreate

func CMSDecoderCreate(cmsDecoderOut *CMSDecoderRef) int32

CMSDecoderCreate creates a CMSDecoder reference.

It panics if CMSDecoderCreate is unavailable at run time; use TryCMSDecoderCreate to get an error instead.

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.

It panics if CMSDecoderFinalizeMessage is unavailable at run time; use TryCMSDecoderFinalizeMessage to get an error instead.

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.

It panics if CMSDecoderGetNumSigners is unavailable at run time; use TryCMSDecoderGetNumSigners to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSDecoderGetNumSigners(_:_:)

func CMSDecoderGetTypeID

func CMSDecoderGetTypeID() uint

CMSDecoderGetTypeID returns the type identifier for the CMSDecoder opaque type.

It panics if CMSDecoderGetTypeID is unavailable at run time; use TryCMSDecoderGetTypeID to get an error instead.

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.

It panics if CMSDecoderIsContentEncrypted is unavailable at run time; use TryCMSDecoderIsContentEncrypted to get an error instead.

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.

It panics if CMSDecoderSetDetachedContent is unavailable at run time; use TryCMSDecoderSetDetachedContent to get an error instead.

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.

It panics if CMSDecoderSetSearchKeychain is unavailable at run time; use TryCMSDecoderSetSearchKeychain to get an error instead.

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.

It panics if CMSDecoderUpdateMessage is unavailable at run time; use TryCMSDecoderUpdateMessage to get an error instead.

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.

It panics if CMSEncode is unavailable at run time; use TryCMSEncode to get an error instead.

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.

It panics if CMSEncodeContent is unavailable at run time; use TryCMSEncodeContent to get an error instead.

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.

It panics if CMSEncoderAddRecipients is unavailable at run time; use TryCMSEncoderAddRecipients to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSEncoderAddRecipients(_:_:)

func CMSEncoderAddSignedAttributes

func CMSEncoderAddSignedAttributes(cmsEncoder CMSEncoderRef, signedAttributes CMSSignedAttributes) int32

CMSEncoderAddSignedAttributes specifies attributes for a signed message.

It panics if CMSEncoderAddSignedAttributes is unavailable at run time; use TryCMSEncoderAddSignedAttributes to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSEncoderAddSignedAttributes(_:_:)

func CMSEncoderAddSigners

func CMSEncoderAddSigners(cmsEncoder CMSEncoderRef, signerOrArray corefoundation.CFTypeRef) int32

CMSEncoderAddSigners specifies signers of the message.

It panics if CMSEncoderAddSigners is unavailable at run time; use TryCMSEncoderAddSigners to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSEncoderAddSigners(_:_:)

func CMSEncoderAddSupportingCerts

func CMSEncoderAddSupportingCerts(cmsEncoder CMSEncoderRef, certOrArray corefoundation.CFTypeRef) int32

CMSEncoderAddSupportingCerts adds certificates to a message.

It panics if CMSEncoderAddSupportingCerts is unavailable at run time; use TryCMSEncoderAddSupportingCerts to get an error instead.

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.

It panics if CMSEncoderCopyEncapsulatedContentType is unavailable at run time; use TryCMSEncoderCopyEncapsulatedContentType to get an error instead.

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.

It panics if CMSEncoderCopyEncodedContent is unavailable at run time; use TryCMSEncoderCopyEncodedContent to get an error instead.

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.

It panics if CMSEncoderCopyRecipients is unavailable at run time; use TryCMSEncoderCopyRecipients to get an error instead.

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.

It panics if CMSEncoderCopySignerTimestamp is unavailable at run time; use TryCMSEncoderCopySignerTimestamp to get an error instead.

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.

It panics if CMSEncoderCopySignerTimestampWithPolicy is unavailable at run time; use TryCMSEncoderCopySignerTimestampWithPolicy to get an error instead.

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.

It panics if CMSEncoderCopySigners is unavailable at run time; use TryCMSEncoderCopySigners to get an error instead.

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.

It panics if CMSEncoderCopySupportingCerts is unavailable at run time; use TryCMSEncoderCopySupportingCerts to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSEncoderCopySupportingCerts(_:_:)

func CMSEncoderCreate

func CMSEncoderCreate(cmsEncoderOut *CMSEncoderRef) int32

CMSEncoderCreate creates a CMSEncoder reference.

It panics if CMSEncoderCreate is unavailable at run time; use TryCMSEncoderCreate to get an error instead.

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.

It panics if CMSEncoderGetCertificateChainMode is unavailable at run time; use TryCMSEncoderGetCertificateChainMode to get an error instead.

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.

It panics if CMSEncoderGetHasDetachedContent is unavailable at run time; use TryCMSEncoderGetHasDetachedContent to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSEncoderGetHasDetachedContent(_:_:)

func CMSEncoderGetTypeID

func CMSEncoderGetTypeID() uint

CMSEncoderGetTypeID returns the type identifier for the CMSEncoder opaque type.

It panics if CMSEncoderGetTypeID is unavailable at run time; use TryCMSEncoderGetTypeID to get an error instead.

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.

It panics if CMSEncoderSetCertificateChainMode is unavailable at run time; use TryCMSEncoderSetCertificateChainMode to get an error instead.

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.

It panics if CMSEncoderSetEncapsulatedContentType is unavailable at run time; use TryCMSEncoderSetEncapsulatedContentType to get an error instead.

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.

It panics if CMSEncoderSetEncapsulatedContentTypeOID is unavailable at run time; use TryCMSEncoderSetEncapsulatedContentTypeOID to get an error instead.

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.

It panics if CMSEncoderSetHasDetachedContent is unavailable at run time; use TryCMSEncoderSetHasDetachedContent to get an error instead.

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.

It panics if CMSEncoderSetSignerAlgorithm is unavailable at run time; use TryCMSEncoderSetSignerAlgorithm to get an error instead.

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.

It panics if CMSEncoderUpdateContent is unavailable at run time; use TryCMSEncoderUpdateContent to get an error instead.

See: https://developer.apple.com/documentation/Security/CMSEncoderUpdateContent(_:_:_:)

func CssmAlgToOid

func CssmAlgToOid(algId CSSM_ALGORITHMS) unsafe.Pointer

CssmAlgToOid.

It panics if cssmAlgToOid is unavailable at run time; use TryCssmAlgToOid to get an error instead.

See: https://developer.apple.com/documentation/Security/cssmAlgToOid(_:)

func CssmOidToAlg

func CssmOidToAlg(oid unsafe.Pointer, alg unsafe.Pointer) bool

CssmOidToAlg.

It panics if cssmOidToAlg is unavailable at run time; use TryCssmOidToAlg to get an error instead.

See: https://developer.apple.com/documentation/Security/cssmOidToAlg(_:_:)

func CssmPerror

func CssmPerror(how string, err CSSM_RETURN)

CssmPerror.

It panics if cssmPerror is unavailable at run time; use TryCssmPerror to get an error instead.

See: https://developer.apple.com/documentation/Security/cssmPerror(_:_:)

func NewAuthorizationAsyncCallbackBlock added in v0.6.16

func NewAuthorizationAsyncCallbackBlock(handler AuthorizationAsyncCallback) (objc.ID, func())

NewAuthorizationAsyncCallbackBlock wraps a Go AuthorizationAsyncCallback as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecKeyGeneratePairBlock added in v0.6.16

func NewSecKeyGeneratePairBlock(handler SecKeyGeneratePairBlock) (objc.ID, func())

NewSecKeyGeneratePairBlock wraps a Go SecKeyGeneratePairBlock as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecMessageBlock added in v0.6.16

func NewSecMessageBlock(handler SecMessageBlock) (objc.ID, func())

NewSecMessageBlock wraps a Go SecMessageBlock as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecProtocolChallengeCompleteBlock added in v0.6.16

func NewSecProtocolChallengeCompleteBlock(handler SecProtocolChallengeComplete) (objc.ID, func())

NewSecProtocolChallengeCompleteBlock wraps a Go SecProtocolChallengeComplete as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecProtocolKeyUpdateCompleteBlock added in v0.6.16

func NewSecProtocolKeyUpdateCompleteBlock(handler SecProtocolKeyUpdateComplete) (objc.ID, func())

NewSecProtocolKeyUpdateCompleteBlock wraps a Go SecProtocolKeyUpdateComplete as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecProtocolPreSharedKeySelectionCompleteBlock added in v0.6.16

func NewSecProtocolPreSharedKeySelectionCompleteBlock(handler SecProtocolPreSharedKeySelectionComplete) (objc.ID, func())

NewSecProtocolPreSharedKeySelectionCompleteBlock wraps a Go SecProtocolPreSharedKeySelectionComplete as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecProtocolVerifyCompleteBlock added in v0.6.16

func NewSecProtocolVerifyCompleteBlock(handler SecProtocolVerifyComplete) (objc.ID, func())

NewSecProtocolVerifyCompleteBlock wraps a Go SecProtocolVerifyComplete as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecTransformDataBlock added in v0.6.16

func NewSecTransformDataBlock(handler SecTransformDataBlock) (objc.ID, func())

NewSecTransformDataBlock wraps a Go SecTransformDataBlock as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecTrustCallbackBlock added in v0.6.16

func NewSecTrustCallbackBlock(handler SecTrustCallback) (objc.ID, func())

NewSecTrustCallbackBlock wraps a Go SecTrustCallback as an Objective-C block. The caller must defer the returned cleanup function.

func NewSecTrustWithErrorCallbackBlock added in v0.6.16

func NewSecTrustWithErrorCallbackBlock(handler SecTrustWithErrorCallback) (objc.ID, func())

NewSecTrustWithErrorCallbackBlock wraps a Go SecTrustWithErrorCallback as an Objective-C block. The caller must defer the returned cleanup function.

func SSLAddDistinguishedName deprecated

func SSLAddDistinguishedName(context SSLContextRef, derDN unsafe.Pointer, derDNLen uintptr) int32

SSLAddDistinguishedName adds a DER-encoded distinguished name to a list of acceptable names to be specified in requests for client certificates.

It panics if SSLAddDistinguishedName is unavailable at run time; use TrySSLAddDistinguishedName to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLAddDistinguishedName(_:_:_:)

func SSLClose deprecated

func SSLClose(context SSLContextRef) int32

SSLClose terminates the current SSL session.

It panics if SSLClose is unavailable at run time; use TrySSLClose to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLClose(_:)

func SSLContextGetTypeID deprecated

func SSLContextGetTypeID() uint

SSLContextGetTypeID returns the Core Foundation type ID for context objects.

It panics if SSLContextGetTypeID is unavailable at run time; use TrySSLContextGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLContextGetTypeID()

func SSLCopyALPNProtocols deprecated

func SSLCopyALPNProtocols(context SSLContextRef, protocols *corefoundation.CFArrayRef) int32

SSLCopyALPNProtocols gets the list of supported application layer protocols.

It panics if SSLCopyALPNProtocols is unavailable at run time; use TrySSLCopyALPNProtocols to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLCopyALPNProtocols(_:_:)

func SSLCopyCertificateAuthorities deprecated

func SSLCopyCertificateAuthorities(context SSLContextRef, certificates *corefoundation.CFArrayRef) int32

SSLCopyCertificateAuthorities retrieves the current list of certification authorities.

It panics if SSLCopyCertificateAuthorities is unavailable at run time; use TrySSLCopyCertificateAuthorities to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLCopyCertificateAuthorities(_:_:)

func SSLCopyDistinguishedNames deprecated

func SSLCopyDistinguishedNames(context SSLContextRef, names *corefoundation.CFArrayRef) int32

SSLCopyDistinguishedNames retrieves the distinguished names of acceptable certification authorities.

It panics if SSLCopyDistinguishedNames is unavailable at run time; use TrySSLCopyDistinguishedNames to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLCopyDistinguishedNames(_:_:)

func SSLCopyPeerCertificates deprecated

func SSLCopyPeerCertificates(context SSLContextRef, certs *corefoundation.CFArrayRef) int32

SSLCopyPeerCertificates retrieves a peer certificate and its certificate chain.

It panics if SSLCopyPeerCertificates is unavailable at run time; use TrySSLCopyPeerCertificates to get an error instead.

Deprecated: Deprecated since macOS 10.9. To get peer certificates, call [SSLCopyPeerTrust(_:_:)](<https://developer.apple.com/documentation/Security/SSLCopyPeerTrust(_:_:)>) to obtain the [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) for the peer certificate chain, then use the [SecTrustGetCertificateCount(_:)](<https://developer.apple.com/documentation/Security/SecTrustGetCertificateCount(_:)>) and [SecTrustGetCertificateAtIndex(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustGetCertificateAtIndex(_:_:)>) functions to retrieve individual certificates in the chain (see the [Trust](<https://developer.apple.com/documentation/Security/trust>) section of [Certificate, Key, and Trust Services](<https://developer.apple.com/documentation/Security/certificate-key-and-trust-services>)).

See: https://developer.apple.com/documentation/Security/SSLCopyPeerCertificates

func SSLCopyPeerTrust deprecated

func SSLCopyPeerTrust(context SSLContextRef, trust *SecTrustRef) int32

SSLCopyPeerTrust retrieves a trust management object for the certificate used by a session.

It panics if SSLCopyPeerTrust is unavailable at run time; use TrySSLCopyPeerTrust to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLCopyPeerTrust(_:_:)

func SSLCopyRequestedPeerName deprecated

func SSLCopyRequestedPeerName(context SSLContextRef, peerName string, peerNameLen *uintptr) int32

SSLCopyRequestedPeerName determines the buffer size needed for the peer domain name.

It panics if SSLCopyRequestedPeerName is unavailable at run time; use TrySSLCopyRequestedPeerName to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLCopyRequestedPeerName(_:_:_:)

func SSLCopyRequestedPeerNameLength deprecated

func SSLCopyRequestedPeerNameLength(ctx SSLContextRef, peerNameLen *uintptr) int32

SSLCopyRequestedPeerNameLength obtains the hostname specified by the client in the ServerName extension (SNI).

It panics if SSLCopyRequestedPeerNameLength is unavailable at run time; use TrySSLCopyRequestedPeerNameLength to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLCopyRequestedPeerNameLength(_:_:)

func SSLCopyTrustedRoots deprecated

func SSLCopyTrustedRoots(context SSLContextRef, trustedRoots *corefoundation.CFArrayRef) int32

SSLCopyTrustedRoots retrieves the current list of trusted root certificates.

It panics if SSLCopyTrustedRoots is unavailable at run time; use TrySSLCopyTrustedRoots to get an error instead.

Deprecated: Deprecated since macOS 10.9. To get the current set of trusted roots, call the [SSLCopyPeerTrust(_:_:)](<https://developer.apple.com/documentation/Security/SSLCopyPeerTrust(_:_:)>) function to obtain the [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) for the peer certificate chain, and then call the [SecTrustCopyCustomAnchorCertificates(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustCopyCustomAnchorCertificates(_:_:)>) function (see the [Trust](<https://developer.apple.com/documentation/Security/trust>) section of [Certificate, Key, and Trust Services](<https://developer.apple.com/documentation/Security/certificate-key-and-trust-services>)).

See: https://developer.apple.com/documentation/Security/SSLCopyTrustedRoots

func SSLDisposeContext deprecated

func SSLDisposeContext(context SSLContextRef) int32

SSLDisposeContext disposes of a Secure Sockets Layer (SSL) session context.

It panics if SSLDisposeContext is unavailable at run time; use TrySSLDisposeContext to get an error instead.

Deprecated: Deprecated since macOS 10.9. You use this function to dispose of a context that you create with SSLNewContext(<https://developer.apple.com/documentation/Security/SSLNewContext>), but that function is deprecated. Instead, use [SSLCreateContext(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLCreateContext(_:_:_:)>) to create a new context and use [CFRelease](<https://developer.apple.com/documentation/CoreFoundation/CFRelease>) to dispose of that context.

See: https://developer.apple.com/documentation/Security/SSLDisposeContext

func SSLGetAllowsAnyRoot deprecated

func SSLGetAllowsAnyRoot(context SSLContextRef, anyRoot *bool) int32

SSLGetAllowsAnyRoot obtains a value specifying whether an unknown root is allowed.

It panics if SSLGetAllowsAnyRoot is unavailable at run time; use TrySSLGetAllowsAnyRoot to get an error instead.

Deprecated: Deprecated since macOS 10.9. See the replacement procedure for allowing arbitrary root certificates in the deprecation summary of SSLSetAllowsAnyRoot(<https://developer.apple.com/documentation/Security/SSLSetAllowsAnyRoot>).

See: https://developer.apple.com/documentation/Security/SSLGetAllowsAnyRoot

func SSLGetAllowsExpiredCerts deprecated

func SSLGetAllowsExpiredCerts(context SSLContextRef, allowsExpired *bool) int32

SSLGetAllowsExpiredCerts retrieves the value specifying whether expired certificates are allowed.

It panics if SSLGetAllowsExpiredCerts is unavailable at run time; use TrySSLGetAllowsExpiredCerts to get an error instead.

Deprecated: Deprecated since macOS 10.9. See the replacement procedure for allowing expired certificates in the deprecation summary of SSLSetAllowsExpiredCerts(<https://developer.apple.com/documentation/Security/SSLSetAllowsExpiredCerts>).

See: https://developer.apple.com/documentation/Security/SSLGetAllowsExpiredCerts

func SSLGetAllowsExpiredRoots deprecated

func SSLGetAllowsExpiredRoots(context SSLContextRef, allowsExpired *bool) int32

SSLGetAllowsExpiredRoots retrieves the value indicating whether expired roots are allowed.

It panics if SSLGetAllowsExpiredRoots is unavailable at run time; use TrySSLGetAllowsExpiredRoots to get an error instead.

Deprecated: Deprecated since macOS 10.9. See the replacement procedure for allowing expired root certificates in the deprecation summary of SSLSetAllowsExpiredRoots(<https://developer.apple.com/documentation/Security/SSLSetAllowsExpiredRoots>).

See: https://developer.apple.com/documentation/Security/SSLGetAllowsExpiredRoots

func SSLGetBufferedReadSize deprecated

func SSLGetBufferedReadSize(context SSLContextRef, bufferSize *uintptr) int32

SSLGetBufferedReadSize determines how much data is available to be read.

It panics if SSLGetBufferedReadSize is unavailable at run time; use TrySSLGetBufferedReadSize to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetBufferedReadSize(_:_:)

func SSLGetClientCertificateState deprecated

func SSLGetClientCertificateState(context SSLContextRef, clientState *SSLClientCertificateState) int32

SSLGetClientCertificateState retrieves the exchange status of the client certificate.

It panics if SSLGetClientCertificateState is unavailable at run time; use TrySSLGetClientCertificateState to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetClientCertificateState(_:_:)

func SSLGetConnection deprecated

func SSLGetConnection(context SSLContextRef, connection *SSLConnectionRef) int32

SSLGetConnection retrieves an I/O connection—such as a socket or endpoint—for a specific session.

It panics if SSLGetConnection is unavailable at run time; use TrySSLGetConnection to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetConnection(_:_:)

func SSLGetDatagramWriteSize deprecated

func SSLGetDatagramWriteSize(dtlsContext SSLContextRef, bufSize *uintptr) int32

SSLGetDatagramWriteSize provides the largest packet that the OS guarantees it can send without fragmentation.

It panics if SSLGetDatagramWriteSize is unavailable at run time; use TrySSLGetDatagramWriteSize to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetDatagramWriteSize(_:_:)

func SSLGetDiffieHellmanParams deprecated

func SSLGetDiffieHellmanParams(context SSLContextRef, dhParams unsafe.Pointer, dhParamsLen *uintptr) int32

SSLGetDiffieHellmanParams retrieves the Diffie-Hellman parameters for a given context.

It panics if SSLGetDiffieHellmanParams is unavailable at run time; use TrySSLGetDiffieHellmanParams to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetDiffieHellmanParams(_:_:_:)

func SSLGetEnableCertVerify deprecated

func SSLGetEnableCertVerify(context SSLContextRef, enableVerify *bool) int32

SSLGetEnableCertVerify determines whether peer certificate chain validation is currently enabled.

It panics if SSLGetEnableCertVerify is unavailable at run time; use TrySSLGetEnableCertVerify to get an error instead.

Deprecated: Deprecated since macOS 10.9. To check whether peer certificate chain validation is enabled in a context, call [SSLGetSessionOption(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLGetSessionOption(_:_:_:)>) to obtain the value of the [SSLSessionOption.breakOnServerAuth](<https://developer.apple.com/documentation/Security/SSLSessionOption/breakOnServerAuth>) session option flag. If the value of this option flag is [true](<https://developer.apple.com/documentation/Swift/true>), then verification is disabled.

See: https://developer.apple.com/documentation/Security/SSLGetEnableCertVerify

func SSLGetEnabledCiphers deprecated

func SSLGetEnabledCiphers(context SSLContextRef, ciphers *SSLCipherSuite, numCiphers *uintptr) int32

SSLGetEnabledCiphers determines which SSL cipher suites are currently enabled.

It panics if SSLGetEnabledCiphers is unavailable at run time; use TrySSLGetEnabledCiphers to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetEnabledCiphers(_:_:_:)

func SSLGetMaxDatagramRecordSize deprecated

func SSLGetMaxDatagramRecordSize(dtlsContext SSLContextRef, maxSize *uintptr) int32

SSLGetMaxDatagramRecordSize obtains the maximum datagram record size allowed by the application for a given context.

It panics if SSLGetMaxDatagramRecordSize is unavailable at run time; use TrySSLGetMaxDatagramRecordSize to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetMaxDatagramRecordSize(_:_:)

func SSLGetNegotiatedCipher deprecated

func SSLGetNegotiatedCipher(context SSLContextRef, cipherSuite *SSLCipherSuite) int32

SSLGetNegotiatedCipher retrieves the cipher suite negotiated for this session.

It panics if SSLGetNegotiatedCipher is unavailable at run time; use TrySSLGetNegotiatedCipher to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetNegotiatedCipher(_:_:)

func SSLGetNegotiatedProtocolVersion deprecated

func SSLGetNegotiatedProtocolVersion(context SSLContextRef, protocol_ *SSLProtocol) int32

SSLGetNegotiatedProtocolVersion obtains the negotiated protocol version of the active session.

It panics if SSLGetNegotiatedProtocolVersion is unavailable at run time; use TrySSLGetNegotiatedProtocolVersion to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetNegotiatedProtocolVersion(_:_:)

func SSLGetNumberEnabledCiphers deprecated

func SSLGetNumberEnabledCiphers(context SSLContextRef, numCiphers *uintptr) int32

SSLGetNumberEnabledCiphers determines the number of cipher suites currently enabled.

It panics if SSLGetNumberEnabledCiphers is unavailable at run time; use TrySSLGetNumberEnabledCiphers to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetNumberEnabledCiphers(_:_:)

func SSLGetNumberSupportedCiphers deprecated

func SSLGetNumberSupportedCiphers(context SSLContextRef, numCiphers *uintptr) int32

SSLGetNumberSupportedCiphers determines the number of cipher suites supported.

It panics if SSLGetNumberSupportedCiphers is unavailable at run time; use TrySSLGetNumberSupportedCiphers to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetNumberSupportedCiphers(_:_:)

func SSLGetPeerDomainName deprecated

func SSLGetPeerDomainName(context SSLContextRef, peerName string, peerNameLen *uintptr) int32

SSLGetPeerDomainName retrieves the peer domain name specified previously.

It panics if SSLGetPeerDomainName is unavailable at run time; use TrySSLGetPeerDomainName to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetPeerDomainName(_:_:_:)

func SSLGetPeerDomainNameLength deprecated

func SSLGetPeerDomainNameLength(context SSLContextRef, peerNameLen *uintptr) int32

SSLGetPeerDomainNameLength determines the length of a previously set peer domain name.

It panics if SSLGetPeerDomainNameLength is unavailable at run time; use TrySSLGetPeerDomainNameLength to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetPeerDomainNameLength(_:_:)

func SSLGetPeerID deprecated

func SSLGetPeerID(context SSLContextRef, peerID unsafe.Pointer, peerIDLen *uintptr) int32

SSLGetPeerID retrieves the current peer ID data.

It panics if SSLGetPeerID is unavailable at run time; use TrySSLGetPeerID to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetPeerID(_:_:_:)

func SSLGetProtocolVersion deprecated

func SSLGetProtocolVersion(context SSLContextRef, protocol_ *SSLProtocol) int32

SSLGetProtocolVersion gets the SSL protocol version.

It panics if SSLGetProtocolVersion is unavailable at run time; use TrySSLGetProtocolVersion to get an error instead.

Deprecated: Deprecated since macOS 10.8. Use [SSLGetProtocolVersionMin(_:_:)](<https://developer.apple.com/documentation/Security/SSLGetProtocolVersionMin(_:_:)>) and/or [SSLGetProtocolVersionMax(_:_:)](<https://developer.apple.com/documentation/Security/SSLGetProtocolVersionMax(_:_:)>) to check whether a protocol is enabled.

See: https://developer.apple.com/documentation/Security/SSLGetProtocolVersion

func SSLGetProtocolVersionEnabled deprecated

func SSLGetProtocolVersionEnabled(context SSLContextRef, protocol_ SSLProtocol, enable *bool) int32

SSLGetProtocolVersionEnabled retrieves the enabled status of a given protocol.

It panics if SSLGetProtocolVersionEnabled is unavailable at run time; use TrySSLGetProtocolVersionEnabled to get an error instead.

Deprecated: Deprecated since macOS 10.9. Use [SSLGetProtocolVersionMin(_:_:)](<https://developer.apple.com/documentation/Security/SSLGetProtocolVersionMin(_:_:)>) and/or [SSLGetProtocolVersionMax(_:_:)](<https://developer.apple.com/documentation/Security/SSLGetProtocolVersionMax(_:_:)>) to check whether a protocol is enabled.

See: https://developer.apple.com/documentation/Security/SSLGetProtocolVersionEnabled

func SSLGetProtocolVersionMax deprecated

func SSLGetProtocolVersionMax(context SSLContextRef, maxVersion *SSLProtocol) int32

SSLGetProtocolVersionMax gets the maximum protocol version allowed by the application for a given SSL context.

It panics if SSLGetProtocolVersionMax is unavailable at run time; use TrySSLGetProtocolVersionMax to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetProtocolVersionMax(_:_:)

func SSLGetProtocolVersionMin deprecated

func SSLGetProtocolVersionMin(context SSLContextRef, minVersion *SSLProtocol) int32

SSLGetProtocolVersionMin gets the minimum protocol version allowed by the application for a given SSL context.

It panics if SSLGetProtocolVersionMin is unavailable at run time; use TrySSLGetProtocolVersionMin to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetProtocolVersionMin(_:_:)

func SSLGetRsaBlinding deprecated

func SSLGetRsaBlinding(context SSLContextRef, blinding *bool) int32

SSLGetRsaBlinding obtains a value indicating whether RSA blinding is enabled.

It panics if SSLGetRsaBlinding is unavailable at run time; use TrySSLGetRsaBlinding to get an error instead.

Deprecated: Deprecated since macOS 10.9. RSA blinding is now enabled unconditionally as it prevents a known way for an attacker to recover the private key and the performance gain of disabling it is negligible.

See: https://developer.apple.com/documentation/Security/SSLGetRsaBlinding

func SSLGetSessionOption deprecated

func SSLGetSessionOption(context SSLContextRef, option SSLSessionOption, value *bool) int32

SSLGetSessionOption indicates the current setting of Secure Sockets Layer (SSL) session options.

It panics if SSLGetSessionOption is unavailable at run time; use TrySSLGetSessionOption to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetSessionOption(_:_:_:)

func SSLGetSessionState deprecated

func SSLGetSessionState(context SSLContextRef, state *SSLSessionState) int32

SSLGetSessionState retrieves the state of an SSL session.

It panics if SSLGetSessionState is unavailable at run time; use TrySSLGetSessionState to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetSessionState(_:_:)

func SSLGetSupportedCiphers deprecated

func SSLGetSupportedCiphers(context SSLContextRef, ciphers *SSLCipherSuite, numCiphers *uintptr) int32

SSLGetSupportedCiphers determines the values of the supported cipher suites.

It panics if SSLGetSupportedCiphers is unavailable at run time; use TrySSLGetSupportedCiphers to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLGetSupportedCiphers(_:_:_:)

func SSLHandshake deprecated

func SSLHandshake(context SSLContextRef) int32

SSLHandshake performs the SSL handshake.

It panics if SSLHandshake is unavailable at run time; use TrySSLHandshake to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLHandshake(_:)

func SSLNewContext deprecated

func SSLNewContext(isServer bool, contextPtr *SSLContextRef) int32

SSLNewContext creates a new Secure Sockets Layer (SSL) session context.

It panics if SSLNewContext is unavailable at run time; use TrySSLNewContext to get an error instead.

Deprecated: Deprecated since macOS 10.9. Use [SSLCreateContext(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLCreateContext(_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SSLNewContext

func SSLReHandshake deprecated

func SSLReHandshake(context SSLContextRef) int32

SSLReHandshake requests renegotiation of the SSL handshake.

It panics if SSLReHandshake is unavailable at run time; use TrySSLReHandshake to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLReHandshake(_:)

func SSLRead deprecated

func SSLRead(context SSLContextRef, data unsafe.Pointer, dataLength uintptr, processed *uintptr) int32

SSLRead performs a normal application-level read operation.

It panics if SSLRead is unavailable at run time; use TrySSLRead to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLRead(_:_:_:_:)

func SSLSetALPNProtocols deprecated

func SSLSetALPNProtocols(context SSLContextRef, protocols corefoundation.CFArrayRef) int32

SSLSetALPNProtocols sets the list of supported applicaiton layer protocols.

It panics if SSLSetALPNProtocols is unavailable at run time; use TrySSLSetALPNProtocols to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetALPNProtocols(_:_:)

func SSLSetAllowsAnyRoot deprecated

func SSLSetAllowsAnyRoot(context SSLContextRef, anyRoot bool) int32

SSLSetAllowsAnyRoot specifies whether root certificates from unrecognized certification authorities are allowed.

It panics if SSLSetAllowsAnyRoot is unavailable at run time; use TrySSLSetAllowsAnyRoot to get an error instead.

Deprecated: Deprecated since macOS 10.9. To ignore unknown root certificate errors, first disable Secure Transport’s automatic verification of peer certificates by calling [SSLSetSessionOption(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLSetSessionOption(_:_:_:)>) to set [SSLSessionOption.breakOnServerAuth](<https://developer.apple.com/documentation/Security/SSLSessionOption/breakOnServerAuth>) to [true](<https://developer.apple.com/documentation/Swift/true>). When [SSLHandshake(_:)](<https://developer.apple.com/documentation/Security/SSLHandshake(_:)>) subsequently returns an `errSSLServerAuthCompleted` result, obtain the [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) for the peer’s certificates and perform a custom trust evaluation with [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) APIs (see the [Trust](<https://developer.apple.com/documentation/Security/trust>) section of [Certificate, Key, and Trust Services](<https://developer.apple.com/documentation/Security/certificate-key-and-trust-services>)). Note that an unknown root certificate will cause [SecTrustEvaluate(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustEvaluate(_:_:)>) to report [SecTrustResultType.recoverableTrustFailure](<https://developer.apple.com/documentation/Security/SecTrustResultType/recoverableTrustFailure>) as the trust result.

See: https://developer.apple.com/documentation/Security/SSLSetAllowsAnyRoot

func SSLSetAllowsExpiredCerts deprecated

func SSLSetAllowsExpiredCerts(context SSLContextRef, allowsExpired bool) int32

SSLSetAllowsExpiredCerts specifies whether certificate expiration times are ignored.

It panics if SSLSetAllowsExpiredCerts is unavailable at run time; use TrySSLSetAllowsExpiredCerts to get an error instead.

Deprecated: Deprecated since macOS 10.9. To ignore expired certificate errors, first disable Secure Transport’s automatic verification of peer certificates by calling [SSLSetSessionOption(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLSetSessionOption(_:_:_:)>) to set [SSLSessionOption.breakOnServerAuth](<https://developer.apple.com/documentation/Security/SSLSessionOption/breakOnServerAuth>) to true. When [SSLHandshake(_:)](<https://developer.apple.com/documentation/Security/SSLHandshake(_:)>) subsequently returns an `errSSLServerAuthCompleted` result, obtain the [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) for the peer’s certificates and perform a custom trust evaluation with [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) APIs (see the [Trust](<https://developer.apple.com/documentation/Security/trust>) section of [Certificate, Key, and Trust Services](<https://developer.apple.com/documentation/Security/certificate-key-and-trust-services>)). The [SecTrustSetOptions(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustSetOptions(_:_:)>) function allows you to specify that the expiration status of certificates should be ignored for this evaluation.

See: https://developer.apple.com/documentation/Security/SSLSetAllowsExpiredCerts

func SSLSetAllowsExpiredRoots deprecated

func SSLSetAllowsExpiredRoots(context SSLContextRef, allowsExpired bool) int32

SSLSetAllowsExpiredRoots specifies whether expired root certificates are allowed.

It panics if SSLSetAllowsExpiredRoots is unavailable at run time; use TrySSLSetAllowsExpiredRoots to get an error instead.

Deprecated: Deprecated since macOS 10.9. To ignore expired certificate errors, first disable Secure Transport’s automatic verification of peer certificates by calling [SSLSetSessionOption(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLSetSessionOption(_:_:_:)>) to set [SSLSessionOption.breakOnServerAuth](<https://developer.apple.com/documentation/Security/SSLSessionOption/breakOnServerAuth>) to [true](<https://developer.apple.com/documentation/Swift/true>). When [SSLHandshake(_:)](<https://developer.apple.com/documentation/Security/SSLHandshake(_:)>) subsequently returns an `errSSLServerAuthCompleted` result, obtain the [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) for the peer’s certificates and perform a custom trust evaluation with [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) APIs (see the [Trust](<https://developer.apple.com/documentation/Security/trust>) section of [Certificate, Key, and Trust Services](<https://developer.apple.com/documentation/Security/certificate-key-and-trust-services>)). The [SecTrustSetOptions(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustSetOptions(_:_:)>) function allows you to specify that the expiration status of certificates should be ignored for this evaluation. The [allowExpiredRoot](<https://developer.apple.com/documentation/Security/SecTrustOptionFlags/allowExpiredRoot>) option can be used instead of [allowExpired](<https://developer.apple.com/documentation/Security/SecTrustOptionFlags/allowExpired>) to allow expired roots only.

See: https://developer.apple.com/documentation/Security/SSLSetAllowsExpiredRoots

func SSLSetCertificate deprecated

func SSLSetCertificate(context SSLContextRef, certRefs corefoundation.CFArrayRef) int32

SSLSetCertificate specifies this connection’s certificate or certificates.

It panics if SSLSetCertificate is unavailable at run time; use TrySSLSetCertificate to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetCertificate(_:_:)

func SSLSetCertificateAuthorities deprecated

func SSLSetCertificateAuthorities(context SSLContextRef, certificateOrArray corefoundation.CFTypeRef, replaceExisting bool) int32

SSLSetCertificateAuthorities adds one or more certificates to a server’s list of certification authorities (CAs) acceptable for client authentication.

It panics if SSLSetCertificateAuthorities is unavailable at run time; use TrySSLSetCertificateAuthorities to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetCertificateAuthorities(_:_:_:)

func SSLSetClientSideAuthenticate deprecated

func SSLSetClientSideAuthenticate(context SSLContextRef, auth SSLAuthenticate) int32

SSLSetClientSideAuthenticate specifies the requirements for client-side authentication.

It panics if SSLSetClientSideAuthenticate is unavailable at run time; use TrySSLSetClientSideAuthenticate to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetClientSideAuthenticate(_:_:)

func SSLSetConnection deprecated

func SSLSetConnection(context SSLContextRef, connection SSLConnectionRef) int32

SSLSetConnection specifies an I/O connection for a specific session.

It panics if SSLSetConnection is unavailable at run time; use TrySSLSetConnection to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetConnection(_:_:)

func SSLSetDatagramHelloCookie deprecated

func SSLSetDatagramHelloCookie(dtlsContext SSLContextRef, cookie unsafe.Pointer, cookieLen uintptr) int32

SSLSetDatagramHelloCookie sets the cookie value used in the Datagram Transport Layer Security (DTLS) hello message.

It panics if SSLSetDatagramHelloCookie is unavailable at run time; use TrySSLSetDatagramHelloCookie to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetDatagramHelloCookie(_:_:_:)

func SSLSetDiffieHellmanParams deprecated

func SSLSetDiffieHellmanParams(context SSLContextRef, dhParams unsafe.Pointer, dhParamsLen uintptr) int32

SSLSetDiffieHellmanParams specifies Diffie-Hellman parameters for a given context.

It panics if SSLSetDiffieHellmanParams is unavailable at run time; use TrySSLSetDiffieHellmanParams to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetDiffieHellmanParams(_:_:_:)

func SSLSetEnableCertVerify deprecated

func SSLSetEnableCertVerify(context SSLContextRef, enableVerify bool) int32

SSLSetEnableCertVerify enables or disables peer certificate chain validation.

It panics if SSLSetEnableCertVerify is unavailable at run time; use TrySSLSetEnableCertVerify to get an error instead.

Deprecated: Deprecated since macOS 10.9. To disable peer certificate chain validation, you can instead use [SSLSetSessionOption(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLSetSessionOption(_:_:_:)>) to set [SSLSessionOption.breakOnServerAuth](<https://developer.apple.com/documentation/Security/SSLSessionOption/breakOnServerAuth>) to true. This will disable verification and cause [SSLHandshake(_:)](<https://developer.apple.com/documentation/Security/SSLHandshake(_:)>) to return with an `errSSLServerAuthCompleted` result when the peer certificates have been received. Then you can choose to evaluate peer trust yourself or simply call [SSLHandshake(_:)](<https://developer.apple.com/documentation/Security/SSLHandshake(_:)>) again to proceed with the handshake.

See: https://developer.apple.com/documentation/Security/SSLSetEnableCertVerify

func SSLSetEnabledCiphers deprecated

func SSLSetEnabledCiphers(context SSLContextRef, ciphers *SSLCipherSuite, numCiphers uintptr) int32

SSLSetEnabledCiphers specifies a restricted set of SSL cipher suites to be enabled by the current SSL session context.

It panics if SSLSetEnabledCiphers is unavailable at run time; use TrySSLSetEnabledCiphers to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetEnabledCiphers(_:_:_:)

func SSLSetEncryptionCertificate deprecated

func SSLSetEncryptionCertificate(context SSLContextRef, certRefs corefoundation.CFArrayRef) int32

SSLSetEncryptionCertificate specifies the encryption certificates used for this connection.

It panics if SSLSetEncryptionCertificate is unavailable at run time; use TrySSLSetEncryptionCertificate to get an error instead.

Deprecated: Deprecated since macOS 10.11. Using separate RSA certificates for encryption and signing is no longer supported.

See: https://developer.apple.com/documentation/Security/SSLSetEncryptionCertificate(_:_:)

func SSLSetError deprecated

func SSLSetError(context SSLContextRef, status int32) int32

SSLSetError sets the status of a session context.

It panics if SSLSetError is unavailable at run time; use TrySSLSetError to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetError(_:_:)

func SSLSetIOFuncs deprecated

func SSLSetIOFuncs(context SSLContextRef, readFunc SSLReadFunc, writeFunc SSLWriteFunc) int32

SSLSetIOFuncs specifies callback functions that perform the network I/O operations.

It panics if SSLSetIOFuncs is unavailable at run time; use TrySSLSetIOFuncs to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetIOFuncs(_:_:_:)

func SSLSetMaxDatagramRecordSize deprecated

func SSLSetMaxDatagramRecordSize(dtlsContext SSLContextRef, maxSize uintptr) int32

SSLSetMaxDatagramRecordSize sets the maximum datagram record size allowed by the application for a given context.

It panics if SSLSetMaxDatagramRecordSize is unavailable at run time; use TrySSLSetMaxDatagramRecordSize to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetMaxDatagramRecordSize(_:_:)

func SSLSetOCSPResponse deprecated

func SSLSetOCSPResponse(context SSLContextRef, response corefoundation.CFDataRef) int32

SSLSetOCSPResponse sets the OCSP response for the given SSL session.

It panics if SSLSetOCSPResponse is unavailable at run time; use TrySSLSetOCSPResponse to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetOCSPResponse(_:_:)

func SSLSetPeerDomainName deprecated

func SSLSetPeerDomainName(context SSLContextRef, peerName string, peerNameLen uintptr) int32

SSLSetPeerDomainName specifies the fully qualified domain name of the peer.

It panics if SSLSetPeerDomainName is unavailable at run time; use TrySSLSetPeerDomainName to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetPeerDomainName(_:_:_:)

func SSLSetPeerID deprecated

func SSLSetPeerID(context SSLContextRef, peerID unsafe.Pointer, peerIDLen uintptr) int32

SSLSetPeerID specifies data that is sufficient to uniquely identify the peer of the current session.

It panics if SSLSetPeerID is unavailable at run time; use TrySSLSetPeerID to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetPeerID(_:_:_:)

func SSLSetProtocolVersion deprecated

func SSLSetProtocolVersion(context SSLContextRef, version SSLProtocol) int32

SSLSetProtocolVersion sets the SSL protocol version.

It panics if SSLSetProtocolVersion is unavailable at run time; use TrySSLSetProtocolVersion to get an error instead.

Deprecated: Deprecated since macOS 10.8. Use [SSLSetProtocolVersionMin(_:_:)](<https://developer.apple.com/documentation/Security/SSLSetProtocolVersionMin(_:_:)>) and/or [SSLSetProtocolVersionMax(_:_:)](<https://developer.apple.com/documentation/Security/SSLSetProtocolVersionMax(_:_:)>) to specify which protocols are enabled.

See: https://developer.apple.com/documentation/Security/SSLSetProtocolVersion

func SSLSetProtocolVersionEnabled deprecated

func SSLSetProtocolVersionEnabled(context SSLContextRef, protocol_ SSLProtocol, enable bool) int32

SSLSetProtocolVersionEnabled sets the allowed Secure Sockets Layer (SSL) protocol versions.

It panics if SSLSetProtocolVersionEnabled is unavailable at run time; use TrySSLSetProtocolVersionEnabled to get an error instead.

Deprecated: Deprecated since macOS 10.9. Use [SSLSetProtocolVersionMin(_:_:)](<https://developer.apple.com/documentation/Security/SSLSetProtocolVersionMin(_:_:)>) and/or [SSLSetProtocolVersionMax(_:_:)](<https://developer.apple.com/documentation/Security/SSLSetProtocolVersionMax(_:_:)>) to specify which protocols are enabled.

See: https://developer.apple.com/documentation/Security/SSLSetProtocolVersionEnabled

func SSLSetProtocolVersionMax deprecated

func SSLSetProtocolVersionMax(context SSLContextRef, maxVersion SSLProtocol) int32

SSLSetProtocolVersionMax sets the maximum protocol version allowed by the application for a given SSL context.

It panics if SSLSetProtocolVersionMax is unavailable at run time; use TrySSLSetProtocolVersionMax to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetProtocolVersionMax(_:_:)

func SSLSetProtocolVersionMin deprecated

func SSLSetProtocolVersionMin(context SSLContextRef, minVersion SSLProtocol) int32

SSLSetProtocolVersionMin sets the minimum protocol version allowed by the application for a given SSL context.

It panics if SSLSetProtocolVersionMin is unavailable at run time; use TrySSLSetProtocolVersionMin to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetProtocolVersionMin(_:_:)

func SSLSetRsaBlinding deprecated

func SSLSetRsaBlinding(context SSLContextRef, blinding bool) int32

SSLSetRsaBlinding enables or disables RSA blinding.

It panics if SSLSetRsaBlinding is unavailable at run time; use TrySSLSetRsaBlinding to get an error instead.

Deprecated: Deprecated since macOS 10.9. RSA blinding is now enabled unconditionally as it prevents a known way for an attacker to recover the private key and the performance gain of disabling it is negligible.

See: https://developer.apple.com/documentation/Security/SSLSetRsaBlinding

func SSLSetSessionConfig deprecated

func SSLSetSessionConfig(context SSLContextRef, config corefoundation.CFStringRef) int32

SSLSetSessionConfig sets a predefined configuration for the Secure Sockets Layer (SSL) session.

It panics if SSLSetSessionConfig is unavailable at run time; use TrySSLSetSessionConfig to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetSessionConfig(_:_:)

func SSLSetSessionOption deprecated

func SSLSetSessionOption(context SSLContextRef, option SSLSessionOption, value bool) int32

SSLSetSessionOption specifies options for a specific session.

It panics if SSLSetSessionOption is unavailable at run time; use TrySSLSetSessionOption to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetSessionOption(_:_:_:)

func SSLSetSessionTicketsEnabled deprecated

func SSLSetSessionTicketsEnabled(context SSLContextRef, enabled bool) int32

SSLSetSessionTicketsEnabled enables or disables session ticket resumption.

It panics if SSLSetSessionTicketsEnabled is unavailable at run time; use TrySSLSetSessionTicketsEnabled to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLSetSessionTicketsEnabled(_:_:)

func SSLSetTrustedRoots deprecated

func SSLSetTrustedRoots(context SSLContextRef, trustedRoots corefoundation.CFArrayRef, replaceExisting bool) int32

SSLSetTrustedRoots augments or replaces the default set of trusted root certificates for this session.

It panics if SSLSetTrustedRoots is unavailable at run time; use TrySSLSetTrustedRoots to get an error instead.

Deprecated: Deprecated since macOS 10.9. To trust specific roots in a session, first disable Secure Transport’s automatic verification of peer certificates by calling [SSLSetSessionOption(_:_:_:)](<https://developer.apple.com/documentation/Security/SSLSetSessionOption(_:_:_:)>) to set [SSLSessionOption.breakOnServerAuth](<https://developer.apple.com/documentation/Security/SSLSessionOption/breakOnServerAuth>) to true. When [SSLHandshake(_:)](<https://developer.apple.com/documentation/Security/SSLHandshake(_:)>) subsequently returns an errSSLServerAuthCompleted result, obtain the [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) for the peer’s certificates and perform a custom trust evaluation with [SecTrust](<https://developer.apple.com/documentation/Security/SecTrust>) APIs (see the [Trust](<https://developer.apple.com/documentation/Security/trust>) section of [Certificate, Key, and Trust Services](<https://developer.apple.com/documentation/Security/certificate-key-and-trust-services>)). You can call [SecTrustSetAnchorCertificates(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustSetAnchorCertificates(_:_:)>) to augment the system’s trusted root set, or [SecTrustSetAnchorCertificatesOnly(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustSetAnchorCertificatesOnly(_:_:)>) to make these the only trusted roots, prior to calling [SecTrustEvaluate(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustEvaluate(_:_:)>).

See: https://developer.apple.com/documentation/Security/SSLSetTrustedRoots

func SSLWrite deprecated

func SSLWrite(context SSLContextRef, data unsafe.Pointer, dataLength uintptr, processed *uintptr) int32

SSLWrite performs a typical application-level write operation.

It panics if SSLWrite is unavailable at run time; use TrySSLWrite to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLWrite(_:_:_:_:)

func SecACLCopyAuthorizations deprecated

func SecACLCopyAuthorizations(acl SecACLRef) corefoundation.CFArrayRef

SecACLCopyAuthorizations retrieves the authorization tags of a given ACL entry.

It panics if SecACLCopyAuthorizations is unavailable at run time; use TrySecACLCopyAuthorizations to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecACLCopyAuthorizations(_:)

func SecACLCopyContents deprecated

func SecACLCopyContents(acl SecACLRef, applicationList *corefoundation.CFArrayRef, description *corefoundation.CFStringRef, promptSelector *SecKeychainPromptSelector) int32

SecACLCopyContents returns the application list, description, and prompt selector for a given ACL entry.

It panics if SecACLCopyContents is unavailable at run time; use TrySecACLCopyContents to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecACLCopyContents(_:_:_:_:)

func SecACLCopySimpleContents deprecated

func SecACLCopySimpleContents(acl SecACLRef, applicationList *corefoundation.CFArrayRef, description *corefoundation.CFStringRef, promptSelector unsafe.Pointer) int32

SecACLCopySimpleContents returns the application list, description, and CSSM prompt selector for a given access control list entry.

It panics if SecACLCopySimpleContents is unavailable at run time; use TrySecACLCopySimpleContents to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecACLCopyContents(_:_:_:_:)](<https://developer.apple.com/documentation/Security/SecACLCopyContents(_:_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecACLCopySimpleContents

func SecACLCreateFromSimpleContents deprecated

func SecACLCreateFromSimpleContents(access SecAccessRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector unsafe.Pointer, newAcl *SecACLRef) int32

SecACLCreateFromSimpleContents creates a new access control list entry from the application list, description, and prompt selector provided and adds it to an item’s access object.

It panics if SecACLCreateFromSimpleContents is unavailable at run time; use TrySecACLCreateFromSimpleContents to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecACLCreateWithSimpleContents(_:_:_:_:_:)](<https://developer.apple.com/documentation/Security/SecACLCreateWithSimpleContents(_:_:_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecACLCreateFromSimpleContents

func SecACLCreateWithSimpleContents deprecated

func SecACLCreateWithSimpleContents(access SecAccessRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector SecKeychainPromptSelector, newAcl *SecACLRef) int32

SecACLCreateWithSimpleContents creates a new ACL entry with the given characteristics, and adds it to an access instance.

It panics if SecACLCreateWithSimpleContents is unavailable at run time; use TrySecACLCreateWithSimpleContents to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecACLCreateWithSimpleContents(_:_:_:_:_:)

func SecACLGetAuthorizations deprecated

func SecACLGetAuthorizations(acl SecACLRef, tags unsafe.Pointer, tagCount *uint32) int32

SecACLGetAuthorizations retrieves the CSSM authorization tags of a given access control list entry.

It panics if SecACLGetAuthorizations is unavailable at run time; use TrySecACLGetAuthorizations to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecACLCopyAuthorizations(_:)](<https://developer.apple.com/documentation/Security/SecACLCopyAuthorizations(_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecACLGetAuthorizations

func SecACLGetTypeID deprecated

func SecACLGetTypeID() uint

SecACLGetTypeID returns the unique identifier of the opaque type to which an ACL entry belongs.

It panics if SecACLGetTypeID is unavailable at run time; use TrySecACLGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecACLGetTypeID()

func SecACLRemove deprecated

func SecACLRemove(aclRef SecACLRef) int32

SecACLRemove removes the specified ACL entry from the access instance that contains it.

It panics if SecACLRemove is unavailable at run time; use TrySecACLRemove to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecACLRemove(_:)

func SecACLSetAuthorizations deprecated

func SecACLSetAuthorizations(acl SecACLRef, tags unsafe.Pointer, tagCount uint32) int32

SecACLSetAuthorizations sets the CSSM authorization tags for a given access control list entry.

It panics if SecACLSetAuthorizations is unavailable at run time; use TrySecACLSetAuthorizations to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecACLUpdateAuthorizations(_:_:)](<https://developer.apple.com/documentation/Security/SecACLUpdateAuthorizations(_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecACLSetAuthorizations

func SecACLSetContents deprecated

func SecACLSetContents(acl SecACLRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector SecKeychainPromptSelector) int32

SecACLSetContents sets the application list, description, and prompt selector for a given ACL entry.

It panics if SecACLSetContents is unavailable at run time; use TrySecACLSetContents to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecACLSetContents(_:_:_:_:)

func SecACLSetSimpleContents deprecated

func SecACLSetSimpleContents(acl SecACLRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector unsafe.Pointer) int32

SecACLSetSimpleContents sets the application list, description, and prompt selector for a given access control list entry.

It panics if SecACLSetSimpleContents is unavailable at run time; use TrySecACLSetSimpleContents to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecACLSetContents(_:_:_:_:)](<https://developer.apple.com/documentation/Security/SecACLSetContents(_:_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecACLSetSimpleContents

func SecACLUpdateAuthorizations deprecated

func SecACLUpdateAuthorizations(acl SecACLRef, authorizations corefoundation.CFArrayRef) int32

SecACLUpdateAuthorizations sets the authorization tags for a given ACL.

It panics if SecACLUpdateAuthorizations is unavailable at run time; use TrySecACLUpdateAuthorizations to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecACLUpdateAuthorizations(_:_:)

func SecAccessControlGetTypeID

func SecAccessControlGetTypeID() uint

SecAccessControlGetTypeID returns the unique identifier of the opaque type to which a keychain item access control object belongs.

It panics if SecAccessControlGetTypeID is unavailable at run time; use TrySecAccessControlGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/Security/SecAccessControlGetTypeID()

func SecAccessCopyACLList deprecated

func SecAccessCopyACLList(accessRef SecAccessRef, aclList *corefoundation.CFArrayRef) int32

SecAccessCopyACLList retrieves all the ACL entries of a given access instance.

It panics if SecAccessCopyACLList is unavailable at run time; use TrySecAccessCopyACLList to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecAccessCopyACLList(_:_:)

func SecAccessCopyMatchingACLList deprecated

func SecAccessCopyMatchingACLList(accessRef SecAccessRef, authorizationTag corefoundation.CFTypeRef) corefoundation.CFArrayRef

SecAccessCopyMatchingACLList retrieves selected ACL entries from a given access instance.

It panics if SecAccessCopyMatchingACLList is unavailable at run time; use TrySecAccessCopyMatchingACLList to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecAccessCopyMatchingACLList(_:_:)

func SecAccessCopyOwnerAndACL deprecated

func SecAccessCopyOwnerAndACL(accessRef SecAccessRef, userId *uint32, groupId *uint32, ownerType *SecAccessOwnerType, aclList *corefoundation.CFArrayRef) int32

SecAccessCopyOwnerAndACL retrieves the owner and the ACL entries of a given access instance.

It panics if SecAccessCopyOwnerAndACL is unavailable at run time; use TrySecAccessCopyOwnerAndACL to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecAccessCopyOwnerAndACL(_:_:_:_:_:)

func SecAccessCopySelectedACLList deprecated

func SecAccessCopySelectedACLList(accessRef SecAccessRef, action CSSM_ACL_AUTHORIZATION_TAG, aclList *corefoundation.CFArrayRef) int32

SecAccessCopySelectedACLList retrieves selected access control lists from a given access object.

It panics if SecAccessCopySelectedACLList is unavailable at run time; use TrySecAccessCopySelectedACLList to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecAccessCopyMatchingACLList(_:_:)](<https://developer.apple.com/documentation/Security/SecAccessCopyMatchingACLList(_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecAccessCopySelectedACLList

func SecAccessCreate deprecated

func SecAccessCreate(descriptor corefoundation.CFStringRef, trustedlist corefoundation.CFArrayRef, accessRef *SecAccessRef) int32

SecAccessCreate creates a new access instance associated with a given protected keychain item.

It panics if SecAccessCreate is unavailable at run time; use TrySecAccessCreate to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecAccessCreate(_:_:_:)

func SecAccessCreateFromOwnerAndACL deprecated

func SecAccessCreateFromOwnerAndACL(owner unsafe.Pointer, aclCount uint32, acls unsafe.Pointer, accessRef *SecAccessRef) int32

SecAccessCreateFromOwnerAndACL creates a new access object using the owner and access control list you provide.

It panics if SecAccessCreateFromOwnerAndACL is unavailable at run time; use TrySecAccessCreateFromOwnerAndACL to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecAccessCreateWithOwnerAndACL(_:_:_:_:_:)](<https://developer.apple.com/documentation/Security/SecAccessCreateWithOwnerAndACL(_:_:_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecAccessCreateFromOwnerAndACL

func SecAccessGetOwnerAndACL deprecated

func SecAccessGetOwnerAndACL(accessRef SecAccessRef, owner unsafe.Pointer, aclCount *uint32, acls unsafe.Pointer) int32

SecAccessGetOwnerAndACL retrieves the owner and the access control list of a given access object.

It panics if SecAccessGetOwnerAndACL is unavailable at run time; use TrySecAccessGetOwnerAndACL to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecAccessCopyOwnerAndACL(_:_:_:_:_:)](<https://developer.apple.com/documentation/Security/SecAccessCopyOwnerAndACL(_:_:_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecAccessGetOwnerAndACL

func SecAccessGetTypeID deprecated

func SecAccessGetTypeID() uint

SecAccessGetTypeID returns the unique identifier of the opaque type to which an access instance belongs.

It panics if SecAccessGetTypeID is unavailable at run time; use TrySecAccessGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecAccessGetTypeID()

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.

It panics if SecAddSharedWebCredential is unavailable at run time; use TrySecAddSharedWebCredential to get an error instead.

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

func SecAsn1AllocCopy(coder SecAsn1CoderRef, src unsafe.Pointer, len_ uintptr, dest unsafe.Pointer) int32

SecAsn1AllocCopy allocates memory for an item’s data field in the coder object’s memory pool and copies in a block of data.

It panics if SecAsn1AllocCopy is unavailable at run time; use TrySecAsn1AllocCopy to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1AllocCopy

func SecAsn1AllocCopyItem deprecated

func SecAsn1AllocCopyItem(coder SecAsn1CoderRef, src unsafe.Pointer, dest unsafe.Pointer) int32

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.

It panics if SecAsn1AllocCopyItem is unavailable at run time; use TrySecAsn1AllocCopyItem to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1AllocCopyItem

func SecAsn1AllocItem deprecated

func SecAsn1AllocItem(coder SecAsn1CoderRef, item unsafe.Pointer, len_ uintptr) int32

SecAsn1AllocItem allocates memory for an item’s data field in the coder object’s memory pool.

It panics if SecAsn1AllocItem is unavailable at run time; use TrySecAsn1AllocItem to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1AllocItem

func SecAsn1CoderCreate deprecated

func SecAsn1CoderCreate(coder *SecAsn1CoderRef) int32

SecAsn1CoderCreate creates an ASN.1 coder object.

It panics if SecAsn1CoderCreate is unavailable at run time; use TrySecAsn1CoderCreate to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1CoderCreate

func SecAsn1CoderRelease deprecated

func SecAsn1CoderRelease(coder SecAsn1CoderRef) int32

SecAsn1CoderRelease destroys an ASN.1 coder object and releases all of its memory.

It panics if SecAsn1CoderRelease is unavailable at run time; use TrySecAsn1CoderRelease to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1CoderRelease

func SecAsn1Decode deprecated

func SecAsn1Decode(coder SecAsn1CoderRef, src unsafe.Pointer, len_ uintptr, templates unsafe.Pointer, dest unsafe.Pointer) int32

SecAsn1Decode decodes untyped DER data.

It panics if SecAsn1Decode is unavailable at run time; use TrySecAsn1Decode to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1Decode

func SecAsn1DecodeData deprecated

func SecAsn1DecodeData(coder SecAsn1CoderRef, src unsafe.Pointer, templ unsafe.Pointer, dest unsafe.Pointer) int32

SecAsn1DecodeData decodes an ASN.1 item in DER format.

It panics if SecAsn1DecodeData is unavailable at run time; use TrySecAsn1DecodeData to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1DecodeData

func SecAsn1EncodeItem deprecated

func SecAsn1EncodeItem(coder SecAsn1CoderRef, src unsafe.Pointer, templates unsafe.Pointer, dest unsafe.Pointer) int32

SecAsn1EncodeItem encodes data in DER format.

It panics if SecAsn1EncodeItem is unavailable at run time; use TrySecAsn1EncodeItem to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1EncodeItem

func SecAsn1Malloc deprecated

func SecAsn1Malloc(coder SecAsn1CoderRef, len_ uintptr) unsafe.Pointer

SecAsn1Malloc allocates memory in the coder object’s memory pool.

It panics if SecAsn1Malloc is unavailable at run time; use TrySecAsn1Malloc to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1Malloc

func SecAsn1OidCompare deprecated

func SecAsn1OidCompare(oid1 unsafe.Pointer, oid2 unsafe.Pointer) bool

SecAsn1OidCompare compares two decoded object identifiers.

It panics if SecAsn1OidCompare is unavailable at run time; use TrySecAsn1OidCompare to get an error instead.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1OidCompare

func SecCertificateAddToKeychain

func SecCertificateAddToKeychain(certificate SecCertificateRef, keychain SecKeychainRef) int32

SecCertificateAddToKeychain adds a certificate to a keychain.

It panics if SecCertificateAddToKeychain is unavailable at run time; use TrySecCertificateAddToKeychain to get an error instead.

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.

It panics if SecCertificateCopyCommonName is unavailable at run time; use TrySecCertificateCopyCommonName to get an error instead.

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.

It panics if SecCertificateCopyData is unavailable at run time; use TrySecCertificateCopyData to get an error instead.

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.

It panics if SecCertificateCopyEmailAddresses is unavailable at run time; use TrySecCertificateCopyEmailAddresses to get an error instead.

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.

It panics if SecCertificateCopyLongDescription is unavailable at run time; use TrySecCertificateCopyLongDescription to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyLongDescription(_:_:_:)

func SecCertificateCopyNormalizedIssuerContent deprecated

func SecCertificateCopyNormalizedIssuerContent(certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef

SecCertificateCopyNormalizedIssuerContent returns a normalized copy of the distinguished name (DN) of the issuer of a certificate.

It panics if SecCertificateCopyNormalizedIssuerContent is unavailable at run time; use TrySecCertificateCopyNormalizedIssuerContent to get an error instead.

Deprecated: Deprecated since macOS 10.12.4. SecCertificateCopyNormalizedIssuerContent is deprecated. Use SecCertificateCopyNormalizedIssuerSequence instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyNormalizedIssuerContent(_:_:)

func SecCertificateCopyNormalizedIssuerSequence

func SecCertificateCopyNormalizedIssuerSequence(certificate SecCertificateRef) corefoundation.CFDataRef

SecCertificateCopyNormalizedIssuerSequence retrieves the normalized issuer sequence from a certificate.

It panics if SecCertificateCopyNormalizedIssuerSequence is unavailable at run time; use TrySecCertificateCopyNormalizedIssuerSequence to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyNormalizedIssuerSequence(_:)

func SecCertificateCopyNormalizedSubjectContent deprecated

func SecCertificateCopyNormalizedSubjectContent(certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef

SecCertificateCopyNormalizedSubjectContent returns a normalized copy of the distinguished name (DN) of the subject of a certificate.

It panics if SecCertificateCopyNormalizedSubjectContent is unavailable at run time; use TrySecCertificateCopyNormalizedSubjectContent to get an error instead.

Deprecated: Deprecated since macOS 10.12.4. SecCertificateCopyNormalizedSubjectContent is deprecated. Use SecCertificateCopyNormalizedSubjectSequence instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyNormalizedSubjectContent(_:_:)

func SecCertificateCopyNormalizedSubjectSequence

func SecCertificateCopyNormalizedSubjectSequence(certificate SecCertificateRef) corefoundation.CFDataRef

SecCertificateCopyNormalizedSubjectSequence retrieves the normalized subject sequence from a certificate.

It panics if SecCertificateCopyNormalizedSubjectSequence is unavailable at run time; use TrySecCertificateCopyNormalizedSubjectSequence to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyNormalizedSubjectSequence(_:)

func SecCertificateCopyNotValidAfterDate

func SecCertificateCopyNotValidAfterDate(certificate SecCertificateRef) corefoundation.CFDateRef

SecCertificateCopyNotValidAfterDate.

It panics if SecCertificateCopyNotValidAfterDate is unavailable at run time; use TrySecCertificateCopyNotValidAfterDate to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyNotValidAfterDate(_:)

func SecCertificateCopyNotValidBeforeDate

func SecCertificateCopyNotValidBeforeDate(certificate SecCertificateRef) corefoundation.CFDateRef

SecCertificateCopyNotValidBeforeDate.

It panics if SecCertificateCopyNotValidBeforeDate is unavailable at run time; use TrySecCertificateCopyNotValidBeforeDate to get an error instead.

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.

It panics if SecCertificateCopyPreference is unavailable at run time; use TrySecCertificateCopyPreference to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyPreference

func SecCertificateCopyPublicKey deprecated

func SecCertificateCopyPublicKey(certificate SecCertificateRef, key *SecKeyRef) int32

SecCertificateCopyPublicKey retrieves the public key from a certificate.

It panics if SecCertificateCopyPublicKey is unavailable at run time; use TrySecCertificateCopyPublicKey to get an error instead.

Deprecated: Deprecated since macOS 10.14. Use [SecCertificateCopyKey(_:)](<https://developer.apple.com/documentation/Security/SecCertificateCopyKey(_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyPublicKey(_:)

func SecCertificateCopySerialNumber deprecated

func SecCertificateCopySerialNumber(certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef

SecCertificateCopySerialNumber returns a copy of a certificate’s serial number.

It panics if SecCertificateCopySerialNumber is unavailable at run time; use TrySecCertificateCopySerialNumber to get an error instead.

Deprecated: Deprecated since macOS 10.13. Use [SecCertificateCopySerialNumberData(_:_:)](<https://developer.apple.com/documentation/Security/SecCertificateCopySerialNumberData(_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopySerialNumber(_:)

func SecCertificateCopySerialNumberData

func SecCertificateCopySerialNumberData(certificate SecCertificateRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef

SecCertificateCopySerialNumberData returns the certificate’s serial number.

It panics if SecCertificateCopySerialNumberData is unavailable at run time; use TrySecCertificateCopySerialNumberData to get an error instead.

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.

It panics if SecCertificateCopyShortDescription is unavailable at run time; use TrySecCertificateCopyShortDescription to get an error instead.

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.

It panics if SecCertificateCopySubjectSummary is unavailable at run time; use TrySecCertificateCopySubjectSummary to get an error instead.

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.

It panics if SecCertificateCopyValues is unavailable at run time; use TrySecCertificateCopyValues to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyValues(_:_:_:)

func SecCertificateCreateFromData deprecated

func SecCertificateCreateFromData(data unsafe.Pointer, type_ CSSM_CERT_TYPE, encoding CSSM_CERT_ENCODING, certificate *SecCertificateRef) int32

SecCertificateCreateFromData creates a certificate object based on the specified data, type, and encoding.

It panics if SecCertificateCreateFromData is unavailable at run time; use TrySecCertificateCreateFromData to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecCertificateCreateWithData(_:_:)](<https://developer.apple.com/documentation/Security/SecCertificateCreateWithData(_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCreateFromData

func SecCertificateGetAlgorithmID deprecated

func SecCertificateGetAlgorithmID(certificate SecCertificateRef, algid **SecAsn1AlgId) int32

SecCertificateGetAlgorithmID retrieves the algorithm identifier for a certificate.

It panics if SecCertificateGetAlgorithmID is unavailable at run time; use TrySecCertificateGetAlgorithmID to get an error instead.

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.

It panics if SecCertificateGetCLHandle is unavailable at run time; use TrySecCertificateGetCLHandle to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/SecCertificateGetCLHandle

func SecCertificateGetData deprecated

func SecCertificateGetData(certificate SecCertificateRef, data CSSM_DATA_PTR) int32

SecCertificateGetData retrieves the data for a certificate.

It panics if SecCertificateGetData is unavailable at run time; use TrySecCertificateGetData to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/SecCertificateGetData

func SecCertificateGetIssuer deprecated

func SecCertificateGetIssuer(certificate SecCertificateRef, issuer **CSSM_X509_NAME) int32

SecCertificateGetIssuer unsupported.

It panics if SecCertificateGetIssuer is unavailable at run time; use TrySecCertificateGetIssuer to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/SecCertificateGetIssuer

func SecCertificateGetSubject deprecated

func SecCertificateGetSubject(certificate SecCertificateRef, subject **CSSM_X509_NAME) int32

SecCertificateGetSubject unsupported.

It panics if SecCertificateGetSubject is unavailable at run time; use TrySecCertificateGetSubject to get an error instead.

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.

It panics if SecCertificateGetType is unavailable at run time; use TrySecCertificateGetType to get an error instead.

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.

It panics if SecCertificateGetTypeID is unavailable at run time; use TrySecCertificateGetTypeID to get an error instead.

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.

It panics if SecCertificateSetPreference is unavailable at run time; use TrySecCertificateSetPreference to get an error instead.

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.

It panics if SecCertificateSetPreferred is unavailable at run time; use TrySecCertificateSetPreferred to get an error instead.

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.

It panics if SecCodeCheckValidity is unavailable at run time; use TrySecCodeCheckValidity to get an error instead.

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.

It panics if SecCodeCheckValidityWithErrors is unavailable at run time; use TrySecCodeCheckValidityWithErrors to get an error instead.

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.

It panics if SecCodeCopyDesignatedRequirement is unavailable at run time; use TrySecCodeCopyDesignatedRequirement to get an error instead.

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.

It panics if SecCodeCopyGuestWithAttributes is unavailable at run time; use TrySecCodeCopyGuestWithAttributes to get an error instead.

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.

It panics if SecCodeCopyHost is unavailable at run time; use TrySecCodeCopyHost to get an error instead.

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.

It panics if SecCodeCopyPath is unavailable at run time; use TrySecCodeCopyPath to get an error instead.

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.

It panics if SecCodeCopySelf is unavailable at run time; use TrySecCodeCopySelf to get an error instead.

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.

It panics if SecCodeCopySigningInformation is unavailable at run time; use TrySecCodeCopySigningInformation to get an error instead.

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.

It panics if SecCodeCopyStaticCode is unavailable at run time; use TrySecCodeCopyStaticCode to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCodeCopyStaticCode(_:_:_:)

func SecCodeCreateWithXPCMessage

func SecCodeCreateWithXPCMessage(message xpc.Xpc_object_t, flags SecCSFlags, target *SecCodeRef) int32

SecCodeCreateWithXPCMessage.

It panics if SecCodeCreateWithXPCMessage is unavailable at run time; use TrySecCodeCreateWithXPCMessage to get an error instead.

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.

It panics if SecCodeGetTypeID is unavailable at run time; use TrySecCodeGetTypeID to get an error instead.

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.

It panics if SecCodeMapMemory is unavailable at run time; use TrySecCodeMapMemory to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCodeMapMemory(_:_:)

func SecCodeValidateFileResource

func SecCodeValidateFileResource(code SecStaticCodeRef, relativePath corefoundation.CFStringRef, fileData corefoundation.CFDataRef, flags SecCSFlags) int32

SecCodeValidateFileResource.

It panics if SecCodeValidateFileResource is unavailable at run time; use TrySecCodeValidateFileResource to get an error instead.

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.

It panics if SecCopyErrorMessageString is unavailable at run time; use TrySecCopyErrorMessageString to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCopyErrorMessageString(_:_:)

func SecCreateSharedWebCredentialPassword

func SecCreateSharedWebCredentialPassword() corefoundation.CFStringRef

SecCreateSharedWebCredentialPassword returns a randomly generated password.

It panics if SecCreateSharedWebCredentialPassword is unavailable at run time; use TrySecCreateSharedWebCredentialPassword to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCreateSharedWebCredentialPassword()

func SecDecryptTransformGetTypeID deprecated

func SecDecryptTransformGetTypeID() uint

SecDecryptTransformGetTypeID returns the unique identifier of the opaque type to which a decryption transform belongs.

It panics if SecDecryptTransformGetTypeID is unavailable at run time; use TrySecDecryptTransformGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecDecryptTransformGetTypeID()

func SecDigestTransformGetTypeID deprecated

func SecDigestTransformGetTypeID() uint

SecDigestTransformGetTypeID returns the unique identifier of the opaque type to which a digest transform belongs.

It panics if SecDigestTransformGetTypeID is unavailable at run time; use TrySecDigestTransformGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecDigestTransformGetTypeID()

func SecEncryptTransformGetTypeID deprecated

func SecEncryptTransformGetTypeID() uint

SecEncryptTransformGetTypeID returns the unique identifier of the opaque type to which an encryption transform belongs.

It panics if SecEncryptTransformGetTypeID is unavailable at run time; use TrySecEncryptTransformGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecEncryptTransformGetTypeID()

func SecGroupTransformGetTypeID deprecated

func SecGroupTransformGetTypeID() uint

SecGroupTransformGetTypeID returns the Core Foundation type ID for a transform group container.

It panics if SecGroupTransformGetTypeID is unavailable at run time; use TrySecGroupTransformGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecGroupTransformGetTypeID()

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.

It panics if SecHostCreateGuest is unavailable at run time; use TrySecHostCreateGuest to get an error instead.

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.

It panics if SecHostRemoveGuest is unavailable at run time; use TrySecHostRemoveGuest to get an error instead.

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.

It panics if SecHostSelectGuest is unavailable at run time; use TrySecHostSelectGuest to get an error instead.

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.

It panics if SecHostSelectedGuest is unavailable at run time; use TrySecHostSelectedGuest to get an error instead.

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.

It panics if SecHostSetGuestStatus is unavailable at run time; use TrySecHostSetGuestStatus to get an error instead.

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.

It panics if SecHostSetHostingPort is unavailable at run time; use TrySecHostSetHostingPort to get an error instead.

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.

It panics if SecIdentityCopyCertificate is unavailable at run time; use TrySecIdentityCopyCertificate to get an error instead.

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.

It panics if SecIdentityCopyPreference is unavailable at run time; use TrySecIdentityCopyPreference to get an error instead.

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.

It panics if SecIdentityCopyPrivateKey is unavailable at run time; use TrySecIdentityCopyPrivateKey to get an error instead.

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.

It panics if SecIdentityCopySystemIdentity is unavailable at run time; use TrySecIdentityCopySystemIdentity to get an error instead.

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.

It panics if SecIdentityCreateWithCertificate is unavailable at run time; use TrySecIdentityCreateWithCertificate to get an error instead.

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.

It panics if SecIdentityGetTypeID is unavailable at run time; use TrySecIdentityGetTypeID to get an error instead.

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

It panics if SecIdentitySearchCopyNext is unavailable at run time; use TrySecIdentitySearchCopyNext to get an error instead.

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.

It panics if SecIdentitySearchCreate is unavailable at run time; use TrySecIdentitySearchCreate to get an error instead.

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.

It panics if SecIdentitySearchGetTypeID is unavailable at run time; use TrySecIdentitySearchGetTypeID to get an error instead.

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.

It panics if SecIdentitySetPreference is unavailable at run time; use TrySecIdentitySetPreference to get an error instead.

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.

It panics if SecIdentitySetPreferred is unavailable at run time; use TrySecIdentitySetPreferred to get an error instead.

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.

It panics if SecIdentitySetSystemIdentity is unavailable at run time; use TrySecIdentitySetSystemIdentity to get an error instead.

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.

It panics if SecItemAdd is unavailable at run time; use TrySecItemAdd to get an error instead.

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.

It panics if SecItemCopyMatching is unavailable at run time; use TrySecItemCopyMatching to get an error instead.

See: https://developer.apple.com/documentation/Security/SecItemCopyMatching(_:_:)

func SecItemDelete

func SecItemDelete(query corefoundation.CFDictionaryRef) int32

SecItemDelete deletes items that match a search query.

It panics if SecItemDelete is unavailable at run time; use TrySecItemDelete to get an error instead.

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.

It panics if SecItemExport is unavailable at run time; use TrySecItemExport to get an error instead.

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.

It panics if SecItemImport is unavailable at run time; use TrySecItemImport to get an error instead.

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.

It panics if SecItemUpdate is unavailable at run time; use TrySecItemUpdate to get an error instead.

See: https://developer.apple.com/documentation/Security/SecItemUpdate(_:_:)

func SecKeyCopyAttributes

func SecKeyCopyAttributes(key SecKeyRef) corefoundation.CFDictionaryRef

SecKeyCopyAttributes gets the attributes of a given key.

It panics if SecKeyCopyAttributes is unavailable at run time; use TrySecKeyCopyAttributes to get an error instead.

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.

It panics if SecKeyCopyExternalRepresentation is unavailable at run time; use TrySecKeyCopyExternalRepresentation to get an error instead.

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.

It panics if SecKeyCopyKeyExchangeResult is unavailable at run time; use TrySecKeyCopyKeyExchangeResult to get an error instead.

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.

It panics if SecKeyCreateDecryptedData is unavailable at run time; use TrySecKeyCreateDecryptedData to get an error instead.

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.

It panics if SecKeyCreateEncryptedData is unavailable at run time; use TrySecKeyCreateEncryptedData to get an error instead.

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.

It panics if SecKeyCreatePair is unavailable at run time; use TrySecKeyCreatePair to get an error instead.

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.

It panics if SecKeyCreateSignature is unavailable at run time; use TrySecKeyCreateSignature to get an error instead.

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.

It panics if SecKeyGenerate is unavailable at run time; use TrySecKeyGenerate to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/SecKeyGenerate

func SecKeyGeneratePair deprecated

func SecKeyGeneratePair(parameters corefoundation.CFDictionaryRef, publicKey *SecKeyRef, privateKey *SecKeyRef) int32

SecKeyGeneratePair creates an asymmetric key pair.

It panics if SecKeyGeneratePair is unavailable at run time; use TrySecKeyGeneratePair to get an error instead.

Deprecated: Deprecated since macOS 12.0. Use SecKeyCreateRandomKey

See: https://developer.apple.com/documentation/Security/SecKeyGeneratePair(_:_:_:)

func SecKeyGeneratePairAsync deprecated

func SecKeyGeneratePairAsync(parameters corefoundation.CFDictionaryRef, deliveryQueue dispatch.Queue, result SecKeyGeneratePairBlock)

SecKeyGeneratePairAsync generates a public/private key pair.

It panics if SecKeyGeneratePairAsync is unavailable at run time; use TrySecKeyGeneratePairAsync to get an error instead.

Deprecated: Deprecated since macOS 12.0. No longer supported

See: https://developer.apple.com/documentation/Security/SecKeyGeneratePairAsync(_:_:_:)

func SecKeyGetBlockSize

func SecKeyGetBlockSize(key SecKeyRef) uintptr

SecKeyGetBlockSize gets the block length associated with a cryptographic key.

It panics if SecKeyGetBlockSize is unavailable at run time; use TrySecKeyGetBlockSize to get an error instead.

See: https://developer.apple.com/documentation/Security/SecKeyGetBlockSize(_:)

func SecKeyGetCSPHandle deprecated

func SecKeyGetCSPHandle(keyRef SecKeyRef, cspHandle unsafe.Pointer) int32

SecKeyGetCSPHandle returns the CSSM CSP handle for a key.

It panics if SecKeyGetCSPHandle is unavailable at run time; use TrySecKeyGetCSPHandle to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/SecKeyGetCSPHandle

func SecKeyGetCSSMKey deprecated

func SecKeyGetCSSMKey(key SecKeyRef, cssmKey unsafe.Pointer) int32

SecKeyGetCSSMKey retrieves a pointer to the `CSSM_KEY` structure containing the key stored in a keychain item.

It panics if SecKeyGetCSSMKey is unavailable at run time; use TrySecKeyGetCSSMKey to get an error instead.

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 **CSSM_ACCESS_CREDENTIALS) int32

SecKeyGetCredentials returns an access credential for a key.

It panics if SecKeyGetCredentials is unavailable at run time; use TrySecKeyGetCredentials to get an error instead.

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.

It panics if SecKeyGetTypeID is unavailable at run time; use TrySecKeyGetTypeID to get an error instead.

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.

It panics if SecKeyIsAlgorithmSupported is unavailable at run time; use TrySecKeyIsAlgorithmSupported to get an error instead.

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.

It panics if SecKeyVerifySignature is unavailable at run time; use TrySecKeyVerifySignature to get an error instead.

See: https://developer.apple.com/documentation/Security/SecKeyVerifySignature(_:_:_:_:_:)

func SecKeyWrapSymmetric deprecated

func SecKeyWrapSymmetric(keyToWrap SecKeyRef, wrappingKey SecKeyRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) corefoundation.CFDataRef

SecKeyWrapSymmetric wraps a symmetric key with another key.

It panics if SecKeyWrapSymmetric is unavailable at run time; use TrySecKeyWrapSymmetric to get an error instead.

Deprecated: Deprecated since macOS 12.0. No longer supported

See: https://developer.apple.com/documentation/Security/SecKeyWrapSymmetric(_:_:_:_:)

func SecKeychainAddCallback deprecated

func SecKeychainAddCallback(callbackFunction SecKeychainCallback, eventMask SecKeychainEventMask, userContext unsafe.Pointer) int32

SecKeychainAddCallback registers your keychain event callback function.

It panics if SecKeychainAddCallback is unavailable at run time; use TrySecKeychainAddCallback to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainAddCallback(_:_:_:)

func SecKeychainAddGenericPassword deprecated

func SecKeychainAddGenericPassword(keychain SecKeychainRef, serviceNameLength uint32, serviceName string, accountNameLength uint32, accountName string, passwordLength uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) int32

SecKeychainAddGenericPassword adds a new generic password to a keychain.

It panics if SecKeychainAddGenericPassword is unavailable at run time; use TrySecKeychainAddGenericPassword to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainAddGenericPassword(_:_:_:_:_:_:_:_:)

func SecKeychainAddInternetPassword deprecated

func SecKeychainAddInternetPassword(keychain SecKeychainRef, serverNameLength uint32, serverName string, securityDomainLength uint32, securityDomain string, accountNameLength uint32, accountName string, pathLength uint32, path string, port uint16, protocol_ SecProtocolType, authenticationType SecAuthenticationType, passwordLength uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) int32

SecKeychainAddInternetPassword adds a new Internet password to a keychain.

It panics if SecKeychainAddInternetPassword is unavailable at run time; use TrySecKeychainAddInternetPassword to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainAddInternetPassword(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

func SecKeychainAttributeInfoForItemID deprecated

func SecKeychainAttributeInfoForItemID(keychain SecKeychainRef, itemID uint32, info **SecKeychainAttributeInfo) int32

SecKeychainAttributeInfoForItemID obtains tags for all possible attributes of a given item class.

It panics if SecKeychainAttributeInfoForItemID is unavailable at run time; use TrySecKeychainAttributeInfoForItemID to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainAttributeInfoForItemID(_:_:_:)

func SecKeychainCopyAccess deprecated

func SecKeychainCopyAccess(keychain SecKeychainRef, access *SecAccessRef) int32

SecKeychainCopyAccess retrieves the application access of a keychain.

It panics if SecKeychainCopyAccess is unavailable at run time; use TrySecKeychainCopyAccess to get an error instead.

Deprecated: Deprecated since macOS 10.10. This function is not implemented and returns an [errSecUnimplemented](<https://developer.apple.com/documentation/Security/errSecUnimplemented>) error code if called.

See: https://developer.apple.com/documentation/Security/SecKeychainCopyAccess(_:_:)

func SecKeychainCopyDefault deprecated

func SecKeychainCopyDefault(keychain *SecKeychainRef) int32

SecKeychainCopyDefault retrieves a pointer to the default keychain.

It panics if SecKeychainCopyDefault is unavailable at run time; use TrySecKeychainCopyDefault to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainCopyDefault(_:)

func SecKeychainCopyDomainDefault deprecated

func SecKeychainCopyDomainDefault(domain SecPreferencesDomain, keychain *SecKeychainRef) int32

SecKeychainCopyDomainDefault retrieves the default keychain from a specified preference domain.

It panics if SecKeychainCopyDomainDefault is unavailable at run time; use TrySecKeychainCopyDomainDefault to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainCopyDomainDefault(_:_:)

func SecKeychainCopyDomainSearchList deprecated

func SecKeychainCopyDomainSearchList(domain SecPreferencesDomain, searchList *corefoundation.CFArrayRef) int32

SecKeychainCopyDomainSearchList retrieves the keychain search list for a specified preference domain.

It panics if SecKeychainCopyDomainSearchList is unavailable at run time; use TrySecKeychainCopyDomainSearchList to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainCopyDomainSearchList(_:_:)

func SecKeychainCopySearchList deprecated

func SecKeychainCopySearchList(searchList *corefoundation.CFArrayRef) int32

SecKeychainCopySearchList retrieves a keychain search list.

It panics if SecKeychainCopySearchList is unavailable at run time; use TrySecKeychainCopySearchList to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainCopySearchList(_:)

func SecKeychainCopySettings deprecated

func SecKeychainCopySettings(keychain SecKeychainRef, outSettings *SecKeychainSettings) int32

SecKeychainCopySettings obtains a keychain’s settings.

It panics if SecKeychainCopySettings is unavailable at run time; use TrySecKeychainCopySettings to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainCopySettings(_:_:)

func SecKeychainCreate deprecated

func SecKeychainCreate(pathName string, passwordLength uint32, password unsafe.Pointer, promptUser bool, initialAccess SecAccessRef, keychain *SecKeychainRef) int32

SecKeychainCreate creates an empty keychain.

It panics if SecKeychainCreate is unavailable at run time; use TrySecKeychainCreate to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainCreate(_:_:_:_:_:_:)

func SecKeychainDelete deprecated

func SecKeychainDelete(keychainOrArray SecKeychainRef) int32

SecKeychainDelete deletes one or more keychains from the default keychain search list, and removes the keychain itself if it is a file.

It panics if SecKeychainDelete is unavailable at run time; use TrySecKeychainDelete to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainDelete(_:)

func SecKeychainFindGenericPassword deprecated

func SecKeychainFindGenericPassword(keychainOrArray corefoundation.CFTypeRef, serviceNameLength uint32, serviceName string, accountNameLength uint32, accountName string, passwordLength *uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) int32

SecKeychainFindGenericPassword finds the first generic password based on the attributes passed.

It panics if SecKeychainFindGenericPassword is unavailable at run time; use TrySecKeychainFindGenericPassword to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainFindGenericPassword(_:_:_:_:_:_:_:_:)

func SecKeychainFindInternetPassword deprecated

func SecKeychainFindInternetPassword(keychainOrArray corefoundation.CFTypeRef, serverNameLength uint32, serverName string, securityDomainLength uint32, securityDomain string, accountNameLength uint32, accountName string, pathLength uint32, path string, port uint16, protocol_ SecProtocolType, authenticationType SecAuthenticationType, passwordLength *uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) int32

SecKeychainFindInternetPassword finds the first Internet password based on the attributes passed.

It panics if SecKeychainFindInternetPassword is unavailable at run time; use TrySecKeychainFindInternetPassword to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainFindInternetPassword(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)

func SecKeychainFreeAttributeInfo deprecated

func SecKeychainFreeAttributeInfo(info *SecKeychainAttributeInfo) int32

SecKeychainFreeAttributeInfo releases the memory acquired by calling the SecKeychainAttributeInfoForItemID function.

It panics if SecKeychainFreeAttributeInfo is unavailable at run time; use TrySecKeychainFreeAttributeInfo to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainFreeAttributeInfo(_:)

func SecKeychainGetCSPHandle deprecated

func SecKeychainGetCSPHandle(keychain SecKeychainRef, cspHandle unsafe.Pointer) int32

SecKeychainGetCSPHandle returns the CSSM CSP handle for the given keychain object.

It panics if SecKeychainGetCSPHandle is unavailable at run time; use TrySecKeychainGetCSPHandle to get an error instead.

Deprecated: Deprecated since macOS 10.7. The common security services manager module is no longer used.

See: https://developer.apple.com/documentation/Security/SecKeychainGetCSPHandle

func SecKeychainGetDLDBHandle deprecated

func SecKeychainGetDLDBHandle(keychain SecKeychainRef, dldbHandle *[2]uint64) int32

SecKeychainGetDLDBHandle returns the CSSM database handle for a given keychain object.

It panics if SecKeychainGetDLDBHandle is unavailable at run time; use TrySecKeychainGetDLDBHandle to get an error instead.

Deprecated: Deprecated since macOS 10.7. The common security services manager module is no longer used.

See: https://developer.apple.com/documentation/Security/SecKeychainGetDLDBHandle

func SecKeychainGetPath deprecated

func SecKeychainGetPath(keychain SecKeychainRef, ioPathLength *uint32, pathName string) int32

SecKeychainGetPath determines the path of a keychain.

It panics if SecKeychainGetPath is unavailable at run time; use TrySecKeychainGetPath to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainGetPath(_:_:_:)

func SecKeychainGetPreferenceDomain deprecated

func SecKeychainGetPreferenceDomain(domain *SecPreferencesDomain) int32

SecKeychainGetPreferenceDomain gets the current keychain preference domain.

It panics if SecKeychainGetPreferenceDomain is unavailable at run time; use TrySecKeychainGetPreferenceDomain to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainGetPreferenceDomain(_:)

func SecKeychainGetStatus deprecated

func SecKeychainGetStatus(keychain SecKeychainRef, keychainStatus *SecKeychainStatus) int32

SecKeychainGetStatus retrieves status information of a keychain.

It panics if SecKeychainGetStatus is unavailable at run time; use TrySecKeychainGetStatus to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainGetStatus(_:_:)

func SecKeychainGetTypeID deprecated

func SecKeychainGetTypeID() uint

SecKeychainGetTypeID returns the unique identifier of the opaque type to which a keychain object belongs.

It panics if SecKeychainGetTypeID is unavailable at run time; use TrySecKeychainGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainGetTypeID()

func SecKeychainGetUserInteractionAllowed deprecated

func SecKeychainGetUserInteractionAllowed(state *bool) int32

SecKeychainGetUserInteractionAllowed indicates whether keychain services functions that normally display a user interaction are allowed to do so.

It panics if SecKeychainGetUserInteractionAllowed is unavailable at run time; use TrySecKeychainGetUserInteractionAllowed to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainGetUserInteractionAllowed(_:)

func SecKeychainGetVersion deprecated

func SecKeychainGetVersion(returnVers *uint32) int32

SecKeychainGetVersion determines the version of keychain services installed on the user’s system.

It panics if SecKeychainGetVersion is unavailable at run time; use TrySecKeychainGetVersion to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainGetVersion(_:)

func SecKeychainItemCopyAccess deprecated

func SecKeychainItemCopyAccess(itemRef SecKeychainItemRef, access *SecAccessRef) int32

SecKeychainItemCopyAccess retrieves the access of a given keychain item.

It panics if SecKeychainItemCopyAccess is unavailable at run time; use TrySecKeychainItemCopyAccess to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCopyAccess(_:_:)

func SecKeychainItemCopyAttributesAndData deprecated

func SecKeychainItemCopyAttributesAndData(itemRef SecKeychainItemRef, info *SecKeychainAttributeInfo, itemClass *SecItemClass, attrList **SecKeychainAttributeList, length *uint32, outData unsafe.Pointer) int32

SecKeychainItemCopyAttributesAndData retrieves the data and/or attributes stored in the given keychain item.

It panics if SecKeychainItemCopyAttributesAndData is unavailable at run time; use TrySecKeychainItemCopyAttributesAndData to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCopyAttributesAndData(_:_:_:_:_:_:)

func SecKeychainItemCopyContent deprecated

func SecKeychainItemCopyContent(itemRef SecKeychainItemRef, itemClass *SecItemClass, attrList *SecKeychainAttributeList, length *uint32, outData unsafe.Pointer) int32

SecKeychainItemCopyContent copies the data and attributes stored in the given keychain item.

It panics if SecKeychainItemCopyContent is unavailable at run time; use TrySecKeychainItemCopyContent to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCopyContent(_:_:_:_:_:)

func SecKeychainItemCopyFromPersistentReference deprecated

func SecKeychainItemCopyFromPersistentReference(persistentItemRef corefoundation.CFDataRef, itemRef *SecKeychainItemRef) int32

SecKeychainItemCopyFromPersistentReference provides a keychain item reference, given a persistent reference.

It panics if SecKeychainItemCopyFromPersistentReference is unavailable at run time; use TrySecKeychainItemCopyFromPersistentReference to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCopyFromPersistentReference(_:_:)

func SecKeychainItemCopyKeychain deprecated

func SecKeychainItemCopyKeychain(itemRef SecKeychainItemRef, keychainRef *SecKeychainRef) int32

SecKeychainItemCopyKeychain returns the keychain object of a given keychain item.

It panics if SecKeychainItemCopyKeychain is unavailable at run time; use TrySecKeychainItemCopyKeychain to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCopyKeychain(_:_:)

func SecKeychainItemCreateCopy deprecated

func SecKeychainItemCreateCopy(itemRef SecKeychainItemRef, destKeychainRef SecKeychainRef, initialAccess SecAccessRef, itemCopy *SecKeychainItemRef) int32

SecKeychainItemCreateCopy copies a keychain item from one keychain to another.

It panics if SecKeychainItemCreateCopy is unavailable at run time; use TrySecKeychainItemCreateCopy to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCreateCopy(_:_:_:_:)

func SecKeychainItemCreateFromContent deprecated

func SecKeychainItemCreateFromContent(itemClass SecItemClass, attrList *SecKeychainAttributeList, length uint32, data unsafe.Pointer, keychainRef SecKeychainRef, initialAccess SecAccessRef, itemRef *SecKeychainItemRef) int32

SecKeychainItemCreateFromContent creates a new keychain item from the supplied parameters.

It panics if SecKeychainItemCreateFromContent is unavailable at run time; use TrySecKeychainItemCreateFromContent to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCreateFromContent(_:_:_:_:_:_:_:)

func SecKeychainItemCreatePersistentReference deprecated

func SecKeychainItemCreatePersistentReference(itemRef SecKeychainItemRef, persistentItemRef *corefoundation.CFDataRef) int32

SecKeychainItemCreatePersistentReference creates a persistent reference for a keychain item.

It panics if SecKeychainItemCreatePersistentReference is unavailable at run time; use TrySecKeychainItemCreatePersistentReference to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemCreatePersistentReference(_:_:)

func SecKeychainItemDelete deprecated

func SecKeychainItemDelete(itemRef SecKeychainItemRef) int32

SecKeychainItemDelete deletes a keychain item from the default keychain’s permanent data store.

It panics if SecKeychainItemDelete is unavailable at run time; use TrySecKeychainItemDelete to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemDelete(_:)

func SecKeychainItemExport deprecated

func SecKeychainItemExport(keychainItemOrArray corefoundation.CFTypeRef, outputFormat SecExternalFormat, flags SecItemImportExportFlags, keyParams *SecKeyImportExportParameters, exportedData *corefoundation.CFDataRef) int32

SecKeychainItemExport exports one or more certificates, keys, or identities.

It panics if SecKeychainItemExport is unavailable at run time; use TrySecKeychainItemExport to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecItemExport(_:_:_:_:_:)](<https://developer.apple.com/documentation/Security/SecItemExport(_:_:_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecKeychainItemExport

func SecKeychainItemFreeAttributesAndData deprecated

func SecKeychainItemFreeAttributesAndData(attrList *SecKeychainAttributeList, data unsafe.Pointer) int32

SecKeychainItemFreeAttributesAndData releases the memory used by the keychain attribute list and/or the keychain data retrieved in a call to SecKeychainItemCopyAttributesAndData.

It panics if SecKeychainItemFreeAttributesAndData is unavailable at run time; use TrySecKeychainItemFreeAttributesAndData to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemFreeAttributesAndData(_:_:)

func SecKeychainItemFreeContent deprecated

func SecKeychainItemFreeContent(attrList *SecKeychainAttributeList, data unsafe.Pointer) int32

SecKeychainItemFreeContent releases the memory used by the keychain attribute list and the keychain data retrieved in a call to the SecKeychainItemCopyContent(_:_:_:_:_:) function.

It panics if SecKeychainItemFreeContent is unavailable at run time; use TrySecKeychainItemFreeContent to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemFreeContent(_:_:)

func SecKeychainItemGetDLDBHandle deprecated

func SecKeychainItemGetDLDBHandle(keyItemRef SecKeychainItemRef, dldbHandle *[2]uint64) int32

SecKeychainItemGetDLDBHandle returns the CSSM database handle for a given keychain item object.

It panics if SecKeychainItemGetDLDBHandle is unavailable at run time; use TrySecKeychainItemGetDLDBHandle to get an error instead.

Deprecated: Deprecated since macOS 10.7. The common security services manager module is no longer used.

See: https://developer.apple.com/documentation/Security/SecKeychainItemGetDLDBHandle

func SecKeychainItemGetTypeID deprecated

func SecKeychainItemGetTypeID() uint

SecKeychainItemGetTypeID returns the unique identifier of the opaque type to which a keychain item object belongs.

It panics if SecKeychainItemGetTypeID is unavailable at run time; use TrySecKeychainItemGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemGetTypeID()

func SecKeychainItemGetUniqueRecordID deprecated

func SecKeychainItemGetUniqueRecordID(itemRef SecKeychainItemRef, uniqueRecordID **CSSM_DB_UNIQUE_RECORD) int32

SecKeychainItemGetUniqueRecordID returns a CSSM unique record for the given keychain item object.

It panics if SecKeychainItemGetUniqueRecordID is unavailable at run time; use TrySecKeychainItemGetUniqueRecordID to get an error instead.

Deprecated: Deprecated since macOS 10.7. The common security services manager module is no longer used.

See: https://developer.apple.com/documentation/Security/SecKeychainItemGetUniqueRecordID

func SecKeychainItemImport deprecated

func SecKeychainItemImport(importedData corefoundation.CFDataRef, fileNameOrExtension corefoundation.CFStringRef, inputFormat *SecExternalFormat, itemType *SecExternalItemType, flags SecItemImportExportFlags, keyParams *SecKeyImportExportParameters, importKeychain SecKeychainRef, outItems *corefoundation.CFArrayRef) int32

SecKeychainItemImport imports one or more certificates, keys, or identities and adds them to a keychain.

It panics if SecKeychainItemImport is unavailable at run time; use TrySecKeychainItemImport to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecItemImport(_:_:_:_:_:_:_:_:)](<https://developer.apple.com/documentation/Security/SecItemImport(_:_:_:_:_:_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecKeychainItemImport

func SecKeychainItemModifyAttributesAndData deprecated

func SecKeychainItemModifyAttributesAndData(itemRef SecKeychainItemRef, attrList *SecKeychainAttributeList, length uint32, data unsafe.Pointer) int32

SecKeychainItemModifyAttributesAndData updates an existing keychain item after changing its attributes or data.

It panics if SecKeychainItemModifyAttributesAndData is unavailable at run time; use TrySecKeychainItemModifyAttributesAndData to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemModifyAttributesAndData(_:_:_:_:)

func SecKeychainItemModifyContent deprecated

func SecKeychainItemModifyContent(itemRef SecKeychainItemRef, attrList *SecKeychainAttributeList, length uint32, data unsafe.Pointer) int32

SecKeychainItemModifyContent updates an existing keychain item after changing its attributes and/or data.

It panics if SecKeychainItemModifyContent is unavailable at run time; use TrySecKeychainItemModifyContent to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemModifyContent(_:_:_:_:)

func SecKeychainItemSetAccess deprecated

func SecKeychainItemSetAccess(itemRef SecKeychainItemRef, access SecAccessRef) int32

SecKeychainItemSetAccess sets the access of a given keychain item.

It panics if SecKeychainItemSetAccess is unavailable at run time; use TrySecKeychainItemSetAccess to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainItemSetAccess(_:_:)

func SecKeychainLock deprecated

func SecKeychainLock(keychain SecKeychainRef) int32

SecKeychainLock locks a keychain.

It panics if SecKeychainLock is unavailable at run time; use TrySecKeychainLock to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainLock(_:)

func SecKeychainLockAll deprecated

func SecKeychainLockAll() int32

SecKeychainLockAll locks all keychains belonging to the current user.

It panics if SecKeychainLockAll is unavailable at run time; use TrySecKeychainLockAll to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainLockAll()

func SecKeychainOpen deprecated

func SecKeychainOpen(pathName string, keychain *SecKeychainRef) int32

SecKeychainOpen opens a keychain.

It panics if SecKeychainOpen is unavailable at run time; use TrySecKeychainOpen to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainOpen(_:_:)

func SecKeychainRemoveCallback deprecated

func SecKeychainRemoveCallback(callbackFunction SecKeychainCallback) int32

SecKeychainRemoveCallback unregisters your keychain event callback function.

It panics if SecKeychainRemoveCallback is unavailable at run time; use TrySecKeychainRemoveCallback to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainRemoveCallback(_:)

func SecKeychainSearchCopyNext deprecated

func SecKeychainSearchCopyNext(searchRef SecKeychainSearchRef, itemRef *SecKeychainItemRef) int32

SecKeychainSearchCopyNext finds the next keychain item matching the given search criteria.

It panics if SecKeychainSearchCopyNext is unavailable at run time; use TrySecKeychainSearchCopyNext to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecItemCopyMatching(_:_:)](<https://developer.apple.com/documentation/Security/SecItemCopyMatching(_:_:)>) to conduct keychain item searches.

See: https://developer.apple.com/documentation/Security/SecKeychainSearchCopyNext

func SecKeychainSearchCreateFromAttributes deprecated

func SecKeychainSearchCreateFromAttributes(keychainOrArray corefoundation.CFTypeRef, itemClass SecItemClass, attrList *SecKeychainAttributeList, searchRef *SecKeychainSearchRef) int32

SecKeychainSearchCreateFromAttributes creates a search object matching a list of zero or more attributes.

It panics if SecKeychainSearchCreateFromAttributes is unavailable at run time; use TrySecKeychainSearchCreateFromAttributes to get an error instead.

Deprecated: Deprecated since macOS 10.7. Use [SecItemCopyMatching(_:_:)](<https://developer.apple.com/documentation/Security/SecItemCopyMatching(_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecKeychainSearchCreateFromAttributes

func SecKeychainSearchGetTypeID deprecated

func SecKeychainSearchGetTypeID() uint

SecKeychainSearchGetTypeID returns the unique identifier of the opaque type to which a keychain search object belongs.

It panics if SecKeychainSearchGetTypeID is unavailable at run time; use TrySecKeychainSearchGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/SecKeychainSearchGetTypeID

func SecKeychainSetAccess deprecated

func SecKeychainSetAccess(keychain SecKeychainRef, access SecAccessRef) int32

SecKeychainSetAccess sets the application access for a keychain.

It panics if SecKeychainSetAccess is unavailable at run time; use TrySecKeychainSetAccess to get an error instead.

Deprecated: Deprecated since macOS 10.10. In addition to the ACLs for individual keychain items, the keychain itself has ACLs. However, they are currently unused and this function isn’t implemented.

See: https://developer.apple.com/documentation/Security/SecKeychainSetAccess(_:_:)

func SecKeychainSetDefault deprecated

func SecKeychainSetDefault(keychain SecKeychainRef) int32

SecKeychainSetDefault sets the default keychain.

It panics if SecKeychainSetDefault is unavailable at run time; use TrySecKeychainSetDefault to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainSetDefault(_:)

func SecKeychainSetDomainDefault deprecated

func SecKeychainSetDomainDefault(domain SecPreferencesDomain, keychain SecKeychainRef) int32

SecKeychainSetDomainDefault sets the default keychain for a specified preference domain.

It panics if SecKeychainSetDomainDefault is unavailable at run time; use TrySecKeychainSetDomainDefault to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainSetDomainDefault(_:_:)

func SecKeychainSetDomainSearchList deprecated

func SecKeychainSetDomainSearchList(domain SecPreferencesDomain, searchList corefoundation.CFArrayRef) int32

SecKeychainSetDomainSearchList sets the keychain search list for a specified preference domain.

It panics if SecKeychainSetDomainSearchList is unavailable at run time; use TrySecKeychainSetDomainSearchList to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainSetDomainSearchList(_:_:)

func SecKeychainSetPreferenceDomain deprecated

func SecKeychainSetPreferenceDomain(domain SecPreferencesDomain) int32

SecKeychainSetPreferenceDomain sets the keychain preference domain.

It panics if SecKeychainSetPreferenceDomain is unavailable at run time; use TrySecKeychainSetPreferenceDomain to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainSetPreferenceDomain(_:)

func SecKeychainSetSearchList deprecated

func SecKeychainSetSearchList(searchList corefoundation.CFArrayRef) int32

SecKeychainSetSearchList specifies the list of keychains to use in the default keychain search list.

It panics if SecKeychainSetSearchList is unavailable at run time; use TrySecKeychainSetSearchList to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainSetSearchList(_:)

func SecKeychainSetSettings deprecated

func SecKeychainSetSettings(keychain SecKeychainRef, newSettings *SecKeychainSettings) int32

SecKeychainSetSettings changes the settings of a keychain.

It panics if SecKeychainSetSettings is unavailable at run time; use TrySecKeychainSetSettings to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainSetSettings(_:_:)

func SecKeychainSetUserInteractionAllowed deprecated

func SecKeychainSetUserInteractionAllowed(state bool) int32

SecKeychainSetUserInteractionAllowed enables or disables the user interface for keychain services functions that automatically display a user interface.

It panics if SecKeychainSetUserInteractionAllowed is unavailable at run time; use TrySecKeychainSetUserInteractionAllowed to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainSetUserInteractionAllowed(_:)

func SecKeychainUnlock deprecated

func SecKeychainUnlock(keychain SecKeychainRef, passwordLength uint32, password unsafe.Pointer, usePassword bool) int32

SecKeychainUnlock unlocks a keychain.

It panics if SecKeychainUnlock is unavailable at run time; use TrySecKeychainUnlock to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainUnlock(_:_:_:_:)

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.

It panics if SecPKCS12Import is unavailable at run time; use TrySecPKCS12Import to get an error instead.

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.

It panics if SecPolicyCopyProperties is unavailable at run time; use TrySecPolicyCopyProperties to get an error instead.

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.

It panics if SecPolicyGetOID is unavailable at run time; use TrySecPolicyGetOID to get an error instead.

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.

It panics if SecPolicyGetTPHandle is unavailable at run time; use TrySecPolicyGetTPHandle to get an error instead.

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.

It panics if SecPolicyGetTypeID is unavailable at run time; use TrySecPolicyGetTypeID to get an error instead.

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.

It panics if SecPolicyGetValue is unavailable at run time; use TrySecPolicyGetValue to get an error instead.

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.

It panics if SecPolicySearchCopyNext is unavailable at run time; use TrySecPolicySearchCopyNext to get an error instead.

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.

It panics if SecPolicySearchCreate is unavailable at run time; use TrySecPolicySearchCreate to get an error instead.

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.

It panics if SecPolicySearchGetTypeID is unavailable at run time; use TrySecPolicySearchGetTypeID to get an error instead.

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.

It panics if SecPolicySetProperties is unavailable at run time; use TrySecPolicySetProperties to get an error instead.

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.

It panics if SecPolicySetValue is unavailable at run time; use TrySecPolicySetValue to get an error instead.

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) int32

SecRandomCopyBytes generates an array of cryptographically secure random bytes.

It panics if SecRandomCopyBytes is unavailable at run time; use TrySecRandomCopyBytes to get an error instead.

See: https://developer.apple.com/documentation/Security/SecRandomCopyBytes(_:_:_:)

func SecRequestSharedWebCredential deprecated

func SecRequestSharedWebCredential(fqdn corefoundation.CFStringRef, account corefoundation.CFStringRef)

SecRequestSharedWebCredential asynchronously obtains one or more shared passwords for a website.

It panics if SecRequestSharedWebCredential is unavailable at run time; use TrySecRequestSharedWebCredential to get an error instead.

Deprecated: Deprecated since macOS 11.0. Use [ASAuthorizationController](<https://developer.apple.com/documentation/AuthenticationServices/ASAuthorizationController>) to make an [ASAuthorizationPasswordRequest](<https://developer.apple.com/documentation/AuthenticationServices/ASAuthorizationPasswordRequest>) instead.

See: https://developer.apple.com/documentation/Security/SecRequestSharedWebCredential(_:_:_:)

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.

It panics if SecRequirementCopyData is unavailable at run time; use TrySecRequirementCopyData to get an error instead.

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.

It panics if SecRequirementCopyString is unavailable at run time; use TrySecRequirementCopyString to get an error instead.

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.

It panics if SecRequirementCreateWithData is unavailable at run time; use TrySecRequirementCreateWithData to get an error instead.

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.

It panics if SecRequirementCreateWithString is unavailable at run time; use TrySecRequirementCreateWithString to get an error instead.

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.

It panics if SecRequirementCreateWithStringAndErrors is unavailable at run time; use TrySecRequirementCreateWithStringAndErrors to get an error instead.

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.

It panics if SecRequirementGetTypeID is unavailable at run time; use TrySecRequirementGetTypeID to get an error instead.

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.

It panics if SecStaticCodeCheckValidity is unavailable at run time; use TrySecStaticCodeCheckValidity to get an error instead.

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.

It panics if SecStaticCodeCheckValidityWithErrors is unavailable at run time; use TrySecStaticCodeCheckValidityWithErrors to get an error instead.

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.

It panics if SecStaticCodeCreateWithPath is unavailable at run time; use TrySecStaticCodeCreateWithPath to get an error instead.

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.

It panics if SecStaticCodeCreateWithPathAndAttributes is unavailable at run time; use TrySecStaticCodeCreateWithPathAndAttributes to get an error instead.

See: https://developer.apple.com/documentation/Security/SecStaticCodeCreateWithPathAndAttributes(_:_:_:_:)

func SecStaticCodeGetTypeID

func SecStaticCodeGetTypeID() uint

SecStaticCodeGetTypeID returns the unique identifier of the opaque type to which a static code object belongs.

It panics if SecStaticCodeGetTypeID is unavailable at run time; use TrySecStaticCodeGetTypeID to get an error instead.

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.

It panics if SecTaskCopySigningIdentifier is unavailable at run time; use TrySecTaskCopySigningIdentifier to get an error instead.

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.

It panics if SecTaskCopyValueForEntitlement is unavailable at run time; use TrySecTaskCopyValueForEntitlement to get an error instead.

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.

It panics if SecTaskCopyValuesForEntitlements is unavailable at run time; use TrySecTaskCopyValuesForEntitlements to get an error instead.

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.

It panics if SecTaskGetTypeID is unavailable at run time; use TrySecTaskGetTypeID to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTaskGetTypeID()

func SecTranformCustomGetAttribute deprecated

SecTranformCustomGetAttribute gets an attribute value from a custom transform.

It panics if SecTranformCustomGetAttribute is unavailable at run time; use TrySecTranformCustomGetAttribute to get an error instead.

Deprecated: Deprecated since macOS 10.8. Use [SecTransformCustomGetAttribute(_:_:_:)](<https://developer.apple.com/documentation/Security/SecTransformCustomGetAttribute(_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecTranformCustomGetAttribute

func SecTransformCopyExternalRepresentation deprecated

func SecTransformCopyExternalRepresentation(transformRef SecTransformRef) corefoundation.CFDictionaryRef

SecTransformCopyExternalRepresentation creates a dictionary that contains enough information to be able to recreate a transform.

It panics if SecTransformCopyExternalRepresentation is unavailable at run time; use TrySecTransformCopyExternalRepresentation to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformCopyExternalRepresentation(_:)

func SecTransformCustomSetAttribute deprecated

SecTransformCustomSetAttribute sets an attribute value on a custom transform.

It panics if SecTransformCustomSetAttribute is unavailable at run time; use TrySecTransformCustomSetAttribute to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformCustomSetAttribute(_:_:_:_:)

func SecTransformExecute deprecated

func SecTransformExecute(transformRef SecTransformRef, errorRef *corefoundation.CFErrorRef) corefoundation.CFTypeRef

SecTransformExecute executes a transform or transform group synchronously.

It panics if SecTransformExecute is unavailable at run time; use TrySecTransformExecute to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformExecute(_:_:)

func SecTransformExecuteAsync deprecated

func SecTransformExecuteAsync(transformRef SecTransformRef, deliveryQueue dispatch.Queue, deliveryBlock SecMessageBlock)

SecTransformExecuteAsync executes transform or transform group asynchronously.

It panics if SecTransformExecuteAsync is unavailable at run time; use TrySecTransformExecuteAsync to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformExecuteAsync(_:_:_:)

func SecTransformGetAttribute deprecated

func SecTransformGetAttribute(transformRef SecTransformRef, key corefoundation.CFStringRef) corefoundation.CFTypeRef

SecTransformGetAttribute gets the current value of a transform attribute.

It panics if SecTransformGetAttribute is unavailable at run time; use TrySecTransformGetAttribute to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformGetAttribute(_:_:)

func SecTransformGetTypeID deprecated

func SecTransformGetTypeID() uint

SecTransformGetTypeID returns the unique identifier of the opaque type to which a security transform object belongs.

It panics if SecTransformGetTypeID is unavailable at run time; use TrySecTransformGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformGetTypeID()

func SecTransformNoData deprecated

func SecTransformNoData() corefoundation.CFTypeRef

SecTransformNoData returns an object from inside a ProcessData override that says that although no data is being returned the transform is still active and awaiting data.

It panics if SecTransformNoData is unavailable at run time; use TrySecTransformNoData to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformNoData()

func SecTransformPushbackAttribute deprecated

SecTransformPushbackAttribute pushes a single value back for a specific attribute.

It panics if SecTransformPushbackAttribute is unavailable at run time; use TrySecTransformPushbackAttribute to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformPushbackAttribute(_:_:_:)

func SecTransformRegister deprecated

func SecTransformRegister(uniqueName corefoundation.CFStringRef, createTransformFunction unsafe.Pointer, err *corefoundation.CFErrorRef) bool

SecTransformRegister registers a custom transform.

It panics if SecTransformRegister is unavailable at run time; use TrySecTransformRegister to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformRegister(_:_:_:)

func SecTransformSetAttribute deprecated

func SecTransformSetAttribute(transformRef SecTransformRef, key corefoundation.CFStringRef, value corefoundation.CFTypeRef, err *corefoundation.CFErrorRef) bool

SecTransformSetAttribute sets a static value for an attribute in a transform.

It panics if SecTransformSetAttribute is unavailable at run time; use TrySecTransformSetAttribute to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformSetAttribute(_:_:_:_:)

func SecTransformSetAttributeAction deprecated

SecTransformSetAttributeAction requests a callback when an attribute is set.

It panics if SecTransformSetAttributeAction is unavailable at run time; use TrySecTransformSetAttributeAction to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformSetAttributeAction(_:_:_:_:)

func SecTransformSetDataAction deprecated

func SecTransformSetDataAction(ref SecTransformImplementationRef, action corefoundation.CFStringRef, newAction unsafe.Pointer) corefoundation.CFErrorRef

SecTransformSetDataAction changes the way a custom transform processes data.

It panics if SecTransformSetDataAction is unavailable at run time; use TrySecTransformSetDataAction to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformSetDataAction(_:_:_:)

func SecTransformSetTransformAction deprecated

func SecTransformSetTransformAction(ref SecTransformImplementationRef, action corefoundation.CFStringRef, newAction unsafe.Pointer) corefoundation.CFErrorRef

SecTransformSetTransformAction changes the way that a transform deals with transform lifecycle behaviors.

It panics if SecTransformSetTransformAction is unavailable at run time; use TrySecTransformSetTransformAction to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformSetTransformAction(_:_:_:)

func SecTrustCopyAnchorCertificates

func SecTrustCopyAnchorCertificates(anchors *corefoundation.CFArrayRef) int32

SecTrustCopyAnchorCertificates retrieves the anchor (root) certificates stored by macOS.

It panics if SecTrustCopyAnchorCertificates is unavailable at run time; use TrySecTrustCopyAnchorCertificates to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTrustCopyAnchorCertificates(_:)

func SecTrustCopyCertificateChain

func SecTrustCopyCertificateChain(trust SecTrustRef) corefoundation.CFArrayRef

SecTrustCopyCertificateChain.

It panics if SecTrustCopyCertificateChain is unavailable at run time; use TrySecTrustCopyCertificateChain to get an error instead.

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.

It panics if SecTrustCopyCustomAnchorCertificates is unavailable at run time; use TrySecTrustCopyCustomAnchorCertificates to get an error instead.

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.

It panics if SecTrustCopyExceptions is unavailable at run time; use TrySecTrustCopyExceptions to get an error instead.

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.

It panics if SecTrustCopyPolicies is unavailable at run time; use TrySecTrustCopyPolicies to get an error instead.

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.

It panics if SecTrustCopyProperties is unavailable at run time; use TrySecTrustCopyProperties to get an error instead.

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.

It panics if SecTrustCopyResult is unavailable at run time; use TrySecTrustCopyResult to get an error instead.

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.

It panics if SecTrustCreateWithCertificates is unavailable at run time; use TrySecTrustCreateWithCertificates to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTrustCreateWithCertificates(_:_:_:)

func SecTrustEvaluate deprecated

func SecTrustEvaluate(trust SecTrustRef, result *SecTrustResultType) int32

SecTrustEvaluate evaluates trust for the specified certificate and policies.

It panics if SecTrustEvaluate is unavailable at run time; use TrySecTrustEvaluate to get an error instead.

Deprecated: Deprecated since macOS 10.15. Use [SecTrustEvaluateWithError(_:_:)](<https://developer.apple.com/documentation/Security/SecTrustEvaluateWithError(_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecTrustEvaluate(_:_:)

func SecTrustEvaluateAsync deprecated

func SecTrustEvaluateAsync(trust SecTrustRef, queue dispatch.Queue, result SecTrustCallback) int32

SecTrustEvaluateAsync evaluates a trust object asynchronously on the specified dispatch queue.

It panics if SecTrustEvaluateAsync is unavailable at run time; use TrySecTrustEvaluateAsync to get an error instead.

Deprecated: Deprecated since macOS 10.15. Use [SecTrustEvaluateAsyncWithError(_:_:_:)](<https://developer.apple.com/documentation/Security/SecTrustEvaluateAsyncWithError(_:_:_:)>) instead.

See: https://developer.apple.com/documentation/Security/SecTrustEvaluateAsync(_:_:_:)

func SecTrustEvaluateAsyncWithError

func SecTrustEvaluateAsyncWithError(trust SecTrustRef, queue dispatch.Queue, result SecTrustWithErrorCallback) int32

SecTrustEvaluateAsyncWithError evaluates a trust object asynchronously on the specified dispatch queue.

It panics if SecTrustEvaluateAsyncWithError is unavailable at run time; use TrySecTrustEvaluateAsyncWithError to get an error instead.

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.

It panics if SecTrustEvaluateWithError is unavailable at run time; use TrySecTrustEvaluateWithError to get an error instead.

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.

It panics if SecTrustGetCertificateCount is unavailable at run time; use TrySecTrustGetCertificateCount to get an error instead.

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.

It panics if SecTrustGetCssmResult is unavailable at run time; use TrySecTrustGetCssmResult to get an error instead.

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.

It panics if SecTrustGetCssmResultCode is unavailable at run time; use TrySecTrustGetCssmResultCode to get an error instead.

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.

It panics if SecTrustGetNetworkFetchAllowed is unavailable at run time; use TrySecTrustGetNetworkFetchAllowed to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTrustGetNetworkFetchAllowed(_:_:)

func SecTrustGetResult deprecated

func SecTrustGetResult(trustRef SecTrustRef, result *SecTrustResultType, certChain *corefoundation.CFArrayRef, statusChain **CSSM_TP_APPLE_EVIDENCE_INFO) int32

SecTrustGetResult retrieves details on the outcome of a call to the function SecTrustEvaluate.

It panics if SecTrustGetResult is unavailable at run time; use TrySecTrustGetResult to get an error instead.

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.

It panics if SecTrustGetTPHandle is unavailable at run time; use TrySecTrustGetTPHandle to get an error instead.

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.

It panics if SecTrustGetTrustResult is unavailable at run time; use TrySecTrustGetTrustResult to get an error instead.

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.

It panics if SecTrustGetTypeID is unavailable at run time; use TrySecTrustGetTypeID to get an error instead.

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.

It panics if SecTrustGetVerifyTime is unavailable at run time; use TrySecTrustGetVerifyTime to get an error instead.

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.

It panics if SecTrustSetAnchorCertificates is unavailable at run time; use TrySecTrustSetAnchorCertificates to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTrustSetAnchorCertificates(_:_:)

func SecTrustSetAnchorCertificatesOnly

func SecTrustSetAnchorCertificatesOnly(trust SecTrustRef, anchorCertificatesOnly bool) int32

SecTrustSetAnchorCertificatesOnly reenables trusting built-in anchor certificates.

It panics if SecTrustSetAnchorCertificatesOnly is unavailable at run time; use TrySecTrustSetAnchorCertificatesOnly to get an error instead.

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.

It panics if SecTrustSetExceptions is unavailable at run time; use TrySecTrustSetExceptions to get an error instead.

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.

It panics if SecTrustSetKeychains is unavailable at run time; use TrySecTrustSetKeychains to get an error instead.

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.

It panics if SecTrustSetNetworkFetchAllowed is unavailable at run time; use TrySecTrustSetNetworkFetchAllowed to get an error instead.

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.

It panics if SecTrustSetOCSPResponse is unavailable at run time; use TrySecTrustSetOCSPResponse to get an error instead.

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.

It panics if SecTrustSetOptions is unavailable at run time; use TrySecTrustSetOptions to get an error instead.

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.

It panics if SecTrustSetParameters is unavailable at run time; use TrySecTrustSetParameters to get an error instead.

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.

It panics if SecTrustSetPolicies is unavailable at run time; use TrySecTrustSetPolicies to get an error instead.

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.

It panics if SecTrustSetSignedCertificateTimestamps is unavailable at run time; use TrySecTrustSetSignedCertificateTimestamps to get an error instead.

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.

It panics if SecTrustSetVerifyDate is unavailable at run time; use TrySecTrustSetVerifyDate to get an error instead.

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.

It panics if SecTrustSettingsCopyCertificates is unavailable at run time; use TrySecTrustSettingsCopyCertificates to get an error instead.

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.

It panics if SecTrustSettingsCopyModificationDate is unavailable at run time; use TrySecTrustSettingsCopyModificationDate to get an error instead.

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.

It panics if SecTrustSettingsCopyTrustSettings is unavailable at run time; use TrySecTrustSettingsCopyTrustSettings to get an error instead.

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.

It panics if SecTrustSettingsCreateExternalRepresentation is unavailable at run time; use TrySecTrustSettingsCreateExternalRepresentation to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTrustSettingsCreateExternalRepresentation(_:_:)

func SecTrustSettingsImportExternalRepresentation

func SecTrustSettingsImportExternalRepresentation(domain SecTrustSettingsDomain, trustSettings corefoundation.CFDataRef) int32

SecTrustSettingsImportExternalRepresentation imports trust settings into a trust domain.

It panics if SecTrustSettingsImportExternalRepresentation is unavailable at run time; use TrySecTrustSettingsImportExternalRepresentation to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTrustSettingsImportExternalRepresentation(_:_:)

func SecTrustSettingsRemoveTrustSettings

func SecTrustSettingsRemoveTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain) int32

SecTrustSettingsRemoveTrustSettings deletes the trust settings for a certificate.

It panics if SecTrustSettingsRemoveTrustSettings is unavailable at run time; use TrySecTrustSettingsRemoveTrustSettings to get an error instead.

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.

It panics if SecTrustSettingsSetTrustSettings is unavailable at run time; use TrySecTrustSettingsSetTrustSettings to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTrustSettingsSetTrustSettings(_:_:_:)

func SecTrustedApplicationCopyData deprecated

func SecTrustedApplicationCopyData(appRef SecTrustedApplicationRef, data *corefoundation.CFDataRef) int32

SecTrustedApplicationCopyData retrieves the data of a trusted app instance.

It panics if SecTrustedApplicationCopyData is unavailable at run time; use TrySecTrustedApplicationCopyData to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecTrustedApplicationCopyData(_:_:)

func SecTrustedApplicationCreateFromPath deprecated

func SecTrustedApplicationCreateFromPath(path string, app *SecTrustedApplicationRef) int32

SecTrustedApplicationCreateFromPath creates a trusted app instance based on the app at the given path in the file system.

It panics if SecTrustedApplicationCreateFromPath is unavailable at run time; use TrySecTrustedApplicationCreateFromPath to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecTrustedApplicationCreateFromPath(_:_:)

func SecTrustedApplicationGetTypeID deprecated

func SecTrustedApplicationGetTypeID() uint

SecTrustedApplicationGetTypeID returns the unique identifier of the opaque type to which a trusted app instance belongs.

It panics if SecTrustedApplicationGetTypeID is unavailable at run time; use TrySecTrustedApplicationGetTypeID to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecTrustedApplicationGetTypeID()

func SecTrustedApplicationSetData deprecated

func SecTrustedApplicationSetData(appRef SecTrustedApplicationRef, data corefoundation.CFDataRef) int32

SecTrustedApplicationSetData sets the data of a given trusted app instance.

It panics if SecTrustedApplicationSetData is unavailable at run time; use TrySecTrustedApplicationSetData to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecTrustedApplicationSetData(_:_:)

func Sec_identity_access_certificates

func Sec_identity_access_certificates(identity Sec_identity_t) bool

Sec_identity_access_certificates.

It panics if sec_identity_access_certificates is unavailable at run time; use TrySec_identity_access_certificates to get an error instead.

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.

It panics if sec_identity_copy_certificates_ref is unavailable at run time; use TrySec_identity_copy_certificates_ref to get an error instead.

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.

It panics if sec_protocol_metadata_access_distinguished_names is unavailable at run time; use TrySec_protocol_metadata_access_distinguished_names to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_metadata_access_ocsp_response is unavailable at run time; use TrySec_protocol_metadata_access_ocsp_response to get an error instead.

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.

It panics if sec_protocol_metadata_access_peer_certificate_chain is unavailable at run time; use TrySec_protocol_metadata_access_peer_certificate_chain to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_metadata_access_pre_shared_keys is unavailable at run time; use TrySec_protocol_metadata_access_pre_shared_keys to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_metadata_access_supported_signature_algorithms is unavailable at run time; use TrySec_protocol_metadata_access_supported_signature_algorithms to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_metadata_challenge_parameters_are_equal is unavailable at run time; use TrySec_protocol_metadata_challenge_parameters_are_equal to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_metadata_copy_negotiated_protocol is unavailable at run time; use TrySec_protocol_metadata_copy_negotiated_protocol to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_metadata_copy_peer_public_key is unavailable at run time; use TrySec_protocol_metadata_copy_peer_public_key to get an error instead.

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.

It panics if sec_protocol_metadata_copy_server_name is unavailable at run time; use TrySec_protocol_metadata_copy_server_name to get an error instead.

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.

It panics if sec_protocol_metadata_create_secret is unavailable at run time; use TrySec_protocol_metadata_create_secret to get an error instead.

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 []byte, exporter_length uintptr) dispatch.Data

Sec_protocol_metadata_create_secret_with_context.

It panics if sec_protocol_metadata_create_secret_with_context is unavailable at run time; use TrySec_protocol_metadata_create_secret_with_context to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_metadata_get_early_data_accepted is unavailable at run time; use TrySec_protocol_metadata_get_early_data_accepted to get an error instead.

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.

It panics if sec_protocol_metadata_get_negotiated_protocol is unavailable at run time; use TrySec_protocol_metadata_get_negotiated_protocol to get an error instead.

Deprecated: Deprecated since macOS 15.5.

See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_negotiated_protocol(_:)

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.

It panics if sec_protocol_metadata_get_server_name is unavailable at run time; use TrySec_protocol_metadata_get_server_name to get an error instead.

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.

It panics if sec_protocol_metadata_peers_are_equal is unavailable at run time; use TrySec_protocol_metadata_peers_are_equal to get an error instead.

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.

It panics if sec_protocol_options_add_pre_shared_key is unavailable at run time; use TrySec_protocol_options_add_pre_shared_key to get an error instead.

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.

It panics if sec_protocol_options_add_tls_application_protocol is unavailable at run time; use TrySec_protocol_options_add_tls_application_protocol to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_protocol_options_add_tls_application_protocol(_:_:)

func Sec_protocol_options_add_tls_ciphersuite deprecated

func Sec_protocol_options_add_tls_ciphersuite(options Sec_protocol_options_t, ciphersuite SSLCipherSuite)

Sec_protocol_options_add_tls_ciphersuite.

It panics if sec_protocol_options_add_tls_ciphersuite is unavailable at run time; use TrySec_protocol_options_add_tls_ciphersuite to get an error instead.

Deprecated: Deprecated since macOS 10.15. Use sec_protocol_options_append_tls_ciphersuite

See: https://developer.apple.com/documentation/Security/sec_protocol_options_add_tls_ciphersuite(_:_:)

func Sec_protocol_options_add_tls_ciphersuite_group deprecated

func Sec_protocol_options_add_tls_ciphersuite_group(options Sec_protocol_options_t, group SSLCiphersuiteGroup)

Sec_protocol_options_add_tls_ciphersuite_group.

It panics if sec_protocol_options_add_tls_ciphersuite_group is unavailable at run time; use TrySec_protocol_options_add_tls_ciphersuite_group to get an error instead.

Deprecated: Deprecated since macOS 10.15. Use sec_protocol_options_append_tls_ciphersuite_group

See: https://developer.apple.com/documentation/Security/sec_protocol_options_add_tls_ciphersuite_group(_:_:)

func Sec_protocol_options_append_tls_ciphersuite

func Sec_protocol_options_append_tls_ciphersuite(options Sec_protocol_options_t, ciphersuite Tls_ciphersuite_t)

Sec_protocol_options_append_tls_ciphersuite.

It panics if sec_protocol_options_append_tls_ciphersuite is unavailable at run time; use TrySec_protocol_options_append_tls_ciphersuite to get an error instead.

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 Tls_ciphersuite_group_t)

Sec_protocol_options_append_tls_ciphersuite_group.

It panics if sec_protocol_options_append_tls_ciphersuite_group is unavailable at run time; use TrySec_protocol_options_append_tls_ciphersuite_group to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_are_equal is unavailable at run time; use TrySec_protocol_options_are_equal to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_protocol_options_are_equal(_:_:)

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.

It panics if sec_protocol_options_get_enable_encrypted_client_hello is unavailable at run time; use TrySec_protocol_options_get_enable_encrypted_client_hello to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_get_quic_use_legacy_codepoint is unavailable at run time; use TrySec_protocol_options_get_quic_use_legacy_codepoint to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_challenge_block is unavailable at run time; use TrySec_protocol_options_set_challenge_block to get an error instead.

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.

It panics if sec_protocol_options_set_enable_encrypted_client_hello is unavailable at run time; use TrySec_protocol_options_set_enable_encrypted_client_hello to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_key_update_block is unavailable at run time; use TrySec_protocol_options_set_key_update_block to get an error instead.

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.

It panics if sec_protocol_options_set_local_identity is unavailable at run time; use TrySec_protocol_options_set_local_identity to get an error instead.

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 Tls_protocol_version_t)

Sec_protocol_options_set_max_tls_protocol_version.

It panics if sec_protocol_options_set_max_tls_protocol_version is unavailable at run time; use TrySec_protocol_options_set_max_tls_protocol_version to get an error instead.

See: https://developer.apple.com/documentation/Security/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 Tls_protocol_version_t)

Sec_protocol_options_set_min_tls_protocol_version.

It panics if sec_protocol_options_set_min_tls_protocol_version is unavailable at run time; use TrySec_protocol_options_set_min_tls_protocol_version to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_peer_authentication_optional is unavailable at run time; use TrySec_protocol_options_set_peer_authentication_optional to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_peer_authentication_required is unavailable at run time; use TrySec_protocol_options_set_peer_authentication_required to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_pre_shared_key_selection_block is unavailable at run time; use TrySec_protocol_options_set_pre_shared_key_selection_block to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_quic_use_legacy_codepoint is unavailable at run time; use TrySec_protocol_options_set_quic_use_legacy_codepoint to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_quic_use_legacy_codepoint

func Sec_protocol_options_set_tls_diffie_hellman_parameters deprecated

func Sec_protocol_options_set_tls_diffie_hellman_parameters(options Sec_protocol_options_t, params dispatch.Data)

Sec_protocol_options_set_tls_diffie_hellman_parameters.

It panics if sec_protocol_options_set_tls_diffie_hellman_parameters is unavailable at run time; use TrySec_protocol_options_set_tls_diffie_hellman_parameters to get an error instead.

Deprecated: Deprecated since macOS 10.15. DHE ciphersuites are no longer supported

See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_tls_diffie_hellman_parameters(_:_:)

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.

It panics if sec_protocol_options_set_tls_false_start_enabled is unavailable at run time; use TrySec_protocol_options_set_tls_false_start_enabled to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_tls_is_fallback_attempt is unavailable at run time; use TrySec_protocol_options_set_tls_is_fallback_attempt to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_tls_max_version is unavailable at run time; use TrySec_protocol_options_set_tls_max_version to get an error instead.

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.

It panics if sec_protocol_options_set_tls_min_version is unavailable at run time; use TrySec_protocol_options_set_tls_min_version to get an error instead.

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.

It panics if sec_protocol_options_set_tls_ocsp_enabled is unavailable at run time; use TrySec_protocol_options_set_tls_ocsp_enabled to get an error instead.

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.

It panics if sec_protocol_options_set_tls_pre_shared_key_identity_hint is unavailable at run time; use TrySec_protocol_options_set_tls_pre_shared_key_identity_hint to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_tls_renegotiation_enabled is unavailable at run time; use TrySec_protocol_options_set_tls_renegotiation_enabled to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_tls_resumption_enabled is unavailable at run time; use TrySec_protocol_options_set_tls_resumption_enabled to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_tls_sct_enabled is unavailable at run time; use TrySec_protocol_options_set_tls_sct_enabled to get an error instead.

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.

It panics if sec_protocol_options_set_tls_server_name is unavailable at run time; use TrySec_protocol_options_set_tls_server_name to get an error instead.

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.

It panics if sec_protocol_options_set_tls_tickets_enabled is unavailable at run time; use TrySec_protocol_options_set_tls_tickets_enabled to get an error instead.

See: https://developer.apple.com/documentation/Security/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.

It panics if sec_protocol_options_set_verify_block is unavailable at run time; use TrySec_protocol_options_set_verify_block to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_protocol_options_set_verify_block(_:_:_:)

func Sec_release

func Sec_release(obj unsafe.Pointer)

Sec_release.

It panics if sec_release is unavailable at run time; use TrySec_release to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_release(_:)

func Sec_retain

func Sec_retain(obj unsafe.Pointer) unsafe.Pointer

Sec_retain.

It panics if sec_retain is unavailable at run time; use TrySec_retain to get an error instead.

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.

It panics if SecureDownloadCopyCreationDate is unavailable at run time; use TrySecureDownloadCopyCreationDate to get an error instead.

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.

It panics if SecureDownloadCopyName is unavailable at run time; use TrySecureDownloadCopyName to get an error instead.

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.

It panics if SecureDownloadCopyTicketLocation is unavailable at run time; use TrySecureDownloadCopyTicketLocation to get an error instead.

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.

It panics if SecureDownloadCopyURLs is unavailable at run time; use TrySecureDownloadCopyURLs to get an error instead.

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.

It panics if SecureDownloadCreateWithTicket is unavailable at run time; use TrySecureDownloadCreateWithTicket to get an error instead.

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.

It panics if SecureDownloadFinished is unavailable at run time; use TrySecureDownloadFinished to get an error instead.

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.

It panics if SecureDownloadGetDownloadSize is unavailable at run time; use TrySecureDownloadGetDownloadSize to get an error instead.

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.

It panics if SecureDownloadRelease is unavailable at run time; use TrySecureDownloadRelease to get an error instead.

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.

It panics if SecureDownloadUpdateWithData is unavailable at run time; use TrySecureDownloadUpdateWithData to get an error instead.

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.

It panics if SessionCreate is unavailable at run time; use TrySessionCreate to get an error instead.

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.

It panics if SessionGetInfo is unavailable at run time; use TrySessionGetInfo to get an error instead.

See: https://developer.apple.com/documentation/Security/SessionGetInfo(_:_:_:)

func SymbolAddress

func SymbolAddress(name string) (uintptr, error)

SymbolAddress returns the address of name in Security, whether or not this package generated a binding for it.

What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.

The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.

func TryAuthorizationCopyInfo

func TryAuthorizationCopyInfo(authorization AuthorizationRef, tag AuthorizationString, info **AuthorizationItemSet) (int32, error)

TryAuthorizationCopyInfo is like AuthorizationCopyInfo but returns an error instead of panicking if AuthorizationCopyInfo is unavailable at run time.

func TryAuthorizationCopyPrivilegedReference

func TryAuthorizationCopyPrivilegedReference(authorization *AuthorizationRef, flags AuthorizationFlags) (int32, error)

TryAuthorizationCopyPrivilegedReference is like AuthorizationCopyPrivilegedReference but returns an error instead of panicking if AuthorizationCopyPrivilegedReference is unavailable at run time.

func TryAuthorizationCopyRights

func TryAuthorizationCopyRights(authorization AuthorizationRef, rights *AuthorizationRights, environment *AuthorizationEnvironment, flags AuthorizationFlags, authorizedRights **AuthorizationRights) (int32, error)

TryAuthorizationCopyRights is like AuthorizationCopyRights but returns an error instead of panicking if AuthorizationCopyRights is unavailable at run time.

func TryAuthorizationCopyRightsAsync

func TryAuthorizationCopyRightsAsync(authorization AuthorizationRef, rights *AuthorizationRights, environment *AuthorizationEnvironment, flags AuthorizationFlags, callbackBlock AuthorizationAsyncCallback) error

TryAuthorizationCopyRightsAsync is like AuthorizationCopyRightsAsync but returns an error instead of panicking if AuthorizationCopyRightsAsync is unavailable at run time.

func TryAuthorizationCreate

func TryAuthorizationCreate(rights *AuthorizationRights, environment *AuthorizationEnvironment, flags AuthorizationFlags, authorization *AuthorizationRef) (int32, error)

TryAuthorizationCreate is like AuthorizationCreate but returns an error instead of panicking if AuthorizationCreate is unavailable at run time.

func TryAuthorizationCreateFromExternalForm

func TryAuthorizationCreateFromExternalForm(extForm *AuthorizationExternalForm, authorization *AuthorizationRef) (int32, error)

TryAuthorizationCreateFromExternalForm is like AuthorizationCreateFromExternalForm but returns an error instead of panicking if AuthorizationCreateFromExternalForm is unavailable at run time.

func TryAuthorizationExecuteWithPrivileges

func TryAuthorizationExecuteWithPrivileges(authorization AuthorizationRef, pathToTool string, options AuthorizationFlags, arguments **byte, communicationsPipe unsafe.Pointer) (int32, error)

TryAuthorizationExecuteWithPrivileges is like AuthorizationExecuteWithPrivileges but returns an error instead of panicking if AuthorizationExecuteWithPrivileges is unavailable at run time.

func TryAuthorizationFree

func TryAuthorizationFree(authorization AuthorizationRef, flags AuthorizationFlags) (int32, error)

TryAuthorizationFree is like AuthorizationFree but returns an error instead of panicking if AuthorizationFree is unavailable at run time.

func TryAuthorizationFreeItemSet

func TryAuthorizationFreeItemSet(set *AuthorizationItemSet) (int32, error)

TryAuthorizationFreeItemSet is like AuthorizationFreeItemSet but returns an error instead of panicking if AuthorizationFreeItemSet is unavailable at run time.

func TryAuthorizationMakeExternalForm

func TryAuthorizationMakeExternalForm(authorization AuthorizationRef, extForm *AuthorizationExternalForm) (int32, error)

TryAuthorizationMakeExternalForm is like AuthorizationMakeExternalForm but returns an error instead of panicking if AuthorizationMakeExternalForm is unavailable at run time.

func TryAuthorizationRightGet

func TryAuthorizationRightGet(rightName string, rightDefinition *corefoundation.CFDictionaryRef) (int32, error)

TryAuthorizationRightGet is like AuthorizationRightGet but returns an error instead of panicking if AuthorizationRightGet is unavailable at run time.

func TryAuthorizationRightRemove

func TryAuthorizationRightRemove(authRef AuthorizationRef, rightName string) (int32, error)

TryAuthorizationRightRemove is like AuthorizationRightRemove but returns an error instead of panicking if AuthorizationRightRemove is unavailable at run time.

func TryAuthorizationRightSet

func TryAuthorizationRightSet(authRef AuthorizationRef, rightName string, rightDefinition corefoundation.CFTypeRef, descriptionKey corefoundation.CFStringRef, bundle corefoundation.CFBundleRef, localeTableName corefoundation.CFStringRef) (int32, error)

TryAuthorizationRightSet is like AuthorizationRightSet but returns an error instead of panicking if AuthorizationRightSet is unavailable at run time.

func TryCMSDecoderCopyAllCerts

func TryCMSDecoderCopyAllCerts(cmsDecoder CMSDecoderRef, certsOut *corefoundation.CFArrayRef) (int32, error)

TryCMSDecoderCopyAllCerts is like CMSDecoderCopyAllCerts but returns an error instead of panicking if CMSDecoderCopyAllCerts is unavailable at run time.

func TryCMSDecoderCopyContent

func TryCMSDecoderCopyContent(cmsDecoder CMSDecoderRef, contentOut *corefoundation.CFDataRef) (int32, error)

TryCMSDecoderCopyContent is like CMSDecoderCopyContent but returns an error instead of panicking if CMSDecoderCopyContent is unavailable at run time.

func TryCMSDecoderCopyDetachedContent

func TryCMSDecoderCopyDetachedContent(cmsDecoder CMSDecoderRef, detachedContentOut *corefoundation.CFDataRef) (int32, error)

TryCMSDecoderCopyDetachedContent is like CMSDecoderCopyDetachedContent but returns an error instead of panicking if CMSDecoderCopyDetachedContent is unavailable at run time.

func TryCMSDecoderCopyEncapsulatedContentType

func TryCMSDecoderCopyEncapsulatedContentType(cmsDecoder CMSDecoderRef, eContentTypeOut *corefoundation.CFDataRef) (int32, error)

TryCMSDecoderCopyEncapsulatedContentType is like CMSDecoderCopyEncapsulatedContentType but returns an error instead of panicking if CMSDecoderCopyEncapsulatedContentType is unavailable at run time.

func TryCMSDecoderCopySignerCert

func TryCMSDecoderCopySignerCert(cmsDecoder CMSDecoderRef, signerIndex uintptr, signerCertOut *SecCertificateRef) (int32, error)

TryCMSDecoderCopySignerCert is like CMSDecoderCopySignerCert but returns an error instead of panicking if CMSDecoderCopySignerCert is unavailable at run time.

func TryCMSDecoderCopySignerEmailAddress

func TryCMSDecoderCopySignerEmailAddress(cmsDecoder CMSDecoderRef, signerIndex uintptr, signerEmailAddressOut *corefoundation.CFStringRef) (int32, error)

TryCMSDecoderCopySignerEmailAddress is like CMSDecoderCopySignerEmailAddress but returns an error instead of panicking if CMSDecoderCopySignerEmailAddress is unavailable at run time.

func TryCMSDecoderCopySignerSigningTime

func TryCMSDecoderCopySignerSigningTime(cmsDecoder CMSDecoderRef, signerIndex uintptr, signingTime *corefoundation.CFAbsoluteTime) (int32, error)

TryCMSDecoderCopySignerSigningTime is like CMSDecoderCopySignerSigningTime but returns an error instead of panicking if CMSDecoderCopySignerSigningTime is unavailable at run time.

func TryCMSDecoderCopySignerStatus

func TryCMSDecoderCopySignerStatus(cmsDecoder CMSDecoderRef, signerIndex uintptr, policyOrArray corefoundation.CFTypeRef, evaluateSecTrust bool, signerStatusOut *CMSSignerStatus, secTrustOut *SecTrustRef, certVerifyResultCodeOut *int32) (int32, error)

TryCMSDecoderCopySignerStatus is like CMSDecoderCopySignerStatus but returns an error instead of panicking if CMSDecoderCopySignerStatus is unavailable at run time.

func TryCMSDecoderCopySignerTimestamp

func TryCMSDecoderCopySignerTimestamp(cmsDecoder CMSDecoderRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) (int32, error)

TryCMSDecoderCopySignerTimestamp is like CMSDecoderCopySignerTimestamp but returns an error instead of panicking if CMSDecoderCopySignerTimestamp is unavailable at run time.

func TryCMSDecoderCopySignerTimestampCertificates

func TryCMSDecoderCopySignerTimestampCertificates(cmsDecoder CMSDecoderRef, signerIndex uintptr, certificateRefs *corefoundation.CFArrayRef) (int32, error)

TryCMSDecoderCopySignerTimestampCertificates is like CMSDecoderCopySignerTimestampCertificates but returns an error instead of panicking if CMSDecoderCopySignerTimestampCertificates is unavailable at run time.

func TryCMSDecoderCopySignerTimestampWithPolicy

func TryCMSDecoderCopySignerTimestampWithPolicy(cmsDecoder CMSDecoderRef, timeStampPolicy corefoundation.CFTypeRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) (int32, error)

TryCMSDecoderCopySignerTimestampWithPolicy is like CMSDecoderCopySignerTimestampWithPolicy but returns an error instead of panicking if CMSDecoderCopySignerTimestampWithPolicy is unavailable at run time.

func TryCMSDecoderCreate

func TryCMSDecoderCreate(cmsDecoderOut *CMSDecoderRef) (int32, error)

TryCMSDecoderCreate is like CMSDecoderCreate but returns an error instead of panicking if CMSDecoderCreate is unavailable at run time.

func TryCMSDecoderFinalizeMessage

func TryCMSDecoderFinalizeMessage(cmsDecoder CMSDecoderRef) (int32, error)

TryCMSDecoderFinalizeMessage is like CMSDecoderFinalizeMessage but returns an error instead of panicking if CMSDecoderFinalizeMessage is unavailable at run time.

func TryCMSDecoderGetNumSigners

func TryCMSDecoderGetNumSigners(cmsDecoder CMSDecoderRef, numSignersOut *uintptr) (int32, error)

TryCMSDecoderGetNumSigners is like CMSDecoderGetNumSigners but returns an error instead of panicking if CMSDecoderGetNumSigners is unavailable at run time.

func TryCMSDecoderGetTypeID

func TryCMSDecoderGetTypeID() (uint, error)

TryCMSDecoderGetTypeID is like CMSDecoderGetTypeID but returns an error instead of panicking if CMSDecoderGetTypeID is unavailable at run time.

func TryCMSDecoderIsContentEncrypted

func TryCMSDecoderIsContentEncrypted(cmsDecoder CMSDecoderRef, isEncryptedOut *bool) (int32, error)

TryCMSDecoderIsContentEncrypted is like CMSDecoderIsContentEncrypted but returns an error instead of panicking if CMSDecoderIsContentEncrypted is unavailable at run time.

func TryCMSDecoderSetDetachedContent

func TryCMSDecoderSetDetachedContent(cmsDecoder CMSDecoderRef, detachedContent corefoundation.CFDataRef) (int32, error)

TryCMSDecoderSetDetachedContent is like CMSDecoderSetDetachedContent but returns an error instead of panicking if CMSDecoderSetDetachedContent is unavailable at run time.

func TryCMSDecoderSetSearchKeychain

func TryCMSDecoderSetSearchKeychain(cmsDecoder CMSDecoderRef, keychainOrArray corefoundation.CFTypeRef) (int32, error)

TryCMSDecoderSetSearchKeychain is like CMSDecoderSetSearchKeychain but returns an error instead of panicking if CMSDecoderSetSearchKeychain is unavailable at run time.

func TryCMSDecoderUpdateMessage

func TryCMSDecoderUpdateMessage(cmsDecoder CMSDecoderRef, msgBytes unsafe.Pointer, msgBytesLen uintptr) (int32, error)

TryCMSDecoderUpdateMessage is like CMSDecoderUpdateMessage but returns an error instead of panicking if CMSDecoderUpdateMessage is unavailable at run time.

func TryCMSEncode

func TryCMSEncode(signers corefoundation.CFTypeRef, recipients corefoundation.CFTypeRef, eContentType unsafe.Pointer, detachedContent bool, signedAttributes CMSSignedAttributes, content unsafe.Pointer, contentLen uintptr, encodedContentOut *corefoundation.CFDataRef) (int32, error)

TryCMSEncode is like CMSEncode but returns an error instead of panicking if CMSEncode is unavailable at run time.

func TryCMSEncodeContent

func TryCMSEncodeContent(signers corefoundation.CFTypeRef, recipients corefoundation.CFTypeRef, eContentTypeOID corefoundation.CFTypeRef, detachedContent bool, signedAttributes CMSSignedAttributes, content unsafe.Pointer, contentLen uintptr, encodedContentOut *corefoundation.CFDataRef) (int32, error)

TryCMSEncodeContent is like CMSEncodeContent but returns an error instead of panicking if CMSEncodeContent is unavailable at run time.

func TryCMSEncoderAddRecipients

func TryCMSEncoderAddRecipients(cmsEncoder CMSEncoderRef, recipientOrArray corefoundation.CFTypeRef) (int32, error)

TryCMSEncoderAddRecipients is like CMSEncoderAddRecipients but returns an error instead of panicking if CMSEncoderAddRecipients is unavailable at run time.

func TryCMSEncoderAddSignedAttributes

func TryCMSEncoderAddSignedAttributes(cmsEncoder CMSEncoderRef, signedAttributes CMSSignedAttributes) (int32, error)

TryCMSEncoderAddSignedAttributes is like CMSEncoderAddSignedAttributes but returns an error instead of panicking if CMSEncoderAddSignedAttributes is unavailable at run time.

func TryCMSEncoderAddSigners

func TryCMSEncoderAddSigners(cmsEncoder CMSEncoderRef, signerOrArray corefoundation.CFTypeRef) (int32, error)

TryCMSEncoderAddSigners is like CMSEncoderAddSigners but returns an error instead of panicking if CMSEncoderAddSigners is unavailable at run time.

func TryCMSEncoderAddSupportingCerts

func TryCMSEncoderAddSupportingCerts(cmsEncoder CMSEncoderRef, certOrArray corefoundation.CFTypeRef) (int32, error)

TryCMSEncoderAddSupportingCerts is like CMSEncoderAddSupportingCerts but returns an error instead of panicking if CMSEncoderAddSupportingCerts is unavailable at run time.

func TryCMSEncoderCopyEncapsulatedContentType

func TryCMSEncoderCopyEncapsulatedContentType(cmsEncoder CMSEncoderRef, eContentTypeOut *corefoundation.CFDataRef) (int32, error)

TryCMSEncoderCopyEncapsulatedContentType is like CMSEncoderCopyEncapsulatedContentType but returns an error instead of panicking if CMSEncoderCopyEncapsulatedContentType is unavailable at run time.

func TryCMSEncoderCopyEncodedContent

func TryCMSEncoderCopyEncodedContent(cmsEncoder CMSEncoderRef, encodedContentOut *corefoundation.CFDataRef) (int32, error)

TryCMSEncoderCopyEncodedContent is like CMSEncoderCopyEncodedContent but returns an error instead of panicking if CMSEncoderCopyEncodedContent is unavailable at run time.

func TryCMSEncoderCopyRecipients

func TryCMSEncoderCopyRecipients(cmsEncoder CMSEncoderRef, recipientsOut *corefoundation.CFArrayRef) (int32, error)

TryCMSEncoderCopyRecipients is like CMSEncoderCopyRecipients but returns an error instead of panicking if CMSEncoderCopyRecipients is unavailable at run time.

func TryCMSEncoderCopySignerTimestamp

func TryCMSEncoderCopySignerTimestamp(cmsEncoder CMSEncoderRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) (int32, error)

TryCMSEncoderCopySignerTimestamp is like CMSEncoderCopySignerTimestamp but returns an error instead of panicking if CMSEncoderCopySignerTimestamp is unavailable at run time.

func TryCMSEncoderCopySignerTimestampWithPolicy

func TryCMSEncoderCopySignerTimestampWithPolicy(cmsEncoder CMSEncoderRef, timeStampPolicy corefoundation.CFTypeRef, signerIndex uintptr, timestamp *corefoundation.CFAbsoluteTime) (int32, error)

TryCMSEncoderCopySignerTimestampWithPolicy is like CMSEncoderCopySignerTimestampWithPolicy but returns an error instead of panicking if CMSEncoderCopySignerTimestampWithPolicy is unavailable at run time.

func TryCMSEncoderCopySigners

func TryCMSEncoderCopySigners(cmsEncoder CMSEncoderRef, signersOut *corefoundation.CFArrayRef) (int32, error)

TryCMSEncoderCopySigners is like CMSEncoderCopySigners but returns an error instead of panicking if CMSEncoderCopySigners is unavailable at run time.

func TryCMSEncoderCopySupportingCerts

func TryCMSEncoderCopySupportingCerts(cmsEncoder CMSEncoderRef, certsOut *corefoundation.CFArrayRef) (int32, error)

TryCMSEncoderCopySupportingCerts is like CMSEncoderCopySupportingCerts but returns an error instead of panicking if CMSEncoderCopySupportingCerts is unavailable at run time.

func TryCMSEncoderCreate

func TryCMSEncoderCreate(cmsEncoderOut *CMSEncoderRef) (int32, error)

TryCMSEncoderCreate is like CMSEncoderCreate but returns an error instead of panicking if CMSEncoderCreate is unavailable at run time.

func TryCMSEncoderGetCertificateChainMode

func TryCMSEncoderGetCertificateChainMode(cmsEncoder CMSEncoderRef, chainModeOut *CMSCertificateChainMode) (int32, error)

TryCMSEncoderGetCertificateChainMode is like CMSEncoderGetCertificateChainMode but returns an error instead of panicking if CMSEncoderGetCertificateChainMode is unavailable at run time.

func TryCMSEncoderGetHasDetachedContent

func TryCMSEncoderGetHasDetachedContent(cmsEncoder CMSEncoderRef, detachedContentOut *bool) (int32, error)

TryCMSEncoderGetHasDetachedContent is like CMSEncoderGetHasDetachedContent but returns an error instead of panicking if CMSEncoderGetHasDetachedContent is unavailable at run time.

func TryCMSEncoderGetTypeID

func TryCMSEncoderGetTypeID() (uint, error)

TryCMSEncoderGetTypeID is like CMSEncoderGetTypeID but returns an error instead of panicking if CMSEncoderGetTypeID is unavailable at run time.

func TryCMSEncoderSetCertificateChainMode

func TryCMSEncoderSetCertificateChainMode(cmsEncoder CMSEncoderRef, chainMode CMSCertificateChainMode) (int32, error)

TryCMSEncoderSetCertificateChainMode is like CMSEncoderSetCertificateChainMode but returns an error instead of panicking if CMSEncoderSetCertificateChainMode is unavailable at run time.

func TryCMSEncoderSetEncapsulatedContentType

func TryCMSEncoderSetEncapsulatedContentType(cmsEncoder CMSEncoderRef, eContentType unsafe.Pointer) (int32, error)

TryCMSEncoderSetEncapsulatedContentType is like CMSEncoderSetEncapsulatedContentType but returns an error instead of panicking if CMSEncoderSetEncapsulatedContentType is unavailable at run time.

func TryCMSEncoderSetEncapsulatedContentTypeOID

func TryCMSEncoderSetEncapsulatedContentTypeOID(cmsEncoder CMSEncoderRef, eContentTypeOID corefoundation.CFTypeRef) (int32, error)

TryCMSEncoderSetEncapsulatedContentTypeOID is like CMSEncoderSetEncapsulatedContentTypeOID but returns an error instead of panicking if CMSEncoderSetEncapsulatedContentTypeOID is unavailable at run time.

func TryCMSEncoderSetHasDetachedContent

func TryCMSEncoderSetHasDetachedContent(cmsEncoder CMSEncoderRef, detachedContent bool) (int32, error)

TryCMSEncoderSetHasDetachedContent is like CMSEncoderSetHasDetachedContent but returns an error instead of panicking if CMSEncoderSetHasDetachedContent is unavailable at run time.

func TryCMSEncoderSetSignerAlgorithm

func TryCMSEncoderSetSignerAlgorithm(cmsEncoder CMSEncoderRef, digestAlgorithm corefoundation.CFStringRef) (int32, error)

TryCMSEncoderSetSignerAlgorithm is like CMSEncoderSetSignerAlgorithm but returns an error instead of panicking if CMSEncoderSetSignerAlgorithm is unavailable at run time.

func TryCMSEncoderUpdateContent

func TryCMSEncoderUpdateContent(cmsEncoder CMSEncoderRef, content unsafe.Pointer, contentLen uintptr) (int32, error)

TryCMSEncoderUpdateContent is like CMSEncoderUpdateContent but returns an error instead of panicking if CMSEncoderUpdateContent is unavailable at run time.

func TryCssmAlgToOid

func TryCssmAlgToOid(algId CSSM_ALGORITHMS) (unsafe.Pointer, error)

TryCssmAlgToOid is like CssmAlgToOid but returns an error instead of panicking if cssmAlgToOid is unavailable at run time.

func TryCssmOidToAlg

func TryCssmOidToAlg(oid unsafe.Pointer, alg unsafe.Pointer) (bool, error)

TryCssmOidToAlg is like CssmOidToAlg but returns an error instead of panicking if cssmOidToAlg is unavailable at run time.

func TryCssmPerror

func TryCssmPerror(how string, err CSSM_RETURN) error

TryCssmPerror is like CssmPerror but returns an error instead of panicking if cssmPerror is unavailable at run time.

func TrySSLAddDistinguishedName

func TrySSLAddDistinguishedName(context SSLContextRef, derDN unsafe.Pointer, derDNLen uintptr) (int32, error)

TrySSLAddDistinguishedName is like SSLAddDistinguishedName but returns an error instead of panicking if SSLAddDistinguishedName is unavailable at run time.

func TrySSLClose

func TrySSLClose(context SSLContextRef) (int32, error)

TrySSLClose is like SSLClose but returns an error instead of panicking if SSLClose is unavailable at run time.

func TrySSLContextGetTypeID

func TrySSLContextGetTypeID() (uint, error)

TrySSLContextGetTypeID is like SSLContextGetTypeID but returns an error instead of panicking if SSLContextGetTypeID is unavailable at run time.

func TrySSLCopyALPNProtocols

func TrySSLCopyALPNProtocols(context SSLContextRef, protocols *corefoundation.CFArrayRef) (int32, error)

TrySSLCopyALPNProtocols is like SSLCopyALPNProtocols but returns an error instead of panicking if SSLCopyALPNProtocols is unavailable at run time.

func TrySSLCopyCertificateAuthorities

func TrySSLCopyCertificateAuthorities(context SSLContextRef, certificates *corefoundation.CFArrayRef) (int32, error)

TrySSLCopyCertificateAuthorities is like SSLCopyCertificateAuthorities but returns an error instead of panicking if SSLCopyCertificateAuthorities is unavailable at run time.

func TrySSLCopyDistinguishedNames

func TrySSLCopyDistinguishedNames(context SSLContextRef, names *corefoundation.CFArrayRef) (int32, error)

TrySSLCopyDistinguishedNames is like SSLCopyDistinguishedNames but returns an error instead of panicking if SSLCopyDistinguishedNames is unavailable at run time.

func TrySSLCopyPeerCertificates

func TrySSLCopyPeerCertificates(context SSLContextRef, certs *corefoundation.CFArrayRef) (int32, error)

TrySSLCopyPeerCertificates is like SSLCopyPeerCertificates but returns an error instead of panicking if SSLCopyPeerCertificates is unavailable at run time.

func TrySSLCopyPeerTrust

func TrySSLCopyPeerTrust(context SSLContextRef, trust *SecTrustRef) (int32, error)

TrySSLCopyPeerTrust is like SSLCopyPeerTrust but returns an error instead of panicking if SSLCopyPeerTrust is unavailable at run time.

func TrySSLCopyRequestedPeerName

func TrySSLCopyRequestedPeerName(context SSLContextRef, peerName string, peerNameLen *uintptr) (int32, error)

TrySSLCopyRequestedPeerName is like SSLCopyRequestedPeerName but returns an error instead of panicking if SSLCopyRequestedPeerName is unavailable at run time.

func TrySSLCopyRequestedPeerNameLength

func TrySSLCopyRequestedPeerNameLength(ctx SSLContextRef, peerNameLen *uintptr) (int32, error)

TrySSLCopyRequestedPeerNameLength is like SSLCopyRequestedPeerNameLength but returns an error instead of panicking if SSLCopyRequestedPeerNameLength is unavailable at run time.

func TrySSLCopyTrustedRoots

func TrySSLCopyTrustedRoots(context SSLContextRef, trustedRoots *corefoundation.CFArrayRef) (int32, error)

TrySSLCopyTrustedRoots is like SSLCopyTrustedRoots but returns an error instead of panicking if SSLCopyTrustedRoots is unavailable at run time.

func TrySSLDisposeContext

func TrySSLDisposeContext(context SSLContextRef) (int32, error)

TrySSLDisposeContext is like SSLDisposeContext but returns an error instead of panicking if SSLDisposeContext is unavailable at run time.

func TrySSLGetAllowsAnyRoot

func TrySSLGetAllowsAnyRoot(context SSLContextRef, anyRoot *bool) (int32, error)

TrySSLGetAllowsAnyRoot is like SSLGetAllowsAnyRoot but returns an error instead of panicking if SSLGetAllowsAnyRoot is unavailable at run time.

func TrySSLGetAllowsExpiredCerts

func TrySSLGetAllowsExpiredCerts(context SSLContextRef, allowsExpired *bool) (int32, error)

TrySSLGetAllowsExpiredCerts is like SSLGetAllowsExpiredCerts but returns an error instead of panicking if SSLGetAllowsExpiredCerts is unavailable at run time.

func TrySSLGetAllowsExpiredRoots

func TrySSLGetAllowsExpiredRoots(context SSLContextRef, allowsExpired *bool) (int32, error)

TrySSLGetAllowsExpiredRoots is like SSLGetAllowsExpiredRoots but returns an error instead of panicking if SSLGetAllowsExpiredRoots is unavailable at run time.

func TrySSLGetBufferedReadSize

func TrySSLGetBufferedReadSize(context SSLContextRef, bufferSize *uintptr) (int32, error)

TrySSLGetBufferedReadSize is like SSLGetBufferedReadSize but returns an error instead of panicking if SSLGetBufferedReadSize is unavailable at run time.

func TrySSLGetClientCertificateState

func TrySSLGetClientCertificateState(context SSLContextRef, clientState *SSLClientCertificateState) (int32, error)

TrySSLGetClientCertificateState is like SSLGetClientCertificateState but returns an error instead of panicking if SSLGetClientCertificateState is unavailable at run time.

func TrySSLGetConnection

func TrySSLGetConnection(context SSLContextRef, connection *SSLConnectionRef) (int32, error)

TrySSLGetConnection is like SSLGetConnection but returns an error instead of panicking if SSLGetConnection is unavailable at run time.

func TrySSLGetDatagramWriteSize

func TrySSLGetDatagramWriteSize(dtlsContext SSLContextRef, bufSize *uintptr) (int32, error)

TrySSLGetDatagramWriteSize is like SSLGetDatagramWriteSize but returns an error instead of panicking if SSLGetDatagramWriteSize is unavailable at run time.

func TrySSLGetDiffieHellmanParams

func TrySSLGetDiffieHellmanParams(context SSLContextRef, dhParams unsafe.Pointer, dhParamsLen *uintptr) (int32, error)

TrySSLGetDiffieHellmanParams is like SSLGetDiffieHellmanParams but returns an error instead of panicking if SSLGetDiffieHellmanParams is unavailable at run time.

func TrySSLGetEnableCertVerify

func TrySSLGetEnableCertVerify(context SSLContextRef, enableVerify *bool) (int32, error)

TrySSLGetEnableCertVerify is like SSLGetEnableCertVerify but returns an error instead of panicking if SSLGetEnableCertVerify is unavailable at run time.

func TrySSLGetEnabledCiphers

func TrySSLGetEnabledCiphers(context SSLContextRef, ciphers *SSLCipherSuite, numCiphers *uintptr) (int32, error)

TrySSLGetEnabledCiphers is like SSLGetEnabledCiphers but returns an error instead of panicking if SSLGetEnabledCiphers is unavailable at run time.

func TrySSLGetMaxDatagramRecordSize

func TrySSLGetMaxDatagramRecordSize(dtlsContext SSLContextRef, maxSize *uintptr) (int32, error)

TrySSLGetMaxDatagramRecordSize is like SSLGetMaxDatagramRecordSize but returns an error instead of panicking if SSLGetMaxDatagramRecordSize is unavailable at run time.

func TrySSLGetNegotiatedCipher

func TrySSLGetNegotiatedCipher(context SSLContextRef, cipherSuite *SSLCipherSuite) (int32, error)

TrySSLGetNegotiatedCipher is like SSLGetNegotiatedCipher but returns an error instead of panicking if SSLGetNegotiatedCipher is unavailable at run time.

func TrySSLGetNegotiatedProtocolVersion

func TrySSLGetNegotiatedProtocolVersion(context SSLContextRef, protocol_ *SSLProtocol) (int32, error)

TrySSLGetNegotiatedProtocolVersion is like SSLGetNegotiatedProtocolVersion but returns an error instead of panicking if SSLGetNegotiatedProtocolVersion is unavailable at run time.

func TrySSLGetNumberEnabledCiphers

func TrySSLGetNumberEnabledCiphers(context SSLContextRef, numCiphers *uintptr) (int32, error)

TrySSLGetNumberEnabledCiphers is like SSLGetNumberEnabledCiphers but returns an error instead of panicking if SSLGetNumberEnabledCiphers is unavailable at run time.

func TrySSLGetNumberSupportedCiphers

func TrySSLGetNumberSupportedCiphers(context SSLContextRef, numCiphers *uintptr) (int32, error)

TrySSLGetNumberSupportedCiphers is like SSLGetNumberSupportedCiphers but returns an error instead of panicking if SSLGetNumberSupportedCiphers is unavailable at run time.

func TrySSLGetPeerDomainName

func TrySSLGetPeerDomainName(context SSLContextRef, peerName string, peerNameLen *uintptr) (int32, error)

TrySSLGetPeerDomainName is like SSLGetPeerDomainName but returns an error instead of panicking if SSLGetPeerDomainName is unavailable at run time.

func TrySSLGetPeerDomainNameLength

func TrySSLGetPeerDomainNameLength(context SSLContextRef, peerNameLen *uintptr) (int32, error)

TrySSLGetPeerDomainNameLength is like SSLGetPeerDomainNameLength but returns an error instead of panicking if SSLGetPeerDomainNameLength is unavailable at run time.

func TrySSLGetPeerID

func TrySSLGetPeerID(context SSLContextRef, peerID unsafe.Pointer, peerIDLen *uintptr) (int32, error)

TrySSLGetPeerID is like SSLGetPeerID but returns an error instead of panicking if SSLGetPeerID is unavailable at run time.

func TrySSLGetProtocolVersion

func TrySSLGetProtocolVersion(context SSLContextRef, protocol_ *SSLProtocol) (int32, error)

TrySSLGetProtocolVersion is like SSLGetProtocolVersion but returns an error instead of panicking if SSLGetProtocolVersion is unavailable at run time.

func TrySSLGetProtocolVersionEnabled

func TrySSLGetProtocolVersionEnabled(context SSLContextRef, protocol_ SSLProtocol, enable *bool) (int32, error)

TrySSLGetProtocolVersionEnabled is like SSLGetProtocolVersionEnabled but returns an error instead of panicking if SSLGetProtocolVersionEnabled is unavailable at run time.

func TrySSLGetProtocolVersionMax

func TrySSLGetProtocolVersionMax(context SSLContextRef, maxVersion *SSLProtocol) (int32, error)

TrySSLGetProtocolVersionMax is like SSLGetProtocolVersionMax but returns an error instead of panicking if SSLGetProtocolVersionMax is unavailable at run time.

func TrySSLGetProtocolVersionMin

func TrySSLGetProtocolVersionMin(context SSLContextRef, minVersion *SSLProtocol) (int32, error)

TrySSLGetProtocolVersionMin is like SSLGetProtocolVersionMin but returns an error instead of panicking if SSLGetProtocolVersionMin is unavailable at run time.

func TrySSLGetRsaBlinding

func TrySSLGetRsaBlinding(context SSLContextRef, blinding *bool) (int32, error)

TrySSLGetRsaBlinding is like SSLGetRsaBlinding but returns an error instead of panicking if SSLGetRsaBlinding is unavailable at run time.

func TrySSLGetSessionOption

func TrySSLGetSessionOption(context SSLContextRef, option SSLSessionOption, value *bool) (int32, error)

TrySSLGetSessionOption is like SSLGetSessionOption but returns an error instead of panicking if SSLGetSessionOption is unavailable at run time.

func TrySSLGetSessionState

func TrySSLGetSessionState(context SSLContextRef, state *SSLSessionState) (int32, error)

TrySSLGetSessionState is like SSLGetSessionState but returns an error instead of panicking if SSLGetSessionState is unavailable at run time.

func TrySSLGetSupportedCiphers

func TrySSLGetSupportedCiphers(context SSLContextRef, ciphers *SSLCipherSuite, numCiphers *uintptr) (int32, error)

TrySSLGetSupportedCiphers is like SSLGetSupportedCiphers but returns an error instead of panicking if SSLGetSupportedCiphers is unavailable at run time.

func TrySSLHandshake

func TrySSLHandshake(context SSLContextRef) (int32, error)

TrySSLHandshake is like SSLHandshake but returns an error instead of panicking if SSLHandshake is unavailable at run time.

func TrySSLNewContext

func TrySSLNewContext(isServer bool, contextPtr *SSLContextRef) (int32, error)

TrySSLNewContext is like SSLNewContext but returns an error instead of panicking if SSLNewContext is unavailable at run time.

func TrySSLReHandshake

func TrySSLReHandshake(context SSLContextRef) (int32, error)

TrySSLReHandshake is like SSLReHandshake but returns an error instead of panicking if SSLReHandshake is unavailable at run time.

func TrySSLRead

func TrySSLRead(context SSLContextRef, data unsafe.Pointer, dataLength uintptr, processed *uintptr) (int32, error)

TrySSLRead is like SSLRead but returns an error instead of panicking if SSLRead is unavailable at run time.

func TrySSLSetALPNProtocols

func TrySSLSetALPNProtocols(context SSLContextRef, protocols corefoundation.CFArrayRef) (int32, error)

TrySSLSetALPNProtocols is like SSLSetALPNProtocols but returns an error instead of panicking if SSLSetALPNProtocols is unavailable at run time.

func TrySSLSetAllowsAnyRoot

func TrySSLSetAllowsAnyRoot(context SSLContextRef, anyRoot bool) (int32, error)

TrySSLSetAllowsAnyRoot is like SSLSetAllowsAnyRoot but returns an error instead of panicking if SSLSetAllowsAnyRoot is unavailable at run time.

func TrySSLSetAllowsExpiredCerts

func TrySSLSetAllowsExpiredCerts(context SSLContextRef, allowsExpired bool) (int32, error)

TrySSLSetAllowsExpiredCerts is like SSLSetAllowsExpiredCerts but returns an error instead of panicking if SSLSetAllowsExpiredCerts is unavailable at run time.

func TrySSLSetAllowsExpiredRoots

func TrySSLSetAllowsExpiredRoots(context SSLContextRef, allowsExpired bool) (int32, error)

TrySSLSetAllowsExpiredRoots is like SSLSetAllowsExpiredRoots but returns an error instead of panicking if SSLSetAllowsExpiredRoots is unavailable at run time.

func TrySSLSetCertificate

func TrySSLSetCertificate(context SSLContextRef, certRefs corefoundation.CFArrayRef) (int32, error)

TrySSLSetCertificate is like SSLSetCertificate but returns an error instead of panicking if SSLSetCertificate is unavailable at run time.

func TrySSLSetCertificateAuthorities

func TrySSLSetCertificateAuthorities(context SSLContextRef, certificateOrArray corefoundation.CFTypeRef, replaceExisting bool) (int32, error)

TrySSLSetCertificateAuthorities is like SSLSetCertificateAuthorities but returns an error instead of panicking if SSLSetCertificateAuthorities is unavailable at run time.

func TrySSLSetClientSideAuthenticate

func TrySSLSetClientSideAuthenticate(context SSLContextRef, auth SSLAuthenticate) (int32, error)

TrySSLSetClientSideAuthenticate is like SSLSetClientSideAuthenticate but returns an error instead of panicking if SSLSetClientSideAuthenticate is unavailable at run time.

func TrySSLSetConnection

func TrySSLSetConnection(context SSLContextRef, connection SSLConnectionRef) (int32, error)

TrySSLSetConnection is like SSLSetConnection but returns an error instead of panicking if SSLSetConnection is unavailable at run time.

func TrySSLSetDatagramHelloCookie

func TrySSLSetDatagramHelloCookie(dtlsContext SSLContextRef, cookie unsafe.Pointer, cookieLen uintptr) (int32, error)

TrySSLSetDatagramHelloCookie is like SSLSetDatagramHelloCookie but returns an error instead of panicking if SSLSetDatagramHelloCookie is unavailable at run time.

func TrySSLSetDiffieHellmanParams

func TrySSLSetDiffieHellmanParams(context SSLContextRef, dhParams unsafe.Pointer, dhParamsLen uintptr) (int32, error)

TrySSLSetDiffieHellmanParams is like SSLSetDiffieHellmanParams but returns an error instead of panicking if SSLSetDiffieHellmanParams is unavailable at run time.

func TrySSLSetEnableCertVerify

func TrySSLSetEnableCertVerify(context SSLContextRef, enableVerify bool) (int32, error)

TrySSLSetEnableCertVerify is like SSLSetEnableCertVerify but returns an error instead of panicking if SSLSetEnableCertVerify is unavailable at run time.

func TrySSLSetEnabledCiphers

func TrySSLSetEnabledCiphers(context SSLContextRef, ciphers *SSLCipherSuite, numCiphers uintptr) (int32, error)

TrySSLSetEnabledCiphers is like SSLSetEnabledCiphers but returns an error instead of panicking if SSLSetEnabledCiphers is unavailable at run time.

func TrySSLSetEncryptionCertificate

func TrySSLSetEncryptionCertificate(context SSLContextRef, certRefs corefoundation.CFArrayRef) (int32, error)

TrySSLSetEncryptionCertificate is like SSLSetEncryptionCertificate but returns an error instead of panicking if SSLSetEncryptionCertificate is unavailable at run time.

func TrySSLSetError

func TrySSLSetError(context SSLContextRef, status int32) (int32, error)

TrySSLSetError is like SSLSetError but returns an error instead of panicking if SSLSetError is unavailable at run time.

func TrySSLSetIOFuncs

func TrySSLSetIOFuncs(context SSLContextRef, readFunc SSLReadFunc, writeFunc SSLWriteFunc) (int32, error)

TrySSLSetIOFuncs is like SSLSetIOFuncs but returns an error instead of panicking if SSLSetIOFuncs is unavailable at run time.

func TrySSLSetMaxDatagramRecordSize

func TrySSLSetMaxDatagramRecordSize(dtlsContext SSLContextRef, maxSize uintptr) (int32, error)

TrySSLSetMaxDatagramRecordSize is like SSLSetMaxDatagramRecordSize but returns an error instead of panicking if SSLSetMaxDatagramRecordSize is unavailable at run time.

func TrySSLSetOCSPResponse

func TrySSLSetOCSPResponse(context SSLContextRef, response corefoundation.CFDataRef) (int32, error)

TrySSLSetOCSPResponse is like SSLSetOCSPResponse but returns an error instead of panicking if SSLSetOCSPResponse is unavailable at run time.

func TrySSLSetPeerDomainName

func TrySSLSetPeerDomainName(context SSLContextRef, peerName string, peerNameLen uintptr) (int32, error)

TrySSLSetPeerDomainName is like SSLSetPeerDomainName but returns an error instead of panicking if SSLSetPeerDomainName is unavailable at run time.

func TrySSLSetPeerID

func TrySSLSetPeerID(context SSLContextRef, peerID unsafe.Pointer, peerIDLen uintptr) (int32, error)

TrySSLSetPeerID is like SSLSetPeerID but returns an error instead of panicking if SSLSetPeerID is unavailable at run time.

func TrySSLSetProtocolVersion

func TrySSLSetProtocolVersion(context SSLContextRef, version SSLProtocol) (int32, error)

TrySSLSetProtocolVersion is like SSLSetProtocolVersion but returns an error instead of panicking if SSLSetProtocolVersion is unavailable at run time.

func TrySSLSetProtocolVersionEnabled

func TrySSLSetProtocolVersionEnabled(context SSLContextRef, protocol_ SSLProtocol, enable bool) (int32, error)

TrySSLSetProtocolVersionEnabled is like SSLSetProtocolVersionEnabled but returns an error instead of panicking if SSLSetProtocolVersionEnabled is unavailable at run time.

func TrySSLSetProtocolVersionMax

func TrySSLSetProtocolVersionMax(context SSLContextRef, maxVersion SSLProtocol) (int32, error)

TrySSLSetProtocolVersionMax is like SSLSetProtocolVersionMax but returns an error instead of panicking if SSLSetProtocolVersionMax is unavailable at run time.

func TrySSLSetProtocolVersionMin

func TrySSLSetProtocolVersionMin(context SSLContextRef, minVersion SSLProtocol) (int32, error)

TrySSLSetProtocolVersionMin is like SSLSetProtocolVersionMin but returns an error instead of panicking if SSLSetProtocolVersionMin is unavailable at run time.

func TrySSLSetRsaBlinding

func TrySSLSetRsaBlinding(context SSLContextRef, blinding bool) (int32, error)

TrySSLSetRsaBlinding is like SSLSetRsaBlinding but returns an error instead of panicking if SSLSetRsaBlinding is unavailable at run time.

func TrySSLSetSessionConfig

func TrySSLSetSessionConfig(context SSLContextRef, config corefoundation.CFStringRef) (int32, error)

TrySSLSetSessionConfig is like SSLSetSessionConfig but returns an error instead of panicking if SSLSetSessionConfig is unavailable at run time.

func TrySSLSetSessionOption

func TrySSLSetSessionOption(context SSLContextRef, option SSLSessionOption, value bool) (int32, error)

TrySSLSetSessionOption is like SSLSetSessionOption but returns an error instead of panicking if SSLSetSessionOption is unavailable at run time.

func TrySSLSetSessionTicketsEnabled

func TrySSLSetSessionTicketsEnabled(context SSLContextRef, enabled bool) (int32, error)

TrySSLSetSessionTicketsEnabled is like SSLSetSessionTicketsEnabled but returns an error instead of panicking if SSLSetSessionTicketsEnabled is unavailable at run time.

func TrySSLSetTrustedRoots

func TrySSLSetTrustedRoots(context SSLContextRef, trustedRoots corefoundation.CFArrayRef, replaceExisting bool) (int32, error)

TrySSLSetTrustedRoots is like SSLSetTrustedRoots but returns an error instead of panicking if SSLSetTrustedRoots is unavailable at run time.

func TrySSLWrite

func TrySSLWrite(context SSLContextRef, data unsafe.Pointer, dataLength uintptr, processed *uintptr) (int32, error)

TrySSLWrite is like SSLWrite but returns an error instead of panicking if SSLWrite is unavailable at run time.

func TrySecACLCopyAuthorizations

func TrySecACLCopyAuthorizations(acl SecACLRef) (corefoundation.CFArrayRef, error)

TrySecACLCopyAuthorizations is like SecACLCopyAuthorizations but returns an error instead of panicking if SecACLCopyAuthorizations is unavailable at run time.

func TrySecACLCopyContents

func TrySecACLCopyContents(acl SecACLRef, applicationList *corefoundation.CFArrayRef, description *corefoundation.CFStringRef, promptSelector *SecKeychainPromptSelector) (int32, error)

TrySecACLCopyContents is like SecACLCopyContents but returns an error instead of panicking if SecACLCopyContents is unavailable at run time.

func TrySecACLCopySimpleContents

func TrySecACLCopySimpleContents(acl SecACLRef, applicationList *corefoundation.CFArrayRef, description *corefoundation.CFStringRef, promptSelector unsafe.Pointer) (int32, error)

TrySecACLCopySimpleContents is like SecACLCopySimpleContents but returns an error instead of panicking if SecACLCopySimpleContents is unavailable at run time.

func TrySecACLCreateFromSimpleContents

func TrySecACLCreateFromSimpleContents(access SecAccessRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector unsafe.Pointer, newAcl *SecACLRef) (int32, error)

TrySecACLCreateFromSimpleContents is like SecACLCreateFromSimpleContents but returns an error instead of panicking if SecACLCreateFromSimpleContents is unavailable at run time.

func TrySecACLCreateWithSimpleContents

func TrySecACLCreateWithSimpleContents(access SecAccessRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector SecKeychainPromptSelector, newAcl *SecACLRef) (int32, error)

TrySecACLCreateWithSimpleContents is like SecACLCreateWithSimpleContents but returns an error instead of panicking if SecACLCreateWithSimpleContents is unavailable at run time.

func TrySecACLGetAuthorizations

func TrySecACLGetAuthorizations(acl SecACLRef, tags unsafe.Pointer, tagCount *uint32) (int32, error)

TrySecACLGetAuthorizations is like SecACLGetAuthorizations but returns an error instead of panicking if SecACLGetAuthorizations is unavailable at run time.

func TrySecACLGetTypeID

func TrySecACLGetTypeID() (uint, error)

TrySecACLGetTypeID is like SecACLGetTypeID but returns an error instead of panicking if SecACLGetTypeID is unavailable at run time.

func TrySecACLRemove

func TrySecACLRemove(aclRef SecACLRef) (int32, error)

TrySecACLRemove is like SecACLRemove but returns an error instead of panicking if SecACLRemove is unavailable at run time.

func TrySecACLSetAuthorizations

func TrySecACLSetAuthorizations(acl SecACLRef, tags unsafe.Pointer, tagCount uint32) (int32, error)

TrySecACLSetAuthorizations is like SecACLSetAuthorizations but returns an error instead of panicking if SecACLSetAuthorizations is unavailable at run time.

func TrySecACLSetContents

func TrySecACLSetContents(acl SecACLRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector SecKeychainPromptSelector) (int32, error)

TrySecACLSetContents is like SecACLSetContents but returns an error instead of panicking if SecACLSetContents is unavailable at run time.

func TrySecACLSetSimpleContents

func TrySecACLSetSimpleContents(acl SecACLRef, applicationList corefoundation.CFArrayRef, description corefoundation.CFStringRef, promptSelector unsafe.Pointer) (int32, error)

TrySecACLSetSimpleContents is like SecACLSetSimpleContents but returns an error instead of panicking if SecACLSetSimpleContents is unavailable at run time.

func TrySecACLUpdateAuthorizations

func TrySecACLUpdateAuthorizations(acl SecACLRef, authorizations corefoundation.CFArrayRef) (int32, error)

TrySecACLUpdateAuthorizations is like SecACLUpdateAuthorizations but returns an error instead of panicking if SecACLUpdateAuthorizations is unavailable at run time.

func TrySecAccessControlGetTypeID

func TrySecAccessControlGetTypeID() (uint, error)

TrySecAccessControlGetTypeID is like SecAccessControlGetTypeID but returns an error instead of panicking if SecAccessControlGetTypeID is unavailable at run time.

func TrySecAccessCopyACLList

func TrySecAccessCopyACLList(accessRef SecAccessRef, aclList *corefoundation.CFArrayRef) (int32, error)

TrySecAccessCopyACLList is like SecAccessCopyACLList but returns an error instead of panicking if SecAccessCopyACLList is unavailable at run time.

func TrySecAccessCopyMatchingACLList

func TrySecAccessCopyMatchingACLList(accessRef SecAccessRef, authorizationTag corefoundation.CFTypeRef) (corefoundation.CFArrayRef, error)

TrySecAccessCopyMatchingACLList is like SecAccessCopyMatchingACLList but returns an error instead of panicking if SecAccessCopyMatchingACLList is unavailable at run time.

func TrySecAccessCopyOwnerAndACL

func TrySecAccessCopyOwnerAndACL(accessRef SecAccessRef, userId *uint32, groupId *uint32, ownerType *SecAccessOwnerType, aclList *corefoundation.CFArrayRef) (int32, error)

TrySecAccessCopyOwnerAndACL is like SecAccessCopyOwnerAndACL but returns an error instead of panicking if SecAccessCopyOwnerAndACL is unavailable at run time.

func TrySecAccessCopySelectedACLList

func TrySecAccessCopySelectedACLList(accessRef SecAccessRef, action CSSM_ACL_AUTHORIZATION_TAG, aclList *corefoundation.CFArrayRef) (int32, error)

TrySecAccessCopySelectedACLList is like SecAccessCopySelectedACLList but returns an error instead of panicking if SecAccessCopySelectedACLList is unavailable at run time.

func TrySecAccessCreate

func TrySecAccessCreate(descriptor corefoundation.CFStringRef, trustedlist corefoundation.CFArrayRef, accessRef *SecAccessRef) (int32, error)

TrySecAccessCreate is like SecAccessCreate but returns an error instead of panicking if SecAccessCreate is unavailable at run time.

func TrySecAccessCreateFromOwnerAndACL

func TrySecAccessCreateFromOwnerAndACL(owner unsafe.Pointer, aclCount uint32, acls unsafe.Pointer, accessRef *SecAccessRef) (int32, error)

TrySecAccessCreateFromOwnerAndACL is like SecAccessCreateFromOwnerAndACL but returns an error instead of panicking if SecAccessCreateFromOwnerAndACL is unavailable at run time.

func TrySecAccessGetOwnerAndACL

func TrySecAccessGetOwnerAndACL(accessRef SecAccessRef, owner unsafe.Pointer, aclCount *uint32, acls unsafe.Pointer) (int32, error)

TrySecAccessGetOwnerAndACL is like SecAccessGetOwnerAndACL but returns an error instead of panicking if SecAccessGetOwnerAndACL is unavailable at run time.

func TrySecAccessGetTypeID

func TrySecAccessGetTypeID() (uint, error)

TrySecAccessGetTypeID is like SecAccessGetTypeID but returns an error instead of panicking if SecAccessGetTypeID is unavailable at run time.

func TrySecAddSharedWebCredential

func TrySecAddSharedWebCredential(fqdn corefoundation.CFStringRef, account corefoundation.CFStringRef, password corefoundation.CFStringRef) error

TrySecAddSharedWebCredential is like SecAddSharedWebCredential but returns an error instead of panicking if SecAddSharedWebCredential is unavailable at run time.

func TrySecAsn1AllocCopy

func TrySecAsn1AllocCopy(coder SecAsn1CoderRef, src unsafe.Pointer, len_ uintptr, dest unsafe.Pointer) (int32, error)

TrySecAsn1AllocCopy is like SecAsn1AllocCopy but returns an error instead of panicking if SecAsn1AllocCopy is unavailable at run time.

func TrySecAsn1AllocCopyItem

func TrySecAsn1AllocCopyItem(coder SecAsn1CoderRef, src unsafe.Pointer, dest unsafe.Pointer) (int32, error)

TrySecAsn1AllocCopyItem is like SecAsn1AllocCopyItem but returns an error instead of panicking if SecAsn1AllocCopyItem is unavailable at run time.

func TrySecAsn1AllocItem

func TrySecAsn1AllocItem(coder SecAsn1CoderRef, item unsafe.Pointer, len_ uintptr) (int32, error)

TrySecAsn1AllocItem is like SecAsn1AllocItem but returns an error instead of panicking if SecAsn1AllocItem is unavailable at run time.

func TrySecAsn1CoderCreate

func TrySecAsn1CoderCreate(coder *SecAsn1CoderRef) (int32, error)

TrySecAsn1CoderCreate is like SecAsn1CoderCreate but returns an error instead of panicking if SecAsn1CoderCreate is unavailable at run time.

func TrySecAsn1CoderRelease

func TrySecAsn1CoderRelease(coder SecAsn1CoderRef) (int32, error)

TrySecAsn1CoderRelease is like SecAsn1CoderRelease but returns an error instead of panicking if SecAsn1CoderRelease is unavailable at run time.

func TrySecAsn1Decode

func TrySecAsn1Decode(coder SecAsn1CoderRef, src unsafe.Pointer, len_ uintptr, templates unsafe.Pointer, dest unsafe.Pointer) (int32, error)

TrySecAsn1Decode is like SecAsn1Decode but returns an error instead of panicking if SecAsn1Decode is unavailable at run time.

func TrySecAsn1DecodeData

func TrySecAsn1DecodeData(coder SecAsn1CoderRef, src unsafe.Pointer, templ unsafe.Pointer, dest unsafe.Pointer) (int32, error)

TrySecAsn1DecodeData is like SecAsn1DecodeData but returns an error instead of panicking if SecAsn1DecodeData is unavailable at run time.

func TrySecAsn1EncodeItem

func TrySecAsn1EncodeItem(coder SecAsn1CoderRef, src unsafe.Pointer, templates unsafe.Pointer, dest unsafe.Pointer) (int32, error)

TrySecAsn1EncodeItem is like SecAsn1EncodeItem but returns an error instead of panicking if SecAsn1EncodeItem is unavailable at run time.

func TrySecAsn1Malloc

func TrySecAsn1Malloc(coder SecAsn1CoderRef, len_ uintptr) (unsafe.Pointer, error)

TrySecAsn1Malloc is like SecAsn1Malloc but returns an error instead of panicking if SecAsn1Malloc is unavailable at run time.

func TrySecAsn1OidCompare

func TrySecAsn1OidCompare(oid1 unsafe.Pointer, oid2 unsafe.Pointer) (bool, error)

TrySecAsn1OidCompare is like SecAsn1OidCompare but returns an error instead of panicking if SecAsn1OidCompare is unavailable at run time.

func TrySecCertificateAddToKeychain

func TrySecCertificateAddToKeychain(certificate SecCertificateRef, keychain SecKeychainRef) (int32, error)

TrySecCertificateAddToKeychain is like SecCertificateAddToKeychain but returns an error instead of panicking if SecCertificateAddToKeychain is unavailable at run time.

func TrySecCertificateCopyCommonName

func TrySecCertificateCopyCommonName(certificate SecCertificateRef, commonName *corefoundation.CFStringRef) (int32, error)

TrySecCertificateCopyCommonName is like SecCertificateCopyCommonName but returns an error instead of panicking if SecCertificateCopyCommonName is unavailable at run time.

func TrySecCertificateCopyData

func TrySecCertificateCopyData(certificate SecCertificateRef) (corefoundation.CFDataRef, error)

TrySecCertificateCopyData is like SecCertificateCopyData but returns an error instead of panicking if SecCertificateCopyData is unavailable at run time.

func TrySecCertificateCopyEmailAddresses

func TrySecCertificateCopyEmailAddresses(certificate SecCertificateRef, emailAddresses *corefoundation.CFArrayRef) (int32, error)

TrySecCertificateCopyEmailAddresses is like SecCertificateCopyEmailAddresses but returns an error instead of panicking if SecCertificateCopyEmailAddresses is unavailable at run time.

func TrySecCertificateCopyLongDescription

func TrySecCertificateCopyLongDescription(alloc corefoundation.CFAllocatorRef, certificate SecCertificateRef, err *corefoundation.CFErrorRef) (corefoundation.CFStringRef, error)

TrySecCertificateCopyLongDescription is like SecCertificateCopyLongDescription but returns an error instead of panicking if SecCertificateCopyLongDescription is unavailable at run time.

func TrySecCertificateCopyNormalizedIssuerContent

func TrySecCertificateCopyNormalizedIssuerContent(certificate SecCertificateRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecCertificateCopyNormalizedIssuerContent is like SecCertificateCopyNormalizedIssuerContent but returns an error instead of panicking if SecCertificateCopyNormalizedIssuerContent is unavailable at run time.

func TrySecCertificateCopyNormalizedIssuerSequence

func TrySecCertificateCopyNormalizedIssuerSequence(certificate SecCertificateRef) (corefoundation.CFDataRef, error)

TrySecCertificateCopyNormalizedIssuerSequence is like SecCertificateCopyNormalizedIssuerSequence but returns an error instead of panicking if SecCertificateCopyNormalizedIssuerSequence is unavailable at run time.

func TrySecCertificateCopyNormalizedSubjectContent

func TrySecCertificateCopyNormalizedSubjectContent(certificate SecCertificateRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecCertificateCopyNormalizedSubjectContent is like SecCertificateCopyNormalizedSubjectContent but returns an error instead of panicking if SecCertificateCopyNormalizedSubjectContent is unavailable at run time.

func TrySecCertificateCopyNormalizedSubjectSequence

func TrySecCertificateCopyNormalizedSubjectSequence(certificate SecCertificateRef) (corefoundation.CFDataRef, error)

TrySecCertificateCopyNormalizedSubjectSequence is like SecCertificateCopyNormalizedSubjectSequence but returns an error instead of panicking if SecCertificateCopyNormalizedSubjectSequence is unavailable at run time.

func TrySecCertificateCopyNotValidAfterDate

func TrySecCertificateCopyNotValidAfterDate(certificate SecCertificateRef) (corefoundation.CFDateRef, error)

TrySecCertificateCopyNotValidAfterDate is like SecCertificateCopyNotValidAfterDate but returns an error instead of panicking if SecCertificateCopyNotValidAfterDate is unavailable at run time.

func TrySecCertificateCopyNotValidBeforeDate

func TrySecCertificateCopyNotValidBeforeDate(certificate SecCertificateRef) (corefoundation.CFDateRef, error)

TrySecCertificateCopyNotValidBeforeDate is like SecCertificateCopyNotValidBeforeDate but returns an error instead of panicking if SecCertificateCopyNotValidBeforeDate is unavailable at run time.

func TrySecCertificateCopyPreference

func TrySecCertificateCopyPreference(name corefoundation.CFStringRef, keyUsage uint32, certificate *SecCertificateRef) (int32, error)

TrySecCertificateCopyPreference is like SecCertificateCopyPreference but returns an error instead of panicking if SecCertificateCopyPreference is unavailable at run time.

func TrySecCertificateCopyPublicKey

func TrySecCertificateCopyPublicKey(certificate SecCertificateRef, key *SecKeyRef) (int32, error)

TrySecCertificateCopyPublicKey is like SecCertificateCopyPublicKey but returns an error instead of panicking if SecCertificateCopyPublicKey is unavailable at run time.

func TrySecCertificateCopySerialNumber

func TrySecCertificateCopySerialNumber(certificate SecCertificateRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecCertificateCopySerialNumber is like SecCertificateCopySerialNumber but returns an error instead of panicking if SecCertificateCopySerialNumber is unavailable at run time.

func TrySecCertificateCopySerialNumberData

func TrySecCertificateCopySerialNumberData(certificate SecCertificateRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecCertificateCopySerialNumberData is like SecCertificateCopySerialNumberData but returns an error instead of panicking if SecCertificateCopySerialNumberData is unavailable at run time.

func TrySecCertificateCopyShortDescription

func TrySecCertificateCopyShortDescription(alloc corefoundation.CFAllocatorRef, certificate SecCertificateRef, err *corefoundation.CFErrorRef) (corefoundation.CFStringRef, error)

TrySecCertificateCopyShortDescription is like SecCertificateCopyShortDescription but returns an error instead of panicking if SecCertificateCopyShortDescription is unavailable at run time.

func TrySecCertificateCopySubjectSummary

func TrySecCertificateCopySubjectSummary(certificate SecCertificateRef) (corefoundation.CFStringRef, error)

TrySecCertificateCopySubjectSummary is like SecCertificateCopySubjectSummary but returns an error instead of panicking if SecCertificateCopySubjectSummary is unavailable at run time.

func TrySecCertificateCopyValues

func TrySecCertificateCopyValues(certificate SecCertificateRef, keys corefoundation.CFArrayRef, err *corefoundation.CFErrorRef) (corefoundation.CFDictionaryRef, error)

TrySecCertificateCopyValues is like SecCertificateCopyValues but returns an error instead of panicking if SecCertificateCopyValues is unavailable at run time.

func TrySecCertificateCreateFromData

func TrySecCertificateCreateFromData(data unsafe.Pointer, type_ CSSM_CERT_TYPE, encoding CSSM_CERT_ENCODING, certificate *SecCertificateRef) (int32, error)

TrySecCertificateCreateFromData is like SecCertificateCreateFromData but returns an error instead of panicking if SecCertificateCreateFromData is unavailable at run time.

func TrySecCertificateGetAlgorithmID

func TrySecCertificateGetAlgorithmID(certificate SecCertificateRef, algid **SecAsn1AlgId) (int32, error)

TrySecCertificateGetAlgorithmID is like SecCertificateGetAlgorithmID but returns an error instead of panicking if SecCertificateGetAlgorithmID is unavailable at run time.

func TrySecCertificateGetCLHandle

func TrySecCertificateGetCLHandle(certificate SecCertificateRef, clHandle unsafe.Pointer) (int32, error)

TrySecCertificateGetCLHandle is like SecCertificateGetCLHandle but returns an error instead of panicking if SecCertificateGetCLHandle is unavailable at run time.

func TrySecCertificateGetData

func TrySecCertificateGetData(certificate SecCertificateRef, data CSSM_DATA_PTR) (int32, error)

TrySecCertificateGetData is like SecCertificateGetData but returns an error instead of panicking if SecCertificateGetData is unavailable at run time.

func TrySecCertificateGetIssuer

func TrySecCertificateGetIssuer(certificate SecCertificateRef, issuer **CSSM_X509_NAME) (int32, error)

TrySecCertificateGetIssuer is like SecCertificateGetIssuer but returns an error instead of panicking if SecCertificateGetIssuer is unavailable at run time.

func TrySecCertificateGetSubject

func TrySecCertificateGetSubject(certificate SecCertificateRef, subject **CSSM_X509_NAME) (int32, error)

TrySecCertificateGetSubject is like SecCertificateGetSubject but returns an error instead of panicking if SecCertificateGetSubject is unavailable at run time.

func TrySecCertificateGetType

func TrySecCertificateGetType(certificate SecCertificateRef, certificateType unsafe.Pointer) (int32, error)

TrySecCertificateGetType is like SecCertificateGetType but returns an error instead of panicking if SecCertificateGetType is unavailable at run time.

func TrySecCertificateGetTypeID

func TrySecCertificateGetTypeID() (uint, error)

TrySecCertificateGetTypeID is like SecCertificateGetTypeID but returns an error instead of panicking if SecCertificateGetTypeID is unavailable at run time.

func TrySecCertificateSetPreference

func TrySecCertificateSetPreference(certificate SecCertificateRef, name corefoundation.CFStringRef, keyUsage uint32, date corefoundation.CFDateRef) (int32, error)

TrySecCertificateSetPreference is like SecCertificateSetPreference but returns an error instead of panicking if SecCertificateSetPreference is unavailable at run time.

func TrySecCertificateSetPreferred

func TrySecCertificateSetPreferred(certificate SecCertificateRef, name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef) (int32, error)

TrySecCertificateSetPreferred is like SecCertificateSetPreferred but returns an error instead of panicking if SecCertificateSetPreferred is unavailable at run time.

func TrySecCodeCheckValidity

func TrySecCodeCheckValidity(code SecCodeRef, flags SecCSFlags, requirement SecRequirementRef) (int32, error)

TrySecCodeCheckValidity is like SecCodeCheckValidity but returns an error instead of panicking if SecCodeCheckValidity is unavailable at run time.

func TrySecCodeCheckValidityWithErrors

func TrySecCodeCheckValidityWithErrors(code SecCodeRef, flags SecCSFlags, requirement SecRequirementRef, errors *corefoundation.CFErrorRef) (int32, error)

TrySecCodeCheckValidityWithErrors is like SecCodeCheckValidityWithErrors but returns an error instead of panicking if SecCodeCheckValidityWithErrors is unavailable at run time.

func TrySecCodeCopyDesignatedRequirement

func TrySecCodeCopyDesignatedRequirement(code SecStaticCodeRef, flags SecCSFlags, requirement *SecRequirementRef) (int32, error)

TrySecCodeCopyDesignatedRequirement is like SecCodeCopyDesignatedRequirement but returns an error instead of panicking if SecCodeCopyDesignatedRequirement is unavailable at run time.

func TrySecCodeCopyGuestWithAttributes

func TrySecCodeCopyGuestWithAttributes(host SecCodeRef, attributes corefoundation.CFDictionaryRef, flags SecCSFlags, guest *SecCodeRef) (int32, error)

TrySecCodeCopyGuestWithAttributes is like SecCodeCopyGuestWithAttributes but returns an error instead of panicking if SecCodeCopyGuestWithAttributes is unavailable at run time.

func TrySecCodeCopyHost

func TrySecCodeCopyHost(guest SecCodeRef, flags SecCSFlags, host *SecCodeRef) (int32, error)

TrySecCodeCopyHost is like SecCodeCopyHost but returns an error instead of panicking if SecCodeCopyHost is unavailable at run time.

func TrySecCodeCopyPath

func TrySecCodeCopyPath(staticCode SecStaticCodeRef, flags SecCSFlags, path *corefoundation.CFURLRef) (int32, error)

TrySecCodeCopyPath is like SecCodeCopyPath but returns an error instead of panicking if SecCodeCopyPath is unavailable at run time.

func TrySecCodeCopySelf

func TrySecCodeCopySelf(flags SecCSFlags, self *SecCodeRef) (int32, error)

TrySecCodeCopySelf is like SecCodeCopySelf but returns an error instead of panicking if SecCodeCopySelf is unavailable at run time.

func TrySecCodeCopySigningInformation

func TrySecCodeCopySigningInformation(code SecStaticCodeRef, flags SecCSFlags, information *corefoundation.CFDictionaryRef) (int32, error)

TrySecCodeCopySigningInformation is like SecCodeCopySigningInformation but returns an error instead of panicking if SecCodeCopySigningInformation is unavailable at run time.

func TrySecCodeCopyStaticCode

func TrySecCodeCopyStaticCode(code SecCodeRef, flags SecCSFlags, staticCode *SecStaticCodeRef) (int32, error)

TrySecCodeCopyStaticCode is like SecCodeCopyStaticCode but returns an error instead of panicking if SecCodeCopyStaticCode is unavailable at run time.

func TrySecCodeCreateWithXPCMessage

func TrySecCodeCreateWithXPCMessage(message xpc.Xpc_object_t, flags SecCSFlags, target *SecCodeRef) (int32, error)

TrySecCodeCreateWithXPCMessage is like SecCodeCreateWithXPCMessage but returns an error instead of panicking if SecCodeCreateWithXPCMessage is unavailable at run time.

func TrySecCodeGetTypeID

func TrySecCodeGetTypeID() (uint, error)

TrySecCodeGetTypeID is like SecCodeGetTypeID but returns an error instead of panicking if SecCodeGetTypeID is unavailable at run time.

func TrySecCodeMapMemory

func TrySecCodeMapMemory(code SecStaticCodeRef, flags SecCSFlags) (int32, error)

TrySecCodeMapMemory is like SecCodeMapMemory but returns an error instead of panicking if SecCodeMapMemory is unavailable at run time.

func TrySecCodeValidateFileResource

func TrySecCodeValidateFileResource(code SecStaticCodeRef, relativePath corefoundation.CFStringRef, fileData corefoundation.CFDataRef, flags SecCSFlags) (int32, error)

TrySecCodeValidateFileResource is like SecCodeValidateFileResource but returns an error instead of panicking if SecCodeValidateFileResource is unavailable at run time.

func TrySecCopyErrorMessageString

func TrySecCopyErrorMessageString(status int32, reserved unsafe.Pointer) (corefoundation.CFStringRef, error)

TrySecCopyErrorMessageString is like SecCopyErrorMessageString but returns an error instead of panicking if SecCopyErrorMessageString is unavailable at run time.

func TrySecCreateSharedWebCredentialPassword

func TrySecCreateSharedWebCredentialPassword() (corefoundation.CFStringRef, error)

TrySecCreateSharedWebCredentialPassword is like SecCreateSharedWebCredentialPassword but returns an error instead of panicking if SecCreateSharedWebCredentialPassword is unavailable at run time.

func TrySecDecryptTransformGetTypeID

func TrySecDecryptTransformGetTypeID() (uint, error)

TrySecDecryptTransformGetTypeID is like SecDecryptTransformGetTypeID but returns an error instead of panicking if SecDecryptTransformGetTypeID is unavailable at run time.

func TrySecDigestTransformGetTypeID

func TrySecDigestTransformGetTypeID() (uint, error)

TrySecDigestTransformGetTypeID is like SecDigestTransformGetTypeID but returns an error instead of panicking if SecDigestTransformGetTypeID is unavailable at run time.

func TrySecEncryptTransformGetTypeID

func TrySecEncryptTransformGetTypeID() (uint, error)

TrySecEncryptTransformGetTypeID is like SecEncryptTransformGetTypeID but returns an error instead of panicking if SecEncryptTransformGetTypeID is unavailable at run time.

func TrySecGroupTransformGetTypeID

func TrySecGroupTransformGetTypeID() (uint, error)

TrySecGroupTransformGetTypeID is like SecGroupTransformGetTypeID but returns an error instead of panicking if SecGroupTransformGetTypeID is unavailable at run time.

func TrySecHostCreateGuest

func TrySecHostCreateGuest(host SecGuestRef, status uint32, path corefoundation.CFURLRef, attributes corefoundation.CFDictionaryRef, flags SecCSFlags, newGuest *SecGuestRef) (int32, error)

TrySecHostCreateGuest is like SecHostCreateGuest but returns an error instead of panicking if SecHostCreateGuest is unavailable at run time.

func TrySecHostRemoveGuest

func TrySecHostRemoveGuest(host SecGuestRef, guest SecGuestRef, flags SecCSFlags) (int32, error)

TrySecHostRemoveGuest is like SecHostRemoveGuest but returns an error instead of panicking if SecHostRemoveGuest is unavailable at run time.

func TrySecHostSelectGuest

func TrySecHostSelectGuest(guestRef SecGuestRef, flags SecCSFlags) (int32, error)

TrySecHostSelectGuest is like SecHostSelectGuest but returns an error instead of panicking if SecHostSelectGuest is unavailable at run time.

func TrySecHostSelectedGuest

func TrySecHostSelectedGuest(flags SecCSFlags, guestRef *SecGuestRef) (int32, error)

TrySecHostSelectedGuest is like SecHostSelectedGuest but returns an error instead of panicking if SecHostSelectedGuest is unavailable at run time.

func TrySecHostSetGuestStatus

func TrySecHostSetGuestStatus(guestRef SecGuestRef, status uint32, attributes corefoundation.CFDictionaryRef, flags SecCSFlags) (int32, error)

TrySecHostSetGuestStatus is like SecHostSetGuestStatus but returns an error instead of panicking if SecHostSetGuestStatus is unavailable at run time.

func TrySecHostSetHostingPort

func TrySecHostSetHostingPort(hostingPort uint32, flags SecCSFlags) (int32, error)

TrySecHostSetHostingPort is like SecHostSetHostingPort but returns an error instead of panicking if SecHostSetHostingPort is unavailable at run time.

func TrySecIdentityCopyCertificate

func TrySecIdentityCopyCertificate(identityRef SecIdentityRef, certificateRef *SecCertificateRef) (int32, error)

TrySecIdentityCopyCertificate is like SecIdentityCopyCertificate but returns an error instead of panicking if SecIdentityCopyCertificate is unavailable at run time.

func TrySecIdentityCopyPreference

func TrySecIdentityCopyPreference(name corefoundation.CFStringRef, keyUsage CSSM_KEYUSE, validIssuers corefoundation.CFArrayRef, identity *SecIdentityRef) (int32, error)

TrySecIdentityCopyPreference is like SecIdentityCopyPreference but returns an error instead of panicking if SecIdentityCopyPreference is unavailable at run time.

func TrySecIdentityCopyPrivateKey

func TrySecIdentityCopyPrivateKey(identityRef SecIdentityRef, privateKeyRef *SecKeyRef) (int32, error)

TrySecIdentityCopyPrivateKey is like SecIdentityCopyPrivateKey but returns an error instead of panicking if SecIdentityCopyPrivateKey is unavailable at run time.

func TrySecIdentityCopySystemIdentity

func TrySecIdentityCopySystemIdentity(domain corefoundation.CFStringRef, idRef *SecIdentityRef, actualDomain *corefoundation.CFStringRef) (int32, error)

TrySecIdentityCopySystemIdentity is like SecIdentityCopySystemIdentity but returns an error instead of panicking if SecIdentityCopySystemIdentity is unavailable at run time.

func TrySecIdentityCreateWithCertificate

func TrySecIdentityCreateWithCertificate(keychainOrArray corefoundation.CFTypeRef, certificateRef SecCertificateRef, identityRef *SecIdentityRef) (int32, error)

TrySecIdentityCreateWithCertificate is like SecIdentityCreateWithCertificate but returns an error instead of panicking if SecIdentityCreateWithCertificate is unavailable at run time.

func TrySecIdentityGetTypeID

func TrySecIdentityGetTypeID() (uint, error)

TrySecIdentityGetTypeID is like SecIdentityGetTypeID but returns an error instead of panicking if SecIdentityGetTypeID is unavailable at run time.

func TrySecIdentitySearchCopyNext

func TrySecIdentitySearchCopyNext(searchRef SecIdentitySearchRef, identity *SecIdentityRef) (int32, error)

TrySecIdentitySearchCopyNext is like SecIdentitySearchCopyNext but returns an error instead of panicking if SecIdentitySearchCopyNext is unavailable at run time.

func TrySecIdentitySearchCreate

func TrySecIdentitySearchCreate(keychainOrArray corefoundation.CFTypeRef, keyUsage CSSM_KEYUSE, searchRef *SecIdentitySearchRef) (int32, error)

TrySecIdentitySearchCreate is like SecIdentitySearchCreate but returns an error instead of panicking if SecIdentitySearchCreate is unavailable at run time.

func TrySecIdentitySearchGetTypeID

func TrySecIdentitySearchGetTypeID() (uint, error)

TrySecIdentitySearchGetTypeID is like SecIdentitySearchGetTypeID but returns an error instead of panicking if SecIdentitySearchGetTypeID is unavailable at run time.

func TrySecIdentitySetPreference

func TrySecIdentitySetPreference(identity SecIdentityRef, name corefoundation.CFStringRef, keyUsage CSSM_KEYUSE) (int32, error)

TrySecIdentitySetPreference is like SecIdentitySetPreference but returns an error instead of panicking if SecIdentitySetPreference is unavailable at run time.

func TrySecIdentitySetPreferred

func TrySecIdentitySetPreferred(identity SecIdentityRef, name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef) (int32, error)

TrySecIdentitySetPreferred is like SecIdentitySetPreferred but returns an error instead of panicking if SecIdentitySetPreferred is unavailable at run time.

func TrySecIdentitySetSystemIdentity

func TrySecIdentitySetSystemIdentity(domain corefoundation.CFStringRef, idRef SecIdentityRef) (int32, error)

TrySecIdentitySetSystemIdentity is like SecIdentitySetSystemIdentity but returns an error instead of panicking if SecIdentitySetSystemIdentity is unavailable at run time.

func TrySecItemAdd

func TrySecItemAdd(attributes corefoundation.CFDictionaryRef, result *corefoundation.CFTypeRef) (int32, error)

TrySecItemAdd is like SecItemAdd but returns an error instead of panicking if SecItemAdd is unavailable at run time.

func TrySecItemCopyMatching

func TrySecItemCopyMatching(query corefoundation.CFDictionaryRef, result *corefoundation.CFTypeRef) (int32, error)

TrySecItemCopyMatching is like SecItemCopyMatching but returns an error instead of panicking if SecItemCopyMatching is unavailable at run time.

func TrySecItemDelete

func TrySecItemDelete(query corefoundation.CFDictionaryRef) (int32, error)

TrySecItemDelete is like SecItemDelete but returns an error instead of panicking if SecItemDelete is unavailable at run time.

func TrySecItemExport

func TrySecItemExport(secItemOrArray corefoundation.CFTypeRef, outputFormat SecExternalFormat, flags SecItemImportExportFlags, keyParams *SecItemImportExportKeyParameters, exportedData *corefoundation.CFDataRef) (int32, error)

TrySecItemExport is like SecItemExport but returns an error instead of panicking if SecItemExport is unavailable at run time.

func TrySecItemImport

func TrySecItemImport(importedData corefoundation.CFDataRef, fileNameOrExtension corefoundation.CFStringRef, inputFormat *SecExternalFormat, itemType *SecExternalItemType, flags SecItemImportExportFlags, keyParams *SecItemImportExportKeyParameters, importKeychain SecKeychainRef, outItems *corefoundation.CFArrayRef) (int32, error)

TrySecItemImport is like SecItemImport but returns an error instead of panicking if SecItemImport is unavailable at run time.

func TrySecItemUpdate

func TrySecItemUpdate(query corefoundation.CFDictionaryRef, attributesToUpdate corefoundation.CFDictionaryRef) (int32, error)

TrySecItemUpdate is like SecItemUpdate but returns an error instead of panicking if SecItemUpdate is unavailable at run time.

func TrySecKeyCopyAttributes

func TrySecKeyCopyAttributes(key SecKeyRef) (corefoundation.CFDictionaryRef, error)

TrySecKeyCopyAttributes is like SecKeyCopyAttributes but returns an error instead of panicking if SecKeyCopyAttributes is unavailable at run time.

func TrySecKeyCopyExternalRepresentation

func TrySecKeyCopyExternalRepresentation(key SecKeyRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecKeyCopyExternalRepresentation is like SecKeyCopyExternalRepresentation but returns an error instead of panicking if SecKeyCopyExternalRepresentation is unavailable at run time.

func TrySecKeyCopyKeyExchangeResult

func TrySecKeyCopyKeyExchangeResult(privateKey SecKeyRef, algorithm SecKeyAlgorithm, publicKey SecKeyRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecKeyCopyKeyExchangeResult is like SecKeyCopyKeyExchangeResult but returns an error instead of panicking if SecKeyCopyKeyExchangeResult is unavailable at run time.

func TrySecKeyCreateDecryptedData

func TrySecKeyCreateDecryptedData(key SecKeyRef, algorithm SecKeyAlgorithm, ciphertext corefoundation.CFDataRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecKeyCreateDecryptedData is like SecKeyCreateDecryptedData but returns an error instead of panicking if SecKeyCreateDecryptedData is unavailable at run time.

func TrySecKeyCreateEncryptedData

func TrySecKeyCreateEncryptedData(key SecKeyRef, algorithm SecKeyAlgorithm, plaintext corefoundation.CFDataRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecKeyCreateEncryptedData is like SecKeyCreateEncryptedData but returns an error instead of panicking if SecKeyCreateEncryptedData is unavailable at run time.

func TrySecKeyCreatePair

func TrySecKeyCreatePair(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, error)

TrySecKeyCreatePair is like SecKeyCreatePair but returns an error instead of panicking if SecKeyCreatePair is unavailable at run time.

func TrySecKeyCreateSignature

func TrySecKeyCreateSignature(key SecKeyRef, algorithm SecKeyAlgorithm, dataToSign corefoundation.CFDataRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecKeyCreateSignature is like SecKeyCreateSignature but returns an error instead of panicking if SecKeyCreateSignature is unavailable at run time.

func TrySecKeyGenerate

func TrySecKeyGenerate(keychainRef SecKeychainRef, algorithm CSSM_ALGORITHMS, keySizeInBits uint32, contextHandle CSSM_CC_HANDLE, keyUsage CSSM_KEYUSE, keyAttr uint32, initialAccess SecAccessRef, keyRef *SecKeyRef) (int32, error)

TrySecKeyGenerate is like SecKeyGenerate but returns an error instead of panicking if SecKeyGenerate is unavailable at run time.

func TrySecKeyGeneratePair

func TrySecKeyGeneratePair(parameters corefoundation.CFDictionaryRef, publicKey *SecKeyRef, privateKey *SecKeyRef) (int32, error)

TrySecKeyGeneratePair is like SecKeyGeneratePair but returns an error instead of panicking if SecKeyGeneratePair is unavailable at run time.

func TrySecKeyGeneratePairAsync

func TrySecKeyGeneratePairAsync(parameters corefoundation.CFDictionaryRef, deliveryQueue dispatch.Queue, result SecKeyGeneratePairBlock) error

TrySecKeyGeneratePairAsync is like SecKeyGeneratePairAsync but returns an error instead of panicking if SecKeyGeneratePairAsync is unavailable at run time.

func TrySecKeyGetBlockSize

func TrySecKeyGetBlockSize(key SecKeyRef) (uintptr, error)

TrySecKeyGetBlockSize is like SecKeyGetBlockSize but returns an error instead of panicking if SecKeyGetBlockSize is unavailable at run time.

func TrySecKeyGetCSPHandle

func TrySecKeyGetCSPHandle(keyRef SecKeyRef, cspHandle unsafe.Pointer) (int32, error)

TrySecKeyGetCSPHandle is like SecKeyGetCSPHandle but returns an error instead of panicking if SecKeyGetCSPHandle is unavailable at run time.

func TrySecKeyGetCSSMKey

func TrySecKeyGetCSSMKey(key SecKeyRef, cssmKey unsafe.Pointer) (int32, error)

TrySecKeyGetCSSMKey is like SecKeyGetCSSMKey but returns an error instead of panicking if SecKeyGetCSSMKey is unavailable at run time.

func TrySecKeyGetCredentials

func TrySecKeyGetCredentials(keyRef SecKeyRef, operation CSSM_ACL_AUTHORIZATION_TAG, credentialType SecCredentialType, outCredentials **CSSM_ACCESS_CREDENTIALS) (int32, error)

TrySecKeyGetCredentials is like SecKeyGetCredentials but returns an error instead of panicking if SecKeyGetCredentials is unavailable at run time.

func TrySecKeyGetTypeID

func TrySecKeyGetTypeID() (uint, error)

TrySecKeyGetTypeID is like SecKeyGetTypeID but returns an error instead of panicking if SecKeyGetTypeID is unavailable at run time.

func TrySecKeyIsAlgorithmSupported

func TrySecKeyIsAlgorithmSupported(key SecKeyRef, operation SecKeyOperationType, algorithm SecKeyAlgorithm) (bool, error)

TrySecKeyIsAlgorithmSupported is like SecKeyIsAlgorithmSupported but returns an error instead of panicking if SecKeyIsAlgorithmSupported is unavailable at run time.

func TrySecKeyVerifySignature

func TrySecKeyVerifySignature(key SecKeyRef, algorithm SecKeyAlgorithm, signedData corefoundation.CFDataRef, signature corefoundation.CFDataRef, err *corefoundation.CFErrorRef) (bool, error)

TrySecKeyVerifySignature is like SecKeyVerifySignature but returns an error instead of panicking if SecKeyVerifySignature is unavailable at run time.

func TrySecKeyWrapSymmetric

func TrySecKeyWrapSymmetric(keyToWrap SecKeyRef, wrappingKey SecKeyRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (corefoundation.CFDataRef, error)

TrySecKeyWrapSymmetric is like SecKeyWrapSymmetric but returns an error instead of panicking if SecKeyWrapSymmetric is unavailable at run time.

func TrySecKeychainAddCallback

func TrySecKeychainAddCallback(callbackFunction SecKeychainCallback, eventMask SecKeychainEventMask, userContext unsafe.Pointer) (int32, error)

TrySecKeychainAddCallback is like SecKeychainAddCallback but returns an error instead of panicking if SecKeychainAddCallback is unavailable at run time.

func TrySecKeychainAddGenericPassword

func TrySecKeychainAddGenericPassword(keychain SecKeychainRef, serviceNameLength uint32, serviceName string, accountNameLength uint32, accountName string, passwordLength uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) (int32, error)

TrySecKeychainAddGenericPassword is like SecKeychainAddGenericPassword but returns an error instead of panicking if SecKeychainAddGenericPassword is unavailable at run time.

func TrySecKeychainAddInternetPassword

func TrySecKeychainAddInternetPassword(keychain SecKeychainRef, serverNameLength uint32, serverName string, securityDomainLength uint32, securityDomain string, accountNameLength uint32, accountName string, pathLength uint32, path string, port uint16, protocol_ SecProtocolType, authenticationType SecAuthenticationType, passwordLength uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) (int32, error)

TrySecKeychainAddInternetPassword is like SecKeychainAddInternetPassword but returns an error instead of panicking if SecKeychainAddInternetPassword is unavailable at run time.

func TrySecKeychainAttributeInfoForItemID

func TrySecKeychainAttributeInfoForItemID(keychain SecKeychainRef, itemID uint32, info **SecKeychainAttributeInfo) (int32, error)

TrySecKeychainAttributeInfoForItemID is like SecKeychainAttributeInfoForItemID but returns an error instead of panicking if SecKeychainAttributeInfoForItemID is unavailable at run time.

func TrySecKeychainCopyAccess

func TrySecKeychainCopyAccess(keychain SecKeychainRef, access *SecAccessRef) (int32, error)

TrySecKeychainCopyAccess is like SecKeychainCopyAccess but returns an error instead of panicking if SecKeychainCopyAccess is unavailable at run time.

func TrySecKeychainCopyDefault

func TrySecKeychainCopyDefault(keychain *SecKeychainRef) (int32, error)

TrySecKeychainCopyDefault is like SecKeychainCopyDefault but returns an error instead of panicking if SecKeychainCopyDefault is unavailable at run time.

func TrySecKeychainCopyDomainDefault

func TrySecKeychainCopyDomainDefault(domain SecPreferencesDomain, keychain *SecKeychainRef) (int32, error)

TrySecKeychainCopyDomainDefault is like SecKeychainCopyDomainDefault but returns an error instead of panicking if SecKeychainCopyDomainDefault is unavailable at run time.

func TrySecKeychainCopyDomainSearchList

func TrySecKeychainCopyDomainSearchList(domain SecPreferencesDomain, searchList *corefoundation.CFArrayRef) (int32, error)

TrySecKeychainCopyDomainSearchList is like SecKeychainCopyDomainSearchList but returns an error instead of panicking if SecKeychainCopyDomainSearchList is unavailable at run time.

func TrySecKeychainCopySearchList

func TrySecKeychainCopySearchList(searchList *corefoundation.CFArrayRef) (int32, error)

TrySecKeychainCopySearchList is like SecKeychainCopySearchList but returns an error instead of panicking if SecKeychainCopySearchList is unavailable at run time.

func TrySecKeychainCopySettings

func TrySecKeychainCopySettings(keychain SecKeychainRef, outSettings *SecKeychainSettings) (int32, error)

TrySecKeychainCopySettings is like SecKeychainCopySettings but returns an error instead of panicking if SecKeychainCopySettings is unavailable at run time.

func TrySecKeychainCreate

func TrySecKeychainCreate(pathName string, passwordLength uint32, password unsafe.Pointer, promptUser bool, initialAccess SecAccessRef, keychain *SecKeychainRef) (int32, error)

TrySecKeychainCreate is like SecKeychainCreate but returns an error instead of panicking if SecKeychainCreate is unavailable at run time.

func TrySecKeychainDelete

func TrySecKeychainDelete(keychainOrArray SecKeychainRef) (int32, error)

TrySecKeychainDelete is like SecKeychainDelete but returns an error instead of panicking if SecKeychainDelete is unavailable at run time.

func TrySecKeychainFindGenericPassword

func TrySecKeychainFindGenericPassword(keychainOrArray corefoundation.CFTypeRef, serviceNameLength uint32, serviceName string, accountNameLength uint32, accountName string, passwordLength *uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) (int32, error)

TrySecKeychainFindGenericPassword is like SecKeychainFindGenericPassword but returns an error instead of panicking if SecKeychainFindGenericPassword is unavailable at run time.

func TrySecKeychainFindInternetPassword

func TrySecKeychainFindInternetPassword(keychainOrArray corefoundation.CFTypeRef, serverNameLength uint32, serverName string, securityDomainLength uint32, securityDomain string, accountNameLength uint32, accountName string, pathLength uint32, path string, port uint16, protocol_ SecProtocolType, authenticationType SecAuthenticationType, passwordLength *uint32, passwordData unsafe.Pointer, itemRef *SecKeychainItemRef) (int32, error)

TrySecKeychainFindInternetPassword is like SecKeychainFindInternetPassword but returns an error instead of panicking if SecKeychainFindInternetPassword is unavailable at run time.

func TrySecKeychainFreeAttributeInfo

func TrySecKeychainFreeAttributeInfo(info *SecKeychainAttributeInfo) (int32, error)

TrySecKeychainFreeAttributeInfo is like SecKeychainFreeAttributeInfo but returns an error instead of panicking if SecKeychainFreeAttributeInfo is unavailable at run time.

func TrySecKeychainGetCSPHandle

func TrySecKeychainGetCSPHandle(keychain SecKeychainRef, cspHandle unsafe.Pointer) (int32, error)

TrySecKeychainGetCSPHandle is like SecKeychainGetCSPHandle but returns an error instead of panicking if SecKeychainGetCSPHandle is unavailable at run time.

func TrySecKeychainGetDLDBHandle

func TrySecKeychainGetDLDBHandle(keychain SecKeychainRef, dldbHandle *[2]uint64) (int32, error)

TrySecKeychainGetDLDBHandle is like SecKeychainGetDLDBHandle but returns an error instead of panicking if SecKeychainGetDLDBHandle is unavailable at run time.

func TrySecKeychainGetPath

func TrySecKeychainGetPath(keychain SecKeychainRef, ioPathLength *uint32, pathName string) (int32, error)

TrySecKeychainGetPath is like SecKeychainGetPath but returns an error instead of panicking if SecKeychainGetPath is unavailable at run time.

func TrySecKeychainGetPreferenceDomain

func TrySecKeychainGetPreferenceDomain(domain *SecPreferencesDomain) (int32, error)

TrySecKeychainGetPreferenceDomain is like SecKeychainGetPreferenceDomain but returns an error instead of panicking if SecKeychainGetPreferenceDomain is unavailable at run time.

func TrySecKeychainGetStatus

func TrySecKeychainGetStatus(keychain SecKeychainRef, keychainStatus *SecKeychainStatus) (int32, error)

TrySecKeychainGetStatus is like SecKeychainGetStatus but returns an error instead of panicking if SecKeychainGetStatus is unavailable at run time.

func TrySecKeychainGetTypeID

func TrySecKeychainGetTypeID() (uint, error)

TrySecKeychainGetTypeID is like SecKeychainGetTypeID but returns an error instead of panicking if SecKeychainGetTypeID is unavailable at run time.

func TrySecKeychainGetUserInteractionAllowed

func TrySecKeychainGetUserInteractionAllowed(state *bool) (int32, error)

TrySecKeychainGetUserInteractionAllowed is like SecKeychainGetUserInteractionAllowed but returns an error instead of panicking if SecKeychainGetUserInteractionAllowed is unavailable at run time.

func TrySecKeychainGetVersion

func TrySecKeychainGetVersion(returnVers *uint32) (int32, error)

TrySecKeychainGetVersion is like SecKeychainGetVersion but returns an error instead of panicking if SecKeychainGetVersion is unavailable at run time.

func TrySecKeychainItemCopyAccess

func TrySecKeychainItemCopyAccess(itemRef SecKeychainItemRef, access *SecAccessRef) (int32, error)

TrySecKeychainItemCopyAccess is like SecKeychainItemCopyAccess but returns an error instead of panicking if SecKeychainItemCopyAccess is unavailable at run time.

func TrySecKeychainItemCopyAttributesAndData

func TrySecKeychainItemCopyAttributesAndData(itemRef SecKeychainItemRef, info *SecKeychainAttributeInfo, itemClass *SecItemClass, attrList **SecKeychainAttributeList, length *uint32, outData unsafe.Pointer) (int32, error)

TrySecKeychainItemCopyAttributesAndData is like SecKeychainItemCopyAttributesAndData but returns an error instead of panicking if SecKeychainItemCopyAttributesAndData is unavailable at run time.

func TrySecKeychainItemCopyContent

func TrySecKeychainItemCopyContent(itemRef SecKeychainItemRef, itemClass *SecItemClass, attrList *SecKeychainAttributeList, length *uint32, outData unsafe.Pointer) (int32, error)

TrySecKeychainItemCopyContent is like SecKeychainItemCopyContent but returns an error instead of panicking if SecKeychainItemCopyContent is unavailable at run time.

func TrySecKeychainItemCopyFromPersistentReference

func TrySecKeychainItemCopyFromPersistentReference(persistentItemRef corefoundation.CFDataRef, itemRef *SecKeychainItemRef) (int32, error)

TrySecKeychainItemCopyFromPersistentReference is like SecKeychainItemCopyFromPersistentReference but returns an error instead of panicking if SecKeychainItemCopyFromPersistentReference is unavailable at run time.

func TrySecKeychainItemCopyKeychain

func TrySecKeychainItemCopyKeychain(itemRef SecKeychainItemRef, keychainRef *SecKeychainRef) (int32, error)

TrySecKeychainItemCopyKeychain is like SecKeychainItemCopyKeychain but returns an error instead of panicking if SecKeychainItemCopyKeychain is unavailable at run time.

func TrySecKeychainItemCreateCopy

func TrySecKeychainItemCreateCopy(itemRef SecKeychainItemRef, destKeychainRef SecKeychainRef, initialAccess SecAccessRef, itemCopy *SecKeychainItemRef) (int32, error)

TrySecKeychainItemCreateCopy is like SecKeychainItemCreateCopy but returns an error instead of panicking if SecKeychainItemCreateCopy is unavailable at run time.

func TrySecKeychainItemCreateFromContent

func TrySecKeychainItemCreateFromContent(itemClass SecItemClass, attrList *SecKeychainAttributeList, length uint32, data unsafe.Pointer, keychainRef SecKeychainRef, initialAccess SecAccessRef, itemRef *SecKeychainItemRef) (int32, error)

TrySecKeychainItemCreateFromContent is like SecKeychainItemCreateFromContent but returns an error instead of panicking if SecKeychainItemCreateFromContent is unavailable at run time.

func TrySecKeychainItemCreatePersistentReference

func TrySecKeychainItemCreatePersistentReference(itemRef SecKeychainItemRef, persistentItemRef *corefoundation.CFDataRef) (int32, error)

TrySecKeychainItemCreatePersistentReference is like SecKeychainItemCreatePersistentReference but returns an error instead of panicking if SecKeychainItemCreatePersistentReference is unavailable at run time.

func TrySecKeychainItemDelete

func TrySecKeychainItemDelete(itemRef SecKeychainItemRef) (int32, error)

TrySecKeychainItemDelete is like SecKeychainItemDelete but returns an error instead of panicking if SecKeychainItemDelete is unavailable at run time.

func TrySecKeychainItemExport

func TrySecKeychainItemExport(keychainItemOrArray corefoundation.CFTypeRef, outputFormat SecExternalFormat, flags SecItemImportExportFlags, keyParams *SecKeyImportExportParameters, exportedData *corefoundation.CFDataRef) (int32, error)

TrySecKeychainItemExport is like SecKeychainItemExport but returns an error instead of panicking if SecKeychainItemExport is unavailable at run time.

func TrySecKeychainItemFreeAttributesAndData

func TrySecKeychainItemFreeAttributesAndData(attrList *SecKeychainAttributeList, data unsafe.Pointer) (int32, error)

TrySecKeychainItemFreeAttributesAndData is like SecKeychainItemFreeAttributesAndData but returns an error instead of panicking if SecKeychainItemFreeAttributesAndData is unavailable at run time.

func TrySecKeychainItemFreeContent

func TrySecKeychainItemFreeContent(attrList *SecKeychainAttributeList, data unsafe.Pointer) (int32, error)

TrySecKeychainItemFreeContent is like SecKeychainItemFreeContent but returns an error instead of panicking if SecKeychainItemFreeContent is unavailable at run time.

func TrySecKeychainItemGetDLDBHandle

func TrySecKeychainItemGetDLDBHandle(keyItemRef SecKeychainItemRef, dldbHandle *[2]uint64) (int32, error)

TrySecKeychainItemGetDLDBHandle is like SecKeychainItemGetDLDBHandle but returns an error instead of panicking if SecKeychainItemGetDLDBHandle is unavailable at run time.

func TrySecKeychainItemGetTypeID

func TrySecKeychainItemGetTypeID() (uint, error)

TrySecKeychainItemGetTypeID is like SecKeychainItemGetTypeID but returns an error instead of panicking if SecKeychainItemGetTypeID is unavailable at run time.

func TrySecKeychainItemGetUniqueRecordID

func TrySecKeychainItemGetUniqueRecordID(itemRef SecKeychainItemRef, uniqueRecordID **CSSM_DB_UNIQUE_RECORD) (int32, error)

TrySecKeychainItemGetUniqueRecordID is like SecKeychainItemGetUniqueRecordID but returns an error instead of panicking if SecKeychainItemGetUniqueRecordID is unavailable at run time.

func TrySecKeychainItemImport

func TrySecKeychainItemImport(importedData corefoundation.CFDataRef, fileNameOrExtension corefoundation.CFStringRef, inputFormat *SecExternalFormat, itemType *SecExternalItemType, flags SecItemImportExportFlags, keyParams *SecKeyImportExportParameters, importKeychain SecKeychainRef, outItems *corefoundation.CFArrayRef) (int32, error)

TrySecKeychainItemImport is like SecKeychainItemImport but returns an error instead of panicking if SecKeychainItemImport is unavailable at run time.

func TrySecKeychainItemModifyAttributesAndData

func TrySecKeychainItemModifyAttributesAndData(itemRef SecKeychainItemRef, attrList *SecKeychainAttributeList, length uint32, data unsafe.Pointer) (int32, error)

TrySecKeychainItemModifyAttributesAndData is like SecKeychainItemModifyAttributesAndData but returns an error instead of panicking if SecKeychainItemModifyAttributesAndData is unavailable at run time.

func TrySecKeychainItemModifyContent

func TrySecKeychainItemModifyContent(itemRef SecKeychainItemRef, attrList *SecKeychainAttributeList, length uint32, data unsafe.Pointer) (int32, error)

TrySecKeychainItemModifyContent is like SecKeychainItemModifyContent but returns an error instead of panicking if SecKeychainItemModifyContent is unavailable at run time.

func TrySecKeychainItemSetAccess

func TrySecKeychainItemSetAccess(itemRef SecKeychainItemRef, access SecAccessRef) (int32, error)

TrySecKeychainItemSetAccess is like SecKeychainItemSetAccess but returns an error instead of panicking if SecKeychainItemSetAccess is unavailable at run time.

func TrySecKeychainLock

func TrySecKeychainLock(keychain SecKeychainRef) (int32, error)

TrySecKeychainLock is like SecKeychainLock but returns an error instead of panicking if SecKeychainLock is unavailable at run time.

func TrySecKeychainLockAll

func TrySecKeychainLockAll() (int32, error)

TrySecKeychainLockAll is like SecKeychainLockAll but returns an error instead of panicking if SecKeychainLockAll is unavailable at run time.

func TrySecKeychainOpen

func TrySecKeychainOpen(pathName string, keychain *SecKeychainRef) (int32, error)

TrySecKeychainOpen is like SecKeychainOpen but returns an error instead of panicking if SecKeychainOpen is unavailable at run time.

func TrySecKeychainRemoveCallback

func TrySecKeychainRemoveCallback(callbackFunction SecKeychainCallback) (int32, error)

TrySecKeychainRemoveCallback is like SecKeychainRemoveCallback but returns an error instead of panicking if SecKeychainRemoveCallback is unavailable at run time.

func TrySecKeychainSearchCopyNext

func TrySecKeychainSearchCopyNext(searchRef SecKeychainSearchRef, itemRef *SecKeychainItemRef) (int32, error)

TrySecKeychainSearchCopyNext is like SecKeychainSearchCopyNext but returns an error instead of panicking if SecKeychainSearchCopyNext is unavailable at run time.

func TrySecKeychainSearchCreateFromAttributes

func TrySecKeychainSearchCreateFromAttributes(keychainOrArray corefoundation.CFTypeRef, itemClass SecItemClass, attrList *SecKeychainAttributeList, searchRef *SecKeychainSearchRef) (int32, error)

TrySecKeychainSearchCreateFromAttributes is like SecKeychainSearchCreateFromAttributes but returns an error instead of panicking if SecKeychainSearchCreateFromAttributes is unavailable at run time.

func TrySecKeychainSearchGetTypeID

func TrySecKeychainSearchGetTypeID() (uint, error)

TrySecKeychainSearchGetTypeID is like SecKeychainSearchGetTypeID but returns an error instead of panicking if SecKeychainSearchGetTypeID is unavailable at run time.

func TrySecKeychainSetAccess

func TrySecKeychainSetAccess(keychain SecKeychainRef, access SecAccessRef) (int32, error)

TrySecKeychainSetAccess is like SecKeychainSetAccess but returns an error instead of panicking if SecKeychainSetAccess is unavailable at run time.

func TrySecKeychainSetDefault

func TrySecKeychainSetDefault(keychain SecKeychainRef) (int32, error)

TrySecKeychainSetDefault is like SecKeychainSetDefault but returns an error instead of panicking if SecKeychainSetDefault is unavailable at run time.

func TrySecKeychainSetDomainDefault

func TrySecKeychainSetDomainDefault(domain SecPreferencesDomain, keychain SecKeychainRef) (int32, error)

TrySecKeychainSetDomainDefault is like SecKeychainSetDomainDefault but returns an error instead of panicking if SecKeychainSetDomainDefault is unavailable at run time.

func TrySecKeychainSetDomainSearchList

func TrySecKeychainSetDomainSearchList(domain SecPreferencesDomain, searchList corefoundation.CFArrayRef) (int32, error)

TrySecKeychainSetDomainSearchList is like SecKeychainSetDomainSearchList but returns an error instead of panicking if SecKeychainSetDomainSearchList is unavailable at run time.

func TrySecKeychainSetPreferenceDomain

func TrySecKeychainSetPreferenceDomain(domain SecPreferencesDomain) (int32, error)

TrySecKeychainSetPreferenceDomain is like SecKeychainSetPreferenceDomain but returns an error instead of panicking if SecKeychainSetPreferenceDomain is unavailable at run time.

func TrySecKeychainSetSearchList

func TrySecKeychainSetSearchList(searchList corefoundation.CFArrayRef) (int32, error)

TrySecKeychainSetSearchList is like SecKeychainSetSearchList but returns an error instead of panicking if SecKeychainSetSearchList is unavailable at run time.

func TrySecKeychainSetSettings

func TrySecKeychainSetSettings(keychain SecKeychainRef, newSettings *SecKeychainSettings) (int32, error)

TrySecKeychainSetSettings is like SecKeychainSetSettings but returns an error instead of panicking if SecKeychainSetSettings is unavailable at run time.

func TrySecKeychainSetUserInteractionAllowed

func TrySecKeychainSetUserInteractionAllowed(state bool) (int32, error)

TrySecKeychainSetUserInteractionAllowed is like SecKeychainSetUserInteractionAllowed but returns an error instead of panicking if SecKeychainSetUserInteractionAllowed is unavailable at run time.

func TrySecKeychainUnlock

func TrySecKeychainUnlock(keychain SecKeychainRef, passwordLength uint32, password unsafe.Pointer, usePassword bool) (int32, error)

TrySecKeychainUnlock is like SecKeychainUnlock but returns an error instead of panicking if SecKeychainUnlock is unavailable at run time.

func TrySecPKCS12Import

func TrySecPKCS12Import(pkcs12_data corefoundation.CFDataRef, options corefoundation.CFDictionaryRef, items *corefoundation.CFArrayRef) (int32, error)

TrySecPKCS12Import is like SecPKCS12Import but returns an error instead of panicking if SecPKCS12Import is unavailable at run time.

func TrySecPolicyCopyProperties

func TrySecPolicyCopyProperties(policyRef SecPolicyRef) (corefoundation.CFDictionaryRef, error)

TrySecPolicyCopyProperties is like SecPolicyCopyProperties but returns an error instead of panicking if SecPolicyCopyProperties is unavailable at run time.

func TrySecPolicyGetOID

func TrySecPolicyGetOID(policyRef SecPolicyRef, oid unsafe.Pointer) (int32, error)

TrySecPolicyGetOID is like SecPolicyGetOID but returns an error instead of panicking if SecPolicyGetOID is unavailable at run time.

func TrySecPolicyGetTPHandle

func TrySecPolicyGetTPHandle(policyRef SecPolicyRef, tpHandle unsafe.Pointer) (int32, error)

TrySecPolicyGetTPHandle is like SecPolicyGetTPHandle but returns an error instead of panicking if SecPolicyGetTPHandle is unavailable at run time.

func TrySecPolicyGetTypeID

func TrySecPolicyGetTypeID() (uint, error)

TrySecPolicyGetTypeID is like SecPolicyGetTypeID but returns an error instead of panicking if SecPolicyGetTypeID is unavailable at run time.

func TrySecPolicyGetValue

func TrySecPolicyGetValue(policyRef SecPolicyRef, value unsafe.Pointer) (int32, error)

TrySecPolicyGetValue is like SecPolicyGetValue but returns an error instead of panicking if SecPolicyGetValue is unavailable at run time.

func TrySecPolicySearchCopyNext

func TrySecPolicySearchCopyNext(searchRef SecPolicySearchRef, policyRef *SecPolicyRef) (int32, error)

TrySecPolicySearchCopyNext is like SecPolicySearchCopyNext but returns an error instead of panicking if SecPolicySearchCopyNext is unavailable at run time.

func TrySecPolicySearchCreate

func TrySecPolicySearchCreate(certType CSSM_CERT_TYPE, policyOID unsafe.Pointer, value unsafe.Pointer, searchRef *SecPolicySearchRef) (int32, error)

TrySecPolicySearchCreate is like SecPolicySearchCreate but returns an error instead of panicking if SecPolicySearchCreate is unavailable at run time.

func TrySecPolicySearchGetTypeID

func TrySecPolicySearchGetTypeID() (uint, error)

TrySecPolicySearchGetTypeID is like SecPolicySearchGetTypeID but returns an error instead of panicking if SecPolicySearchGetTypeID is unavailable at run time.

func TrySecPolicySetProperties

func TrySecPolicySetProperties(policyRef SecPolicyRef, properties corefoundation.CFDictionaryRef) (int32, error)

TrySecPolicySetProperties is like SecPolicySetProperties but returns an error instead of panicking if SecPolicySetProperties is unavailable at run time.

func TrySecPolicySetValue

func TrySecPolicySetValue(policyRef SecPolicyRef, value unsafe.Pointer) (int32, error)

TrySecPolicySetValue is like SecPolicySetValue but returns an error instead of panicking if SecPolicySetValue is unavailable at run time.

func TrySecRandomCopyBytes

func TrySecRandomCopyBytes(rnd SecRandomRef, count uintptr, bytes unsafe.Pointer) (int32, error)

TrySecRandomCopyBytes is like SecRandomCopyBytes but returns an error instead of panicking if SecRandomCopyBytes is unavailable at run time.

func TrySecRequestSharedWebCredential

func TrySecRequestSharedWebCredential(fqdn corefoundation.CFStringRef, account corefoundation.CFStringRef) error

TrySecRequestSharedWebCredential is like SecRequestSharedWebCredential but returns an error instead of panicking if SecRequestSharedWebCredential is unavailable at run time.

func TrySecRequirementCopyData

func TrySecRequirementCopyData(requirement SecRequirementRef, flags SecCSFlags, data *corefoundation.CFDataRef) (int32, error)

TrySecRequirementCopyData is like SecRequirementCopyData but returns an error instead of panicking if SecRequirementCopyData is unavailable at run time.

func TrySecRequirementCopyString

func TrySecRequirementCopyString(requirement SecRequirementRef, flags SecCSFlags, text *corefoundation.CFStringRef) (int32, error)

TrySecRequirementCopyString is like SecRequirementCopyString but returns an error instead of panicking if SecRequirementCopyString is unavailable at run time.

func TrySecRequirementCreateWithData

func TrySecRequirementCreateWithData(data corefoundation.CFDataRef, flags SecCSFlags, requirement *SecRequirementRef) (int32, error)

TrySecRequirementCreateWithData is like SecRequirementCreateWithData but returns an error instead of panicking if SecRequirementCreateWithData is unavailable at run time.

func TrySecRequirementCreateWithString

func TrySecRequirementCreateWithString(text corefoundation.CFStringRef, flags SecCSFlags, requirement *SecRequirementRef) (int32, error)

TrySecRequirementCreateWithString is like SecRequirementCreateWithString but returns an error instead of panicking if SecRequirementCreateWithString is unavailable at run time.

func TrySecRequirementCreateWithStringAndErrors

func TrySecRequirementCreateWithStringAndErrors(text corefoundation.CFStringRef, flags SecCSFlags, errors *corefoundation.CFErrorRef, requirement *SecRequirementRef) (int32, error)

TrySecRequirementCreateWithStringAndErrors is like SecRequirementCreateWithStringAndErrors but returns an error instead of panicking if SecRequirementCreateWithStringAndErrors is unavailable at run time.

func TrySecRequirementGetTypeID

func TrySecRequirementGetTypeID() (uint, error)

TrySecRequirementGetTypeID is like SecRequirementGetTypeID but returns an error instead of panicking if SecRequirementGetTypeID is unavailable at run time.

func TrySecStaticCodeCheckValidity

func TrySecStaticCodeCheckValidity(staticCode SecStaticCodeRef, flags SecCSFlags, requirement SecRequirementRef) (int32, error)

TrySecStaticCodeCheckValidity is like SecStaticCodeCheckValidity but returns an error instead of panicking if SecStaticCodeCheckValidity is unavailable at run time.

func TrySecStaticCodeCheckValidityWithErrors

func TrySecStaticCodeCheckValidityWithErrors(staticCode SecStaticCodeRef, flags SecCSFlags, requirement SecRequirementRef, errors *corefoundation.CFErrorRef) (int32, error)

TrySecStaticCodeCheckValidityWithErrors is like SecStaticCodeCheckValidityWithErrors but returns an error instead of panicking if SecStaticCodeCheckValidityWithErrors is unavailable at run time.

func TrySecStaticCodeCreateWithPath

func TrySecStaticCodeCreateWithPath(path corefoundation.CFURLRef, flags SecCSFlags, staticCode *SecStaticCodeRef) (int32, error)

TrySecStaticCodeCreateWithPath is like SecStaticCodeCreateWithPath but returns an error instead of panicking if SecStaticCodeCreateWithPath is unavailable at run time.

func TrySecStaticCodeCreateWithPathAndAttributes

func TrySecStaticCodeCreateWithPathAndAttributes(path corefoundation.CFURLRef, flags SecCSFlags, attributes corefoundation.CFDictionaryRef, staticCode *SecStaticCodeRef) (int32, error)

TrySecStaticCodeCreateWithPathAndAttributes is like SecStaticCodeCreateWithPathAndAttributes but returns an error instead of panicking if SecStaticCodeCreateWithPathAndAttributes is unavailable at run time.

func TrySecStaticCodeGetTypeID

func TrySecStaticCodeGetTypeID() (uint, error)

TrySecStaticCodeGetTypeID is like SecStaticCodeGetTypeID but returns an error instead of panicking if SecStaticCodeGetTypeID is unavailable at run time.

func TrySecTaskCopySigningIdentifier

func TrySecTaskCopySigningIdentifier(task SecTaskRef, err *corefoundation.CFErrorRef) (corefoundation.CFStringRef, error)

TrySecTaskCopySigningIdentifier is like SecTaskCopySigningIdentifier but returns an error instead of panicking if SecTaskCopySigningIdentifier is unavailable at run time.

func TrySecTaskCopyValueForEntitlement

func TrySecTaskCopyValueForEntitlement(task SecTaskRef, entitlement corefoundation.CFStringRef, err *corefoundation.CFErrorRef) (corefoundation.CFTypeRef, error)

TrySecTaskCopyValueForEntitlement is like SecTaskCopyValueForEntitlement but returns an error instead of panicking if SecTaskCopyValueForEntitlement is unavailable at run time.

func TrySecTaskCopyValuesForEntitlements

func TrySecTaskCopyValuesForEntitlements(task SecTaskRef, entitlements corefoundation.CFArrayRef, err *corefoundation.CFErrorRef) (corefoundation.CFDictionaryRef, error)

TrySecTaskCopyValuesForEntitlements is like SecTaskCopyValuesForEntitlements but returns an error instead of panicking if SecTaskCopyValuesForEntitlements is unavailable at run time.

func TrySecTaskGetTypeID

func TrySecTaskGetTypeID() (uint, error)

TrySecTaskGetTypeID is like SecTaskGetTypeID but returns an error instead of panicking if SecTaskGetTypeID is unavailable at run time.

func TrySecTranformCustomGetAttribute

TrySecTranformCustomGetAttribute is like SecTranformCustomGetAttribute but returns an error instead of panicking if SecTranformCustomGetAttribute is unavailable at run time.

func TrySecTransformCopyExternalRepresentation

func TrySecTransformCopyExternalRepresentation(transformRef SecTransformRef) (corefoundation.CFDictionaryRef, error)

TrySecTransformCopyExternalRepresentation is like SecTransformCopyExternalRepresentation but returns an error instead of panicking if SecTransformCopyExternalRepresentation is unavailable at run time.

func TrySecTransformCustomSetAttribute

TrySecTransformCustomSetAttribute is like SecTransformCustomSetAttribute but returns an error instead of panicking if SecTransformCustomSetAttribute is unavailable at run time.

func TrySecTransformExecute

func TrySecTransformExecute(transformRef SecTransformRef, errorRef *corefoundation.CFErrorRef) (corefoundation.CFTypeRef, error)

TrySecTransformExecute is like SecTransformExecute but returns an error instead of panicking if SecTransformExecute is unavailable at run time.

func TrySecTransformExecuteAsync

func TrySecTransformExecuteAsync(transformRef SecTransformRef, deliveryQueue dispatch.Queue, deliveryBlock SecMessageBlock) error

TrySecTransformExecuteAsync is like SecTransformExecuteAsync but returns an error instead of panicking if SecTransformExecuteAsync is unavailable at run time.

func TrySecTransformGetAttribute

func TrySecTransformGetAttribute(transformRef SecTransformRef, key corefoundation.CFStringRef) (corefoundation.CFTypeRef, error)

TrySecTransformGetAttribute is like SecTransformGetAttribute but returns an error instead of panicking if SecTransformGetAttribute is unavailable at run time.

func TrySecTransformGetTypeID

func TrySecTransformGetTypeID() (uint, error)

TrySecTransformGetTypeID is like SecTransformGetTypeID but returns an error instead of panicking if SecTransformGetTypeID is unavailable at run time.

func TrySecTransformNoData

func TrySecTransformNoData() (corefoundation.CFTypeRef, error)

TrySecTransformNoData is like SecTransformNoData but returns an error instead of panicking if SecTransformNoData is unavailable at run time.

func TrySecTransformPushbackAttribute

TrySecTransformPushbackAttribute is like SecTransformPushbackAttribute but returns an error instead of panicking if SecTransformPushbackAttribute is unavailable at run time.

func TrySecTransformRegister

func TrySecTransformRegister(uniqueName corefoundation.CFStringRef, createTransformFunction unsafe.Pointer, err *corefoundation.CFErrorRef) (bool, error)

TrySecTransformRegister is like SecTransformRegister but returns an error instead of panicking if SecTransformRegister is unavailable at run time.

func TrySecTransformSetAttribute

func TrySecTransformSetAttribute(transformRef SecTransformRef, key corefoundation.CFStringRef, value corefoundation.CFTypeRef, err *corefoundation.CFErrorRef) (bool, error)

TrySecTransformSetAttribute is like SecTransformSetAttribute but returns an error instead of panicking if SecTransformSetAttribute is unavailable at run time.

func TrySecTransformSetAttributeAction

func TrySecTransformSetAttributeAction(ref SecTransformImplementationRef, action corefoundation.CFStringRef, attribute SecTransformStringOrAttributeRef, newAction unsafe.Pointer) (corefoundation.CFErrorRef, error)

TrySecTransformSetAttributeAction is like SecTransformSetAttributeAction but returns an error instead of panicking if SecTransformSetAttributeAction is unavailable at run time.

func TrySecTransformSetDataAction

func TrySecTransformSetDataAction(ref SecTransformImplementationRef, action corefoundation.CFStringRef, newAction unsafe.Pointer) (corefoundation.CFErrorRef, error)

TrySecTransformSetDataAction is like SecTransformSetDataAction but returns an error instead of panicking if SecTransformSetDataAction is unavailable at run time.

func TrySecTransformSetTransformAction

func TrySecTransformSetTransformAction(ref SecTransformImplementationRef, action corefoundation.CFStringRef, newAction unsafe.Pointer) (corefoundation.CFErrorRef, error)

TrySecTransformSetTransformAction is like SecTransformSetTransformAction but returns an error instead of panicking if SecTransformSetTransformAction is unavailable at run time.

func TrySecTrustCopyAnchorCertificates

func TrySecTrustCopyAnchorCertificates(anchors *corefoundation.CFArrayRef) (int32, error)

TrySecTrustCopyAnchorCertificates is like SecTrustCopyAnchorCertificates but returns an error instead of panicking if SecTrustCopyAnchorCertificates is unavailable at run time.

func TrySecTrustCopyCertificateChain

func TrySecTrustCopyCertificateChain(trust SecTrustRef) (corefoundation.CFArrayRef, error)

TrySecTrustCopyCertificateChain is like SecTrustCopyCertificateChain but returns an error instead of panicking if SecTrustCopyCertificateChain is unavailable at run time.

func TrySecTrustCopyCustomAnchorCertificates

func TrySecTrustCopyCustomAnchorCertificates(trust SecTrustRef, anchors *corefoundation.CFArrayRef) (int32, error)

TrySecTrustCopyCustomAnchorCertificates is like SecTrustCopyCustomAnchorCertificates but returns an error instead of panicking if SecTrustCopyCustomAnchorCertificates is unavailable at run time.

func TrySecTrustCopyExceptions

func TrySecTrustCopyExceptions(trust SecTrustRef) (corefoundation.CFDataRef, error)

TrySecTrustCopyExceptions is like SecTrustCopyExceptions but returns an error instead of panicking if SecTrustCopyExceptions is unavailable at run time.

func TrySecTrustCopyPolicies

func TrySecTrustCopyPolicies(trust SecTrustRef, policies *corefoundation.CFArrayRef) (int32, error)

TrySecTrustCopyPolicies is like SecTrustCopyPolicies but returns an error instead of panicking if SecTrustCopyPolicies is unavailable at run time.

func TrySecTrustCopyProperties

func TrySecTrustCopyProperties(trust SecTrustRef) (corefoundation.CFArrayRef, error)

TrySecTrustCopyProperties is like SecTrustCopyProperties but returns an error instead of panicking if SecTrustCopyProperties is unavailable at run time.

func TrySecTrustCopyResult

func TrySecTrustCopyResult(trust SecTrustRef) (corefoundation.CFDictionaryRef, error)

TrySecTrustCopyResult is like SecTrustCopyResult but returns an error instead of panicking if SecTrustCopyResult is unavailable at run time.

func TrySecTrustCreateWithCertificates

func TrySecTrustCreateWithCertificates(certificates corefoundation.CFTypeRef, policies corefoundation.CFTypeRef, trust *SecTrustRef) (int32, error)

TrySecTrustCreateWithCertificates is like SecTrustCreateWithCertificates but returns an error instead of panicking if SecTrustCreateWithCertificates is unavailable at run time.

func TrySecTrustEvaluate

func TrySecTrustEvaluate(trust SecTrustRef, result *SecTrustResultType) (int32, error)

TrySecTrustEvaluate is like SecTrustEvaluate but returns an error instead of panicking if SecTrustEvaluate is unavailable at run time.

func TrySecTrustEvaluateAsync

func TrySecTrustEvaluateAsync(trust SecTrustRef, queue dispatch.Queue, result SecTrustCallback) (int32, error)

TrySecTrustEvaluateAsync is like SecTrustEvaluateAsync but returns an error instead of panicking if SecTrustEvaluateAsync is unavailable at run time.

func TrySecTrustEvaluateAsyncWithError

func TrySecTrustEvaluateAsyncWithError(trust SecTrustRef, queue dispatch.Queue, result SecTrustWithErrorCallback) (int32, error)

TrySecTrustEvaluateAsyncWithError is like SecTrustEvaluateAsyncWithError but returns an error instead of panicking if SecTrustEvaluateAsyncWithError is unavailable at run time.

func TrySecTrustEvaluateWithError

func TrySecTrustEvaluateWithError(trust SecTrustRef, err *corefoundation.CFErrorRef) (bool, error)

TrySecTrustEvaluateWithError is like SecTrustEvaluateWithError but returns an error instead of panicking if SecTrustEvaluateWithError is unavailable at run time.

func TrySecTrustGetCertificateCount

func TrySecTrustGetCertificateCount(trust SecTrustRef) (int, error)

TrySecTrustGetCertificateCount is like SecTrustGetCertificateCount but returns an error instead of panicking if SecTrustGetCertificateCount is unavailable at run time.

func TrySecTrustGetCssmResult

func TrySecTrustGetCssmResult(trust SecTrustRef, result unsafe.Pointer) (int32, error)

TrySecTrustGetCssmResult is like SecTrustGetCssmResult but returns an error instead of panicking if SecTrustGetCssmResult is unavailable at run time.

func TrySecTrustGetCssmResultCode

func TrySecTrustGetCssmResultCode(trust SecTrustRef, resultCode *int32) (int32, error)

TrySecTrustGetCssmResultCode is like SecTrustGetCssmResultCode but returns an error instead of panicking if SecTrustGetCssmResultCode is unavailable at run time.

func TrySecTrustGetNetworkFetchAllowed

func TrySecTrustGetNetworkFetchAllowed(trust SecTrustRef, allowFetch *bool) (int32, error)

TrySecTrustGetNetworkFetchAllowed is like SecTrustGetNetworkFetchAllowed but returns an error instead of panicking if SecTrustGetNetworkFetchAllowed is unavailable at run time.

func TrySecTrustGetResult

func TrySecTrustGetResult(trustRef SecTrustRef, result *SecTrustResultType, certChain *corefoundation.CFArrayRef, statusChain **CSSM_TP_APPLE_EVIDENCE_INFO) (int32, error)

TrySecTrustGetResult is like SecTrustGetResult but returns an error instead of panicking if SecTrustGetResult is unavailable at run time.

func TrySecTrustGetTPHandle

func TrySecTrustGetTPHandle(trust SecTrustRef, handle unsafe.Pointer) (int32, error)

TrySecTrustGetTPHandle is like SecTrustGetTPHandle but returns an error instead of panicking if SecTrustGetTPHandle is unavailable at run time.

func TrySecTrustGetTrustResult

func TrySecTrustGetTrustResult(trust SecTrustRef, result *SecTrustResultType) (int32, error)

TrySecTrustGetTrustResult is like SecTrustGetTrustResult but returns an error instead of panicking if SecTrustGetTrustResult is unavailable at run time.

func TrySecTrustGetTypeID

func TrySecTrustGetTypeID() (uint, error)

TrySecTrustGetTypeID is like SecTrustGetTypeID but returns an error instead of panicking if SecTrustGetTypeID is unavailable at run time.

func TrySecTrustGetVerifyTime

func TrySecTrustGetVerifyTime(trust SecTrustRef) (corefoundation.CFAbsoluteTime, error)

TrySecTrustGetVerifyTime is like SecTrustGetVerifyTime but returns an error instead of panicking if SecTrustGetVerifyTime is unavailable at run time.

func TrySecTrustSetAnchorCertificates

func TrySecTrustSetAnchorCertificates(trust SecTrustRef, anchorCertificates corefoundation.CFArrayRef) (int32, error)

TrySecTrustSetAnchorCertificates is like SecTrustSetAnchorCertificates but returns an error instead of panicking if SecTrustSetAnchorCertificates is unavailable at run time.

func TrySecTrustSetAnchorCertificatesOnly

func TrySecTrustSetAnchorCertificatesOnly(trust SecTrustRef, anchorCertificatesOnly bool) (int32, error)

TrySecTrustSetAnchorCertificatesOnly is like SecTrustSetAnchorCertificatesOnly but returns an error instead of panicking if SecTrustSetAnchorCertificatesOnly is unavailable at run time.

func TrySecTrustSetExceptions

func TrySecTrustSetExceptions(trust SecTrustRef, exceptions corefoundation.CFDataRef) (bool, error)

TrySecTrustSetExceptions is like SecTrustSetExceptions but returns an error instead of panicking if SecTrustSetExceptions is unavailable at run time.

func TrySecTrustSetKeychains

func TrySecTrustSetKeychains(trust SecTrustRef, keychainOrArray corefoundation.CFTypeRef) (int32, error)

TrySecTrustSetKeychains is like SecTrustSetKeychains but returns an error instead of panicking if SecTrustSetKeychains is unavailable at run time.

func TrySecTrustSetNetworkFetchAllowed

func TrySecTrustSetNetworkFetchAllowed(trust SecTrustRef, allowFetch bool) (int32, error)

TrySecTrustSetNetworkFetchAllowed is like SecTrustSetNetworkFetchAllowed but returns an error instead of panicking if SecTrustSetNetworkFetchAllowed is unavailable at run time.

func TrySecTrustSetOCSPResponse

func TrySecTrustSetOCSPResponse(trust SecTrustRef, responseData corefoundation.CFTypeRef) (int32, error)

TrySecTrustSetOCSPResponse is like SecTrustSetOCSPResponse but returns an error instead of panicking if SecTrustSetOCSPResponse is unavailable at run time.

func TrySecTrustSetOptions

func TrySecTrustSetOptions(trustRef SecTrustRef, options SecTrustOptionFlags) (int32, error)

TrySecTrustSetOptions is like SecTrustSetOptions but returns an error instead of panicking if SecTrustSetOptions is unavailable at run time.

func TrySecTrustSetParameters

func TrySecTrustSetParameters(trustRef SecTrustRef, action CSSM_TP_ACTION, actionData corefoundation.CFDataRef) (int32, error)

TrySecTrustSetParameters is like SecTrustSetParameters but returns an error instead of panicking if SecTrustSetParameters is unavailable at run time.

func TrySecTrustSetPolicies

func TrySecTrustSetPolicies(trust SecTrustRef, policies corefoundation.CFTypeRef) (int32, error)

TrySecTrustSetPolicies is like SecTrustSetPolicies but returns an error instead of panicking if SecTrustSetPolicies is unavailable at run time.

func TrySecTrustSetSignedCertificateTimestamps

func TrySecTrustSetSignedCertificateTimestamps(trust SecTrustRef, sctArray corefoundation.CFArrayRef) (int32, error)

TrySecTrustSetSignedCertificateTimestamps is like SecTrustSetSignedCertificateTimestamps but returns an error instead of panicking if SecTrustSetSignedCertificateTimestamps is unavailable at run time.

func TrySecTrustSetVerifyDate

func TrySecTrustSetVerifyDate(trust SecTrustRef, verifyDate corefoundation.CFDateRef) (int32, error)

TrySecTrustSetVerifyDate is like SecTrustSetVerifyDate but returns an error instead of panicking if SecTrustSetVerifyDate is unavailable at run time.

func TrySecTrustSettingsCopyCertificates

func TrySecTrustSettingsCopyCertificates(domain SecTrustSettingsDomain, certArray *corefoundation.CFArrayRef) (int32, error)

TrySecTrustSettingsCopyCertificates is like SecTrustSettingsCopyCertificates but returns an error instead of panicking if SecTrustSettingsCopyCertificates is unavailable at run time.

func TrySecTrustSettingsCopyModificationDate

func TrySecTrustSettingsCopyModificationDate(certRef SecCertificateRef, domain SecTrustSettingsDomain, modificationDate *corefoundation.CFDateRef) (int32, error)

TrySecTrustSettingsCopyModificationDate is like SecTrustSettingsCopyModificationDate but returns an error instead of panicking if SecTrustSettingsCopyModificationDate is unavailable at run time.

func TrySecTrustSettingsCopyTrustSettings

func TrySecTrustSettingsCopyTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain, trustSettings *corefoundation.CFArrayRef) (int32, error)

TrySecTrustSettingsCopyTrustSettings is like SecTrustSettingsCopyTrustSettings but returns an error instead of panicking if SecTrustSettingsCopyTrustSettings is unavailable at run time.

func TrySecTrustSettingsCreateExternalRepresentation

func TrySecTrustSettingsCreateExternalRepresentation(domain SecTrustSettingsDomain, trustSettings *corefoundation.CFDataRef) (int32, error)

TrySecTrustSettingsCreateExternalRepresentation is like SecTrustSettingsCreateExternalRepresentation but returns an error instead of panicking if SecTrustSettingsCreateExternalRepresentation is unavailable at run time.

func TrySecTrustSettingsImportExternalRepresentation

func TrySecTrustSettingsImportExternalRepresentation(domain SecTrustSettingsDomain, trustSettings corefoundation.CFDataRef) (int32, error)

TrySecTrustSettingsImportExternalRepresentation is like SecTrustSettingsImportExternalRepresentation but returns an error instead of panicking if SecTrustSettingsImportExternalRepresentation is unavailable at run time.

func TrySecTrustSettingsRemoveTrustSettings

func TrySecTrustSettingsRemoveTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain) (int32, error)

TrySecTrustSettingsRemoveTrustSettings is like SecTrustSettingsRemoveTrustSettings but returns an error instead of panicking if SecTrustSettingsRemoveTrustSettings is unavailable at run time.

func TrySecTrustSettingsSetTrustSettings

func TrySecTrustSettingsSetTrustSettings(certRef SecCertificateRef, domain SecTrustSettingsDomain, trustSettingsDictOrArray corefoundation.CFTypeRef) (int32, error)

TrySecTrustSettingsSetTrustSettings is like SecTrustSettingsSetTrustSettings but returns an error instead of panicking if SecTrustSettingsSetTrustSettings is unavailable at run time.

func TrySecTrustedApplicationCopyData

func TrySecTrustedApplicationCopyData(appRef SecTrustedApplicationRef, data *corefoundation.CFDataRef) (int32, error)

TrySecTrustedApplicationCopyData is like SecTrustedApplicationCopyData but returns an error instead of panicking if SecTrustedApplicationCopyData is unavailable at run time.

func TrySecTrustedApplicationCreateFromPath

func TrySecTrustedApplicationCreateFromPath(path string, app *SecTrustedApplicationRef) (int32, error)

TrySecTrustedApplicationCreateFromPath is like SecTrustedApplicationCreateFromPath but returns an error instead of panicking if SecTrustedApplicationCreateFromPath is unavailable at run time.

func TrySecTrustedApplicationGetTypeID

func TrySecTrustedApplicationGetTypeID() (uint, error)

TrySecTrustedApplicationGetTypeID is like SecTrustedApplicationGetTypeID but returns an error instead of panicking if SecTrustedApplicationGetTypeID is unavailable at run time.

func TrySecTrustedApplicationSetData

func TrySecTrustedApplicationSetData(appRef SecTrustedApplicationRef, data corefoundation.CFDataRef) (int32, error)

TrySecTrustedApplicationSetData is like SecTrustedApplicationSetData but returns an error instead of panicking if SecTrustedApplicationSetData is unavailable at run time.

func TrySec_identity_access_certificates

func TrySec_identity_access_certificates(identity Sec_identity_t) (bool, error)

TrySec_identity_access_certificates is like Sec_identity_access_certificates but returns an error instead of panicking if sec_identity_access_certificates is unavailable at run time.

func TrySec_identity_copy_certificates_ref

func TrySec_identity_copy_certificates_ref(identity Sec_identity_t) (corefoundation.CFArrayRef, error)

TrySec_identity_copy_certificates_ref is like Sec_identity_copy_certificates_ref but returns an error instead of panicking if sec_identity_copy_certificates_ref is unavailable at run time.

func TrySec_protocol_metadata_access_distinguished_names

func TrySec_protocol_metadata_access_distinguished_names(metadata Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_access_distinguished_names is like Sec_protocol_metadata_access_distinguished_names but returns an error instead of panicking if sec_protocol_metadata_access_distinguished_names is unavailable at run time.

func TrySec_protocol_metadata_access_ocsp_response

func TrySec_protocol_metadata_access_ocsp_response(metadata Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_access_ocsp_response is like Sec_protocol_metadata_access_ocsp_response but returns an error instead of panicking if sec_protocol_metadata_access_ocsp_response is unavailable at run time.

func TrySec_protocol_metadata_access_peer_certificate_chain

func TrySec_protocol_metadata_access_peer_certificate_chain(metadata Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_access_peer_certificate_chain is like Sec_protocol_metadata_access_peer_certificate_chain but returns an error instead of panicking if sec_protocol_metadata_access_peer_certificate_chain is unavailable at run time.

func TrySec_protocol_metadata_access_pre_shared_keys

func TrySec_protocol_metadata_access_pre_shared_keys(metadata Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_access_pre_shared_keys is like Sec_protocol_metadata_access_pre_shared_keys but returns an error instead of panicking if sec_protocol_metadata_access_pre_shared_keys is unavailable at run time.

func TrySec_protocol_metadata_access_supported_signature_algorithms

func TrySec_protocol_metadata_access_supported_signature_algorithms(metadata Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_access_supported_signature_algorithms is like Sec_protocol_metadata_access_supported_signature_algorithms but returns an error instead of panicking if sec_protocol_metadata_access_supported_signature_algorithms is unavailable at run time.

func TrySec_protocol_metadata_challenge_parameters_are_equal

func TrySec_protocol_metadata_challenge_parameters_are_equal(metadataA Sec_protocol_metadata_t, metadataB Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_challenge_parameters_are_equal is like Sec_protocol_metadata_challenge_parameters_are_equal but returns an error instead of panicking if sec_protocol_metadata_challenge_parameters_are_equal is unavailable at run time.

func TrySec_protocol_metadata_copy_negotiated_protocol

func TrySec_protocol_metadata_copy_negotiated_protocol(metadata Sec_protocol_metadata_t) (*byte, error)

TrySec_protocol_metadata_copy_negotiated_protocol is like Sec_protocol_metadata_copy_negotiated_protocol but returns an error instead of panicking if sec_protocol_metadata_copy_negotiated_protocol is unavailable at run time.

func TrySec_protocol_metadata_copy_peer_public_key

func TrySec_protocol_metadata_copy_peer_public_key(metadata Sec_protocol_metadata_t) (dispatch.Data, error)

TrySec_protocol_metadata_copy_peer_public_key is like Sec_protocol_metadata_copy_peer_public_key but returns an error instead of panicking if sec_protocol_metadata_copy_peer_public_key is unavailable at run time.

func TrySec_protocol_metadata_copy_server_name

func TrySec_protocol_metadata_copy_server_name(metadata Sec_protocol_metadata_t) (*byte, error)

TrySec_protocol_metadata_copy_server_name is like Sec_protocol_metadata_copy_server_name but returns an error instead of panicking if sec_protocol_metadata_copy_server_name is unavailable at run time.

func TrySec_protocol_metadata_create_secret

func TrySec_protocol_metadata_create_secret(metadata Sec_protocol_metadata_t, label_len uintptr, label string, exporter_length uintptr) (dispatch.Data, error)

TrySec_protocol_metadata_create_secret is like Sec_protocol_metadata_create_secret but returns an error instead of panicking if sec_protocol_metadata_create_secret is unavailable at run time.

func TrySec_protocol_metadata_create_secret_with_context

func TrySec_protocol_metadata_create_secret_with_context(metadata Sec_protocol_metadata_t, label_len uintptr, label string, context_len uintptr, context []byte, exporter_length uintptr) (dispatch.Data, error)

TrySec_protocol_metadata_create_secret_with_context is like Sec_protocol_metadata_create_secret_with_context but returns an error instead of panicking if sec_protocol_metadata_create_secret_with_context is unavailable at run time.

func TrySec_protocol_metadata_get_early_data_accepted

func TrySec_protocol_metadata_get_early_data_accepted(metadata Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_get_early_data_accepted is like Sec_protocol_metadata_get_early_data_accepted but returns an error instead of panicking if sec_protocol_metadata_get_early_data_accepted is unavailable at run time.

func TrySec_protocol_metadata_get_negotiated_protocol

func TrySec_protocol_metadata_get_negotiated_protocol(metadata Sec_protocol_metadata_t) (*byte, error)

TrySec_protocol_metadata_get_negotiated_protocol is like Sec_protocol_metadata_get_negotiated_protocol but returns an error instead of panicking if sec_protocol_metadata_get_negotiated_protocol is unavailable at run time.

func TrySec_protocol_metadata_get_server_name

func TrySec_protocol_metadata_get_server_name(metadata Sec_protocol_metadata_t) (*byte, error)

TrySec_protocol_metadata_get_server_name is like Sec_protocol_metadata_get_server_name but returns an error instead of panicking if sec_protocol_metadata_get_server_name is unavailable at run time.

func TrySec_protocol_metadata_peers_are_equal

func TrySec_protocol_metadata_peers_are_equal(metadataA Sec_protocol_metadata_t, metadataB Sec_protocol_metadata_t) (bool, error)

TrySec_protocol_metadata_peers_are_equal is like Sec_protocol_metadata_peers_are_equal but returns an error instead of panicking if sec_protocol_metadata_peers_are_equal is unavailable at run time.

func TrySec_protocol_options_add_pre_shared_key

func TrySec_protocol_options_add_pre_shared_key(options Sec_protocol_options_t, psk dispatch.Data, psk_identity dispatch.Data) error

TrySec_protocol_options_add_pre_shared_key is like Sec_protocol_options_add_pre_shared_key but returns an error instead of panicking if sec_protocol_options_add_pre_shared_key is unavailable at run time.

func TrySec_protocol_options_add_tls_application_protocol

func TrySec_protocol_options_add_tls_application_protocol(options Sec_protocol_options_t, application_protocol string) error

TrySec_protocol_options_add_tls_application_protocol is like Sec_protocol_options_add_tls_application_protocol but returns an error instead of panicking if sec_protocol_options_add_tls_application_protocol is unavailable at run time.

func TrySec_protocol_options_add_tls_ciphersuite

func TrySec_protocol_options_add_tls_ciphersuite(options Sec_protocol_options_t, ciphersuite SSLCipherSuite) error

TrySec_protocol_options_add_tls_ciphersuite is like Sec_protocol_options_add_tls_ciphersuite but returns an error instead of panicking if sec_protocol_options_add_tls_ciphersuite is unavailable at run time.

func TrySec_protocol_options_add_tls_ciphersuite_group

func TrySec_protocol_options_add_tls_ciphersuite_group(options Sec_protocol_options_t, group SSLCiphersuiteGroup) error

TrySec_protocol_options_add_tls_ciphersuite_group is like Sec_protocol_options_add_tls_ciphersuite_group but returns an error instead of panicking if sec_protocol_options_add_tls_ciphersuite_group is unavailable at run time.

func TrySec_protocol_options_append_tls_ciphersuite

func TrySec_protocol_options_append_tls_ciphersuite(options Sec_protocol_options_t, ciphersuite Tls_ciphersuite_t) error

TrySec_protocol_options_append_tls_ciphersuite is like Sec_protocol_options_append_tls_ciphersuite but returns an error instead of panicking if sec_protocol_options_append_tls_ciphersuite is unavailable at run time.

func TrySec_protocol_options_append_tls_ciphersuite_group

func TrySec_protocol_options_append_tls_ciphersuite_group(options Sec_protocol_options_t, group Tls_ciphersuite_group_t) error

TrySec_protocol_options_append_tls_ciphersuite_group is like Sec_protocol_options_append_tls_ciphersuite_group but returns an error instead of panicking if sec_protocol_options_append_tls_ciphersuite_group is unavailable at run time.

func TrySec_protocol_options_are_equal

func TrySec_protocol_options_are_equal(optionsA Sec_protocol_options_t, optionsB Sec_protocol_options_t) (bool, error)

TrySec_protocol_options_are_equal is like Sec_protocol_options_are_equal but returns an error instead of panicking if sec_protocol_options_are_equal is unavailable at run time.

func TrySec_protocol_options_get_enable_encrypted_client_hello

func TrySec_protocol_options_get_enable_encrypted_client_hello(options Sec_protocol_options_t) (bool, error)

TrySec_protocol_options_get_enable_encrypted_client_hello is like Sec_protocol_options_get_enable_encrypted_client_hello but returns an error instead of panicking if sec_protocol_options_get_enable_encrypted_client_hello is unavailable at run time.

func TrySec_protocol_options_get_quic_use_legacy_codepoint

func TrySec_protocol_options_get_quic_use_legacy_codepoint(options Sec_protocol_options_t) (bool, error)

TrySec_protocol_options_get_quic_use_legacy_codepoint is like Sec_protocol_options_get_quic_use_legacy_codepoint but returns an error instead of panicking if sec_protocol_options_get_quic_use_legacy_codepoint is unavailable at run time.

func TrySec_protocol_options_set_challenge_block

func TrySec_protocol_options_set_challenge_block(options Sec_protocol_options_t, challenge_block Sec_protocol_challenge_t, challenge_queue dispatch.Queue) error

TrySec_protocol_options_set_challenge_block is like Sec_protocol_options_set_challenge_block but returns an error instead of panicking if sec_protocol_options_set_challenge_block is unavailable at run time.

func TrySec_protocol_options_set_enable_encrypted_client_hello

func TrySec_protocol_options_set_enable_encrypted_client_hello(options Sec_protocol_options_t, enable_encrypted_client_hello bool) error

TrySec_protocol_options_set_enable_encrypted_client_hello is like Sec_protocol_options_set_enable_encrypted_client_hello but returns an error instead of panicking if sec_protocol_options_set_enable_encrypted_client_hello is unavailable at run time.

func TrySec_protocol_options_set_key_update_block

func TrySec_protocol_options_set_key_update_block(options Sec_protocol_options_t, key_update_block Sec_protocol_key_update_t, key_update_queue dispatch.Queue) error

TrySec_protocol_options_set_key_update_block is like Sec_protocol_options_set_key_update_block but returns an error instead of panicking if sec_protocol_options_set_key_update_block is unavailable at run time.

func TrySec_protocol_options_set_local_identity

func TrySec_protocol_options_set_local_identity(options Sec_protocol_options_t, identity Sec_identity_t) error

TrySec_protocol_options_set_local_identity is like Sec_protocol_options_set_local_identity but returns an error instead of panicking if sec_protocol_options_set_local_identity is unavailable at run time.

func TrySec_protocol_options_set_max_tls_protocol_version

func TrySec_protocol_options_set_max_tls_protocol_version(options Sec_protocol_options_t, version Tls_protocol_version_t) error

TrySec_protocol_options_set_max_tls_protocol_version is like Sec_protocol_options_set_max_tls_protocol_version but returns an error instead of panicking if sec_protocol_options_set_max_tls_protocol_version is unavailable at run time.

func TrySec_protocol_options_set_min_tls_protocol_version

func TrySec_protocol_options_set_min_tls_protocol_version(options Sec_protocol_options_t, version Tls_protocol_version_t) error

TrySec_protocol_options_set_min_tls_protocol_version is like Sec_protocol_options_set_min_tls_protocol_version but returns an error instead of panicking if sec_protocol_options_set_min_tls_protocol_version is unavailable at run time.

func TrySec_protocol_options_set_peer_authentication_optional

func TrySec_protocol_options_set_peer_authentication_optional(options Sec_protocol_options_t, peer_authentication_optional bool) error

TrySec_protocol_options_set_peer_authentication_optional is like Sec_protocol_options_set_peer_authentication_optional but returns an error instead of panicking if sec_protocol_options_set_peer_authentication_optional is unavailable at run time.

func TrySec_protocol_options_set_peer_authentication_required

func TrySec_protocol_options_set_peer_authentication_required(options Sec_protocol_options_t, peer_authentication_required bool) error

TrySec_protocol_options_set_peer_authentication_required is like Sec_protocol_options_set_peer_authentication_required but returns an error instead of panicking if sec_protocol_options_set_peer_authentication_required is unavailable at run time.

func TrySec_protocol_options_set_pre_shared_key_selection_block

func TrySec_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) error

TrySec_protocol_options_set_pre_shared_key_selection_block is like Sec_protocol_options_set_pre_shared_key_selection_block but returns an error instead of panicking if sec_protocol_options_set_pre_shared_key_selection_block is unavailable at run time.

func TrySec_protocol_options_set_quic_use_legacy_codepoint

func TrySec_protocol_options_set_quic_use_legacy_codepoint(options Sec_protocol_options_t, quic_use_legacy_codepoint bool) error

TrySec_protocol_options_set_quic_use_legacy_codepoint is like Sec_protocol_options_set_quic_use_legacy_codepoint but returns an error instead of panicking if sec_protocol_options_set_quic_use_legacy_codepoint is unavailable at run time.

func TrySec_protocol_options_set_tls_diffie_hellman_parameters

func TrySec_protocol_options_set_tls_diffie_hellman_parameters(options Sec_protocol_options_t, params dispatch.Data) error

TrySec_protocol_options_set_tls_diffie_hellman_parameters is like Sec_protocol_options_set_tls_diffie_hellman_parameters but returns an error instead of panicking if sec_protocol_options_set_tls_diffie_hellman_parameters is unavailable at run time.

func TrySec_protocol_options_set_tls_false_start_enabled

func TrySec_protocol_options_set_tls_false_start_enabled(options Sec_protocol_options_t, false_start_enabled bool) error

TrySec_protocol_options_set_tls_false_start_enabled is like Sec_protocol_options_set_tls_false_start_enabled but returns an error instead of panicking if sec_protocol_options_set_tls_false_start_enabled is unavailable at run time.

func TrySec_protocol_options_set_tls_is_fallback_attempt

func TrySec_protocol_options_set_tls_is_fallback_attempt(options Sec_protocol_options_t, is_fallback_attempt bool) error

TrySec_protocol_options_set_tls_is_fallback_attempt is like Sec_protocol_options_set_tls_is_fallback_attempt but returns an error instead of panicking if sec_protocol_options_set_tls_is_fallback_attempt is unavailable at run time.

func TrySec_protocol_options_set_tls_max_version

func TrySec_protocol_options_set_tls_max_version(options Sec_protocol_options_t, version SSLProtocol) error

TrySec_protocol_options_set_tls_max_version is like Sec_protocol_options_set_tls_max_version but returns an error instead of panicking if sec_protocol_options_set_tls_max_version is unavailable at run time.

func TrySec_protocol_options_set_tls_min_version

func TrySec_protocol_options_set_tls_min_version(options Sec_protocol_options_t, version SSLProtocol) error

TrySec_protocol_options_set_tls_min_version is like Sec_protocol_options_set_tls_min_version but returns an error instead of panicking if sec_protocol_options_set_tls_min_version is unavailable at run time.

func TrySec_protocol_options_set_tls_ocsp_enabled

func TrySec_protocol_options_set_tls_ocsp_enabled(options Sec_protocol_options_t, ocsp_enabled bool) error

TrySec_protocol_options_set_tls_ocsp_enabled is like Sec_protocol_options_set_tls_ocsp_enabled but returns an error instead of panicking if sec_protocol_options_set_tls_ocsp_enabled is unavailable at run time.

func TrySec_protocol_options_set_tls_pre_shared_key_identity_hint

func TrySec_protocol_options_set_tls_pre_shared_key_identity_hint(options Sec_protocol_options_t, psk_identity_hint dispatch.Data) error

TrySec_protocol_options_set_tls_pre_shared_key_identity_hint is like Sec_protocol_options_set_tls_pre_shared_key_identity_hint but returns an error instead of panicking if sec_protocol_options_set_tls_pre_shared_key_identity_hint is unavailable at run time.

func TrySec_protocol_options_set_tls_renegotiation_enabled

func TrySec_protocol_options_set_tls_renegotiation_enabled(options Sec_protocol_options_t, renegotiation_enabled bool) error

TrySec_protocol_options_set_tls_renegotiation_enabled is like Sec_protocol_options_set_tls_renegotiation_enabled but returns an error instead of panicking if sec_protocol_options_set_tls_renegotiation_enabled is unavailable at run time.

func TrySec_protocol_options_set_tls_resumption_enabled

func TrySec_protocol_options_set_tls_resumption_enabled(options Sec_protocol_options_t, resumption_enabled bool) error

TrySec_protocol_options_set_tls_resumption_enabled is like Sec_protocol_options_set_tls_resumption_enabled but returns an error instead of panicking if sec_protocol_options_set_tls_resumption_enabled is unavailable at run time.

func TrySec_protocol_options_set_tls_sct_enabled

func TrySec_protocol_options_set_tls_sct_enabled(options Sec_protocol_options_t, sct_enabled bool) error

TrySec_protocol_options_set_tls_sct_enabled is like Sec_protocol_options_set_tls_sct_enabled but returns an error instead of panicking if sec_protocol_options_set_tls_sct_enabled is unavailable at run time.

func TrySec_protocol_options_set_tls_server_name

func TrySec_protocol_options_set_tls_server_name(options Sec_protocol_options_t, server_name string) error

TrySec_protocol_options_set_tls_server_name is like Sec_protocol_options_set_tls_server_name but returns an error instead of panicking if sec_protocol_options_set_tls_server_name is unavailable at run time.

func TrySec_protocol_options_set_tls_tickets_enabled

func TrySec_protocol_options_set_tls_tickets_enabled(options Sec_protocol_options_t, tickets_enabled bool) error

TrySec_protocol_options_set_tls_tickets_enabled is like Sec_protocol_options_set_tls_tickets_enabled but returns an error instead of panicking if sec_protocol_options_set_tls_tickets_enabled is unavailable at run time.

func TrySec_protocol_options_set_verify_block

func TrySec_protocol_options_set_verify_block(options Sec_protocol_options_t, verify_block Sec_protocol_verify_t, verify_block_queue dispatch.Queue) error

TrySec_protocol_options_set_verify_block is like Sec_protocol_options_set_verify_block but returns an error instead of panicking if sec_protocol_options_set_verify_block is unavailable at run time.

func TrySec_release

func TrySec_release(obj unsafe.Pointer) error

TrySec_release is like Sec_release but returns an error instead of panicking if sec_release is unavailable at run time.

func TrySec_retain

func TrySec_retain(obj unsafe.Pointer) (unsafe.Pointer, error)

TrySec_retain is like Sec_retain but returns an error instead of panicking if sec_retain is unavailable at run time.

func TrySecureDownloadCopyCreationDate

func TrySecureDownloadCopyCreationDate(downloadRef SecureDownloadRef, date *corefoundation.CFDateRef) (int32, error)

TrySecureDownloadCopyCreationDate is like SecureDownloadCopyCreationDate but returns an error instead of panicking if SecureDownloadCopyCreationDate is unavailable at run time.

func TrySecureDownloadCopyName

func TrySecureDownloadCopyName(downloadRef SecureDownloadRef, name *corefoundation.CFStringRef) (int32, error)

TrySecureDownloadCopyName is like SecureDownloadCopyName but returns an error instead of panicking if SecureDownloadCopyName is unavailable at run time.

func TrySecureDownloadCopyTicketLocation

func TrySecureDownloadCopyTicketLocation(url corefoundation.CFURLRef, ticketLocation *corefoundation.CFURLRef) (int32, error)

TrySecureDownloadCopyTicketLocation is like SecureDownloadCopyTicketLocation but returns an error instead of panicking if SecureDownloadCopyTicketLocation is unavailable at run time.

func TrySecureDownloadCopyURLs

func TrySecureDownloadCopyURLs(downloadRef SecureDownloadRef, urls *corefoundation.CFArrayRef) (int32, error)

TrySecureDownloadCopyURLs is like SecureDownloadCopyURLs but returns an error instead of panicking if SecureDownloadCopyURLs is unavailable at run time.

func TrySecureDownloadCreateWithTicket

func TrySecureDownloadCreateWithTicket(ticket corefoundation.CFDataRef, setup unsafe.Pointer, setupContext unsafe.Pointer, evaluate unsafe.Pointer, evaluateContext unsafe.Pointer, downloadRef *SecureDownloadRef) (int32, error)

TrySecureDownloadCreateWithTicket is like SecureDownloadCreateWithTicket but returns an error instead of panicking if SecureDownloadCreateWithTicket is unavailable at run time.

func TrySecureDownloadFinished

func TrySecureDownloadFinished(downloadRef SecureDownloadRef) (int32, error)

TrySecureDownloadFinished is like SecureDownloadFinished but returns an error instead of panicking if SecureDownloadFinished is unavailable at run time.

func TrySecureDownloadGetDownloadSize

func TrySecureDownloadGetDownloadSize(downloadRef SecureDownloadRef, downloadSize *int64) (int32, error)

TrySecureDownloadGetDownloadSize is like SecureDownloadGetDownloadSize but returns an error instead of panicking if SecureDownloadGetDownloadSize is unavailable at run time.

func TrySecureDownloadRelease

func TrySecureDownloadRelease(downloadRef SecureDownloadRef) (int32, error)

TrySecureDownloadRelease is like SecureDownloadRelease but returns an error instead of panicking if SecureDownloadRelease is unavailable at run time.

func TrySecureDownloadUpdateWithData

func TrySecureDownloadUpdateWithData(downloadRef SecureDownloadRef, data corefoundation.CFDataRef) (int32, error)

TrySecureDownloadUpdateWithData is like SecureDownloadUpdateWithData but returns an error instead of panicking if SecureDownloadUpdateWithData is unavailable at run time.

func TrySessionCreate

func TrySessionCreate(flags SessionCreationFlags, attributes SessionAttributeBits) (int32, error)

TrySessionCreate is like SessionCreate but returns an error instead of panicking if SessionCreate is unavailable at run time.

func TrySessionGetInfo

func TrySessionGetInfo(session SecuritySessionId, sessionId *SecuritySessionId, attributes *SessionAttributeBits) (int32, error)

TrySessionGetInfo is like SessionGetInfo but returns an error instead of panicking if SessionGetInfo is unavailable at run time.

Types

type AuthorizationAsyncCallback

type AuthorizationAsyncCallback = func(err int32, blockAuthorizedRights *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 {
	Version uint32 // The engine callback version.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, enum AuthorizationResult)
	SetResult uintptr // Returns the result of an authorization operation.
	// C: int (*)(struct __OpaqueAuthorizationEngine *)
	RequestInterrupt uintptr // Requests the authorization engine to interrupt the currently active authorization mechanism.
	// C: int (*)(struct __OpaqueAuthorizationEngine *)
	DidDeactivate uintptr // Reports the successful deactivation of an authorization mechanism.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const char *, enum AuthorizationContextFlags *, const struct AuthorizationValue **)
	GetContextValue uintptr // Reads a value collected during authorization.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const char *, enum AuthorizationContextFlags, const struct AuthorizationValue *)
	SetContextValue uintptr // Stores data collected during authorization as a key-value pair.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const char *, const struct AuthorizationValue **)
	GetHintValue uintptr // Reads a value stored by the plug-in authorization mechanism.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const char *, const struct AuthorizationValue *)
	SetHintValue uintptr // Stores data needed during authorization as a key-value pair.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const struct AuthorizationValueVector **)
	GetArguments uintptr // Reads the arguments for this authorization mechanism from the authorization policy database.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, void **)
	GetSessionId uintptr // Reads the session ID.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const char *, const struct AuthorizationValue **)
	GetImmutableHintValue uintptr // Reads an immutable value stored by the plug-in authorization mechanism.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const void **)
	GetLAContext uintptr // Constructs a local authentication context.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const void *, const struct __CFArray **)
	GetTokenIdentities uintptr // Returns an array of identities available on tokens.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const void **)
	GetTKTokenWatcher uintptr // Constructs a token watcher.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const char *)
	RemoveHintValue uintptr // Removes a value stored by the plug-in authorization mechanism.
	// C: int (*)(struct __OpaqueAuthorizationEngine *, const char *)
	RemoveContextValue uintptr // Removes a value collected during authorization.

}

AuthorizationCallbacks - The interface implemented by the Security Server.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/AuthorizationCallbacks

type AuthorizationContextFlags

type AuthorizationContextFlags uint32

See: https://developer.apple.com/documentation/Security/AuthorizationContextFlags

const (
	// KAuthorizationContextFlagExtractable: It is possible for the authorization client to use the AuthorizationCopyInfo(_:_:_:) function to obtain the value.
	KAuthorizationContextFlagExtractable AuthorizationContextFlags = 1
	// KAuthorizationContextFlagSticky: This data persists through an interrupted or failed evaluation.
	KAuthorizationContextFlagSticky AuthorizationContextFlags = 4
	// KAuthorizationContextFlagVolatile: The value is not saved for the authorization client.
	KAuthorizationContextFlagVolatile AuthorizationContextFlags = 2
)

func (AuthorizationContextFlags) String added in v0.5.1

func (e AuthorizationContextFlags) String() string

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 [32]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 uint32

See: https://developer.apple.com/documentation/Security/AuthorizationFlags

const (
	// KAuthorizationFlagDefaults: An empty flag set that you use as a placeholder when you don’t want any of the other flags.
	KAuthorizationFlagDefaults AuthorizationFlags = 0
	// 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

type AuthorizationMechanismId = unsafe.Pointer

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 = unsafe.Pointer

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

type AuthorizationPluginId = unsafe.Pointer

AuthorizationPluginId is an unused identifier for a plug-in.

See: https://developer.apple.com/documentation/Security/AuthorizationPluginId

type AuthorizationPluginInterface

type AuthorizationPluginInterface struct {
	Version uint32 // The plug-in interface version.
	// C: int (*)(void *)
	PluginDestroy uintptr // Notifies the plug-in that it is about to be unloaded.
	// C: int (*)(void *, struct __OpaqueAuthorizationEngine *, const char *, void **)
	MechanismCreate uintptr // Creates an authorization mechanism.
	// C: int (*)(void *)
	MechanismInvoke uintptr // Invokes an authorization mechanism to perform an authorization operation.
	// C: int (*)(void *)
	MechanismDeactivate uintptr // Deactivates an authorization mechanism.
	// C: int (*)(void *)
	MechanismDestroy uintptr // Destroys an authorization mechanism.

}

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 = unsafe.Pointer

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 uint32

See: https://developer.apple.com/documentation/Security/AuthorizationResult

const (
	// KAuthorizationResultAllow: The authorization operation succeeded and authorization should be granted.
	KAuthorizationResultAllow AuthorizationResult = 0
	// KAuthorizationResultDeny: The authorization operation succeeded and authorization should be denied.
	KAuthorizationResultDeny AuthorizationResult = 1
	// KAuthorizationResultUndefined: The authorization operation failed and should not be retried for this session.
	KAuthorizationResultUndefined AuthorizationResult = 2
	// KAuthorizationResultUserCanceled: The user has requested that the authorization evaluation be terminated.
	KAuthorizationResultUserCanceled AuthorizationResult = 3
)

func (AuthorizationResult) String added in v0.5.1

func (e AuthorizationResult) String() string

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

type AuthorizationSessionId = unsafe.Pointer

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

type AuthorizationValue struct {
	Length uintptr
	Data   unsafe.Pointer
}

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_AccessDescription added in v0.5.1

type CE_AccessDescription struct {
	AccessMethod   [2]uint64
	AccessLocation CE_GeneralName
}

CE_AccessDescription

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_AccessDescription

type CE_AuthorityInfoAccess added in v0.5.1

type CE_AuthorityInfoAccess struct {
	NumAccessDescriptions uint32
	AccessDescriptions    *CE_AccessDescription
}

CE_AuthorityInfoAccess

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_AuthorityInfoAccess

type CE_AuthorityKeyID added in v0.5.1

type CE_AuthorityKeyID struct {
	KeyIdentifierPresent CSSM_BOOL
	KeyIdentifier        SecAsn1Item
	GeneralNamesPresent  CSSM_BOOL
	GeneralNames         *CE_GeneralNames
	SerialNumberPresent  CSSM_BOOL
	SerialNumber         SecAsn1Item
}

CE_AuthorityKeyID

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_AuthorityKeyID

type CE_BasicConstraints added in v0.5.1

type CE_BasicConstraints struct {
	CA                       CSSM_BOOL
	PathLenConstraintPresent CSSM_BOOL
	PathLenConstraint        uint32
}

CE_BasicConstraints

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_BasicConstraints

type CE_CRLDistPointsSyntax added in v0.5.1

type CE_CRLDistPointsSyntax struct {
	NumDistPoints uint32
	DistPoints    *CE_CRLDistributionPoint
}

CE_CRLDistPointsSyntax

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_CRLDistPointsSyntax

type CE_CRLDistributionPoint added in v0.5.1

type CE_CRLDistributionPoint struct {
	DistPointName  *CE_DistributionPointName
	ReasonsPresent CSSM_BOOL
	Reasons        CE_CrlDistReasonFlags
	CrlIssuer      *CE_GeneralNames
}

CE_CRLDistributionPoint

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_CRLDistributionPoint

type CE_CertPolicies added in v0.5.1

type CE_CertPolicies struct {
	NumPolicies uint32
	Policies    *CE_PolicyInformation
}

CE_CertPolicies

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_CertPolicies

type CE_CrlDistReasonFlags deprecated

type CE_CrlDistReasonFlags = uint8

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CE_CrlDistReasonFlags

type CE_CrlDistributionPointNameType

type CE_CrlDistributionPointNameType uint32

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

type CE_CrlReason deprecated added in v0.5.1

type CE_CrlReason = uint32

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CE_CrlReason

type CE_Data added in v0.5.1

type CE_Data [8]uint64

CE_Data is a C union type.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_Data

func (*CE_Data) AuthorityInfoAccess added in v0.5.1

func (u *CE_Data) AuthorityInfoAccess() *CE_AuthorityInfoAccess

AuthorityInfoAccess returns the union interpreted as *CE_AuthorityInfoAccess. The returned pointer aliases the receiver's memory.

func (*CE_Data) AuthorityKeyID added in v0.5.1

func (u *CE_Data) AuthorityKeyID() *CE_AuthorityKeyID

AuthorityKeyID returns the union interpreted as *CE_AuthorityKeyID. The returned pointer aliases the receiver's memory.

func (*CE_Data) BasicConstraints added in v0.5.1

func (u *CE_Data) BasicConstraints() *CE_BasicConstraints

BasicConstraints returns the union interpreted as *CE_BasicConstraints. The returned pointer aliases the receiver's memory.

func (*CE_Data) CertPolicies added in v0.5.1

func (u *CE_Data) CertPolicies() *CE_CertPolicies

CertPolicies returns the union interpreted as *CE_CertPolicies. The returned pointer aliases the receiver's memory.

func (*CE_Data) CrlDistPoints added in v0.5.1

func (u *CE_Data) CrlDistPoints() *CE_CRLDistPointsSyntax

CrlDistPoints returns the union interpreted as *CE_CRLDistPointsSyntax. The returned pointer aliases the receiver's memory.

func (*CE_Data) CrlNumber added in v0.5.1

func (u *CE_Data) CrlNumber() *CE_CrlNumber

CrlNumber returns the union interpreted as *CE_CrlNumber. The returned pointer aliases the receiver's memory.

func (*CE_Data) CrlReason added in v0.5.1

func (u *CE_Data) CrlReason() *CE_CrlReason

CrlReason returns the union interpreted as *CE_CrlReason. The returned pointer aliases the receiver's memory.

func (*CE_Data) DeltaCrl added in v0.5.1

func (u *CE_Data) DeltaCrl() *CE_DeltaCrl

DeltaCrl returns the union interpreted as *CE_DeltaCrl. The returned pointer aliases the receiver's memory.

func (*CE_Data) ExtendedKeyUsage added in v0.5.1

func (u *CE_Data) ExtendedKeyUsage() *CE_ExtendedKeyUsage

ExtendedKeyUsage returns the union interpreted as *CE_ExtendedKeyUsage. The returned pointer aliases the receiver's memory.

func (*CE_Data) InhibitAnyPolicy added in v0.5.1

func (u *CE_Data) InhibitAnyPolicy() *CE_InhibitAnyPolicy

InhibitAnyPolicy returns the union interpreted as *CE_InhibitAnyPolicy. The returned pointer aliases the receiver's memory.

func (*CE_Data) IssuerAltName added in v0.5.1

func (u *CE_Data) IssuerAltName() *CE_GeneralNames

IssuerAltName returns the union interpreted as *CE_GeneralNames. The returned pointer aliases the receiver's memory.

func (*CE_Data) IssuingDistPoint added in v0.5.1

func (u *CE_Data) IssuingDistPoint() *CE_IssuingDistributionPoint

IssuingDistPoint returns the union interpreted as *CE_IssuingDistributionPoint. The returned pointer aliases the receiver's memory.

func (*CE_Data) KeyUsage added in v0.5.1

func (u *CE_Data) KeyUsage() *CE_KeyUsage

KeyUsage returns the union interpreted as *CE_KeyUsage. The returned pointer aliases the receiver's memory.

func (*CE_Data) NameConstraints added in v0.5.1

func (u *CE_Data) NameConstraints() *CE_NameConstraints

NameConstraints returns the union interpreted as *CE_NameConstraints. The returned pointer aliases the receiver's memory.

func (*CE_Data) NetscapeCertType added in v0.5.1

func (u *CE_Data) NetscapeCertType() *CE_NetscapeCertType

NetscapeCertType returns the union interpreted as *CE_NetscapeCertType. The returned pointer aliases the receiver's memory.

func (*CE_Data) PolicyConstraints added in v0.5.1

func (u *CE_Data) PolicyConstraints() *CE_PolicyConstraints

PolicyConstraints returns the union interpreted as *CE_PolicyConstraints. The returned pointer aliases the receiver's memory.

func (*CE_Data) PolicyMappings added in v0.5.1

func (u *CE_Data) PolicyMappings() *CE_PolicyMappings

PolicyMappings returns the union interpreted as *CE_PolicyMappings. The returned pointer aliases the receiver's memory.

func (*CE_Data) QualifiedCertStatements added in v0.5.1

func (u *CE_Data) QualifiedCertStatements() *CE_QC_Statements

QualifiedCertStatements returns the union interpreted as *CE_QC_Statements. The returned pointer aliases the receiver's memory.

func (*CE_Data) RawData added in v0.5.1

func (u *CE_Data) RawData() *SecAsn1Item

RawData returns the union interpreted as *SecAsn1Item. The returned pointer aliases the receiver's memory.

func (*CE_Data) SubjectAltName added in v0.5.1

func (u *CE_Data) SubjectAltName() *CE_GeneralNames

SubjectAltName returns the union interpreted as *CE_GeneralNames. The returned pointer aliases the receiver's memory.

func (*CE_Data) SubjectKeyID added in v0.5.1

func (u *CE_Data) SubjectKeyID() *Cssm_data

SubjectKeyID returns the union interpreted as *Cssm_data. The returned pointer aliases the receiver's memory.

type CE_DataAndType added in v0.5.1

type CE_DataAndType struct {
	Type      CE_DataType
	Extension CE_Data
	Critical  CSSM_BOOL
}

CE_DataAndType

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_DataAndType

type CE_DataType

type CE_DataType uint32

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_DistributionPointName added in v0.5.1

type CE_DistributionPointName struct {
	NameType CE_CrlDistributionPointNameType
	Dpn      [1]uint64
}

CE_DistributionPointName

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_DistributionPointName

type CE_ExtendedKeyUsage

type CE_ExtendedKeyUsage struct {
	NumPurposes uint32
	Purposes    CSSM_OID_PTR
}

CE_ExtendedKeyUsage

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_ExtendedKeyUsage-c.struct

type CE_GeneralName added in v0.5.1

type CE_GeneralName struct {
	NameType   CE_GeneralNameType
	BerEncoded CSSM_BOOL
	Name       SecAsn1Item
}

CE_GeneralName

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_GeneralName

type CE_GeneralNameType

type CE_GeneralNameType int

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 CE_GeneralNames added in v0.5.1

type CE_GeneralNames struct {
	NumNames    uint32
	GeneralName *CE_GeneralName
}

CE_GeneralNames

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_GeneralNames

type CE_GeneralSubtree added in v0.5.1

type CE_GeneralSubtree struct {
	Base           *CE_GeneralNames
	Minimum        uint32
	MaximumPresent CSSM_BOOL
	Maximum        uint32
}

CE_GeneralSubtree

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_GeneralSubtree

type CE_GeneralSubtrees added in v0.5.1

type CE_GeneralSubtrees struct {
	NumSubtrees uint32
	Subtrees    *CE_GeneralSubtree
}

CE_GeneralSubtrees

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_GeneralSubtrees

type CE_InhibitAnyPolicy deprecated added in v0.5.1

type CE_InhibitAnyPolicy = uint32

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CE_InhibitAnyPolicy

type CE_IssuingDistributionPoint added in v0.5.1

type CE_IssuingDistributionPoint struct {
	DistPointName          *CE_DistributionPointName
	OnlyUserCertsPresent   CSSM_BOOL
	OnlyUserCerts          CSSM_BOOL
	OnlyCACertsPresent     CSSM_BOOL
	OnlyCACerts            CSSM_BOOL
	OnlySomeReasonsPresent CSSM_BOOL
	OnlySomeReasons        CE_CrlDistReasonFlags
	IndirectCrlPresent     CSSM_BOOL
	IndirectCrl            CSSM_BOOL
}

CE_IssuingDistributionPoint

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_IssuingDistributionPoint

type CE_KeyUsage deprecated added in v0.5.1

type CE_KeyUsage = uint16

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CE_KeyUsage

type CE_NameConstraints added in v0.5.1

type CE_NameConstraints struct {
	Permitted *CE_GeneralSubtrees
	Excluded  *CE_GeneralSubtrees
}

CE_NameConstraints

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_NameConstraints

type CE_NameRegistrationAuthorities deprecated

type CE_NameRegistrationAuthorities = CE_GeneralNames

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CE_NameRegistrationAuthorities

type CE_NetscapeCertType deprecated added in v0.5.1

type CE_NetscapeCertType = uint16

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CE_NetscapeCertType

type CE_OtherName added in v0.5.1

type CE_OtherName struct {
	TypeId [2]uint64
	Value  SecAsn1Item
}

CE_OtherName

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_OtherName

type CE_PolicyConstraints added in v0.5.1

type CE_PolicyConstraints struct {
	RequireExplicitPolicyPresent CSSM_BOOL
	RequireExplicitPolicy        uint32
	InhibitPolicyMappingPresent  CSSM_BOOL
	InhibitPolicyMapping         uint32
}

CE_PolicyConstraints

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_PolicyConstraints

type CE_PolicyInformation added in v0.5.1

type CE_PolicyInformation struct {
	CertPolicyId        [2]uint64
	NumPolicyQualifiers uint32
	PolicyQualifiers    *CE_PolicyQualifierInfo
}

CE_PolicyInformation

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_PolicyInformation

type CE_PolicyMapping added in v0.5.1

type CE_PolicyMapping struct {
	IssuerDomainPolicy  [2]uint64
	SubjectDomainPolicy [2]uint64
}

CE_PolicyMapping

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_PolicyMapping

type CE_PolicyMappings added in v0.5.1

type CE_PolicyMappings struct {
	NumPolicyMappings uint32
	PolicyMappings    *CE_PolicyMapping
}

CE_PolicyMappings

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_PolicyMappings

type CE_PolicyQualifierInfo added in v0.5.1

type CE_PolicyQualifierInfo struct {
	PolicyQualifierId [2]uint64
	Qualifier         SecAsn1Item
}

CE_PolicyQualifierInfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_PolicyQualifierInfo

type CE_QC_Statement added in v0.5.1

type CE_QC_Statement struct {
	StatementId   [2]uint64
	SemanticsInfo *CE_SemanticsInformation
	OtherInfo     unsafe.Pointer
}

CE_QC_Statement

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_QC_Statement

type CE_QC_Statements added in v0.5.1

type CE_QC_Statements struct {
	NumQCStatements uint32
	QcStatements    *CE_QC_Statement
}

CE_QC_Statements

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_QC_Statements

type CE_SemanticsInformation added in v0.5.1

type CE_SemanticsInformation struct {
	SemanticsIdentifier         unsafe.Pointer
	NameRegistrationAuthorities unsafe.Pointer
}

CE_SemanticsInformation

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CE_SemanticsInformation

type CE_SubjectKeyID deprecated added in v0.5.1

type CE_SubjectKeyID = Cssm_data

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CE_SubjectKeyID

type CMSCertificateChainMode

type CMSCertificateChainMode uint32

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
	KCMSCertificateChainWithRootOrFail CMSCertificateChainMode = 4
	// 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 uint32

See: https://developer.apple.com/documentation/Security/CMSSignedAttributes

const (
	// KCMSAttrAppleCodesigningHashAgility: Include Apple codesigning hash agility.
	KCMSAttrAppleCodesigningHashAgility CMSSignedAttributes = 0x10
	// KCMSAttrAppleCodesigningHashAgilityV2: Include Apple codesigning hash agility, version 2.
	KCMSAttrAppleCodesigningHashAgilityV2 CMSSignedAttributes = 0x20
	// KCMSAttrAppleExpirationTime: Include the expiration time.
	KCMSAttrAppleExpirationTime CMSSignedAttributes = 0x40
	// KCMSAttrNone: No attributes.
	KCMSAttrNone CMSSignedAttributes = 0
	// KCMSAttrSigningTime: Include the signing time.
	KCMSAttrSigningTime CMSSignedAttributes = 0x8
	// KCMSAttrSmimeCapabilities: Identify signature, encryption, and digest algorithms supported by the encoder.
	KCMSAttrSmimeCapabilities CMSSignedAttributes = 0x1
	// KCMSAttrSmimeEncryptionKeyPrefs: Indicate that the signing certificate included with the message is the preferred one for S/MIME encryption.
	KCMSAttrSmimeEncryptionKeyPrefs CMSSignedAttributes = 0x2
	// 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 = 0x4
)

func (CMSSignedAttributes) String

func (e CMSSignedAttributes) String() string

type CMSSignerStatus

type CMSSignerStatus uint32

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 (`signerIndex` parameter) is greater than the number of signers of the message minus one (`signerIndex > (numSigners – 1)`).
	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_ACCESS_CREDENTIALS deprecated

type CSSM_ACCESS_CREDENTIALS = Cssm_access_credentials

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACCESS_CREDENTIALS-c.typealias

type CSSM_ACCESS_CREDENTIALS_PTR deprecated

type CSSM_ACCESS_CREDENTIALS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACCESS_CREDENTIALS_PTR

type CSSM_ACL_EDIT deprecated

type CSSM_ACL_EDIT = Cssm_acl_edit

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_EDIT-c.typealias

type CSSM_ACL_EDIT_PTR deprecated

type CSSM_ACL_EDIT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_EDIT_PTR

type CSSM_ACL_ENTRY_INFO deprecated

type CSSM_ACL_ENTRY_INFO = Cssm_acl_entry_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_ENTRY_INFO-c.typealias

type CSSM_ACL_ENTRY_INFO_PTR deprecated

type CSSM_ACL_ENTRY_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_ENTRY_INFO_PTR

type CSSM_ACL_ENTRY_INPUT deprecated

type CSSM_ACL_ENTRY_INPUT = Cssm_acl_entry_input

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_ENTRY_INPUT-c.typealias

type CSSM_ACL_ENTRY_INPUT_PTR deprecated

type CSSM_ACL_ENTRY_INPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_ENTRY_INPUT_PTR

type CSSM_ACL_ENTRY_PROTOTYPE deprecated

type CSSM_ACL_ENTRY_PROTOTYPE = Cssm_acl_entry_prototype

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_ENTRY_PROTOTYPE-c.typealias

type CSSM_ACL_ENTRY_PROTOTYPE_PTR deprecated

type CSSM_ACL_ENTRY_PROTOTYPE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_ENTRY_PROTOTYPE_PTR

type CSSM_ACL_OWNER_PROTOTYPE deprecated

type CSSM_ACL_OWNER_PROTOTYPE = Cssm_acl_owner_prototype

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_OWNER_PROTOTYPE-c.typealias

type CSSM_ACL_OWNER_PROTOTYPE_PTR deprecated

type CSSM_ACL_OWNER_PROTOTYPE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_OWNER_PROTOTYPE_PTR

type CSSM_ACL_SUBJECT_CALLBACK deprecated

type CSSM_ACL_SUBJECT_CALLBACK = func(CSSM_LIST_PTR, CSSM_LIST_PTR, unsafe.Pointer, CSSM_MEMORY_FUNCS_PTR) int32

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_SUBJECT_CALLBACK

type CSSM_ACL_VALIDITY_PERIOD deprecated

type CSSM_ACL_VALIDITY_PERIOD = Cssm_acl_validity_period

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_VALIDITY_PERIOD-c.typealias

type CSSM_ACL_VALIDITY_PERIOD_PTR deprecated

type CSSM_ACL_VALIDITY_PERIOD_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ACL_VALIDITY_PERIOD_PTR

type CSSM_API_MEMORY_FUNCS deprecated

type CSSM_API_MEMORY_FUNCS [5]uint64

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_API_MEMORY_FUNCS CSSM_API_MEMORY_FUNCS is opaque storage with the size and alignment C gives CSSM_API_MEMORY_FUNCS: 40 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 40 into.

type CSSM_API_MEMORY_FUNCS_PTR deprecated

type CSSM_API_MEMORY_FUNCS_PTR = unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_API_MEMORY_FUNCS_PTR

type CSSM_API_ModuleEventHandler deprecated

type CSSM_API_ModuleEventHandler = func(CSSM_GUID_PTR, unsafe.Pointer, uint32, uint32, uint32) int32

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_API_ModuleEventHandler

type CSSM_APPLE_CL_CSR_REQUEST

type CSSM_APPLE_CL_CSR_REQUEST struct {
	SubjectNameX509   unsafe.Pointer
	SignatureAlg      CSSM_ALGORITHMS
	SignatureOid      [2]uint64
	CspHand           CSSM_CSP_HANDLE
	SubjectPublicKey  unsafe.Pointer
	SubjectPrivateKey unsafe.Pointer
	ChallengeString   *byte
}

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_CERT_REQUEST

type CSSM_APPLE_TP_CERT_REQUEST struct {
	CspHand          CSSM_CSP_HANDLE
	ClHand           CSSM_CL_HANDLE
	SerialNumber     uint32
	NumSubjectNames  uint32
	SubjectNames     *CSSM_APPLE_TP_NAME_OID
	NumIssuerNames   uint32
	IssuerNames      *CSSM_APPLE_TP_NAME_OID
	IssuerNameX509   unsafe.Pointer
	CertPublicKey    unsafe.Pointer
	IssuerPrivateKey unsafe.Pointer
	SignatureAlg     CSSM_ALGORITHMS
	SignatureOid     [2]uint64
	NotBefore        uint32
	NotAfter         uint32
	NumExtensions    uint32
	Extensions       *CE_DataAndType
	ChallengeString  *byte
}

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_NAME_OID

type CSSM_APPLE_TP_NAME_OID struct {
	String *byte
	Oid    unsafe.Pointer
}

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  CE_KeyUsage
	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
	ServerName    *byte
	Flags         uint32
}

CSSM_APPLE_TP_SSL_OPTIONS

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_APPLE_TP_SSL_OPTIONS

type CSSM_AUTHORIZATIONGROUP deprecated

type CSSM_AUTHORIZATIONGROUP = Cssm_authorizationgroup

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_AUTHORIZATIONGROUP-c.typealias

type CSSM_AUTHORIZATIONGROUP_PTR deprecated

type CSSM_AUTHORIZATIONGROUP_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_AUTHORIZATIONGROUP_PTR

type CSSM_BASE_CERTS deprecated

type CSSM_BASE_CERTS = Cssm_base_certs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_BASE_CERTS-c.typealias

type CSSM_BASE_CERTS_PTR deprecated

type CSSM_BASE_CERTS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_BASE_CERTS_PTR

type CSSM_CALLBACK deprecated

type CSSM_CALLBACK = func(uintptr, unsafe.Pointer) int32

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CALLBACK

type CSSM_CERTGROUP deprecated

type CSSM_CERTGROUP = Cssm_certgroup

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERTGROUP-c.typealias

type CSSM_CERTGROUP_PTR deprecated

type CSSM_CERTGROUP_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERTGROUP_PTR

type CSSM_CERT_BUNDLE deprecated

type CSSM_CERT_BUNDLE = Cssm_cert_bundle

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERT_BUNDLE-c.typealias

type CSSM_CERT_BUNDLE_HEADER deprecated

type CSSM_CERT_BUNDLE_HEADER = Cssm_cert_bundle_header

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERT_BUNDLE_HEADER-c.typealias

type CSSM_CERT_BUNDLE_HEADER_PTR deprecated

type CSSM_CERT_BUNDLE_HEADER_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERT_BUNDLE_HEADER_PTR

type CSSM_CERT_BUNDLE_PTR deprecated

type CSSM_CERT_BUNDLE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERT_BUNDLE_PTR

type CSSM_CERT_PAIR deprecated

type CSSM_CERT_PAIR = Cssm_cert_pair

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERT_PAIR-c.typealias

type CSSM_CERT_PAIR_PTR deprecated

type CSSM_CERT_PAIR_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CERT_PAIR_PTR

type CSSM_CONTEXT deprecated

type CSSM_CONTEXT = Cssm_context

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CONTEXT-c.typealias

type CSSM_CONTEXT_ATTRIBUTE deprecated

type CSSM_CONTEXT_ATTRIBUTE = Cssm_context_attribute

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CONTEXT_ATTRIBUTE-c.typealias

type CSSM_CONTEXT_ATTRIBUTE_PTR deprecated

type CSSM_CONTEXT_ATTRIBUTE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CONTEXT_ATTRIBUTE_PTR

type CSSM_CONTEXT_PTR deprecated

type CSSM_CONTEXT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CONTEXT_PTR

type CSSM_CRLGROUP deprecated

type CSSM_CRLGROUP = Cssm_crlgroup

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CRLGROUP-c.typealias

type CSSM_CRLGROUP_PTR deprecated

type CSSM_CRLGROUP_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CRLGROUP_PTR

type CSSM_CRL_PAIR deprecated

type CSSM_CRL_PAIR = Cssm_crl_pair

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CRL_PAIR-c.typealias

type CSSM_CRL_PAIR_PTR deprecated

type CSSM_CRL_PAIR_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CRL_PAIR_PTR

type CSSM_CRYPTO_DATA deprecated

type CSSM_CRYPTO_DATA = Cssm_crypto_data

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CRYPTO_DATA-c.typealias

type CSSM_CRYPTO_DATA_PTR deprecated

type CSSM_CRYPTO_DATA_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CRYPTO_DATA_PTR

type CSSM_CSP_OPERATIONAL_STATISTICS deprecated

type CSSM_CSP_OPERATIONAL_STATISTICS = Cssm_csp_operational_statistics

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CSP_OPERATIONAL_STATISTICS-c.typealias

type CSSM_CSP_OPERATIONAL_STATISTICS_PTR deprecated

type CSSM_CSP_OPERATIONAL_STATISTICS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_CSP_OPERATIONAL_STATISTICS_PTR

type CSSM_DATA_PTR deprecated

type CSSM_DATA_PTR = unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DATA_PTR

type CSSM_DATE deprecated

type CSSM_DATE = Cssm_date

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DATE-c.typealias

type CSSM_DATE_PTR deprecated

type CSSM_DATE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DATE_PTR

type CSSM_DBINFO deprecated

type CSSM_DBINFO = Cssm_dbinfo

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DBINFO-c.typealias

type CSSM_DBINFO_PTR deprecated

type CSSM_DBINFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DBINFO_PTR

type CSSM_DB_ATTRIBUTE_DATA deprecated

type CSSM_DB_ATTRIBUTE_DATA = Cssm_db_attribute_data

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_DATA-c.typealias

type CSSM_DB_ATTRIBUTE_DATA_PTR deprecated

type CSSM_DB_ATTRIBUTE_DATA_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_DATA_PTR

type CSSM_DB_ATTRIBUTE_INFO deprecated

type CSSM_DB_ATTRIBUTE_INFO = Cssm_db_attribute_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_INFO-c.typealias

type CSSM_DB_ATTRIBUTE_INFO_PTR deprecated

type CSSM_DB_ATTRIBUTE_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_ATTRIBUTE_INFO_PTR

type CSSM_DB_INDEX_INFO deprecated

type CSSM_DB_INDEX_INFO = Cssm_db_index_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_INDEX_INFO-c.typealias

type CSSM_DB_INDEX_INFO_PTR deprecated

type CSSM_DB_INDEX_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_INDEX_INFO_PTR

type CSSM_DB_PARSING_MODULE_INFO deprecated

type CSSM_DB_PARSING_MODULE_INFO = Cssm_db_parsing_module_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_PARSING_MODULE_INFO-c.typealias

type CSSM_DB_PARSING_MODULE_INFO_PTR deprecated

type CSSM_DB_PARSING_MODULE_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_PARSING_MODULE_INFO_PTR

type CSSM_DB_RECORD_ATTRIBUTE_DATA deprecated

type CSSM_DB_RECORD_ATTRIBUTE_DATA = Cssm_db_record_attribute_data

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_RECORD_ATTRIBUTE_DATA-c.typealias

type CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR deprecated

type CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR

type CSSM_DB_RECORD_ATTRIBUTE_INFO deprecated

type CSSM_DB_RECORD_ATTRIBUTE_INFO = Cssm_db_record_attribute_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_RECORD_ATTRIBUTE_INFO-c.typealias

type CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR deprecated

type CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR

type CSSM_DB_RECORD_INDEX_INFO deprecated

type CSSM_DB_RECORD_INDEX_INFO = Cssm_db_record_index_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_RECORD_INDEX_INFO-c.typealias

type CSSM_DB_RECORD_INDEX_INFO_PTR deprecated

type CSSM_DB_RECORD_INDEX_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_RECORD_INDEX_INFO_PTR

type CSSM_DB_SCHEMA_ATTRIBUTE_INFO deprecated

type CSSM_DB_SCHEMA_ATTRIBUTE_INFO = Cssm_db_schema_attribute_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_SCHEMA_ATTRIBUTE_INFO-c.typealias

type CSSM_DB_SCHEMA_ATTRIBUTE_INFO_PTR deprecated

type CSSM_DB_SCHEMA_ATTRIBUTE_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_SCHEMA_ATTRIBUTE_INFO_PTR

type CSSM_DB_SCHEMA_INDEX_INFO deprecated

type CSSM_DB_SCHEMA_INDEX_INFO = Cssm_db_schema_index_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_SCHEMA_INDEX_INFO-c.typealias

type CSSM_DB_SCHEMA_INDEX_INFO_PTR deprecated

type CSSM_DB_SCHEMA_INDEX_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_SCHEMA_INDEX_INFO_PTR

type CSSM_DB_UNIQUE_RECORD deprecated

type CSSM_DB_UNIQUE_RECORD = Cssm_db_unique_record

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_UNIQUE_RECORD-c.typealias

type CSSM_DB_UNIQUE_RECORD_PTR deprecated

type CSSM_DB_UNIQUE_RECORD_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DB_UNIQUE_RECORD_PTR

type CSSM_DL_DB_HANDLE deprecated

type CSSM_DL_DB_HANDLE = Cssm_dl_db_handle

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DL_DB_HANDLE-c.typealias

type CSSM_DL_DB_HANDLE_PTR deprecated

type CSSM_DL_DB_HANDLE_PTR unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DL_DB_HANDLE_PTR CSSM_DL_DB_HANDLE_PTR is an unresolved C aggregate typedef.

type CSSM_DL_DB_LIST deprecated

type CSSM_DL_DB_LIST = Cssm_dl_db_list

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DL_DB_LIST-c.typealias

type CSSM_DL_DB_LIST_PTR deprecated

type CSSM_DL_DB_LIST_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_DL_DB_LIST_PTR

type CSSM_ENCODED_CERT deprecated

type CSSM_ENCODED_CERT = Cssm_encoded_cert

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ENCODED_CERT-c.typealias

type CSSM_ENCODED_CERT_PTR deprecated

type CSSM_ENCODED_CERT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ENCODED_CERT_PTR

type CSSM_ENCODED_CRL deprecated

type CSSM_ENCODED_CRL = Cssm_encoded_crl

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ENCODED_CRL-c.typealias

type CSSM_ENCODED_CRL_PTR deprecated

type CSSM_ENCODED_CRL_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_ENCODED_CRL_PTR

type CSSM_EVIDENCE deprecated

type CSSM_EVIDENCE = Cssm_evidence

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_EVIDENCE-c.typealias

type CSSM_EVIDENCE_PTR deprecated

type CSSM_EVIDENCE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_EVIDENCE_PTR

type CSSM_FIELD deprecated

type CSSM_FIELD = Cssm_field

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_FIELD-c.typealias

type CSSM_FIELDGROUP deprecated

type CSSM_FIELDGROUP = Cssm_fieldgroup

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_FIELDGROUP-c.typealias

type CSSM_FIELDGROUP_PTR deprecated

type CSSM_FIELDGROUP_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_FIELDGROUP_PTR

type CSSM_FIELD_PTR deprecated

type CSSM_FIELD_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_FIELD_PTR

type CSSM_FUNC_NAME_ADDR deprecated

type CSSM_FUNC_NAME_ADDR = Cssm_func_name_addr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_FUNC_NAME_ADDR-c.typealias

type CSSM_FUNC_NAME_ADDR_PTR deprecated

type CSSM_FUNC_NAME_ADDR_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_FUNC_NAME_ADDR_PTR

type CSSM_GUID deprecated

type CSSM_GUID = Cssm_guid

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_GUID-c.typealias

type CSSM_GUID_PTR deprecated

type CSSM_GUID_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_GUID_PTR

type CSSM_KEA_DERIVE_PARAMS deprecated

type CSSM_KEA_DERIVE_PARAMS = Cssm_kea_derive_params

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEA_DERIVE_PARAMS-c.typealias

type CSSM_KEA_DERIVE_PARAMS_PTR deprecated

type CSSM_KEA_DERIVE_PARAMS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEA_DERIVE_PARAMS_PTR

type CSSM_KEY deprecated

type CSSM_KEY = Cssm_key

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEY-c.typealias

type CSSM_KEYHEADER deprecated

type CSSM_KEYHEADER = Cssm_keyheader

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEYHEADER-c.typealias

type CSSM_KEYHEADER_PTR deprecated

type CSSM_KEYHEADER_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEYHEADER_PTR

type CSSM_KEY_PTR deprecated

type CSSM_KEY_PTR unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEY_PTR CSSM_KEY_PTR is an unresolved C aggregate typedef.

type CSSM_KEY_SIZE deprecated

type CSSM_KEY_SIZE = Cssm_key_size

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEY_SIZE-c.typealias

type CSSM_KEY_SIZE_PTR deprecated

type CSSM_KEY_SIZE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KEY_SIZE_PTR

type CSSM_KRSUBSERVICE deprecated

type CSSM_KRSUBSERVICE = Cssm_krsubservice

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KRSUBSERVICE-c.typealias

type CSSM_KRSUBSERVICE_PTR deprecated

type CSSM_KRSUBSERVICE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KRSUBSERVICE_PTR

type CSSM_KR_NAME deprecated

type CSSM_KR_NAME = Cssm_kr_name

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_NAME-c.typealias

type CSSM_KR_POLICY_INFO deprecated

type CSSM_KR_POLICY_INFO = Cssm_kr_policy_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_POLICY_INFO-c.typealias

type CSSM_KR_POLICY_INFO_PTR deprecated

type CSSM_KR_POLICY_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_POLICY_INFO_PTR

type CSSM_KR_POLICY_LIST_ITEM deprecated

type CSSM_KR_POLICY_LIST_ITEM = Cssm_kr_policy_list_item

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_POLICY_LIST_ITEM-c.typealias

type CSSM_KR_POLICY_LIST_ITEM_PTR deprecated

type CSSM_KR_POLICY_LIST_ITEM_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_POLICY_LIST_ITEM_PTR

type CSSM_KR_PROFILE deprecated

type CSSM_KR_PROFILE = Cssm_kr_profile

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_PROFILE-c.typealias

type CSSM_KR_PROFILE_PTR deprecated

type CSSM_KR_PROFILE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_PROFILE_PTR

type CSSM_KR_WRAPPEDPRODUCT_INFO deprecated

type CSSM_KR_WRAPPEDPRODUCT_INFO = Cssm_kr_wrappedproductinfo

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_WRAPPEDPRODUCT_INFO

type CSSM_KR_WRAPPEDPRODUCT_INFO_PTR deprecated

type CSSM_KR_WRAPPEDPRODUCT_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_KR_WRAPPEDPRODUCT_INFO_PTR

type CSSM_LIST deprecated

type CSSM_LIST = Cssm_list

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_LIST-c.typealias

type CSSM_LIST_ELEMENT deprecated

type CSSM_LIST_ELEMENT = Cssm_list_element

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_LIST_ELEMENT-c.typealias

type CSSM_LIST_PTR deprecated

type CSSM_LIST_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_LIST_PTR

type CSSM_MANAGER_EVENT_NOTIFICATION deprecated

type CSSM_MANAGER_EVENT_NOTIFICATION = Cssm_manager_event_notification

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MANAGER_EVENT_NOTIFICATION-c.typealias

type CSSM_MANAGER_EVENT_NOTIFICATION_PTR deprecated

type CSSM_MANAGER_EVENT_NOTIFICATION_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MANAGER_EVENT_NOTIFICATION_PTR

type CSSM_MANAGER_REGISTRATION_INFO deprecated

type CSSM_MANAGER_REGISTRATION_INFO = Cssm_manager_registration_info

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MANAGER_REGISTRATION_INFO-c.typealias

type CSSM_MANAGER_REGISTRATION_INFO_PTR deprecated

type CSSM_MANAGER_REGISTRATION_INFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MANAGER_REGISTRATION_INFO_PTR

type CSSM_MEMORY_FUNCS deprecated

type CSSM_MEMORY_FUNCS = Cssm_memory_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MEMORY_FUNCS-c.typealias

type CSSM_MEMORY_FUNCS_PTR deprecated

type CSSM_MEMORY_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MEMORY_FUNCS_PTR

type CSSM_MODULE_FUNCS deprecated

type CSSM_MODULE_FUNCS = Cssm_module_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MODULE_FUNCS-c.typealias

type CSSM_MODULE_FUNCS_PTR deprecated

type CSSM_MODULE_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_MODULE_FUNCS_PTR

type CSSM_NAME_LIST deprecated

type CSSM_NAME_LIST = Cssm_name_list

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_NAME_LIST-c.typealias

type CSSM_NAME_LIST_PTR deprecated

type CSSM_NAME_LIST_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_NAME_LIST_PTR

type CSSM_NET_ADDRESS deprecated

type CSSM_NET_ADDRESS = Cssm_net_address

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_NET_ADDRESS-c.typealias

type CSSM_NET_ADDRESS_PTR deprecated

type CSSM_NET_ADDRESS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_NET_ADDRESS_PTR

type CSSM_OID_PTR deprecated

type CSSM_OID_PTR = unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_OID_PTR

type CSSM_PARSED_CERT deprecated

type CSSM_PARSED_CERT = Cssm_parsed_cert

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PARSED_CERT-c.typealias

type CSSM_PARSED_CERT_PTR deprecated

type CSSM_PARSED_CERT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PARSED_CERT_PTR

type CSSM_PARSED_CRL deprecated

type CSSM_PARSED_CRL = Cssm_parsed_crl

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PARSED_CRL-c.typealias

type CSSM_PARSED_CRL_PTR deprecated

type CSSM_PARSED_CRL_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PARSED_CRL_PTR

type CSSM_PKCS1_OAEP_PARAMS deprecated

type CSSM_PKCS1_OAEP_PARAMS = Cssm_pkcs1_oaep_params

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PKCS1_OAEP_PARAMS-c.typealias

type CSSM_PKCS1_OAEP_PARAMS_PTR deprecated

type CSSM_PKCS1_OAEP_PARAMS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PKCS1_OAEP_PARAMS_PTR

type CSSM_PKCS5_PBKDF1_PARAMS deprecated

type CSSM_PKCS5_PBKDF1_PARAMS = Cssm_pkcs5_pbkdf1_params

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PKCS5_PBKDF1_PARAMS-c.typealias

type CSSM_PKCS5_PBKDF1_PARAMS_PTR deprecated

type CSSM_PKCS5_PBKDF1_PARAMS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PKCS5_PBKDF1_PARAMS_PTR

type CSSM_PKCS5_PBKDF2_PARAMS deprecated

type CSSM_PKCS5_PBKDF2_PARAMS = Cssm_pkcs5_pbkdf2_params

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PKCS5_PBKDF2_PARAMS-c.typealias

type CSSM_PKCS5_PBKDF2_PARAMS_PTR deprecated

type CSSM_PKCS5_PBKDF2_PARAMS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_PKCS5_PBKDF2_PARAMS_PTR

type CSSM_QUERY deprecated

type CSSM_QUERY = Cssm_query

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_QUERY-c.typealias

type CSSM_QUERY_LIMITS deprecated

type CSSM_QUERY_LIMITS = Cssm_query_limits

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_QUERY_LIMITS-c.typealias

type CSSM_QUERY_LIMITS_PTR deprecated

type CSSM_QUERY_LIMITS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_QUERY_LIMITS_PTR

type CSSM_QUERY_PTR deprecated

type CSSM_QUERY_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_QUERY_PTR

type CSSM_QUERY_SIZE_DATA deprecated

type CSSM_QUERY_SIZE_DATA = Cssm_query_size_data

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_QUERY_SIZE_DATA-c.typealias

type CSSM_QUERY_SIZE_DATA_PTR deprecated

type CSSM_QUERY_SIZE_DATA_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_QUERY_SIZE_DATA_PTR

type CSSM_RANGE deprecated

type CSSM_RANGE = Cssm_range

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_RANGE-c.typealias

type CSSM_RANGE_PTR deprecated

type CSSM_RANGE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_RANGE_PTR

type CSSM_RESOURCE_CONTROL_CONTEXT deprecated

type CSSM_RESOURCE_CONTROL_CONTEXT = Cssm_resource_control_context

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_RESOURCE_CONTROL_CONTEXT-c.typealias

type CSSM_RESOURCE_CONTROL_CONTEXT_PTR deprecated

type CSSM_RESOURCE_CONTROL_CONTEXT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_RESOURCE_CONTROL_CONTEXT_PTR

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 CSSM_TUPLEGROUP_PTR) CSSM_RETURN

CSSM_AC_AuthCompute.

It panics if CSSM_AC_AuthCompute is unavailable at run time; use TryCSSM_AC_AuthCompute to get an error instead.

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.

It panics if CSSM_AC_PassThrough is unavailable at run time; use TryCSSM_AC_PassThrough to get an error instead.

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.

It panics if CSSM_CL_CertAbortCache is unavailable at run time; use TryCSSM_CL_CertAbortCache to get an error instead.

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.

It panics if CSSM_CL_CertAbortQuery is unavailable at run time; use TryCSSM_CL_CertAbortQuery to get an error instead.

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.

It panics if CSSM_CL_CertCache is unavailable at run time; use TryCSSM_CL_CertCache to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CertCreateTemplate.

It panics if CSSM_CL_CertCreateTemplate is unavailable at run time; use TryCSSM_CL_CertCreateTemplate to get an error instead.

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.

It panics if CSSM_CL_CertDescribeFormat is unavailable at run time; use TryCSSM_CL_CertDescribeFormat to get an error instead.

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.

It panics if CSSM_CL_CertGetAllFields is unavailable at run time; use TryCSSM_CL_CertGetAllFields to get an error instead.

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.

It panics if CSSM_CL_CertGetAllTemplateFields is unavailable at run time; use TryCSSM_CL_CertGetAllTemplateFields to get an error instead.

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.

It panics if CSSM_CL_CertGetFirstCachedFieldValue is unavailable at run time; use TryCSSM_CL_CertGetFirstCachedFieldValue to get an error instead.

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.

It panics if CSSM_CL_CertGetFirstFieldValue is unavailable at run time; use TryCSSM_CL_CertGetFirstFieldValue to get an error instead.

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.

It panics if CSSM_CL_CertGetKeyInfo is unavailable at run time; use TryCSSM_CL_CertGetKeyInfo to get an error instead.

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.

It panics if CSSM_CL_CertGetNextCachedFieldValue is unavailable at run time; use TryCSSM_CL_CertGetNextCachedFieldValue to get an error instead.

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.

It panics if CSSM_CL_CertGetNextFieldValue is unavailable at run time; use TryCSSM_CL_CertGetNextFieldValue to get an error instead.

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.

It panics if CSSM_CL_CertGroupFromVerifiedBundle is unavailable at run time; use TryCSSM_CL_CertGroupFromVerifiedBundle to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CertGroupToSignedBundle.

It panics if CSSM_CL_CertGroupToSignedBundle is unavailable at run time; use TryCSSM_CL_CertGroupToSignedBundle to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CertSign.

It panics if CSSM_CL_CertSign is unavailable at run time; use TryCSSM_CL_CertSign to get an error instead.

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.

It panics if CSSM_CL_CertVerify is unavailable at run time; use TryCSSM_CL_CertVerify to get an error instead.

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.

It panics if CSSM_CL_CertVerifyWithKey is unavailable at run time; use TryCSSM_CL_CertVerifyWithKey to get an error instead.

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.

It panics if CSSM_CL_CrlAbortCache is unavailable at run time; use TryCSSM_CL_CrlAbortCache to get an error instead.

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.

It panics if CSSM_CL_CrlAbortQuery is unavailable at run time; use TryCSSM_CL_CrlAbortQuery to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CrlAddCert.

It panics if CSSM_CL_CrlAddCert is unavailable at run time; use TryCSSM_CL_CrlAddCert to get an error instead.

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.

It panics if CSSM_CL_CrlCache is unavailable at run time; use TryCSSM_CL_CrlCache to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CrlCreateTemplate.

It panics if CSSM_CL_CrlCreateTemplate is unavailable at run time; use TryCSSM_CL_CrlCreateTemplate to get an error instead.

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.

It panics if CSSM_CL_CrlDescribeFormat is unavailable at run time; use TryCSSM_CL_CrlDescribeFormat to get an error instead.

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.

It panics if CSSM_CL_CrlGetAllCachedRecordFields is unavailable at run time; use TryCSSM_CL_CrlGetAllCachedRecordFields to get an error instead.

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.

It panics if CSSM_CL_CrlGetAllFields is unavailable at run time; use TryCSSM_CL_CrlGetAllFields to get an error instead.

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.

It panics if CSSM_CL_CrlGetFirstCachedFieldValue is unavailable at run time; use TryCSSM_CL_CrlGetFirstCachedFieldValue to get an error instead.

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.

It panics if CSSM_CL_CrlGetFirstFieldValue is unavailable at run time; use TryCSSM_CL_CrlGetFirstFieldValue to get an error instead.

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.

It panics if CSSM_CL_CrlGetNextCachedFieldValue is unavailable at run time; use TryCSSM_CL_CrlGetNextCachedFieldValue to get an error instead.

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.

It panics if CSSM_CL_CrlGetNextFieldValue is unavailable at run time; use TryCSSM_CL_CrlGetNextFieldValue to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CrlRemoveCert.

It panics if CSSM_CL_CrlRemoveCert is unavailable at run time; use TryCSSM_CL_CrlRemoveCert to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CrlSetFields.

It panics if CSSM_CL_CrlSetFields is unavailable at run time; use TryCSSM_CL_CrlSetFields to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_CrlSign.

It panics if CSSM_CL_CrlSign is unavailable at run time; use TryCSSM_CL_CrlSign to get an error instead.

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.

It panics if CSSM_CL_CrlVerify is unavailable at run time; use TryCSSM_CL_CrlVerify to get an error instead.

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.

It panics if CSSM_CL_CrlVerifyWithKey is unavailable at run time; use TryCSSM_CL_CrlVerifyWithKey to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_FreeFieldValue.

It panics if CSSM_CL_FreeFieldValue is unavailable at run time; use TryCSSM_CL_FreeFieldValue to get an error instead.

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.

It panics if CSSM_CL_FreeFields is unavailable at run time; use TryCSSM_CL_FreeFields to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_CL_IsCertInCachedCrl.

It panics if CSSM_CL_IsCertInCachedCrl is unavailable at run time; use TryCSSM_CL_IsCertInCachedCrl to get an error instead.

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.

It panics if CSSM_CL_IsCertInCrl is unavailable at run time; use TryCSSM_CL_IsCertInCrl to get an error instead.

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.

It panics if CSSM_CL_PassThrough is unavailable at run time; use TryCSSM_CL_PassThrough to get an error instead.

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.

It panics if CSSM_CSP_ChangeLoginAcl is unavailable at run time; use TryCSSM_CSP_ChangeLoginAcl to get an error instead.

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.

It panics if CSSM_CSP_ChangeLoginOwner is unavailable at run time; use TryCSSM_CSP_ChangeLoginOwner to get an error instead.

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.

It panics if CSSM_CSP_CreateAsymmetricContext is unavailable at run time; use TryCSSM_CSP_CreateAsymmetricContext to get an error instead.

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.

It panics if CSSM_CSP_CreateDeriveKeyContext is unavailable at run time; use TryCSSM_CSP_CreateDeriveKeyContext to get an error instead.

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.

It panics if CSSM_CSP_CreateDigestContext is unavailable at run time; use TryCSSM_CSP_CreateDigestContext to get an error instead.

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.

It panics if CSSM_CSP_CreateKeyGenContext is unavailable at run time; use TryCSSM_CSP_CreateKeyGenContext to get an error instead.

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.

It panics if CSSM_CSP_CreateMacContext is unavailable at run time; use TryCSSM_CSP_CreateMacContext to get an error instead.

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.

It panics if CSSM_CSP_CreatePassThroughContext is unavailable at run time; use TryCSSM_CSP_CreatePassThroughContext to get an error instead.

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.

It panics if CSSM_CSP_CreateRandomGenContext is unavailable at run time; use TryCSSM_CSP_CreateRandomGenContext to get an error instead.

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.

It panics if CSSM_CSP_CreateSignatureContext is unavailable at run time; use TryCSSM_CSP_CreateSignatureContext to get an error instead.

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.

It panics if CSSM_CSP_CreateSymmetricContext is unavailable at run time; use TryCSSM_CSP_CreateSymmetricContext to get an error instead.

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.

It panics if CSSM_CSP_GetLoginAcl is unavailable at run time; use TryCSSM_CSP_GetLoginAcl to get an error instead.

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 CSSM_ACL_OWNER_PROTOTYPE_PTR) CSSM_RETURN

CSSM_CSP_GetLoginOwner.

It panics if CSSM_CSP_GetLoginOwner is unavailable at run time; use TryCSSM_CSP_GetLoginOwner to get an error instead.

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.

It panics if CSSM_CSP_GetOperationalStatistics is unavailable at run time; use TryCSSM_CSP_GetOperationalStatistics to get an error instead.

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.

It panics if CSSM_CSP_Login is unavailable at run time; use TryCSSM_CSP_Login to get an error instead.

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.

It panics if CSSM_CSP_Logout is unavailable at run time; use TryCSSM_CSP_Logout to get an error instead.

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.

It panics if CSSM_CSP_ObtainPrivateKeyFromPublicKey is unavailable at run time; use TryCSSM_CSP_ObtainPrivateKeyFromPublicKey to get an error instead.

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.

It panics if CSSM_CSP_PassThrough is unavailable at run time; use TryCSSM_CSP_PassThrough to get an error instead.

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.

It panics if CSSM_ChangeKeyAcl is unavailable at run time; use TryCSSM_ChangeKeyAcl to get an error instead.

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.

It panics if CSSM_ChangeKeyOwner is unavailable at run time; use TryCSSM_ChangeKeyOwner to get an error instead.

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 [2]uint64, AccessRequest CSSM_DB_ACCESS_TYPE, AccessCred unsafe.Pointer) CSSM_RETURN

CSSM_DL_Authenticate.

It panics if CSSM_DL_Authenticate is unavailable at run time; use TryCSSM_DL_Authenticate to get an error instead.

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 [2]uint64, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer) CSSM_RETURN

CSSM_DL_ChangeDbAcl.

It panics if CSSM_DL_ChangeDbAcl is unavailable at run time; use TryCSSM_DL_ChangeDbAcl to get an error instead.

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 [2]uint64, AccessCred unsafe.Pointer, NewOwner unsafe.Pointer) CSSM_RETURN

CSSM_DL_ChangeDbOwner.

It panics if CSSM_DL_ChangeDbOwner is unavailable at run time; use TryCSSM_DL_ChangeDbOwner to get an error instead.

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 [2]uint64, RelationID CSSM_DB_RECORDTYPE, RelationName string, NumberOfAttributes uint32, pAttributeInfo unsafe.Pointer, NumberOfIndexes uint32, pIndexInfo unsafe.Pointer) CSSM_RETURN

CSSM_DL_CreateRelation.

It panics if CSSM_DL_CreateRelation is unavailable at run time; use TryCSSM_DL_CreateRelation to get an error instead.

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 [2]uint64, ResultsHandle CSSM_HANDLE) CSSM_RETURN

CSSM_DL_DataAbortQuery.

It panics if CSSM_DL_DataAbortQuery is unavailable at run time; use TryCSSM_DL_DataAbortQuery to get an error instead.

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 [2]uint64, UniqueRecordIdentifier unsafe.Pointer) CSSM_RETURN

CSSM_DL_DataDelete.

It panics if CSSM_DL_DataDelete is unavailable at run time; use TryCSSM_DL_DataDelete to get an error instead.

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 [2]uint64, Query unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, Attributes CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR, Data CSSM_DATA_PTR, UniqueId unsafe.Pointer) CSSM_RETURN

CSSM_DL_DataGetFirst.

It panics if CSSM_DL_DataGetFirst is unavailable at run time; use TryCSSM_DL_DataGetFirst to get an error instead.

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 [2]uint64, UniqueRecord unsafe.Pointer, Attributes CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR, Data CSSM_DATA_PTR) CSSM_RETURN

CSSM_DL_DataGetFromUniqueRecordId.

It panics if CSSM_DL_DataGetFromUniqueRecordId is unavailable at run time; use TryCSSM_DL_DataGetFromUniqueRecordId to get an error instead.

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 [2]uint64, ResultsHandle CSSM_HANDLE, Attributes CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR, Data CSSM_DATA_PTR, UniqueId unsafe.Pointer) CSSM_RETURN

CSSM_DL_DataGetNext.

It panics if CSSM_DL_DataGetNext is unavailable at run time; use TryCSSM_DL_DataGetNext to get an error instead.

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 [2]uint64, RecordType CSSM_DB_RECORDTYPE, Attributes unsafe.Pointer, Data unsafe.Pointer, UniqueId unsafe.Pointer) CSSM_RETURN

CSSM_DL_DataInsert.

It panics if CSSM_DL_DataInsert is unavailable at run time; use TryCSSM_DL_DataInsert to get an error instead.

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 [2]uint64, RecordType CSSM_DB_RECORDTYPE, UniqueRecordIdentifier CSSM_DB_UNIQUE_RECORD_PTR, AttributesToBeModified unsafe.Pointer, DataToBeModified unsafe.Pointer, ModifyMode CSSM_DB_MODIFY_MODE) CSSM_RETURN

CSSM_DL_DataModify.

It panics if CSSM_DL_DataModify is unavailable at run time; use TryCSSM_DL_DataModify to get an error instead.

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 [2]uint64) CSSM_RETURN

CSSM_DL_DbClose.

It panics if CSSM_DL_DbClose is unavailable at run time; use TryCSSM_DL_DbClose to get an error instead.

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.

It panics if CSSM_DL_DbCreate is unavailable at run time; use TryCSSM_DL_DbCreate to get an error instead.

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.

It panics if CSSM_DL_DbDelete is unavailable at run time; use TryCSSM_DL_DbDelete to get an error instead.

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.

It panics if CSSM_DL_DbOpen is unavailable at run time; use TryCSSM_DL_DbOpen to get an error instead.

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 [2]uint64, RelationID CSSM_DB_RECORDTYPE) CSSM_RETURN

CSSM_DL_DestroyRelation.

It panics if CSSM_DL_DestroyRelation is unavailable at run time; use TryCSSM_DL_DestroyRelation to get an error instead.

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 CSSM_NAME_LIST_PTR) CSSM_RETURN

CSSM_DL_FreeNameList.

It panics if CSSM_DL_FreeNameList is unavailable at run time; use TryCSSM_DL_FreeNameList to get an error instead.

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 [2]uint64, UniqueRecord CSSM_DB_UNIQUE_RECORD_PTR) CSSM_RETURN

CSSM_DL_FreeUniqueRecord.

It panics if CSSM_DL_FreeUniqueRecord is unavailable at run time; use TryCSSM_DL_FreeUniqueRecord to get an error instead.

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 [2]uint64, SelectionTag unsafe.Pointer, NumberOfAclInfos *uint32, AclInfos unsafe.Pointer) CSSM_RETURN

CSSM_DL_GetDbAcl.

It panics if CSSM_DL_GetDbAcl is unavailable at run time; use TryCSSM_DL_GetDbAcl to get an error instead.

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 [2]uint64, DbName **byte) CSSM_RETURN

CSSM_DL_GetDbNameFromHandle.

It panics if CSSM_DL_GetDbNameFromHandle is unavailable at run time; use TryCSSM_DL_GetDbNameFromHandle to get an error instead.

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.

It panics if CSSM_DL_GetDbNames is unavailable at run time; use TryCSSM_DL_GetDbNames to get an error instead.

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 [2]uint64, Owner CSSM_ACL_OWNER_PROTOTYPE_PTR) CSSM_RETURN

CSSM_DL_GetDbOwner.

It panics if CSSM_DL_GetDbOwner is unavailable at run time; use TryCSSM_DL_GetDbOwner to get an error instead.

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 [2]uint64, PassThroughId uint32, InputParams unsafe.Pointer, OutputParams unsafe.Pointer) CSSM_RETURN

CSSM_DL_PassThrough.

It panics if CSSM_DL_PassThrough is unavailable at run time; use TryCSSM_DL_PassThrough to get an error instead.

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 CSSM_DATA_PTR, ClearBufCount uint32, bytesDecrypted unsafe.Pointer, RemData CSSM_DATA_PTR) CSSM_RETURN

CSSM_DecryptData.

It panics if CSSM_DecryptData is unavailable at run time; use TryCSSM_DecryptData to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_DecryptDataFinal.

It panics if CSSM_DecryptDataFinal is unavailable at run time; use TryCSSM_DecryptDataFinal to get an error instead.

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.

It panics if CSSM_DecryptDataInit is unavailable at run time; use TryCSSM_DecryptDataInit to get an error instead.

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.

It panics if CSSM_DecryptDataInitP is unavailable at run time; use TryCSSM_DecryptDataInitP to get an error instead.

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 CSSM_DATA_PTR, ClearBufCount uint32, bytesDecrypted unsafe.Pointer, RemData CSSM_DATA_PTR, Privilege CSSM_PRIVILEGE) CSSM_RETURN

CSSM_DecryptDataP.

It panics if CSSM_DecryptDataP is unavailable at run time; use TryCSSM_DecryptDataP to get an error instead.

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 CSSM_DATA_PTR, ClearBufCount uint32, bytesDecrypted unsafe.Pointer) CSSM_RETURN

CSSM_DecryptDataUpdate.

It panics if CSSM_DecryptDataUpdate is unavailable at run time; use TryCSSM_DecryptDataUpdate to get an error instead.

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.

It panics if CSSM_DeleteContext is unavailable at run time; use TryCSSM_DeleteContext to get an error instead.

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.

It panics if CSSM_DeleteContextAttributes is unavailable at run time; use TryCSSM_DeleteContextAttributes to get an error instead.

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 CSSM_DATA_PTR, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, DerivedKey unsafe.Pointer) CSSM_RETURN

CSSM_DeriveKey.

It panics if CSSM_DeriveKey is unavailable at run time; use TryCSSM_DeriveKey to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_DigestData.

It panics if CSSM_DigestData is unavailable at run time; use TryCSSM_DigestData to get an error instead.

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.

It panics if CSSM_DigestDataClone is unavailable at run time; use TryCSSM_DigestDataClone to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_DigestDataFinal.

It panics if CSSM_DigestDataFinal is unavailable at run time; use TryCSSM_DigestDataFinal to get an error instead.

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.

It panics if CSSM_DigestDataInit is unavailable at run time; use TryCSSM_DigestDataInit to get an error instead.

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.

It panics if CSSM_DigestDataUpdate is unavailable at run time; use TryCSSM_DigestDataUpdate to get an error instead.

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 CSSM_DATA_PTR, CipherBufCount uint32, bytesEncrypted unsafe.Pointer, RemData CSSM_DATA_PTR) CSSM_RETURN

CSSM_EncryptData.

It panics if CSSM_EncryptData is unavailable at run time; use TryCSSM_EncryptData to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_EncryptDataFinal.

It panics if CSSM_EncryptDataFinal is unavailable at run time; use TryCSSM_EncryptDataFinal to get an error instead.

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.

It panics if CSSM_EncryptDataInit is unavailable at run time; use TryCSSM_EncryptDataInit to get an error instead.

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.

It panics if CSSM_EncryptDataInitP is unavailable at run time; use TryCSSM_EncryptDataInitP to get an error instead.

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 CSSM_DATA_PTR, CipherBufCount uint32, bytesEncrypted unsafe.Pointer, RemData CSSM_DATA_PTR, Privilege CSSM_PRIVILEGE) CSSM_RETURN

CSSM_EncryptDataP.

It panics if CSSM_EncryptDataP is unavailable at run time; use TryCSSM_EncryptDataP to get an error instead.

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 CSSM_DATA_PTR, CipherBufCount uint32, bytesEncrypted unsafe.Pointer) CSSM_RETURN

CSSM_EncryptDataUpdate.

It panics if CSSM_EncryptDataUpdate is unavailable at run time; use TryCSSM_EncryptDataUpdate to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_EncryptDataUpdate

func CSSM_FreeContext deprecated

func CSSM_FreeContext(Context CSSM_CONTEXT_PTR) CSSM_RETURN

CSSM_FreeContext.

It panics if CSSM_FreeContext is unavailable at run time; use TryCSSM_FreeContext to get an error instead.

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.

It panics if CSSM_FreeKey is unavailable at run time; use TryCSSM_FreeKey to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_GenerateAlgorithmParams.

It panics if CSSM_GenerateAlgorithmParams is unavailable at run time; use TryCSSM_GenerateAlgorithmParams to get an error instead.

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.

It panics if CSSM_GenerateKey is unavailable at run time; use TryCSSM_GenerateKey to get an error instead.

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.

It panics if CSSM_GenerateKeyP is unavailable at run time; use TryCSSM_GenerateKeyP to get an error instead.

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.

It panics if CSSM_GenerateKeyPair is unavailable at run time; use TryCSSM_GenerateKeyPair to get an error instead.

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.

It panics if CSSM_GenerateKeyPairP is unavailable at run time; use TryCSSM_GenerateKeyPairP to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_GenerateMac.

It panics if CSSM_GenerateMac is unavailable at run time; use TryCSSM_GenerateMac to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_GenerateMacFinal.

It panics if CSSM_GenerateMacFinal is unavailable at run time; use TryCSSM_GenerateMacFinal to get an error instead.

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.

It panics if CSSM_GenerateMacInit is unavailable at run time; use TryCSSM_GenerateMacInit to get an error instead.

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.

It panics if CSSM_GenerateMacUpdate is unavailable at run time; use TryCSSM_GenerateMacUpdate to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_GenerateRandom.

It panics if CSSM_GenerateRandom is unavailable at run time; use TryCSSM_GenerateRandom to get an error instead.

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 CSSM_API_MEMORY_FUNCS_PTR) CSSM_RETURN

CSSM_GetAPIMemoryFunctions.

It panics if CSSM_GetAPIMemoryFunctions is unavailable at run time; use TryCSSM_GetAPIMemoryFunctions to get an error instead.

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.

It panics if CSSM_GetContext is unavailable at run time; use TryCSSM_GetContext to get an error instead.

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.

It panics if CSSM_GetContextAttribute is unavailable at run time; use TryCSSM_GetContextAttribute to get an error instead.

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.

It panics if CSSM_GetKeyAcl is unavailable at run time; use TryCSSM_GetKeyAcl to get an error instead.

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 CSSM_ACL_OWNER_PROTOTYPE_PTR) CSSM_RETURN

CSSM_GetKeyOwner.

It panics if CSSM_GetKeyOwner is unavailable at run time; use TryCSSM_GetKeyOwner to get an error instead.

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 CSSM_GUID_PTR) CSSM_RETURN

CSSM_GetModuleGUIDFromHandle.

It panics if CSSM_GetModuleGUIDFromHandle is unavailable at run time; use TryCSSM_GetModuleGUIDFromHandle to get an error instead.

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.

It panics if CSSM_GetPrivilege is unavailable at run time; use TryCSSM_GetPrivilege to get an error instead.

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 CSSM_SUBSERVICE_UID_PTR) CSSM_RETURN

CSSM_GetSubserviceUIDFromHandle.

It panics if CSSM_GetSubserviceUIDFromHandle is unavailable at run time; use TryCSSM_GetSubserviceUIDFromHandle to get an error instead.

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.

It panics if CSSM_GetTimeValue is unavailable at run time; use TryCSSM_GetTimeValue to get an error instead.

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.

It panics if CSSM_Init is unavailable at run time; use TryCSSM_Init to get an error instead.

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.

It panics if CSSM_Introduce is unavailable at run time; use TryCSSM_Introduce to get an error instead.

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 CSSM_GUID_PTR) CSSM_RETURN

CSSM_ListAttachedModuleManagers.

It panics if CSSM_ListAttachedModuleManagers is unavailable at run time; use TryCSSM_ListAttachedModuleManagers to get an error instead.

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.

It panics if CSSM_ModuleAttach is unavailable at run time; use TryCSSM_ModuleAttach to get an error instead.

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.

It panics if CSSM_ModuleDetach is unavailable at run time; use TryCSSM_ModuleDetach to get an error instead.

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 CSSM_API_ModuleEventHandler, AppNotifyCallbackCtx unsafe.Pointer) CSSM_RETURN

CSSM_ModuleLoad.

It panics if CSSM_ModuleLoad is unavailable at run time; use TryCSSM_ModuleLoad to get an error instead.

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 CSSM_API_ModuleEventHandler, AppNotifyCallbackCtx unsafe.Pointer) CSSM_RETURN

CSSM_ModuleUnload.

It panics if CSSM_ModuleUnload is unavailable at run time; use TryCSSM_ModuleUnload to get an error instead.

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 CSSM_KEY_SIZE_PTR) CSSM_RETURN

CSSM_QueryKeySizeInBits.

It panics if CSSM_QueryKeySizeInBits is unavailable at run time; use TryCSSM_QueryKeySizeInBits to get an error instead.

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 CSSM_QUERY_SIZE_DATA_PTR) CSSM_RETURN

CSSM_QuerySize.

It panics if CSSM_QuerySize is unavailable at run time; use TryCSSM_QuerySize to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_RetrieveCounter.

It panics if CSSM_RetrieveCounter is unavailable at run time; use TryCSSM_RetrieveCounter to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_RetrieveUniqueId.

It panics if CSSM_RetrieveUniqueId is unavailable at run time; use TryCSSM_RetrieveUniqueId to get an error instead.

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.

It panics if CSSM_SetContext is unavailable at run time; use TryCSSM_SetContext to get an error instead.

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.

It panics if CSSM_SetPrivilege is unavailable at run time; use TryCSSM_SetPrivilege to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_SignData.

It panics if CSSM_SignData is unavailable at run time; use TryCSSM_SignData to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_SignDataFinal.

It panics if CSSM_SignDataFinal is unavailable at run time; use TryCSSM_SignDataFinal to get an error instead.

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.

It panics if CSSM_SignDataInit is unavailable at run time; use TryCSSM_SignDataInit to get an error instead.

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.

It panics if CSSM_SignDataUpdate is unavailable at run time; use TryCSSM_SignDataUpdate to get an error instead.

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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR) CSSM_RETURN

CSSM_TP_ApplyCrlToDb.

It panics if CSSM_TP_ApplyCrlToDb is unavailable at run time; use TryCSSM_TP_ApplyCrlToDb to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_CertCreateTemplate.

It panics if CSSM_TP_CertCreateTemplate is unavailable at run time; use TryCSSM_TP_CertCreateTemplate to get an error instead.

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.

It panics if CSSM_TP_CertGetAllTemplateFields is unavailable at run time; use TryCSSM_TP_CertGetAllTemplateFields to get an error instead.

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.

It panics if CSSM_TP_CertGroupConstruct is unavailable at run time; use TryCSSM_TP_CertGroupConstruct to get an error instead.

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.

It panics if CSSM_TP_CertGroupPrune is unavailable at run time; use TryCSSM_TP_CertGroupPrune to get an error instead.

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.

It panics if CSSM_TP_CertGroupToTupleGroup is unavailable at run time; use TryCSSM_TP_CertGroupToTupleGroup to get an error instead.

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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR) CSSM_RETURN

CSSM_TP_CertGroupVerify.

It panics if CSSM_TP_CertGroupVerify is unavailable at run time; use TryCSSM_TP_CertGroupVerify to get an error instead.

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.

It panics if CSSM_TP_CertReclaimAbort is unavailable at run time; use TryCSSM_TP_CertReclaimAbort to get an error instead.

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.

It panics if CSSM_TP_CertReclaimKey is unavailable at run time; use TryCSSM_TP_CertReclaimKey to get an error instead.

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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, NewCrlTemplate CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_CertRemoveFromCrlTemplate.

It panics if CSSM_TP_CertRemoveFromCrlTemplate is unavailable at run time; use TryCSSM_TP_CertRemoveFromCrlTemplate to get an error instead.

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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, Reason CSSM_TP_CERTCHANGE_REASON, NewCrlTemplate CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_CertRevoke.

It panics if CSSM_TP_CertRevoke is unavailable at run time; use TryCSSM_TP_CertRevoke to get an error instead.

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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, SignedCert CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_CertSign.

It panics if CSSM_TP_CertSign is unavailable at run time; use TryCSSM_TP_CertSign to get an error instead.

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.

It panics if CSSM_TP_ConfirmCredResult is unavailable at run time; use TryCSSM_TP_ConfirmCredResult to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_CrlCreateTemplate.

It panics if CSSM_TP_CrlCreateTemplate is unavailable at run time; use TryCSSM_TP_CrlCreateTemplate to get an error instead.

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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, SignedCrl CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_CrlSign.

It panics if CSSM_TP_CrlSign is unavailable at run time; use TryCSSM_TP_CrlSign to get an error instead.

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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR) CSSM_RETURN

CSSM_TP_CrlVerify.

It panics if CSSM_TP_CrlVerify is unavailable at run time; use TryCSSM_TP_CrlVerify to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_FormRequest.

It panics if CSSM_TP_FormRequest is unavailable at run time; use TryCSSM_TP_FormRequest to get an error instead.

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 CSSM_ACCESS_CREDENTIALS_PTR) CSSM_RETURN

CSSM_TP_FormSubmit.

It panics if CSSM_TP_FormSubmit is unavailable at run time; use TryCSSM_TP_FormSubmit to get an error instead.

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.

It panics if CSSM_TP_PassThrough is unavailable at run time; use TryCSSM_TP_PassThrough to get an error instead.

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.

It panics if CSSM_TP_ReceiveConfirmation is unavailable at run time; use TryCSSM_TP_ReceiveConfirmation to get an error instead.

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.

It panics if CSSM_TP_RetrieveCredResult is unavailable at run time; use TryCSSM_TP_RetrieveCredResult to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_TP_SubmitCredRequest.

It panics if CSSM_TP_SubmitCredRequest is unavailable at run time; use TryCSSM_TP_SubmitCredRequest to get an error instead.

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.

It panics if CSSM_TP_TupleGroupToCertGroup is unavailable at run time; use TryCSSM_TP_TupleGroupToCertGroup to get an error instead.

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.

It panics if CSSM_Terminate is unavailable at run time; use TryCSSM_Terminate to get an error instead.

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.

It panics if CSSM_Unintroduce is unavailable at run time; use TryCSSM_Unintroduce to get an error instead.

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 CSSM_DATA_PTR) CSSM_RETURN

CSSM_UnwrapKey.

It panics if CSSM_UnwrapKey is unavailable at run time; use TryCSSM_UnwrapKey to get an error instead.

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 CSSM_DATA_PTR, Privilege CSSM_PRIVILEGE) CSSM_RETURN

CSSM_UnwrapKeyP.

It panics if CSSM_UnwrapKeyP is unavailable at run time; use TryCSSM_UnwrapKeyP to get an error instead.

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.

It panics if CSSM_UpdateContextAttributes is unavailable at run time; use TryCSSM_UpdateContextAttributes to get an error instead.

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.

It panics if CSSM_VerifyData is unavailable at run time; use TryCSSM_VerifyData to get an error instead.

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.

It panics if CSSM_VerifyDataFinal is unavailable at run time; use TryCSSM_VerifyDataFinal to get an error instead.

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.

It panics if CSSM_VerifyDataInit is unavailable at run time; use TryCSSM_VerifyDataInit to get an error instead.

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.

It panics if CSSM_VerifyDataUpdate is unavailable at run time; use TryCSSM_VerifyDataUpdate to get an error instead.

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.

It panics if CSSM_VerifyDevice is unavailable at run time; use TryCSSM_VerifyDevice to get an error instead.

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.

It panics if CSSM_VerifyMac is unavailable at run time; use TryCSSM_VerifyMac to get an error instead.

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.

It panics if CSSM_VerifyMacFinal is unavailable at run time; use TryCSSM_VerifyMacFinal to get an error instead.

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.

It panics if CSSM_VerifyMacInit is unavailable at run time; use TryCSSM_VerifyMacInit to get an error instead.

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.

It panics if CSSM_VerifyMacUpdate is unavailable at run time; use TryCSSM_VerifyMacUpdate to get an error instead.

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 CSSM_WRAP_KEY_PTR) CSSM_RETURN

CSSM_WrapKey.

It panics if CSSM_WrapKey is unavailable at run time; use TryCSSM_WrapKey to get an error instead.

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 CSSM_WRAP_KEY_PTR, Privilege CSSM_PRIVILEGE) CSSM_RETURN

CSSM_WrapKeyP.

It panics if CSSM_WrapKeyP is unavailable at run time; use TryCSSM_WrapKeyP to get an error instead.

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.

It panics if MDS_Initialize is unavailable at run time; use TryMDS_Initialize to get an error instead.

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.

It panics if MDS_Install is unavailable at run time; use TryMDS_Install to get an error instead.

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.

It panics if MDS_Terminate is unavailable at run time; use TryMDS_Terminate to get an error instead.

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.

It panics if MDS_Uninstall is unavailable at run time; use TryMDS_Uninstall to get an error instead.

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/MDS_Uninstall

func TryCSSM_AC_AuthCompute

func TryCSSM_AC_AuthCompute(ACHandle CSSM_AC_HANDLE, BaseAuthorizations unsafe.Pointer, Credentials unsafe.Pointer, NumberOfRequestors uint32, Requestors unsafe.Pointer, RequestedAuthorizationPeriod unsafe.Pointer, RequestedAuthorization unsafe.Pointer, AuthorizationResult CSSM_TUPLEGROUP_PTR) (CSSM_RETURN, error)

TryCSSM_AC_AuthCompute is like CSSM_AC_AuthCompute but returns an error instead of panicking if CSSM_AC_AuthCompute is unavailable at run time.

func TryCSSM_AC_PassThrough

func TryCSSM_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, error)

TryCSSM_AC_PassThrough is like CSSM_AC_PassThrough but returns an error instead of panicking if CSSM_AC_PassThrough is unavailable at run time.

func TryCSSM_CL_CertAbortCache

func TryCSSM_CL_CertAbortCache(CLHandle CSSM_CL_HANDLE, CertHandle CSSM_HANDLE) (CSSM_RETURN, error)

TryCSSM_CL_CertAbortCache is like CSSM_CL_CertAbortCache but returns an error instead of panicking if CSSM_CL_CertAbortCache is unavailable at run time.

func TryCSSM_CL_CertAbortQuery

func TryCSSM_CL_CertAbortQuery(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE) (CSSM_RETURN, error)

TryCSSM_CL_CertAbortQuery is like CSSM_CL_CertAbortQuery but returns an error instead of panicking if CSSM_CL_CertAbortQuery is unavailable at run time.

func TryCSSM_CL_CertCache

func TryCSSM_CL_CertCache(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CertHandle CSSM_HANDLE_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CertCache is like CSSM_CL_CertCache but returns an error instead of panicking if CSSM_CL_CertCache is unavailable at run time.

func TryCSSM_CL_CertCreateTemplate

func TryCSSM_CL_CertCreateTemplate(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CertFields unsafe.Pointer, CertTemplate CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CertCreateTemplate is like CSSM_CL_CertCreateTemplate but returns an error instead of panicking if CSSM_CL_CertCreateTemplate is unavailable at run time.

func TryCSSM_CL_CertDescribeFormat

func TryCSSM_CL_CertDescribeFormat(CLHandle CSSM_CL_HANDLE, NumberOfFields *uint32, OidList unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertDescribeFormat is like CSSM_CL_CertDescribeFormat but returns an error instead of panicking if CSSM_CL_CertDescribeFormat is unavailable at run time.

func TryCSSM_CL_CertGetAllFields

func TryCSSM_CL_CertGetAllFields(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, NumberOfFields *uint32, CertFields unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGetAllFields is like CSSM_CL_CertGetAllFields but returns an error instead of panicking if CSSM_CL_CertGetAllFields is unavailable at run time.

func TryCSSM_CL_CertGetAllTemplateFields

func TryCSSM_CL_CertGetAllTemplateFields(CLHandle CSSM_CL_HANDLE, CertTemplate unsafe.Pointer, NumberOfFields *uint32, CertFields unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGetAllTemplateFields is like CSSM_CL_CertGetAllTemplateFields but returns an error instead of panicking if CSSM_CL_CertGetAllTemplateFields is unavailable at run time.

func TryCSSM_CL_CertGetFirstCachedFieldValue

func TryCSSM_CL_CertGetFirstCachedFieldValue(CLHandle CSSM_CL_HANDLE, CertHandle CSSM_HANDLE, CertField unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, NumberOfMatchedFields *uint32, Value unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGetFirstCachedFieldValue is like CSSM_CL_CertGetFirstCachedFieldValue but returns an error instead of panicking if CSSM_CL_CertGetFirstCachedFieldValue is unavailable at run time.

func TryCSSM_CL_CertGetFirstFieldValue

func TryCSSM_CL_CertGetFirstFieldValue(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CertField unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, NumberOfMatchedFields *uint32, Value unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGetFirstFieldValue is like CSSM_CL_CertGetFirstFieldValue but returns an error instead of panicking if CSSM_CL_CertGetFirstFieldValue is unavailable at run time.

func TryCSSM_CL_CertGetKeyInfo

func TryCSSM_CL_CertGetKeyInfo(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, Key unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGetKeyInfo is like CSSM_CL_CertGetKeyInfo but returns an error instead of panicking if CSSM_CL_CertGetKeyInfo is unavailable at run time.

func TryCSSM_CL_CertGetNextCachedFieldValue

func TryCSSM_CL_CertGetNextCachedFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGetNextCachedFieldValue is like CSSM_CL_CertGetNextCachedFieldValue but returns an error instead of panicking if CSSM_CL_CertGetNextCachedFieldValue is unavailable at run time.

func TryCSSM_CL_CertGetNextFieldValue

func TryCSSM_CL_CertGetNextFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGetNextFieldValue is like CSSM_CL_CertGetNextFieldValue but returns an error instead of panicking if CSSM_CL_CertGetNextFieldValue is unavailable at run time.

func TryCSSM_CL_CertGroupFromVerifiedBundle

func TryCSSM_CL_CertGroupFromVerifiedBundle(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertBundle unsafe.Pointer, SignerCert unsafe.Pointer, CertGroup unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertGroupFromVerifiedBundle is like CSSM_CL_CertGroupFromVerifiedBundle but returns an error instead of panicking if CSSM_CL_CertGroupFromVerifiedBundle is unavailable at run time.

func TryCSSM_CL_CertGroupToSignedBundle

func TryCSSM_CL_CertGroupToSignedBundle(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertGroupToBundle unsafe.Pointer, BundleInfo unsafe.Pointer, SignedBundle CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CertGroupToSignedBundle is like CSSM_CL_CertGroupToSignedBundle but returns an error instead of panicking if CSSM_CL_CertGroupToSignedBundle is unavailable at run time.

func TryCSSM_CL_CertSign

func TryCSSM_CL_CertSign(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertTemplate unsafe.Pointer, SignScope unsafe.Pointer, ScopeSize uint32, SignedCert CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CertSign is like CSSM_CL_CertSign but returns an error instead of panicking if CSSM_CL_CertSign is unavailable at run time.

func TryCSSM_CL_CertVerify

func TryCSSM_CL_CertVerify(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertToBeVerified unsafe.Pointer, SignerCert unsafe.Pointer, VerifyScope unsafe.Pointer, ScopeSize uint32) (CSSM_RETURN, error)

TryCSSM_CL_CertVerify is like CSSM_CL_CertVerify but returns an error instead of panicking if CSSM_CL_CertVerify is unavailable at run time.

func TryCSSM_CL_CertVerifyWithKey

func TryCSSM_CL_CertVerifyWithKey(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertToBeVerified unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CertVerifyWithKey is like CSSM_CL_CertVerifyWithKey but returns an error instead of panicking if CSSM_CL_CertVerifyWithKey is unavailable at run time.

func TryCSSM_CL_CrlAbortCache

func TryCSSM_CL_CrlAbortCache(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE) (CSSM_RETURN, error)

TryCSSM_CL_CrlAbortCache is like CSSM_CL_CrlAbortCache but returns an error instead of panicking if CSSM_CL_CrlAbortCache is unavailable at run time.

func TryCSSM_CL_CrlAbortQuery

func TryCSSM_CL_CrlAbortQuery(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE) (CSSM_RETURN, error)

TryCSSM_CL_CrlAbortQuery is like CSSM_CL_CrlAbortQuery but returns an error instead of panicking if CSSM_CL_CrlAbortQuery is unavailable at run time.

func TryCSSM_CL_CrlAddCert

func TryCSSM_CL_CrlAddCert(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, Cert unsafe.Pointer, NumberOfFields uint32, CrlEntryFields unsafe.Pointer, OldCrl unsafe.Pointer, NewCrl CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CrlAddCert is like CSSM_CL_CrlAddCert but returns an error instead of panicking if CSSM_CL_CrlAddCert is unavailable at run time.

func TryCSSM_CL_CrlCache

func TryCSSM_CL_CrlCache(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, CrlHandle CSSM_HANDLE_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CrlCache is like CSSM_CL_CrlCache but returns an error instead of panicking if CSSM_CL_CrlCache is unavailable at run time.

func TryCSSM_CL_CrlCreateTemplate

func TryCSSM_CL_CrlCreateTemplate(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlTemplate unsafe.Pointer, NewCrl CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CrlCreateTemplate is like CSSM_CL_CrlCreateTemplate but returns an error instead of panicking if CSSM_CL_CrlCreateTemplate is unavailable at run time.

func TryCSSM_CL_CrlDescribeFormat

func TryCSSM_CL_CrlDescribeFormat(CLHandle CSSM_CL_HANDLE, NumberOfFields *uint32, OidList unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CrlDescribeFormat is like CSSM_CL_CrlDescribeFormat but returns an error instead of panicking if CSSM_CL_CrlDescribeFormat is unavailable at run time.

func TryCSSM_CL_CrlGetAllCachedRecordFields

func TryCSSM_CL_CrlGetAllCachedRecordFields(CLHandle CSSM_CL_HANDLE, CrlHandle CSSM_HANDLE, CrlRecordIndex unsafe.Pointer, NumberOfFields *uint32, CrlFields unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CrlGetAllCachedRecordFields is like CSSM_CL_CrlGetAllCachedRecordFields but returns an error instead of panicking if CSSM_CL_CrlGetAllCachedRecordFields is unavailable at run time.

func TryCSSM_CL_CrlGetAllFields

func TryCSSM_CL_CrlGetAllFields(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, NumberOfCrlFields *uint32, CrlFields unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CrlGetAllFields is like CSSM_CL_CrlGetAllFields but returns an error instead of panicking if CSSM_CL_CrlGetAllFields is unavailable at run time.

func TryCSSM_CL_CrlGetFirstCachedFieldValue

func TryCSSM_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, error)

TryCSSM_CL_CrlGetFirstCachedFieldValue is like CSSM_CL_CrlGetFirstCachedFieldValue but returns an error instead of panicking if CSSM_CL_CrlGetFirstCachedFieldValue is unavailable at run time.

func TryCSSM_CL_CrlGetFirstFieldValue

func TryCSSM_CL_CrlGetFirstFieldValue(CLHandle CSSM_CL_HANDLE, Crl unsafe.Pointer, CrlField unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, NumberOfMatchedFields *uint32, Value unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CrlGetFirstFieldValue is like CSSM_CL_CrlGetFirstFieldValue but returns an error instead of panicking if CSSM_CL_CrlGetFirstFieldValue is unavailable at run time.

func TryCSSM_CL_CrlGetNextCachedFieldValue

func TryCSSM_CL_CrlGetNextCachedFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CrlGetNextCachedFieldValue is like CSSM_CL_CrlGetNextCachedFieldValue but returns an error instead of panicking if CSSM_CL_CrlGetNextCachedFieldValue is unavailable at run time.

func TryCSSM_CL_CrlGetNextFieldValue

func TryCSSM_CL_CrlGetNextFieldValue(CLHandle CSSM_CL_HANDLE, ResultsHandle CSSM_HANDLE, Value unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CrlGetNextFieldValue is like CSSM_CL_CrlGetNextFieldValue but returns an error instead of panicking if CSSM_CL_CrlGetNextFieldValue is unavailable at run time.

func TryCSSM_CL_CrlRemoveCert

func TryCSSM_CL_CrlRemoveCert(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, OldCrl unsafe.Pointer, NewCrl CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CrlRemoveCert is like CSSM_CL_CrlRemoveCert but returns an error instead of panicking if CSSM_CL_CrlRemoveCert is unavailable at run time.

func TryCSSM_CL_CrlSetFields

func TryCSSM_CL_CrlSetFields(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlTemplate unsafe.Pointer, OldCrl unsafe.Pointer, ModifiedCrl CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CrlSetFields is like CSSM_CL_CrlSetFields but returns an error instead of panicking if CSSM_CL_CrlSetFields is unavailable at run time.

func TryCSSM_CL_CrlSign

func TryCSSM_CL_CrlSign(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, UnsignedCrl unsafe.Pointer, SignScope unsafe.Pointer, ScopeSize uint32, SignedCrl CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_CrlSign is like CSSM_CL_CrlSign but returns an error instead of panicking if CSSM_CL_CrlSign is unavailable at run time.

func TryCSSM_CL_CrlVerify

func TryCSSM_CL_CrlVerify(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CrlToBeVerified unsafe.Pointer, SignerCert unsafe.Pointer, VerifyScope unsafe.Pointer, ScopeSize uint32) (CSSM_RETURN, error)

TryCSSM_CL_CrlVerify is like CSSM_CL_CrlVerify but returns an error instead of panicking if CSSM_CL_CrlVerify is unavailable at run time.

func TryCSSM_CL_CrlVerifyWithKey

func TryCSSM_CL_CrlVerifyWithKey(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CrlToBeVerified unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_CrlVerifyWithKey is like CSSM_CL_CrlVerifyWithKey but returns an error instead of panicking if CSSM_CL_CrlVerifyWithKey is unavailable at run time.

func TryCSSM_CL_FreeFieldValue

func TryCSSM_CL_FreeFieldValue(CLHandle CSSM_CL_HANDLE, CertOrCrlOid unsafe.Pointer, Value CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_FreeFieldValue is like CSSM_CL_FreeFieldValue but returns an error instead of panicking if CSSM_CL_FreeFieldValue is unavailable at run time.

func TryCSSM_CL_FreeFields

func TryCSSM_CL_FreeFields(CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, Fields unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_FreeFields is like CSSM_CL_FreeFields but returns an error instead of panicking if CSSM_CL_FreeFields is unavailable at run time.

func TryCSSM_CL_IsCertInCachedCrl

func TryCSSM_CL_IsCertInCachedCrl(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, CrlHandle CSSM_HANDLE, CertFound unsafe.Pointer, CrlRecordIndex CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_CL_IsCertInCachedCrl is like CSSM_CL_IsCertInCachedCrl but returns an error instead of panicking if CSSM_CL_IsCertInCachedCrl is unavailable at run time.

func TryCSSM_CL_IsCertInCrl

func TryCSSM_CL_IsCertInCrl(CLHandle CSSM_CL_HANDLE, Cert unsafe.Pointer, Crl unsafe.Pointer, CertFound unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_IsCertInCrl is like CSSM_CL_IsCertInCrl but returns an error instead of panicking if CSSM_CL_IsCertInCrl is unavailable at run time.

func TryCSSM_CL_PassThrough

func TryCSSM_CL_PassThrough(CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, PassThroughId uint32, InputParams unsafe.Pointer, OutputParams unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CL_PassThrough is like CSSM_CL_PassThrough but returns an error instead of panicking if CSSM_CL_PassThrough is unavailable at run time.

func TryCSSM_CSP_ChangeLoginAcl

func TryCSSM_CSP_ChangeLoginAcl(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_ChangeLoginAcl is like CSSM_CSP_ChangeLoginAcl but returns an error instead of panicking if CSSM_CSP_ChangeLoginAcl is unavailable at run time.

func TryCSSM_CSP_ChangeLoginOwner

func TryCSSM_CSP_ChangeLoginOwner(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, NewOwner unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_ChangeLoginOwner is like CSSM_CSP_ChangeLoginOwner but returns an error instead of panicking if CSSM_CSP_ChangeLoginOwner is unavailable at run time.

func TryCSSM_CSP_CreateAsymmetricContext

func TryCSSM_CSP_CreateAsymmetricContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, AccessCred unsafe.Pointer, Key unsafe.Pointer, Padding CSSM_PADDING, NewContextHandle unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_CreateAsymmetricContext is like CSSM_CSP_CreateAsymmetricContext but returns an error instead of panicking if CSSM_CSP_CreateAsymmetricContext is unavailable at run time.

func TryCSSM_CSP_CreateDeriveKeyContext

func TryCSSM_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, error)

TryCSSM_CSP_CreateDeriveKeyContext is like CSSM_CSP_CreateDeriveKeyContext but returns an error instead of panicking if CSSM_CSP_CreateDeriveKeyContext is unavailable at run time.

func TryCSSM_CSP_CreateDigestContext

func TryCSSM_CSP_CreateDigestContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, NewContextHandle unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_CreateDigestContext is like CSSM_CSP_CreateDigestContext but returns an error instead of panicking if CSSM_CSP_CreateDigestContext is unavailable at run time.

func TryCSSM_CSP_CreateKeyGenContext

func TryCSSM_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, error)

TryCSSM_CSP_CreateKeyGenContext is like CSSM_CSP_CreateKeyGenContext but returns an error instead of panicking if CSSM_CSP_CreateKeyGenContext is unavailable at run time.

func TryCSSM_CSP_CreateMacContext

func TryCSSM_CSP_CreateMacContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Key unsafe.Pointer, NewContextHandle unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_CreateMacContext is like CSSM_CSP_CreateMacContext but returns an error instead of panicking if CSSM_CSP_CreateMacContext is unavailable at run time.

func TryCSSM_CSP_CreatePassThroughContext

func TryCSSM_CSP_CreatePassThroughContext(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, NewContextHandle unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_CreatePassThroughContext is like CSSM_CSP_CreatePassThroughContext but returns an error instead of panicking if CSSM_CSP_CreatePassThroughContext is unavailable at run time.

func TryCSSM_CSP_CreateRandomGenContext

func TryCSSM_CSP_CreateRandomGenContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, Seed unsafe.Pointer, Length CSSM_SIZE, NewContextHandle unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_CreateRandomGenContext is like CSSM_CSP_CreateRandomGenContext but returns an error instead of panicking if CSSM_CSP_CreateRandomGenContext is unavailable at run time.

func TryCSSM_CSP_CreateSignatureContext

func TryCSSM_CSP_CreateSignatureContext(CSPHandle CSSM_CSP_HANDLE, AlgorithmID CSSM_ALGORITHMS, AccessCred unsafe.Pointer, Key unsafe.Pointer, NewContextHandle unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_CreateSignatureContext is like CSSM_CSP_CreateSignatureContext but returns an error instead of panicking if CSSM_CSP_CreateSignatureContext is unavailable at run time.

func TryCSSM_CSP_CreateSymmetricContext

func TryCSSM_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, error)

TryCSSM_CSP_CreateSymmetricContext is like CSSM_CSP_CreateSymmetricContext but returns an error instead of panicking if CSSM_CSP_CreateSymmetricContext is unavailable at run time.

func TryCSSM_CSP_GetLoginAcl

func TryCSSM_CSP_GetLoginAcl(CSPHandle CSSM_CSP_HANDLE, SelectionTag unsafe.Pointer, NumberOfAclInfos *uint32, AclInfos unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_GetLoginAcl is like CSSM_CSP_GetLoginAcl but returns an error instead of panicking if CSSM_CSP_GetLoginAcl is unavailable at run time.

func TryCSSM_CSP_GetLoginOwner

func TryCSSM_CSP_GetLoginOwner(CSPHandle CSSM_CSP_HANDLE, Owner CSSM_ACL_OWNER_PROTOTYPE_PTR) (CSSM_RETURN, error)

TryCSSM_CSP_GetLoginOwner is like CSSM_CSP_GetLoginOwner but returns an error instead of panicking if CSSM_CSP_GetLoginOwner is unavailable at run time.

func TryCSSM_CSP_GetOperationalStatistics

func TryCSSM_CSP_GetOperationalStatistics(CSPHandle CSSM_CSP_HANDLE, Statistics unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_GetOperationalStatistics is like CSSM_CSP_GetOperationalStatistics but returns an error instead of panicking if CSSM_CSP_GetOperationalStatistics is unavailable at run time.

func TryCSSM_CSP_Login

func TryCSSM_CSP_Login(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, LoginName unsafe.Pointer, Reserved unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_Login is like CSSM_CSP_Login but returns an error instead of panicking if CSSM_CSP_Login is unavailable at run time.

func TryCSSM_CSP_Logout

func TryCSSM_CSP_Logout(CSPHandle CSSM_CSP_HANDLE) (CSSM_RETURN, error)

TryCSSM_CSP_Logout is like CSSM_CSP_Logout but returns an error instead of panicking if CSSM_CSP_Logout is unavailable at run time.

func TryCSSM_CSP_ObtainPrivateKeyFromPublicKey

func TryCSSM_CSP_ObtainPrivateKeyFromPublicKey(CSPHandle CSSM_CSP_HANDLE, PublicKey unsafe.Pointer, PrivateKey unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_ObtainPrivateKeyFromPublicKey is like CSSM_CSP_ObtainPrivateKeyFromPublicKey but returns an error instead of panicking if CSSM_CSP_ObtainPrivateKeyFromPublicKey is unavailable at run time.

func TryCSSM_CSP_PassThrough

func TryCSSM_CSP_PassThrough(CCHandle CSSM_CC_HANDLE, PassThroughId uint32, InData unsafe.Pointer, OutData unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_CSP_PassThrough is like CSSM_CSP_PassThrough but returns an error instead of panicking if CSSM_CSP_PassThrough is unavailable at run time.

func TryCSSM_ChangeKeyAcl

func TryCSSM_ChangeKeyAcl(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer, Key unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_ChangeKeyAcl is like CSSM_ChangeKeyAcl but returns an error instead of panicking if CSSM_ChangeKeyAcl is unavailable at run time.

func TryCSSM_ChangeKeyOwner

func TryCSSM_ChangeKeyOwner(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, NewOwner unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_ChangeKeyOwner is like CSSM_ChangeKeyOwner but returns an error instead of panicking if CSSM_ChangeKeyOwner is unavailable at run time.

func TryCSSM_DL_Authenticate

func TryCSSM_DL_Authenticate(DLDBHandle [2]uint64, AccessRequest CSSM_DB_ACCESS_TYPE, AccessCred unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_Authenticate is like CSSM_DL_Authenticate but returns an error instead of panicking if CSSM_DL_Authenticate is unavailable at run time.

func TryCSSM_DL_ChangeDbAcl

func TryCSSM_DL_ChangeDbAcl(DLDBHandle [2]uint64, AccessCred unsafe.Pointer, AclEdit unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_ChangeDbAcl is like CSSM_DL_ChangeDbAcl but returns an error instead of panicking if CSSM_DL_ChangeDbAcl is unavailable at run time.

func TryCSSM_DL_ChangeDbOwner

func TryCSSM_DL_ChangeDbOwner(DLDBHandle [2]uint64, AccessCred unsafe.Pointer, NewOwner unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_ChangeDbOwner is like CSSM_DL_ChangeDbOwner but returns an error instead of panicking if CSSM_DL_ChangeDbOwner is unavailable at run time.

func TryCSSM_DL_CreateRelation

func TryCSSM_DL_CreateRelation(DLDBHandle [2]uint64, RelationID CSSM_DB_RECORDTYPE, RelationName string, NumberOfAttributes uint32, pAttributeInfo unsafe.Pointer, NumberOfIndexes uint32, pIndexInfo unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_CreateRelation is like CSSM_DL_CreateRelation but returns an error instead of panicking if CSSM_DL_CreateRelation is unavailable at run time.

func TryCSSM_DL_DataAbortQuery

func TryCSSM_DL_DataAbortQuery(DLDBHandle [2]uint64, ResultsHandle CSSM_HANDLE) (CSSM_RETURN, error)

TryCSSM_DL_DataAbortQuery is like CSSM_DL_DataAbortQuery but returns an error instead of panicking if CSSM_DL_DataAbortQuery is unavailable at run time.

func TryCSSM_DL_DataDelete

func TryCSSM_DL_DataDelete(DLDBHandle [2]uint64, UniqueRecordIdentifier unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_DataDelete is like CSSM_DL_DataDelete but returns an error instead of panicking if CSSM_DL_DataDelete is unavailable at run time.

func TryCSSM_DL_DataGetFirst

func TryCSSM_DL_DataGetFirst(DLDBHandle [2]uint64, Query unsafe.Pointer, ResultsHandle CSSM_HANDLE_PTR, Attributes CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR, Data CSSM_DATA_PTR, UniqueId unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_DataGetFirst is like CSSM_DL_DataGetFirst but returns an error instead of panicking if CSSM_DL_DataGetFirst is unavailable at run time.

func TryCSSM_DL_DataGetFromUniqueRecordId

func TryCSSM_DL_DataGetFromUniqueRecordId(DLDBHandle [2]uint64, UniqueRecord unsafe.Pointer, Attributes CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR, Data CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_DL_DataGetFromUniqueRecordId is like CSSM_DL_DataGetFromUniqueRecordId but returns an error instead of panicking if CSSM_DL_DataGetFromUniqueRecordId is unavailable at run time.

func TryCSSM_DL_DataGetNext

func TryCSSM_DL_DataGetNext(DLDBHandle [2]uint64, ResultsHandle CSSM_HANDLE, Attributes CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR, Data CSSM_DATA_PTR, UniqueId unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_DataGetNext is like CSSM_DL_DataGetNext but returns an error instead of panicking if CSSM_DL_DataGetNext is unavailable at run time.

func TryCSSM_DL_DataInsert

func TryCSSM_DL_DataInsert(DLDBHandle [2]uint64, RecordType CSSM_DB_RECORDTYPE, Attributes unsafe.Pointer, Data unsafe.Pointer, UniqueId unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_DataInsert is like CSSM_DL_DataInsert but returns an error instead of panicking if CSSM_DL_DataInsert is unavailable at run time.

func TryCSSM_DL_DataModify

func TryCSSM_DL_DataModify(DLDBHandle [2]uint64, RecordType CSSM_DB_RECORDTYPE, UniqueRecordIdentifier CSSM_DB_UNIQUE_RECORD_PTR, AttributesToBeModified unsafe.Pointer, DataToBeModified unsafe.Pointer, ModifyMode CSSM_DB_MODIFY_MODE) (CSSM_RETURN, error)

TryCSSM_DL_DataModify is like CSSM_DL_DataModify but returns an error instead of panicking if CSSM_DL_DataModify is unavailable at run time.

func TryCSSM_DL_DbClose

func TryCSSM_DL_DbClose(DLDBHandle [2]uint64) (CSSM_RETURN, error)

TryCSSM_DL_DbClose is like CSSM_DL_DbClose but returns an error instead of panicking if CSSM_DL_DbClose is unavailable at run time.

func TryCSSM_DL_DbCreate

func TryCSSM_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, error)

TryCSSM_DL_DbCreate is like CSSM_DL_DbCreate but returns an error instead of panicking if CSSM_DL_DbCreate is unavailable at run time.

func TryCSSM_DL_DbDelete

func TryCSSM_DL_DbDelete(DLHandle CSSM_DL_HANDLE, DbName string, DbLocation unsafe.Pointer, AccessCred unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_DbDelete is like CSSM_DL_DbDelete but returns an error instead of panicking if CSSM_DL_DbDelete is unavailable at run time.

func TryCSSM_DL_DbOpen

func TryCSSM_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, error)

TryCSSM_DL_DbOpen is like CSSM_DL_DbOpen but returns an error instead of panicking if CSSM_DL_DbOpen is unavailable at run time.

func TryCSSM_DL_DestroyRelation

func TryCSSM_DL_DestroyRelation(DLDBHandle [2]uint64, RelationID CSSM_DB_RECORDTYPE) (CSSM_RETURN, error)

TryCSSM_DL_DestroyRelation is like CSSM_DL_DestroyRelation but returns an error instead of panicking if CSSM_DL_DestroyRelation is unavailable at run time.

func TryCSSM_DL_FreeNameList

func TryCSSM_DL_FreeNameList(DLHandle CSSM_DL_HANDLE, NameList CSSM_NAME_LIST_PTR) (CSSM_RETURN, error)

TryCSSM_DL_FreeNameList is like CSSM_DL_FreeNameList but returns an error instead of panicking if CSSM_DL_FreeNameList is unavailable at run time.

func TryCSSM_DL_FreeUniqueRecord

func TryCSSM_DL_FreeUniqueRecord(DLDBHandle [2]uint64, UniqueRecord CSSM_DB_UNIQUE_RECORD_PTR) (CSSM_RETURN, error)

TryCSSM_DL_FreeUniqueRecord is like CSSM_DL_FreeUniqueRecord but returns an error instead of panicking if CSSM_DL_FreeUniqueRecord is unavailable at run time.

func TryCSSM_DL_GetDbAcl

func TryCSSM_DL_GetDbAcl(DLDBHandle [2]uint64, SelectionTag unsafe.Pointer, NumberOfAclInfos *uint32, AclInfos unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_GetDbAcl is like CSSM_DL_GetDbAcl but returns an error instead of panicking if CSSM_DL_GetDbAcl is unavailable at run time.

func TryCSSM_DL_GetDbNameFromHandle

func TryCSSM_DL_GetDbNameFromHandle(DLDBHandle [2]uint64, DbName **byte) (CSSM_RETURN, error)

TryCSSM_DL_GetDbNameFromHandle is like CSSM_DL_GetDbNameFromHandle but returns an error instead of panicking if CSSM_DL_GetDbNameFromHandle is unavailable at run time.

func TryCSSM_DL_GetDbNames

func TryCSSM_DL_GetDbNames(DLHandle CSSM_DL_HANDLE, NameList unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_GetDbNames is like CSSM_DL_GetDbNames but returns an error instead of panicking if CSSM_DL_GetDbNames is unavailable at run time.

func TryCSSM_DL_GetDbOwner

func TryCSSM_DL_GetDbOwner(DLDBHandle [2]uint64, Owner CSSM_ACL_OWNER_PROTOTYPE_PTR) (CSSM_RETURN, error)

TryCSSM_DL_GetDbOwner is like CSSM_DL_GetDbOwner but returns an error instead of panicking if CSSM_DL_GetDbOwner is unavailable at run time.

func TryCSSM_DL_PassThrough

func TryCSSM_DL_PassThrough(DLDBHandle [2]uint64, PassThroughId uint32, InputParams unsafe.Pointer, OutputParams unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DL_PassThrough is like CSSM_DL_PassThrough but returns an error instead of panicking if CSSM_DL_PassThrough is unavailable at run time.

func TryCSSM_DecryptData

func TryCSSM_DecryptData(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ClearBufs CSSM_DATA_PTR, ClearBufCount uint32, bytesDecrypted unsafe.Pointer, RemData CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_DecryptData is like CSSM_DecryptData but returns an error instead of panicking if CSSM_DecryptData is unavailable at run time.

func TryCSSM_DecryptDataFinal

func TryCSSM_DecryptDataFinal(CCHandle CSSM_CC_HANDLE, RemData CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_DecryptDataFinal is like CSSM_DecryptDataFinal but returns an error instead of panicking if CSSM_DecryptDataFinal is unavailable at run time.

func TryCSSM_DecryptDataInit

func TryCSSM_DecryptDataInit(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_DecryptDataInit is like CSSM_DecryptDataInit but returns an error instead of panicking if CSSM_DecryptDataInit is unavailable at run time.

func TryCSSM_DecryptDataInitP

func TryCSSM_DecryptDataInitP(CCHandle CSSM_CC_HANDLE, Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_DecryptDataInitP is like CSSM_DecryptDataInitP but returns an error instead of panicking if CSSM_DecryptDataInitP is unavailable at run time.

func TryCSSM_DecryptDataP

func TryCSSM_DecryptDataP(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ClearBufs CSSM_DATA_PTR, ClearBufCount uint32, bytesDecrypted unsafe.Pointer, RemData CSSM_DATA_PTR, Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_DecryptDataP is like CSSM_DecryptDataP but returns an error instead of panicking if CSSM_DecryptDataP is unavailable at run time.

func TryCSSM_DecryptDataUpdate

func TryCSSM_DecryptDataUpdate(CCHandle CSSM_CC_HANDLE, CipherBufs unsafe.Pointer, CipherBufCount uint32, ClearBufs CSSM_DATA_PTR, ClearBufCount uint32, bytesDecrypted unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DecryptDataUpdate is like CSSM_DecryptDataUpdate but returns an error instead of panicking if CSSM_DecryptDataUpdate is unavailable at run time.

func TryCSSM_DeleteContext

func TryCSSM_DeleteContext(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_DeleteContext is like CSSM_DeleteContext but returns an error instead of panicking if CSSM_DeleteContext is unavailable at run time.

func TryCSSM_DeleteContextAttributes

func TryCSSM_DeleteContextAttributes(CCHandle CSSM_CC_HANDLE, NumberOfAttributes uint32, ContextAttributes unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DeleteContextAttributes is like CSSM_DeleteContextAttributes but returns an error instead of panicking if CSSM_DeleteContextAttributes is unavailable at run time.

func TryCSSM_DeriveKey

func TryCSSM_DeriveKey(CCHandle CSSM_CC_HANDLE, Param CSSM_DATA_PTR, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, DerivedKey unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DeriveKey is like CSSM_DeriveKey but returns an error instead of panicking if CSSM_DeriveKey is unavailable at run time.

func TryCSSM_DigestData

func TryCSSM_DigestData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, Digest CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_DigestData is like CSSM_DigestData but returns an error instead of panicking if CSSM_DigestData is unavailable at run time.

func TryCSSM_DigestDataClone

func TryCSSM_DigestDataClone(CCHandle CSSM_CC_HANDLE, ClonednewCCHandle unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_DigestDataClone is like CSSM_DigestDataClone but returns an error instead of panicking if CSSM_DigestDataClone is unavailable at run time.

func TryCSSM_DigestDataFinal

func TryCSSM_DigestDataFinal(CCHandle CSSM_CC_HANDLE, Digest CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_DigestDataFinal is like CSSM_DigestDataFinal but returns an error instead of panicking if CSSM_DigestDataFinal is unavailable at run time.

func TryCSSM_DigestDataInit

func TryCSSM_DigestDataInit(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_DigestDataInit is like CSSM_DigestDataInit but returns an error instead of panicking if CSSM_DigestDataInit is unavailable at run time.

func TryCSSM_DigestDataUpdate

func TryCSSM_DigestDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) (CSSM_RETURN, error)

TryCSSM_DigestDataUpdate is like CSSM_DigestDataUpdate but returns an error instead of panicking if CSSM_DigestDataUpdate is unavailable at run time.

func TryCSSM_EncryptData

func TryCSSM_EncryptData(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, CipherBufs CSSM_DATA_PTR, CipherBufCount uint32, bytesEncrypted unsafe.Pointer, RemData CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_EncryptData is like CSSM_EncryptData but returns an error instead of panicking if CSSM_EncryptData is unavailable at run time.

func TryCSSM_EncryptDataFinal

func TryCSSM_EncryptDataFinal(CCHandle CSSM_CC_HANDLE, RemData CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_EncryptDataFinal is like CSSM_EncryptDataFinal but returns an error instead of panicking if CSSM_EncryptDataFinal is unavailable at run time.

func TryCSSM_EncryptDataInit

func TryCSSM_EncryptDataInit(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_EncryptDataInit is like CSSM_EncryptDataInit but returns an error instead of panicking if CSSM_EncryptDataInit is unavailable at run time.

func TryCSSM_EncryptDataInitP

func TryCSSM_EncryptDataInitP(CCHandle CSSM_CC_HANDLE, Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_EncryptDataInitP is like CSSM_EncryptDataInitP but returns an error instead of panicking if CSSM_EncryptDataInitP is unavailable at run time.

func TryCSSM_EncryptDataP

func TryCSSM_EncryptDataP(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, CipherBufs CSSM_DATA_PTR, CipherBufCount uint32, bytesEncrypted unsafe.Pointer, RemData CSSM_DATA_PTR, Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_EncryptDataP is like CSSM_EncryptDataP but returns an error instead of panicking if CSSM_EncryptDataP is unavailable at run time.

func TryCSSM_EncryptDataUpdate

func TryCSSM_EncryptDataUpdate(CCHandle CSSM_CC_HANDLE, ClearBufs unsafe.Pointer, ClearBufCount uint32, CipherBufs CSSM_DATA_PTR, CipherBufCount uint32, bytesEncrypted unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_EncryptDataUpdate is like CSSM_EncryptDataUpdate but returns an error instead of panicking if CSSM_EncryptDataUpdate is unavailable at run time.

func TryCSSM_FreeContext

func TryCSSM_FreeContext(Context CSSM_CONTEXT_PTR) (CSSM_RETURN, error)

TryCSSM_FreeContext is like CSSM_FreeContext but returns an error instead of panicking if CSSM_FreeContext is unavailable at run time.

func TryCSSM_FreeKey

func TryCSSM_FreeKey(CSPHandle CSSM_CSP_HANDLE, AccessCred unsafe.Pointer, KeyPtr unsafe.Pointer, Delete CSSM_BOOL) (CSSM_RETURN, error)

TryCSSM_FreeKey is like CSSM_FreeKey but returns an error instead of panicking if CSSM_FreeKey is unavailable at run time.

func TryCSSM_GenerateAlgorithmParams

func TryCSSM_GenerateAlgorithmParams(CCHandle CSSM_CC_HANDLE, ParamBits uint32, Param CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_GenerateAlgorithmParams is like CSSM_GenerateAlgorithmParams but returns an error instead of panicking if CSSM_GenerateAlgorithmParams is unavailable at run time.

func TryCSSM_GenerateKey

func TryCSSM_GenerateKey(CCHandle CSSM_CC_HANDLE, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, Key unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_GenerateKey is like CSSM_GenerateKey but returns an error instead of panicking if CSSM_GenerateKey is unavailable at run time.

func TryCSSM_GenerateKeyP

func TryCSSM_GenerateKeyP(CCHandle CSSM_CC_HANDLE, KeyUsage uint32, KeyAttr uint32, KeyLabel unsafe.Pointer, CredAndAclEntry unsafe.Pointer, Key unsafe.Pointer, Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_GenerateKeyP is like CSSM_GenerateKeyP but returns an error instead of panicking if CSSM_GenerateKeyP is unavailable at run time.

func TryCSSM_GenerateKeyPair

func TryCSSM_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, error)

TryCSSM_GenerateKeyPair is like CSSM_GenerateKeyPair but returns an error instead of panicking if CSSM_GenerateKeyPair is unavailable at run time.

func TryCSSM_GenerateKeyPairP

func TryCSSM_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, error)

TryCSSM_GenerateKeyPairP is like CSSM_GenerateKeyPairP but returns an error instead of panicking if CSSM_GenerateKeyPairP is unavailable at run time.

func TryCSSM_GenerateMac

func TryCSSM_GenerateMac(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, Mac CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_GenerateMac is like CSSM_GenerateMac but returns an error instead of panicking if CSSM_GenerateMac is unavailable at run time.

func TryCSSM_GenerateMacFinal

func TryCSSM_GenerateMacFinal(CCHandle CSSM_CC_HANDLE, Mac CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_GenerateMacFinal is like CSSM_GenerateMacFinal but returns an error instead of panicking if CSSM_GenerateMacFinal is unavailable at run time.

func TryCSSM_GenerateMacInit

func TryCSSM_GenerateMacInit(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_GenerateMacInit is like CSSM_GenerateMacInit but returns an error instead of panicking if CSSM_GenerateMacInit is unavailable at run time.

func TryCSSM_GenerateMacUpdate

func TryCSSM_GenerateMacUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) (CSSM_RETURN, error)

TryCSSM_GenerateMacUpdate is like CSSM_GenerateMacUpdate but returns an error instead of panicking if CSSM_GenerateMacUpdate is unavailable at run time.

func TryCSSM_GenerateRandom

func TryCSSM_GenerateRandom(CCHandle CSSM_CC_HANDLE, RandomNumber CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_GenerateRandom is like CSSM_GenerateRandom but returns an error instead of panicking if CSSM_GenerateRandom is unavailable at run time.

func TryCSSM_GetAPIMemoryFunctions

func TryCSSM_GetAPIMemoryFunctions(AddInHandle CSSM_MODULE_HANDLE, AppMemoryFuncs CSSM_API_MEMORY_FUNCS_PTR) (CSSM_RETURN, error)

TryCSSM_GetAPIMemoryFunctions is like CSSM_GetAPIMemoryFunctions but returns an error instead of panicking if CSSM_GetAPIMemoryFunctions is unavailable at run time.

func TryCSSM_GetContext

func TryCSSM_GetContext(CCHandle CSSM_CC_HANDLE, Context unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_GetContext is like CSSM_GetContext but returns an error instead of panicking if CSSM_GetContext is unavailable at run time.

func TryCSSM_GetContextAttribute

func TryCSSM_GetContextAttribute(Context unsafe.Pointer, AttributeType uint32, ContextAttribute unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_GetContextAttribute is like CSSM_GetContextAttribute but returns an error instead of panicking if CSSM_GetContextAttribute is unavailable at run time.

func TryCSSM_GetKeyAcl

func TryCSSM_GetKeyAcl(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, SelectionTag unsafe.Pointer, NumberOfAclInfos *uint32, AclInfos unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_GetKeyAcl is like CSSM_GetKeyAcl but returns an error instead of panicking if CSSM_GetKeyAcl is unavailable at run time.

func TryCSSM_GetKeyOwner

func TryCSSM_GetKeyOwner(CSPHandle CSSM_CSP_HANDLE, Key unsafe.Pointer, Owner CSSM_ACL_OWNER_PROTOTYPE_PTR) (CSSM_RETURN, error)

TryCSSM_GetKeyOwner is like CSSM_GetKeyOwner but returns an error instead of panicking if CSSM_GetKeyOwner is unavailable at run time.

func TryCSSM_GetModuleGUIDFromHandle

func TryCSSM_GetModuleGUIDFromHandle(ModuleHandle CSSM_MODULE_HANDLE, ModuleGUID CSSM_GUID_PTR) (CSSM_RETURN, error)

TryCSSM_GetModuleGUIDFromHandle is like CSSM_GetModuleGUIDFromHandle but returns an error instead of panicking if CSSM_GetModuleGUIDFromHandle is unavailable at run time.

func TryCSSM_GetPrivilege

func TryCSSM_GetPrivilege(Privilege unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_GetPrivilege is like CSSM_GetPrivilege but returns an error instead of panicking if CSSM_GetPrivilege is unavailable at run time.

func TryCSSM_GetSubserviceUIDFromHandle

func TryCSSM_GetSubserviceUIDFromHandle(ModuleHandle CSSM_MODULE_HANDLE, SubserviceUID CSSM_SUBSERVICE_UID_PTR) (CSSM_RETURN, error)

TryCSSM_GetSubserviceUIDFromHandle is like CSSM_GetSubserviceUIDFromHandle but returns an error instead of panicking if CSSM_GetSubserviceUIDFromHandle is unavailable at run time.

func TryCSSM_GetTimeValue

func TryCSSM_GetTimeValue(CSPHandle CSSM_CSP_HANDLE, TimeAlgorithm CSSM_ALGORITHMS, TimeData unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_GetTimeValue is like CSSM_GetTimeValue but returns an error instead of panicking if CSSM_GetTimeValue is unavailable at run time.

func TryCSSM_Init

func TryCSSM_Init(Version unsafe.Pointer, Scope CSSM_PRIVILEGE_SCOPE, CallerGuid unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY, PvcPolicy unsafe.Pointer, Reserved unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_Init is like CSSM_Init but returns an error instead of panicking if CSSM_Init is unavailable at run time.

func TryCSSM_Introduce

func TryCSSM_Introduce(ModuleID unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY) (CSSM_RETURN, error)

TryCSSM_Introduce is like CSSM_Introduce but returns an error instead of panicking if CSSM_Introduce is unavailable at run time.

func TryCSSM_ListAttachedModuleManagers

func TryCSSM_ListAttachedModuleManagers(NumberOfModuleManagers *uint32, ModuleManagerGuids CSSM_GUID_PTR) (CSSM_RETURN, error)

TryCSSM_ListAttachedModuleManagers is like CSSM_ListAttachedModuleManagers but returns an error instead of panicking if CSSM_ListAttachedModuleManagers is unavailable at run time.

func TryCSSM_ModuleAttach

func TryCSSM_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, error)

TryCSSM_ModuleAttach is like CSSM_ModuleAttach but returns an error instead of panicking if CSSM_ModuleAttach is unavailable at run time.

func TryCSSM_ModuleDetach

func TryCSSM_ModuleDetach(ModuleHandle CSSM_MODULE_HANDLE) (CSSM_RETURN, error)

TryCSSM_ModuleDetach is like CSSM_ModuleDetach but returns an error instead of panicking if CSSM_ModuleDetach is unavailable at run time.

func TryCSSM_ModuleLoad

func TryCSSM_ModuleLoad(ModuleGuid unsafe.Pointer, KeyHierarchy CSSM_KEY_HIERARCHY, AppNotifyCallback CSSM_API_ModuleEventHandler, AppNotifyCallbackCtx unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_ModuleLoad is like CSSM_ModuleLoad but returns an error instead of panicking if CSSM_ModuleLoad is unavailable at run time.

func TryCSSM_ModuleUnload

func TryCSSM_ModuleUnload(ModuleGuid unsafe.Pointer, AppNotifyCallback CSSM_API_ModuleEventHandler, AppNotifyCallbackCtx unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_ModuleUnload is like CSSM_ModuleUnload but returns an error instead of panicking if CSSM_ModuleUnload is unavailable at run time.

func TryCSSM_QueryKeySizeInBits

func TryCSSM_QueryKeySizeInBits(CSPHandle CSSM_CSP_HANDLE, CCHandle CSSM_CC_HANDLE, Key unsafe.Pointer, KeySize CSSM_KEY_SIZE_PTR) (CSSM_RETURN, error)

TryCSSM_QueryKeySizeInBits is like CSSM_QueryKeySizeInBits but returns an error instead of panicking if CSSM_QueryKeySizeInBits is unavailable at run time.

func TryCSSM_QuerySize

func TryCSSM_QuerySize(CCHandle CSSM_CC_HANDLE, Encrypt CSSM_BOOL, QuerySizeCount uint32, DataBlockSizes CSSM_QUERY_SIZE_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_QuerySize is like CSSM_QuerySize but returns an error instead of panicking if CSSM_QuerySize is unavailable at run time.

func TryCSSM_RetrieveCounter

func TryCSSM_RetrieveCounter(CSPHandle CSSM_CSP_HANDLE, Counter CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_RetrieveCounter is like CSSM_RetrieveCounter but returns an error instead of panicking if CSSM_RetrieveCounter is unavailable at run time.

func TryCSSM_RetrieveUniqueId

func TryCSSM_RetrieveUniqueId(CSPHandle CSSM_CSP_HANDLE, UniqueID CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_RetrieveUniqueId is like CSSM_RetrieveUniqueId but returns an error instead of panicking if CSSM_RetrieveUniqueId is unavailable at run time.

func TryCSSM_SetContext

func TryCSSM_SetContext(CCHandle CSSM_CC_HANDLE, Context unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_SetContext is like CSSM_SetContext but returns an error instead of panicking if CSSM_SetContext is unavailable at run time.

func TryCSSM_SetPrivilege

func TryCSSM_SetPrivilege(Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_SetPrivilege is like CSSM_SetPrivilege but returns an error instead of panicking if CSSM_SetPrivilege is unavailable at run time.

func TryCSSM_SignData

func TryCSSM_SignData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, DigestAlgorithm CSSM_ALGORITHMS, Signature CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_SignData is like CSSM_SignData but returns an error instead of panicking if CSSM_SignData is unavailable at run time.

func TryCSSM_SignDataFinal

func TryCSSM_SignDataFinal(CCHandle CSSM_CC_HANDLE, Signature CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_SignDataFinal is like CSSM_SignDataFinal but returns an error instead of panicking if CSSM_SignDataFinal is unavailable at run time.

func TryCSSM_SignDataInit

func TryCSSM_SignDataInit(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_SignDataInit is like CSSM_SignDataInit but returns an error instead of panicking if CSSM_SignDataInit is unavailable at run time.

func TryCSSM_SignDataUpdate

func TryCSSM_SignDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) (CSSM_RETURN, error)

TryCSSM_SignDataUpdate is like CSSM_SignDataUpdate but returns an error instead of panicking if CSSM_SignDataUpdate is unavailable at run time.

func TryCSSM_TP_ApplyCrlToDb

func TryCSSM_TP_ApplyCrlToDb(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, CrlToBeApplied unsafe.Pointer, SignerCertGroup unsafe.Pointer, ApplyCrlVerifyContext unsafe.Pointer, ApplyCrlVerifyResult CSSM_TP_VERIFY_CONTEXT_RESULT_PTR) (CSSM_RETURN, error)

TryCSSM_TP_ApplyCrlToDb is like CSSM_TP_ApplyCrlToDb but returns an error instead of panicking if CSSM_TP_ApplyCrlToDb is unavailable at run time.

func TryCSSM_TP_CertCreateTemplate

func TryCSSM_TP_CertCreateTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CertFields unsafe.Pointer, CertTemplate CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CertCreateTemplate is like CSSM_TP_CertCreateTemplate but returns an error instead of panicking if CSSM_TP_CertCreateTemplate is unavailable at run time.

func TryCSSM_TP_CertGetAllTemplateFields

func TryCSSM_TP_CertGetAllTemplateFields(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CertTemplate unsafe.Pointer, NumberOfFields *uint32, CertFields unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_TP_CertGetAllTemplateFields is like CSSM_TP_CertGetAllTemplateFields but returns an error instead of panicking if CSSM_TP_CertGetAllTemplateFields is unavailable at run time.

func TryCSSM_TP_CertGroupConstruct

func TryCSSM_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, error)

TryCSSM_TP_CertGroupConstruct is like CSSM_TP_CertGroupConstruct but returns an error instead of panicking if CSSM_TP_CertGroupConstruct is unavailable at run time.

func TryCSSM_TP_CertGroupPrune

func TryCSSM_TP_CertGroupPrune(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, DBList unsafe.Pointer, OrderedCertGroup unsafe.Pointer, PrunedCertGroup unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_TP_CertGroupPrune is like CSSM_TP_CertGroupPrune but returns an error instead of panicking if CSSM_TP_CertGroupPrune is unavailable at run time.

func TryCSSM_TP_CertGroupToTupleGroup

func TryCSSM_TP_CertGroupToTupleGroup(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CertGroup unsafe.Pointer, TupleGroup unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_TP_CertGroupToTupleGroup is like CSSM_TP_CertGroupToTupleGroup but returns an error instead of panicking if CSSM_TP_CertGroupToTupleGroup is unavailable at run time.

func TryCSSM_TP_CertGroupVerify

func TryCSSM_TP_CertGroupVerify(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, CertGroupToBeVerified unsafe.Pointer, VerifyContext unsafe.Pointer, VerifyContextResult CSSM_TP_VERIFY_CONTEXT_RESULT_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CertGroupVerify is like CSSM_TP_CertGroupVerify but returns an error instead of panicking if CSSM_TP_CertGroupVerify is unavailable at run time.

func TryCSSM_TP_CertReclaimAbort

func TryCSSM_TP_CertReclaimAbort(TPHandle CSSM_TP_HANDLE, KeyCacheHandle CSSM_LONG_HANDLE) (CSSM_RETURN, error)

TryCSSM_TP_CertReclaimAbort is like CSSM_TP_CertReclaimAbort but returns an error instead of panicking if CSSM_TP_CertReclaimAbort is unavailable at run time.

func TryCSSM_TP_CertReclaimKey

func TryCSSM_TP_CertReclaimKey(TPHandle CSSM_TP_HANDLE, CertGroup unsafe.Pointer, CertIndex uint32, KeyCacheHandle CSSM_LONG_HANDLE, CSPHandle CSSM_CSP_HANDLE, CredAndAclEntry unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_TP_CertReclaimKey is like CSSM_TP_CertReclaimKey but returns an error instead of panicking if CSSM_TP_CertReclaimKey is unavailable at run time.

func TryCSSM_TP_CertRemoveFromCrlTemplate

func TryCSSM_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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, NewCrlTemplate CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CertRemoveFromCrlTemplate is like CSSM_TP_CertRemoveFromCrlTemplate but returns an error instead of panicking if CSSM_TP_CertRemoveFromCrlTemplate is unavailable at run time.

func TryCSSM_TP_CertRevoke

func TryCSSM_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 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, Reason CSSM_TP_CERTCHANGE_REASON, NewCrlTemplate CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CertRevoke is like CSSM_TP_CertRevoke but returns an error instead of panicking if CSSM_TP_CertRevoke is unavailable at run time.

func TryCSSM_TP_CertSign

func TryCSSM_TP_CertSign(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CertTemplateToBeSigned unsafe.Pointer, SignerCertGroup unsafe.Pointer, SignerVerifyContext unsafe.Pointer, SignerVerifyResult CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, SignedCert CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CertSign is like CSSM_TP_CertSign but returns an error instead of panicking if CSSM_TP_CertSign is unavailable at run time.

func TryCSSM_TP_ConfirmCredResult

func TryCSSM_TP_ConfirmCredResult(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, CallerAuthCredentials unsafe.Pointer, Responses unsafe.Pointer, PreferredAuthority unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_TP_ConfirmCredResult is like CSSM_TP_ConfirmCredResult but returns an error instead of panicking if CSSM_TP_ConfirmCredResult is unavailable at run time.

func TryCSSM_TP_CrlCreateTemplate

func TryCSSM_TP_CrlCreateTemplate(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, NumberOfFields uint32, CrlFields unsafe.Pointer, NewCrlTemplate CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CrlCreateTemplate is like CSSM_TP_CrlCreateTemplate but returns an error instead of panicking if CSSM_TP_CrlCreateTemplate is unavailable at run time.

func TryCSSM_TP_CrlSign

func TryCSSM_TP_CrlSign(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CCHandle CSSM_CC_HANDLE, CrlToBeSigned unsafe.Pointer, SignerCertGroup unsafe.Pointer, SignerVerifyContext unsafe.Pointer, SignerVerifyResult CSSM_TP_VERIFY_CONTEXT_RESULT_PTR, SignedCrl CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CrlSign is like CSSM_TP_CrlSign but returns an error instead of panicking if CSSM_TP_CrlSign is unavailable at run time.

func TryCSSM_TP_CrlVerify

func TryCSSM_TP_CrlVerify(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, CSPHandle CSSM_CSP_HANDLE, CrlToBeVerified unsafe.Pointer, SignerCertGroup unsafe.Pointer, VerifyContext unsafe.Pointer, RevokerVerifyResult CSSM_TP_VERIFY_CONTEXT_RESULT_PTR) (CSSM_RETURN, error)

TryCSSM_TP_CrlVerify is like CSSM_TP_CrlVerify but returns an error instead of panicking if CSSM_TP_CrlVerify is unavailable at run time.

func TryCSSM_TP_FormRequest

func TryCSSM_TP_FormRequest(TPHandle CSSM_TP_HANDLE, PreferredAuthority unsafe.Pointer, FormType CSSM_TP_FORM_TYPE, BlankForm CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_FormRequest is like CSSM_TP_FormRequest but returns an error instead of panicking if CSSM_TP_FormRequest is unavailable at run time.

func TryCSSM_TP_FormSubmit

func TryCSSM_TP_FormSubmit(TPHandle CSSM_TP_HANDLE, FormType CSSM_TP_FORM_TYPE, Form unsafe.Pointer, ClearanceAuthority unsafe.Pointer, RepresentedAuthority unsafe.Pointer, Credentials CSSM_ACCESS_CREDENTIALS_PTR) (CSSM_RETURN, error)

TryCSSM_TP_FormSubmit is like CSSM_TP_FormSubmit but returns an error instead of panicking if CSSM_TP_FormSubmit is unavailable at run time.

func TryCSSM_TP_PassThrough

func TryCSSM_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, error)

TryCSSM_TP_PassThrough is like CSSM_TP_PassThrough but returns an error instead of panicking if CSSM_TP_PassThrough is unavailable at run time.

func TryCSSM_TP_ReceiveConfirmation

func TryCSSM_TP_ReceiveConfirmation(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, Responses unsafe.Pointer, ElapsedTime *int32) (CSSM_RETURN, error)

TryCSSM_TP_ReceiveConfirmation is like CSSM_TP_ReceiveConfirmation but returns an error instead of panicking if CSSM_TP_ReceiveConfirmation is unavailable at run time.

func TryCSSM_TP_RetrieveCredResult

func TryCSSM_TP_RetrieveCredResult(TPHandle CSSM_TP_HANDLE, ReferenceIdentifier unsafe.Pointer, CallerAuthCredentials unsafe.Pointer, EstimatedTime *int32, ConfirmationRequired unsafe.Pointer, RetrieveOutput unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_TP_RetrieveCredResult is like CSSM_TP_RetrieveCredResult but returns an error instead of panicking if CSSM_TP_RetrieveCredResult is unavailable at run time.

func TryCSSM_TP_SubmitCredRequest

func TryCSSM_TP_SubmitCredRequest(TPHandle CSSM_TP_HANDLE, PreferredAuthority unsafe.Pointer, RequestType CSSM_TP_AUTHORITY_REQUEST_TYPE, RequestInput unsafe.Pointer, CallerAuthContext unsafe.Pointer, EstimatedTime *int32, ReferenceIdentifier CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_TP_SubmitCredRequest is like CSSM_TP_SubmitCredRequest but returns an error instead of panicking if CSSM_TP_SubmitCredRequest is unavailable at run time.

func TryCSSM_TP_TupleGroupToCertGroup

func TryCSSM_TP_TupleGroupToCertGroup(TPHandle CSSM_TP_HANDLE, CLHandle CSSM_CL_HANDLE, TupleGroup unsafe.Pointer, CertTemplates unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_TP_TupleGroupToCertGroup is like CSSM_TP_TupleGroupToCertGroup but returns an error instead of panicking if CSSM_TP_TupleGroupToCertGroup is unavailable at run time.

func TryCSSM_Terminate

func TryCSSM_Terminate() (CSSM_RETURN, error)

TryCSSM_Terminate is like CSSM_Terminate but returns an error instead of panicking if CSSM_Terminate is unavailable at run time.

func TryCSSM_Unintroduce

func TryCSSM_Unintroduce(ModuleID unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_Unintroduce is like CSSM_Unintroduce but returns an error instead of panicking if CSSM_Unintroduce is unavailable at run time.

func TryCSSM_UnwrapKey

func TryCSSM_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 CSSM_DATA_PTR) (CSSM_RETURN, error)

TryCSSM_UnwrapKey is like CSSM_UnwrapKey but returns an error instead of panicking if CSSM_UnwrapKey is unavailable at run time.

func TryCSSM_UnwrapKeyP

func TryCSSM_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 CSSM_DATA_PTR, Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_UnwrapKeyP is like CSSM_UnwrapKeyP but returns an error instead of panicking if CSSM_UnwrapKeyP is unavailable at run time.

func TryCSSM_UpdateContextAttributes

func TryCSSM_UpdateContextAttributes(CCHandle CSSM_CC_HANDLE, NumberOfAttributes uint32, ContextAttributes unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_UpdateContextAttributes is like CSSM_UpdateContextAttributes but returns an error instead of panicking if CSSM_UpdateContextAttributes is unavailable at run time.

func TryCSSM_VerifyData

func TryCSSM_VerifyData(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, DigestAlgorithm CSSM_ALGORITHMS, Signature unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_VerifyData is like CSSM_VerifyData but returns an error instead of panicking if CSSM_VerifyData is unavailable at run time.

func TryCSSM_VerifyDataFinal

func TryCSSM_VerifyDataFinal(CCHandle CSSM_CC_HANDLE, Signature unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_VerifyDataFinal is like CSSM_VerifyDataFinal but returns an error instead of panicking if CSSM_VerifyDataFinal is unavailable at run time.

func TryCSSM_VerifyDataInit

func TryCSSM_VerifyDataInit(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_VerifyDataInit is like CSSM_VerifyDataInit but returns an error instead of panicking if CSSM_VerifyDataInit is unavailable at run time.

func TryCSSM_VerifyDataUpdate

func TryCSSM_VerifyDataUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) (CSSM_RETURN, error)

TryCSSM_VerifyDataUpdate is like CSSM_VerifyDataUpdate but returns an error instead of panicking if CSSM_VerifyDataUpdate is unavailable at run time.

func TryCSSM_VerifyDevice

func TryCSSM_VerifyDevice(CSPHandle CSSM_CSP_HANDLE, DeviceCert unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_VerifyDevice is like CSSM_VerifyDevice but returns an error instead of panicking if CSSM_VerifyDevice is unavailable at run time.

func TryCSSM_VerifyMac

func TryCSSM_VerifyMac(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32, Mac unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_VerifyMac is like CSSM_VerifyMac but returns an error instead of panicking if CSSM_VerifyMac is unavailable at run time.

func TryCSSM_VerifyMacFinal

func TryCSSM_VerifyMacFinal(CCHandle CSSM_CC_HANDLE, Mac unsafe.Pointer) (CSSM_RETURN, error)

TryCSSM_VerifyMacFinal is like CSSM_VerifyMacFinal but returns an error instead of panicking if CSSM_VerifyMacFinal is unavailable at run time.

func TryCSSM_VerifyMacInit

func TryCSSM_VerifyMacInit(CCHandle CSSM_CC_HANDLE) (CSSM_RETURN, error)

TryCSSM_VerifyMacInit is like CSSM_VerifyMacInit but returns an error instead of panicking if CSSM_VerifyMacInit is unavailable at run time.

func TryCSSM_VerifyMacUpdate

func TryCSSM_VerifyMacUpdate(CCHandle CSSM_CC_HANDLE, DataBufs unsafe.Pointer, DataBufCount uint32) (CSSM_RETURN, error)

TryCSSM_VerifyMacUpdate is like CSSM_VerifyMacUpdate but returns an error instead of panicking if CSSM_VerifyMacUpdate is unavailable at run time.

func TryCSSM_WrapKey

func TryCSSM_WrapKey(CCHandle CSSM_CC_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, DescriptiveData unsafe.Pointer, WrappedKey CSSM_WRAP_KEY_PTR) (CSSM_RETURN, error)

TryCSSM_WrapKey is like CSSM_WrapKey but returns an error instead of panicking if CSSM_WrapKey is unavailable at run time.

func TryCSSM_WrapKeyP

func TryCSSM_WrapKeyP(CCHandle CSSM_CC_HANDLE, AccessCred unsafe.Pointer, Key unsafe.Pointer, DescriptiveData unsafe.Pointer, WrappedKey CSSM_WRAP_KEY_PTR, Privilege CSSM_PRIVILEGE) (CSSM_RETURN, error)

TryCSSM_WrapKeyP is like CSSM_WrapKeyP but returns an error instead of panicking if CSSM_WrapKeyP is unavailable at run time.

func TryMDS_Initialize

func TryMDS_Initialize(pCallerGuid unsafe.Pointer, pMemoryFunctions unsafe.Pointer, pDlFunctions unsafe.Pointer, hMds *MDS_HANDLE) (CSSM_RETURN, error)

TryMDS_Initialize is like MDS_Initialize but returns an error instead of panicking if MDS_Initialize is unavailable at run time.

func TryMDS_Install

func TryMDS_Install(MdsHandle MDS_HANDLE) (CSSM_RETURN, error)

TryMDS_Install is like MDS_Install but returns an error instead of panicking if MDS_Install is unavailable at run time.

func TryMDS_Terminate

func TryMDS_Terminate(MdsHandle MDS_HANDLE) (CSSM_RETURN, error)

TryMDS_Terminate is like MDS_Terminate but returns an error instead of panicking if MDS_Terminate is unavailable at run time.

func TryMDS_Uninstall

func TryMDS_Uninstall(MdsHandle MDS_HANDLE) (CSSM_RETURN, error)

TryMDS_Uninstall is like MDS_Uninstall but returns an error instead of panicking if MDS_Uninstall is unavailable at run time.

type CSSM_SAMPLE deprecated

type CSSM_SAMPLE = Cssm_sample

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SAMPLE-c.typealias

type CSSM_SAMPLEGROUP deprecated

type CSSM_SAMPLEGROUP = Cssm_samplegroup

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SAMPLEGROUP-c.typealias

type CSSM_SAMPLEGROUP_PTR deprecated

type CSSM_SAMPLEGROUP_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SAMPLEGROUP_PTR

type CSSM_SAMPLE_PTR deprecated

type CSSM_SAMPLE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SAMPLE_PTR

type CSSM_SELECTION_PREDICATE deprecated

type CSSM_SELECTION_PREDICATE = Cssm_selection_predicate

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SELECTION_PREDICATE-c.typealias

type CSSM_SELECTION_PREDICATE_PTR deprecated

type CSSM_SELECTION_PREDICATE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SELECTION_PREDICATE_PTR

type CSSM_SPI_AC_FUNCS deprecated

type CSSM_SPI_AC_FUNCS = Cssm_spi_ac_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_AC_FUNCS-c.typealias

type CSSM_SPI_AC_FUNCS_PTR deprecated

type CSSM_SPI_AC_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_AC_FUNCS_PTR

type CSSM_SPI_CL_FUNCS deprecated

type CSSM_SPI_CL_FUNCS = Cssm_spi_cl_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_CL_FUNCS-c.typealias

type CSSM_SPI_CL_FUNCS_PTR deprecated

type CSSM_SPI_CL_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_CL_FUNCS_PTR

type CSSM_SPI_CSP_FUNCS deprecated

type CSSM_SPI_CSP_FUNCS = Cssm_spi_csp_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_CSP_FUNCS-c.typealias

type CSSM_SPI_CSP_FUNCS_PTR deprecated

type CSSM_SPI_CSP_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_CSP_FUNCS_PTR

type CSSM_SPI_DL_FUNCS deprecated

type CSSM_SPI_DL_FUNCS = Cssm_spi_dl_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_DL_FUNCS-c.typealias

type CSSM_SPI_DL_FUNCS_PTR deprecated

type CSSM_SPI_DL_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_DL_FUNCS_PTR

type CSSM_SPI_KR_FUNCS deprecated

type CSSM_SPI_KR_FUNCS = Cssm_spi_kr_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_KR_FUNCS-c.typealias

type CSSM_SPI_KR_FUNCS_PTR deprecated

type CSSM_SPI_KR_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_KR_FUNCS_PTR

type CSSM_SPI_ModuleEventHandler deprecated

type CSSM_SPI_ModuleEventHandler = func(CSSM_GUID_PTR, unsafe.Pointer, uint32, uint32, uint32) int32

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_ModuleEventHandler

type CSSM_SPI_TP_FUNCS deprecated

type CSSM_SPI_TP_FUNCS = Cssm_spi_tp_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_TP_FUNCS-c.typealias

type CSSM_SPI_TP_FUNCS_PTR deprecated

type CSSM_SPI_TP_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SPI_TP_FUNCS_PTR

type CSSM_STATE_FUNCS deprecated

type CSSM_STATE_FUNCS = Cssm_state_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_STATE_FUNCS-c.typealias

type CSSM_STATE_FUNCS_PTR deprecated

type CSSM_STATE_FUNCS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_STATE_FUNCS_PTR

type CSSM_SUBSERVICE_UID deprecated

type CSSM_SUBSERVICE_UID = Cssm_subservice_uid

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SUBSERVICE_UID-c.typealias

type CSSM_SUBSERVICE_UID_PTR deprecated

type CSSM_SUBSERVICE_UID_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_SUBSERVICE_UID_PTR

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 {
	StatusBits     CSSM_TP_APPLE_CERT_STATUS
	NumStatusCodes uint32
	StatusCodes    unsafe.Pointer
	Index          uint32
	DlDbHandle     [2]uint64
	UniqueRecord   CSSM_DB_UNIQUE_RECORD_PTR
	CrlReason      int32
}

CSSM_TP_APPLE_EVIDENCE_INFO

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_TP_APPLE_EVIDENCE_INFO

type CSSM_TP_AUTHORITY_ID deprecated

type CSSM_TP_AUTHORITY_ID = Cssm_tp_authority_id

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_AUTHORITY_ID-c.typealias

type CSSM_TP_AUTHORITY_ID_PTR deprecated

type CSSM_TP_AUTHORITY_ID_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_AUTHORITY_ID_PTR

type CSSM_TP_CALLERAUTH_CONTEXT deprecated

type CSSM_TP_CALLERAUTH_CONTEXT = Cssm_tp_callerauth_context

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CALLERAUTH_CONTEXT-c.typealias

type CSSM_TP_CALLERAUTH_CONTEXT_PTR deprecated

type CSSM_TP_CALLERAUTH_CONTEXT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CALLERAUTH_CONTEXT_PTR

type CSSM_TP_CERTCHANGE_INPUT deprecated

type CSSM_TP_CERTCHANGE_INPUT = Cssm_tp_certchange_input

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTCHANGE_INPUT-c.typealias

type CSSM_TP_CERTCHANGE_INPUT_PTR deprecated

type CSSM_TP_CERTCHANGE_INPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTCHANGE_INPUT_PTR

type CSSM_TP_CERTCHANGE_OUTPUT deprecated

type CSSM_TP_CERTCHANGE_OUTPUT = Cssm_tp_certchange_output

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTCHANGE_OUTPUT-c.typealias

type CSSM_TP_CERTCHANGE_OUTPUT_PTR deprecated

type CSSM_TP_CERTCHANGE_OUTPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTCHANGE_OUTPUT_PTR

type CSSM_TP_CERTISSUE_INPUT deprecated

type CSSM_TP_CERTISSUE_INPUT = Cssm_tp_certissue_input

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTISSUE_INPUT-c.typealias

type CSSM_TP_CERTISSUE_INPUT_PTR deprecated

type CSSM_TP_CERTISSUE_INPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTISSUE_INPUT_PTR

type CSSM_TP_CERTISSUE_OUTPUT deprecated

type CSSM_TP_CERTISSUE_OUTPUT = Cssm_tp_certissue_output

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTISSUE_OUTPUT-c.typealias

type CSSM_TP_CERTISSUE_OUTPUT_PTR deprecated

type CSSM_TP_CERTISSUE_OUTPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTISSUE_OUTPUT_PTR

type CSSM_TP_CERTNOTARIZE_INPUT deprecated

type CSSM_TP_CERTNOTARIZE_INPUT = Cssm_tp_certnotarize_input

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTNOTARIZE_INPUT-c.typealias

type CSSM_TP_CERTNOTARIZE_INPUT_PTR deprecated

type CSSM_TP_CERTNOTARIZE_INPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTNOTARIZE_INPUT_PTR

type CSSM_TP_CERTNOTARIZE_OUTPUT deprecated

type CSSM_TP_CERTNOTARIZE_OUTPUT = Cssm_tp_certnotarize_output

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTNOTARIZE_OUTPUT-c.typealias

type CSSM_TP_CERTNOTARIZE_OUTPUT_PTR deprecated

type CSSM_TP_CERTNOTARIZE_OUTPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTNOTARIZE_OUTPUT_PTR

type CSSM_TP_CERTRECLAIM_INPUT deprecated

type CSSM_TP_CERTRECLAIM_INPUT = Cssm_tp_certreclaim_input

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTRECLAIM_INPUT-c.typealias

type CSSM_TP_CERTRECLAIM_INPUT_PTR deprecated

type CSSM_TP_CERTRECLAIM_INPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTRECLAIM_INPUT_PTR

type CSSM_TP_CERTRECLAIM_OUTPUT deprecated

type CSSM_TP_CERTRECLAIM_OUTPUT = Cssm_tp_certreclaim_output

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTRECLAIM_OUTPUT-c.typealias

type CSSM_TP_CERTRECLAIM_OUTPUT_PTR deprecated

type CSSM_TP_CERTRECLAIM_OUTPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTRECLAIM_OUTPUT_PTR

type CSSM_TP_CERTVERIFY_INPUT deprecated

type CSSM_TP_CERTVERIFY_INPUT = Cssm_tp_certverify_input

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTVERIFY_INPUT-c.typealias

type CSSM_TP_CERTVERIFY_INPUT_PTR deprecated

type CSSM_TP_CERTVERIFY_INPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTVERIFY_INPUT_PTR

type CSSM_TP_CERTVERIFY_OUTPUT deprecated

type CSSM_TP_CERTVERIFY_OUTPUT = Cssm_tp_certverify_output

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTVERIFY_OUTPUT-c.typealias

type CSSM_TP_CERTVERIFY_OUTPUT_PTR deprecated

type CSSM_TP_CERTVERIFY_OUTPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CERTVERIFY_OUTPUT_PTR

type CSSM_TP_CONFIRM_RESPONSE deprecated

type CSSM_TP_CONFIRM_RESPONSE = Cssm_tp_confirm_response

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CONFIRM_RESPONSE-c.typealias

type CSSM_TP_CONFIRM_RESPONSE_PTR deprecated

type CSSM_TP_CONFIRM_RESPONSE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CONFIRM_RESPONSE_PTR

type CSSM_TP_CRLISSUE_INPUT deprecated

type CSSM_TP_CRLISSUE_INPUT = Cssm_tp_crlissue_input

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CRLISSUE_INPUT-c.typealias

type CSSM_TP_CRLISSUE_INPUT_PTR deprecated

type CSSM_TP_CRLISSUE_INPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CRLISSUE_INPUT_PTR

type CSSM_TP_CRLISSUE_OUTPUT deprecated

type CSSM_TP_CRLISSUE_OUTPUT = Cssm_tp_crlissue_output

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CRLISSUE_OUTPUT-c.typealias

type CSSM_TP_CRLISSUE_OUTPUT_PTR deprecated

type CSSM_TP_CRLISSUE_OUTPUT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_CRLISSUE_OUTPUT_PTR

type CSSM_TP_POLICYINFO deprecated

type CSSM_TP_POLICYINFO = Cssm_tp_policyinfo

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_POLICYINFO-c.typealias

type CSSM_TP_POLICYINFO_PTR deprecated

type CSSM_TP_POLICYINFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_POLICYINFO_PTR

type CSSM_TP_REQUEST_SET deprecated

type CSSM_TP_REQUEST_SET = Cssm_tp_request_set

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_REQUEST_SET-c.typealias

type CSSM_TP_REQUEST_SET_PTR deprecated

type CSSM_TP_REQUEST_SET_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_REQUEST_SET_PTR

type CSSM_TP_RESULT_SET deprecated

type CSSM_TP_RESULT_SET = Cssm_tp_result_set

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_RESULT_SET-c.typealias

type CSSM_TP_RESULT_SET_PTR deprecated

type CSSM_TP_RESULT_SET_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_RESULT_SET_PTR

type CSSM_TP_VERIFICATION_RESULTS_CALLBACK deprecated

type CSSM_TP_VERIFICATION_RESULTS_CALLBACK = func(int, unsafe.Pointer, uintptr) int32

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_VERIFICATION_RESULTS_CALLBACK

type CSSM_TP_VERIFY_CONTEXT deprecated

type CSSM_TP_VERIFY_CONTEXT = Cssm_tp_verify_context

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_VERIFY_CONTEXT-c.typealias

type CSSM_TP_VERIFY_CONTEXT_PTR deprecated

type CSSM_TP_VERIFY_CONTEXT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_VERIFY_CONTEXT_PTR

type CSSM_TP_VERIFY_CONTEXT_RESULT deprecated

type CSSM_TP_VERIFY_CONTEXT_RESULT = Cssm_tp_verify_context_result

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_VERIFY_CONTEXT_RESULT-c.typealias

type CSSM_TP_VERIFY_CONTEXT_RESULT_PTR deprecated

type CSSM_TP_VERIFY_CONTEXT_RESULT_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TP_VERIFY_CONTEXT_RESULT_PTR

type CSSM_TUPLE

type CSSM_TUPLE struct {
	Issuer           CSSM_LIST
	Subject          CSSM_LIST
	Delegate         CSSM_BOOL
	AuthorizationTag CSSM_LIST
	ValidityPeriod   CSSM_LIST
}

CSSM_TUPLE

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/CSSM_TUPLE

type CSSM_TUPLEGROUP deprecated

type CSSM_TUPLEGROUP = Cssm_tuplegroup

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TUPLEGROUP-c.typealias

type CSSM_TUPLEGROUP_PTR deprecated

type CSSM_TUPLEGROUP_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TUPLEGROUP_PTR

type CSSM_TUPLE_PTR deprecated

type CSSM_TUPLE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_TUPLE_PTR

type CSSM_UPCALLS deprecated

type CSSM_UPCALLS = Cssm_upcalls

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_UPCALLS-c.typealias

type CSSM_UPCALLS_CALLOC deprecated

type CSSM_UPCALLS_CALLOC = func(int, uint, uint) unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_UPCALLS_CALLOC

type CSSM_UPCALLS_FREE deprecated

type CSSM_UPCALLS_FREE = func(int, unsafe.Pointer)

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_UPCALLS_FREE

type CSSM_UPCALLS_MALLOC deprecated

type CSSM_UPCALLS_MALLOC = func(int, uint) unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_UPCALLS_MALLOC

type CSSM_UPCALLS_PTR deprecated

type CSSM_UPCALLS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_UPCALLS_PTR

type CSSM_UPCALLS_REALLOC deprecated

type CSSM_UPCALLS_REALLOC = func(int, unsafe.Pointer, uint) unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_UPCALLS_REALLOC

type CSSM_VERSION deprecated

type CSSM_VERSION = Cssm_version

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_VERSION-c.typealias

type CSSM_VERSION_PTR deprecated

type CSSM_VERSION_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_VERSION_PTR

type CSSM_WRAP_KEY deprecated

type CSSM_WRAP_KEY [12]uint64

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_WRAP_KEY CSSM_WRAP_KEY is opaque storage with the size and alignment C gives CSSM_WRAP_KEY: 96 bytes. C declares a record here, not a handle, so a pointer-width rendering would hand the framework eight bytes to write 96 into.

type CSSM_WRAP_KEY_PTR deprecated

type CSSM_WRAP_KEY_PTR = unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_WRAP_KEY_PTR

type CSSM_X509EXT_BASICCONSTRAINTS deprecated

type CSSM_X509EXT_BASICCONSTRAINTS = Cssm_x509ext_basicConstraints

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_BASICCONSTRAINTS-c.typealias

type CSSM_X509EXT_BASICCONSTRAINTS_PTR deprecated

type CSSM_X509EXT_BASICCONSTRAINTS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_BASICCONSTRAINTS_PTR

type CSSM_X509EXT_PAIR deprecated

type CSSM_X509EXT_PAIR = Cssm_x509ext_pair

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_PAIR-c.typealias

type CSSM_X509EXT_PAIR_PTR deprecated

type CSSM_X509EXT_PAIR_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_PAIR_PTR

type CSSM_X509EXT_POLICYINFO deprecated

type CSSM_X509EXT_POLICYINFO = Cssm_x509ext_policyInfo

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_POLICYINFO-c.typealias

type CSSM_X509EXT_POLICYINFO_PTR deprecated

type CSSM_X509EXT_POLICYINFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_POLICYINFO_PTR

type CSSM_X509EXT_POLICYQUALIFIERINFO deprecated

type CSSM_X509EXT_POLICYQUALIFIERINFO = Cssm_x509ext_policyQualifierInfo

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_POLICYQUALIFIERINFO-c.typealias

type CSSM_X509EXT_POLICYQUALIFIERINFO_PTR deprecated

type CSSM_X509EXT_POLICYQUALIFIERINFO_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_POLICYQUALIFIERINFO_PTR

type CSSM_X509EXT_POLICYQUALIFIERS deprecated

type CSSM_X509EXT_POLICYQUALIFIERS = Cssm_x509ext_policyQualifiers

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_POLICYQUALIFIERS-c.typealias

type CSSM_X509EXT_POLICYQUALIFIERS_PTR deprecated

type CSSM_X509EXT_POLICYQUALIFIERS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_POLICYQUALIFIERS_PTR

type CSSM_X509EXT_TAGandVALUE deprecated

type CSSM_X509EXT_TAGandVALUE = Cssm_x509_extensionTagAndValue

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_TAGandVALUE

type CSSM_X509EXT_TAGandVALUE_PTR deprecated

type CSSM_X509EXT_TAGandVALUE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509EXT_TAGandVALUE_PTR

type CSSM_X509_ALGORITHM_IDENTIFIER_PTR deprecated

type CSSM_X509_ALGORITHM_IDENTIFIER_PTR = *SecAsn1AlgId

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_ALGORITHM_IDENTIFIER_PTR

type CSSM_X509_EXTENSION deprecated

type CSSM_X509_EXTENSION = Cssm_x509_extension

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_EXTENSION-c.typealias

type CSSM_X509_EXTENSIONS deprecated

type CSSM_X509_EXTENSIONS = Cssm_x509_extensions

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_EXTENSIONS-c.typealias

type CSSM_X509_EXTENSIONS_PTR deprecated

type CSSM_X509_EXTENSIONS_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_EXTENSIONS_PTR

type CSSM_X509_EXTENSION_PTR deprecated

type CSSM_X509_EXTENSION_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_EXTENSION_PTR

type CSSM_X509_NAME deprecated

type CSSM_X509_NAME = Cssm_x509_name

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_NAME-c.typealias

type CSSM_X509_NAME_PTR deprecated

type CSSM_X509_NAME_PTR unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_NAME_PTR CSSM_X509_NAME_PTR is an unresolved C aggregate typedef.

type CSSM_X509_RDN deprecated

type CSSM_X509_RDN = Cssm_x509_rdn

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_RDN-c.typealias

type CSSM_X509_RDN_PTR deprecated

type CSSM_X509_RDN_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_RDN_PTR

type CSSM_X509_REVOKED_CERT_ENTRY deprecated

type CSSM_X509_REVOKED_CERT_ENTRY = Cssm_x509_revoked_cert_entry

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_REVOKED_CERT_ENTRY-c.typealias

type CSSM_X509_REVOKED_CERT_ENTRY_PTR deprecated

type CSSM_X509_REVOKED_CERT_ENTRY_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_REVOKED_CERT_ENTRY_PTR

type CSSM_X509_REVOKED_CERT_LIST deprecated

type CSSM_X509_REVOKED_CERT_LIST = Cssm_x509_revoked_cert_list

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_REVOKED_CERT_LIST-c.typealias

type CSSM_X509_REVOKED_CERT_LIST_PTR deprecated

type CSSM_X509_REVOKED_CERT_LIST_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_REVOKED_CERT_LIST_PTR

type CSSM_X509_SIGNATURE deprecated

type CSSM_X509_SIGNATURE = Cssm_x509_signature

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_SIGNATURE-c.typealias

type CSSM_X509_SIGNATURE_PTR deprecated

type CSSM_X509_SIGNATURE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_SIGNATURE_PTR

type CSSM_X509_SIGNED_CERTIFICATE deprecated

type CSSM_X509_SIGNED_CERTIFICATE = Cssm_x509_signed_certificate

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_SIGNED_CERTIFICATE-c.typealias

type CSSM_X509_SIGNED_CERTIFICATE_PTR deprecated

type CSSM_X509_SIGNED_CERTIFICATE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_SIGNED_CERTIFICATE_PTR

type CSSM_X509_SIGNED_CRL deprecated

type CSSM_X509_SIGNED_CRL = Cssm_x509_signed_crl

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_SIGNED_CRL-c.typealias

type CSSM_X509_SIGNED_CRL_PTR deprecated

type CSSM_X509_SIGNED_CRL_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_SIGNED_CRL_PTR

type CSSM_X509_SUBJECT_PUBLIC_KEY_INFO_PTR deprecated

type CSSM_X509_SUBJECT_PUBLIC_KEY_INFO_PTR = *SecAsn1PubKeyInfo

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_SUBJECT_PUBLIC_KEY_INFO_PTR

type CSSM_X509_TBS_CERTIFICATE deprecated

type CSSM_X509_TBS_CERTIFICATE = Cssm_x509_tbs_certificate

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TBS_CERTIFICATE-c.typealias

type CSSM_X509_TBS_CERTIFICATE_PTR deprecated

type CSSM_X509_TBS_CERTIFICATE_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TBS_CERTIFICATE_PTR

type CSSM_X509_TBS_CERTLIST deprecated

type CSSM_X509_TBS_CERTLIST = Cssm_x509_tbs_certlist

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TBS_CERTLIST-c.typealias

type CSSM_X509_TBS_CERTLIST_PTR deprecated

type CSSM_X509_TBS_CERTLIST_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TBS_CERTLIST_PTR

type CSSM_X509_TIME deprecated

type CSSM_X509_TIME = Cssm_x509_time

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TIME-c.typealias

type CSSM_X509_TIME_PTR deprecated

type CSSM_X509_TIME_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TIME_PTR

type CSSM_X509_TYPE_VALUE_PAIR deprecated

type CSSM_X509_TYPE_VALUE_PAIR = Cssm_x509_type_value_pair

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TYPE_VALUE_PAIR-c.typealias

type CSSM_X509_TYPE_VALUE_PAIR_PTR deprecated

type CSSM_X509_TYPE_VALUE_PAIR_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_TYPE_VALUE_PAIR_PTR

type CSSM_X509_VALIDITY deprecated

type CSSM_X509_VALIDITY = X509_validity

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_VALIDITY

type CSSM_X509_VALIDITY_PTR deprecated

type CSSM_X509_VALIDITY_PTR = uintptr

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/CSSM_X509_VALIDITY_PTR

type CeCrlDistReasonFlags

type CeCrlDistReasonFlags = CE_CrlDistReasonFlags

CeCrlDistReasonFlags is a Go-name alias for CE_CrlDistReasonFlags.

type CeCrlNumber added in v0.6.4

type CeCrlNumber = CE_CrlNumber

CeCrlNumber is a Go-name alias for CE_CrlNumber.

type CeCrlReason added in v0.6.4

type CeCrlReason = CE_CrlReason

CeCrlReason is a Go-name alias for CE_CrlReason.

type CeDeltaCrl added in v0.6.4

type CeDeltaCrl = CE_DeltaCrl

CeDeltaCrl is a Go-name alias for CE_DeltaCrl.

type CeInhibitAnyPolicy added in v0.6.4

type CeInhibitAnyPolicy = CE_InhibitAnyPolicy

CeInhibitAnyPolicy is a Go-name alias for CE_InhibitAnyPolicy.

type CeKeyUsage added in v0.6.4

type CeKeyUsage = CE_KeyUsage

CeKeyUsage is a Go-name alias for CE_KeyUsage.

type CeNameRegistrationAuthorities

type CeNameRegistrationAuthorities = CE_NameRegistrationAuthorities

CeNameRegistrationAuthorities is a Go-name alias for CE_NameRegistrationAuthorities.

type CeNetscapeCertType added in v0.6.4

type CeNetscapeCertType = CE_NetscapeCertType

CeNetscapeCertType is a Go-name alias for CE_NetscapeCertType.

type CeSubjectKeyID added in v0.6.4

type CeSubjectKeyID = CE_SubjectKeyID

CeSubjectKeyID is a Go-name alias for CE_SubjectKeyID.

type CssmAPIMemoryFuncs

type CssmAPIMemoryFuncs = CSSM_API_MEMORY_FUNCS

CssmAPIMemoryFuncs is a Go-name alias for CSSM_API_MEMORY_FUNCS.

type CssmAPIMemoryFuncsPtr

type CssmAPIMemoryFuncsPtr = CSSM_API_MEMORY_FUNCS_PTR

CssmAPIMemoryFuncsPtr is a Go-name alias for CSSM_API_MEMORY_FUNCS_PTR.

type CssmAPIModuleEventHandler

type CssmAPIModuleEventHandler = CSSM_API_ModuleEventHandler

CssmAPIModuleEventHandler is a Go-name alias for CSSM_API_ModuleEventHandler.

type CssmAcBaseAcError added in v0.6.17

type CssmAcBaseAcError int32
const (
	CSSMERR_AC_INVALID_BASE_ACLS          CssmAcBaseAcError = -2147405567
	CSSMERR_AC_INVALID_ENCODING           CssmAcBaseAcError = -2147405565
	CSSMERR_AC_INVALID_REQUESTOR          CssmAcBaseAcError = -2147405563
	CSSMERR_AC_INVALID_REQUEST_DESCRIPTOR CssmAcBaseAcError = -2147405562
	CSSMERR_AC_INVALID_TUPLE_CREDENTIALS  CssmAcBaseAcError = -2147405566
	CSSMERR_AC_INVALID_VALIDITY_PERIOD    CssmAcBaseAcError = -2147405564
	CSSM_AC_BASE_AC_ERROR                 CssmAcBaseAcError = -2147405568
)

func (CssmAcBaseAcError) String added in v0.6.17

func (e CssmAcBaseAcError) String() string

type CssmAcHandle added in v0.6.4

type CssmAcHandle = CSSM_AC_HANDLE

CssmAcHandle is a Go-name alias for CSSM_AC_HANDLE.

type CssmAccessCredentials

type CssmAccessCredentials = CSSM_ACCESS_CREDENTIALS

CssmAccessCredentials is a Go-name alias for CSSM_ACCESS_CREDENTIALS.

type CssmAccessCredentialsPtr

type CssmAccessCredentialsPtr = CSSM_ACCESS_CREDENTIALS_PTR

CssmAccessCredentialsPtr is a Go-name alias for CSSM_ACCESS_CREDENTIALS_PTR.

type CssmAclAuthorizationChangeAcl added in v0.6.17

type CssmAclAuthorizationChangeAcl uint32
const (
	CSSM_ACL_AUTHORIZATION_CHANGE_ACL   CssmAclAuthorizationChangeAcl = 65536
	CSSM_ACL_AUTHORIZATION_CHANGE_OWNER CssmAclAuthorizationChangeAcl = 65537
	CSSM_ACL_AUTHORIZATION_INTEGRITY    CssmAclAuthorizationChangeAcl = 65539
	CSSM_ACL_AUTHORIZATION_PARTITION_ID CssmAclAuthorizationChangeAcl = 65538
	CSSM_ACL_AUTHORIZATION_PREAUTH_BASE CssmAclAuthorizationChangeAcl = 16842752
	CSSM_ACL_AUTHORIZATION_PREAUTH_END  CssmAclAuthorizationChangeAcl = 16908288
)

func (CssmAclAuthorizationChangeAcl) String added in v0.6.17

type CssmAclAuthorizationTag added in v0.6.4

type CssmAclAuthorizationTag = CSSM_ACL_AUTHORIZATION_TAG

CssmAclAuthorizationTag is a Go-name alias for CSSM_ACL_AUTHORIZATION_TAG.

type CssmAclAuthorizationTagVendorDefinedStart added in v0.6.17

type CssmAclAuthorizationTagVendorDefinedStart uint32
const (
	CSSM_ACL_AUTHORIZATION_ANY                      CssmAclAuthorizationTagVendorDefinedStart = 1
	CSSM_ACL_AUTHORIZATION_DBS_CREATE               CssmAclAuthorizationTagVendorDefinedStart = 22
	CSSM_ACL_AUTHORIZATION_DBS_DELETE               CssmAclAuthorizationTagVendorDefinedStart = 23
	CSSM_ACL_AUTHORIZATION_DB_DELETE                CssmAclAuthorizationTagVendorDefinedStart = 17
	CSSM_ACL_AUTHORIZATION_DB_INSERT                CssmAclAuthorizationTagVendorDefinedStart = 19
	CSSM_ACL_AUTHORIZATION_DB_MODIFY                CssmAclAuthorizationTagVendorDefinedStart = 20
	CSSM_ACL_AUTHORIZATION_DB_READ                  CssmAclAuthorizationTagVendorDefinedStart = 21
	CSSM_ACL_AUTHORIZATION_DECRYPT                  CssmAclAuthorizationTagVendorDefinedStart = 24
	CSSM_ACL_AUTHORIZATION_DELETE                   CssmAclAuthorizationTagVendorDefinedStart = 25
	CSSM_ACL_AUTHORIZATION_DERIVE                   CssmAclAuthorizationTagVendorDefinedStart = 28
	CSSM_ACL_AUTHORIZATION_ENCRYPT                  CssmAclAuthorizationTagVendorDefinedStart = 35
	CSSM_ACL_AUTHORIZATION_EXPORT_CLEAR             CssmAclAuthorizationTagVendorDefinedStart = 37
	CSSM_ACL_AUTHORIZATION_EXPORT_WRAPPED           CssmAclAuthorizationTagVendorDefinedStart = 38
	CSSM_ACL_AUTHORIZATION_GENKEY                   CssmAclAuthorizationTagVendorDefinedStart = 41
	CSSM_ACL_AUTHORIZATION_IMPORT_CLEAR             CssmAclAuthorizationTagVendorDefinedStart = 47
	CSSM_ACL_AUTHORIZATION_IMPORT_WRAPPED           CssmAclAuthorizationTagVendorDefinedStart = 48
	CSSM_ACL_AUTHORIZATION_LOGIN                    CssmAclAuthorizationTagVendorDefinedStart = 57
	CSSM_ACL_AUTHORIZATION_MAC                      CssmAclAuthorizationTagVendorDefinedStart = 59
	CSSM_ACL_AUTHORIZATION_SIGN                     CssmAclAuthorizationTagVendorDefinedStart = 115
	CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START CssmAclAuthorizationTagVendorDefinedStart = 0x10000
)

func (CssmAclAuthorizationTagVendorDefinedStart) String added in v0.6.17

type CssmAclCodeSignature

type CssmAclCodeSignature uint32
const (
	CSSM_ACL_CODE_SIGNATURE_INVALID CssmAclCodeSignature = 0
	CSSM_ACL_CODE_SIGNATURE_OSX     CssmAclCodeSignature = 1
)

func (CssmAclCodeSignature) String

func (e CssmAclCodeSignature) String() string

type CssmAclEdit

type CssmAclEdit = CSSM_ACL_EDIT

CssmAclEdit is a Go-name alias for CSSM_ACL_EDIT.

type CssmAclEditMode

type CssmAclEditMode uint32
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 CssmAclEditPtr

type CssmAclEditPtr = CSSM_ACL_EDIT_PTR

CssmAclEditPtr is a Go-name alias for CSSM_ACL_EDIT_PTR.

type CssmAclEntryInfo

type CssmAclEntryInfo = CSSM_ACL_ENTRY_INFO

CssmAclEntryInfo is a Go-name alias for CSSM_ACL_ENTRY_INFO.

type CssmAclEntryInfoPtr

type CssmAclEntryInfoPtr = CSSM_ACL_ENTRY_INFO_PTR

CssmAclEntryInfoPtr is a Go-name alias for CSSM_ACL_ENTRY_INFO_PTR.

type CssmAclEntryInput

type CssmAclEntryInput = CSSM_ACL_ENTRY_INPUT

CssmAclEntryInput is a Go-name alias for CSSM_ACL_ENTRY_INPUT.

type CssmAclEntryInputPtr

type CssmAclEntryInputPtr = CSSM_ACL_ENTRY_INPUT_PTR

CssmAclEntryInputPtr is a Go-name alias for CSSM_ACL_ENTRY_INPUT_PTR.

type CssmAclEntryPrototype

type CssmAclEntryPrototype = CSSM_ACL_ENTRY_PROTOTYPE

CssmAclEntryPrototype is a Go-name alias for CSSM_ACL_ENTRY_PROTOTYPE.

type CssmAclEntryPrototypePtr

type CssmAclEntryPrototypePtr = CSSM_ACL_ENTRY_PROTOTYPE_PTR

CssmAclEntryPrototypePtr is a Go-name alias for CSSM_ACL_ENTRY_PROTOTYPE_PTR.

type CssmAclHandle added in v0.6.4

type CssmAclHandle = CSSM_ACL_HANDLE

CssmAclHandle is a Go-name alias for CSSM_ACL_HANDLE.

type CssmAclKeychainPrompt

type CssmAclKeychainPrompt uint32
const (
	CSSM_ACL_KEYCHAIN_PROMPT_INVALID            CssmAclKeychainPrompt = 0x40
	CSSM_ACL_KEYCHAIN_PROMPT_INVALID_ACT        CssmAclKeychainPrompt = 0x80
	CSSM_ACL_KEYCHAIN_PROMPT_REQUIRE_PASSPHRASE CssmAclKeychainPrompt = 0x1
	CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED           CssmAclKeychainPrompt = 0x10
	CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED_ACT       CssmAclKeychainPrompt = 0x20
)

func (CssmAclKeychainPrompt) String

func (e CssmAclKeychainPrompt) String() string

type CssmAclKeychainPromptCurrent added in v0.5.1

type CssmAclKeychainPromptCurrent uint32
const (
	CSSM_ACL_KEYCHAIN_PROMPT_CURRENT_VERSION CssmAclKeychainPromptCurrent = 0x101
)

func (CssmAclKeychainPromptCurrent) String added in v0.5.1

type CssmAclKeychainPromptSelector added in v0.6.4

type CssmAclKeychainPromptSelector = CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR

CssmAclKeychainPromptSelector is a Go-name alias for CSSM_ACL_KEYCHAIN_PROMPT_SELECTOR.

type CssmAclMatch

type CssmAclMatch uint32
const (
	CSSM_ACL_MATCH_BITS       CssmAclMatch = 3
	CSSM_ACL_MATCH_GID        CssmAclMatch = 0x2
	CSSM_ACL_MATCH_HONOR_ROOT CssmAclMatch = 0x100
	CSSM_ACL_MATCH_UID        CssmAclMatch = 0x1
)

func (CssmAclMatch) String

func (e CssmAclMatch) String() string

type CssmAclOwnerPrototype

type CssmAclOwnerPrototype = CSSM_ACL_OWNER_PROTOTYPE

CssmAclOwnerPrototype is a Go-name alias for CSSM_ACL_OWNER_PROTOTYPE.

type CssmAclOwnerPrototypePtr

type CssmAclOwnerPrototypePtr = CSSM_ACL_OWNER_PROTOTYPE_PTR

CssmAclOwnerPrototypePtr is a Go-name alias for CSSM_ACL_OWNER_PROTOTYPE_PTR.

type CssmAclPreauthTracking

type CssmAclPreauthTracking uint32
const (
	CSSM_ACL_PREAUTH_TRACKING_AUTHORIZED CssmAclPreauthTracking = 0x80000000
	CSSM_ACL_PREAUTH_TRACKING_BLOCKED    CssmAclPreauthTracking = 0
	CSSM_ACL_PREAUTH_TRACKING_COUNT_MASK CssmAclPreauthTracking = 0xff
	CSSM_ACL_PREAUTH_TRACKING_UNKNOWN    CssmAclPreauthTracking = 0x40000000
)

func (CssmAclPreauthTracking) String

func (e CssmAclPreauthTracking) String() string

type CssmAclPreauthTrackingState added in v0.6.4

type CssmAclPreauthTrackingState = CSSM_ACL_PREAUTH_TRACKING_STATE

CssmAclPreauthTrackingState is a Go-name alias for CSSM_ACL_PREAUTH_TRACKING_STATE.

type CssmAclProcessSelectorCurrent added in v0.5.1

type CssmAclProcessSelectorCurrent uint32
const (
	CSSM_ACL_PROCESS_SELECTOR_CURRENT_VERSION CssmAclProcessSelectorCurrent = 0x101
)

func (CssmAclProcessSelectorCurrent) String added in v0.5.1

type CssmAclProcessSubjectSelector added in v0.6.4

type CssmAclProcessSubjectSelector = CSSM_ACL_PROCESS_SUBJECT_SELECTOR

CssmAclProcessSubjectSelector is a Go-name alias for CSSM_ACL_PROCESS_SUBJECT_SELECTOR.

type CssmAclSubjectCallback

type CssmAclSubjectCallback = CSSM_ACL_SUBJECT_CALLBACK

CssmAclSubjectCallback is a Go-name alias for CSSM_ACL_SUBJECT_CALLBACK.

type CssmAclSubjectType

type CssmAclSubjectType = CSSM_ACL_SUBJECT_TYPE

CssmAclSubjectType is a Go-name alias for CSSM_ACL_SUBJECT_TYPE.

type CssmAclSubjectTypeAny added in v0.6.17

type CssmAclSubjectTypeAny uint32
const (
	CSSM_ACL_SUBJECT_TYPE_ANY                 CssmAclSubjectTypeAny = 1
	CSSM_ACL_SUBJECT_TYPE_BIOMETRIC           CssmAclSubjectTypeAny = 8
	CSSM_ACL_SUBJECT_TYPE_EXT_PAM_NAME        CssmAclSubjectTypeAny = 78
	CSSM_ACL_SUBJECT_TYPE_HASHED_SUBJECT      CssmAclSubjectTypeAny = 44
	CSSM_ACL_SUBJECT_TYPE_LOGIN_NAME          CssmAclSubjectTypeAny = 58
	CSSM_ACL_SUBJECT_TYPE_PASSWORD            CssmAclSubjectTypeAny = 79
	CSSM_ACL_SUBJECT_TYPE_PROMPTED_BIOMETRIC  CssmAclSubjectTypeAny = 83
	CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD   CssmAclSubjectTypeAny = 84
	CSSM_ACL_SUBJECT_TYPE_PROTECTED_BIOMETRIC CssmAclSubjectTypeAny = 86
	CSSM_ACL_SUBJECT_TYPE_PROTECTED_PASSWORD  CssmAclSubjectTypeAny = 87
	CSSM_ACL_SUBJECT_TYPE_PUBLIC_KEY          CssmAclSubjectTypeAny = 89
	CSSM_ACL_SUBJECT_TYPE_THRESHOLD           CssmAclSubjectTypeAny = 123
)

func (CssmAclSubjectTypeAny) String added in v0.6.17

func (e CssmAclSubjectTypeAny) String() string

type CssmAclSubjectTypeKeychainPrompt added in v0.6.17

type CssmAclSubjectTypeKeychainPrompt uint32
const (
	CSSM_ACL_SUBJECT_TYPE_ASYMMETRIC_KEY  CssmAclSubjectTypeKeychainPrompt = 65547
	CSSM_ACL_SUBJECT_TYPE_CODE_SIGNATURE  CssmAclSubjectTypeKeychainPrompt = 116
	CSSM_ACL_SUBJECT_TYPE_COMMENT         CssmAclSubjectTypeKeychainPrompt = 12
	CSSM_ACL_SUBJECT_TYPE_KEYCHAIN_PROMPT CssmAclSubjectTypeKeychainPrompt = 65536
	CSSM_ACL_SUBJECT_TYPE_PARTITION       CssmAclSubjectTypeKeychainPrompt = 65548
	CSSM_ACL_SUBJECT_TYPE_PREAUTH         CssmAclSubjectTypeKeychainPrompt = 65545
	CSSM_ACL_SUBJECT_TYPE_PREAUTH_SOURCE  CssmAclSubjectTypeKeychainPrompt = 65546
	CSSM_ACL_SUBJECT_TYPE_PROCESS         CssmAclSubjectTypeKeychainPrompt = 65539
	CSSM_ACL_SUBJECT_TYPE_SYMMETRIC_KEY   CssmAclSubjectTypeKeychainPrompt = 65541
)

func (CssmAclSubjectTypeKeychainPrompt) String added in v0.6.17

type CssmAclValidityPeriod

type CssmAclValidityPeriod = CSSM_ACL_VALIDITY_PERIOD

CssmAclValidityPeriod is a Go-name alias for CSSM_ACL_VALIDITY_PERIOD.

type CssmAclValidityPeriodPtr

type CssmAclValidityPeriodPtr = CSSM_ACL_VALIDITY_PERIOD_PTR

CssmAclValidityPeriodPtr is a Go-name alias for CSSM_ACL_VALIDITY_PERIOD_PTR.

type CssmAddr

type CssmAddr uint32
const (
	CSSM_ADDR_CUSTOM   CssmAddr = 1
	CSSM_ADDR_NAME     CssmAddr = 4
	CSSM_ADDR_NONE     CssmAddr = 0
	CSSM_ADDR_SOCKADDR CssmAddr = 3
	CSSM_ADDR_URL      CssmAddr = 2
)

func (CssmAddr) String

func (e CssmAddr) String() string

type CssmAlgclass

type CssmAlgclass uint32
const (
	CSSM_ALGCLASS_ASYMMETRIC CssmAlgclass = 8
	CSSM_ALGCLASS_CUSTOM     CssmAlgclass = 1
	CSSM_ALGCLASS_DERIVEKEY  CssmAlgclass = 10
	CSSM_ALGCLASS_DIGEST     CssmAlgclass = 4
	CSSM_ALGCLASS_KEYGEN     CssmAlgclass = 9
	CSSM_ALGCLASS_MAC        CssmAlgclass = 7
	CSSM_ALGCLASS_NONE       CssmAlgclass = 0
	CSSM_ALGCLASS_RANDOMGEN  CssmAlgclass = 5
	CSSM_ALGCLASS_SIGNATURE  CssmAlgclass = 2
	CSSM_ALGCLASS_SYMMETRIC  CssmAlgclass = 3
	CSSM_ALGCLASS_UNIQUEGEN  CssmAlgclass = 6
)

func (CssmAlgclass) String

func (e CssmAlgclass) String() string

type CssmAlgidAppleYarrow added in v0.6.17

type CssmAlgidAppleYarrow uint32
const (
	CSSM_ALGID_AES               CssmAlgidAppleYarrow = 2147483649
	CSSM_ALGID_APPLE_YARROW      CssmAlgidAppleYarrow = 2147483648
	CSSM_ALGID_ASC               CssmAlgidAppleYarrow = 2147483655
	CSSM_ALGID_ECDH_X963_KDF     CssmAlgidAppleYarrow = 2147483677
	CSSM_ALGID_ECDSA_SPECIFIED   CssmAlgidAppleYarrow = 2147483676
	CSSM_ALGID_ENTROPY_DEFAULT   CssmAlgidAppleYarrow = 2147483665
	CSSM_ALGID_FEE               CssmAlgidAppleYarrow = 2147483650
	CSSM_ALGID_FEED              CssmAlgidAppleYarrow = 2147483653
	CSSM_ALGID_FEEDEXP           CssmAlgidAppleYarrow = 2147483654
	CSSM_ALGID_FEE_MD5           CssmAlgidAppleYarrow = 2147483651
	CSSM_ALGID_FEE_SHA1          CssmAlgidAppleYarrow = 2147483652
	CSSM_ALGID_KEYCHAIN_KEY      CssmAlgidAppleYarrow = 2147483657
	CSSM_ALGID_OPENSSH1          CssmAlgidAppleYarrow = 2147483671
	CSSM_ALGID_PBE_OPENSSL_MD5   CssmAlgidAppleYarrow = 2147483661
	CSSM_ALGID_PKCS12_PBE_ENCR   CssmAlgidAppleYarrow = 2147483658
	CSSM_ALGID_PKCS12_PBE_MAC    CssmAlgidAppleYarrow = 2147483659
	CSSM_ALGID_SECURE_PASSPHRASE CssmAlgidAppleYarrow = 2147483660
	CSSM_ALGID_SHA1HMAC_LEGACY   CssmAlgidAppleYarrow = 2147483656
	CSSM_ALGID_SHA224            CssmAlgidAppleYarrow = 2147483666
	CSSM_ALGID_SHA224WithECDSA   CssmAlgidAppleYarrow = 2147483672
	CSSM_ALGID_SHA224WithRSA     CssmAlgidAppleYarrow = 2147483667
	CSSM_ALGID_SHA256            CssmAlgidAppleYarrow = 2147483662
	CSSM_ALGID_SHA256WithECDSA   CssmAlgidAppleYarrow = 2147483673
	CSSM_ALGID_SHA256WithRSA     CssmAlgidAppleYarrow = 2147483668
	CSSM_ALGID_SHA384            CssmAlgidAppleYarrow = 2147483663
	CSSM_ALGID_SHA384WithECDSA   CssmAlgidAppleYarrow = 2147483674
	CSSM_ALGID_SHA384WithRSA     CssmAlgidAppleYarrow = 2147483669
	CSSM_ALGID_SHA512            CssmAlgidAppleYarrow = 2147483664
	CSSM_ALGID_SHA512WithECDSA   CssmAlgidAppleYarrow = 2147483675
	CSSM_ALGID_SHA512WithRSA     CssmAlgidAppleYarrow = 2147483670
	CSSM_ALGID__FIRST_UNUSED     CssmAlgidAppleYarrow = 2147483678
)

func (CssmAlgidAppleYarrow) String added in v0.6.17

func (e CssmAlgidAppleYarrow) String() string

type CssmAlgidNone added in v0.6.17

type CssmAlgidNone uint32
const (
	CSSM_ALGID_3DES                CssmAlgidNone = 77
	CSSM_ALGID_3DES_1KEY           CssmAlgidNone = 20
	CSSM_ALGID_3DES_1KEY_EEE       CssmAlgidNone = 19
	CSSM_ALGID_3DES_2KEY           CssmAlgidNone = 18
	CSSM_ALGID_3DES_2KEY_EDE       CssmAlgidNone = 18
	CSSM_ALGID_3DES_2KEY_EEE       CssmAlgidNone = 21
	CSSM_ALGID_3DES_3KEY           CssmAlgidNone = 17
	CSSM_ALGID_3DES_3KEY_EDE       CssmAlgidNone = 17
	CSSM_ALGID_3DES_3KEY_EEE       CssmAlgidNone = 20
	CSSM_ALGID_BATON               CssmAlgidNone = 72
	CSSM_ALGID_BLOWFISH            CssmAlgidNone = 28
	CSSM_ALGID_CAST                CssmAlgidNone = 27
	CSSM_ALGID_CAST3               CssmAlgidNone = 53
	CSSM_ALGID_CAST5               CssmAlgidNone = 54
	CSSM_ALGID_CDMF                CssmAlgidNone = 52
	CSSM_ALGID_CRAB                CssmAlgidNone = 41
	CSSM_ALGID_CUSTOM              CssmAlgidNone = 1
	CSSM_ALGID_ConcatBaseAndData   CssmAlgidNone = 58
	CSSM_ALGID_ConcatBaseAndKey    CssmAlgidNone = 56
	CSSM_ALGID_ConcatDataAndBase   CssmAlgidNone = 59
	CSSM_ALGID_ConcatKeyAndBase    CssmAlgidNone = 57
	CSSM_ALGID_DES                 CssmAlgidNone = 14
	CSSM_ALGID_DESRandom           CssmAlgidNone = 50
	CSSM_ALGID_DESX                CssmAlgidNone = 15
	CSSM_ALGID_DH                  CssmAlgidNone = 2
	CSSM_ALGID_DSA                 CssmAlgidNone = 43
	CSSM_ALGID_DSA_BSAFE           CssmAlgidNone = 83
	CSSM_ALGID_ECAES               CssmAlgidNone = 90
	CSSM_ALGID_ECC                 CssmAlgidNone = 93
	CSSM_ALGID_ECDH                CssmAlgidNone = 84
	CSSM_ALGID_ECDSA               CssmAlgidNone = 73
	CSSM_ALGID_ECES                CssmAlgidNone = 89
	CSSM_ALGID_ECMQV               CssmAlgidNone = 85
	CSSM_ALGID_ECNRA               CssmAlgidNone = 87
	CSSM_ALGID_ElGamal             CssmAlgidNone = 46
	CSSM_ALGID_ExtractFromKey      CssmAlgidNone = 61
	CSSM_ALGID_FASTHASH            CssmAlgidNone = 76
	CSSM_ALGID_FEAL                CssmAlgidNone = 32
	CSSM_ALGID_FIPS186Random       CssmAlgidNone = 92
	CSSM_ALGID_FortezzaTimestamp   CssmAlgidNone = 80
	CSSM_ALGID_GOST                CssmAlgidNone = 39
	CSSM_ALGID_GenericSecret       CssmAlgidNone = 55
	CSSM_ALGID_HAVAL               CssmAlgidNone = 10
	CSSM_ALGID_HAVAL3              CssmAlgidNone = 98
	CSSM_ALGID_HAVAL4              CssmAlgidNone = 99
	CSSM_ALGID_HAVAL5              CssmAlgidNone = 100
	CSSM_ALGID_IBCHASH             CssmAlgidNone = 12
	CSSM_ALGID_IDEA                CssmAlgidNone = 22
	CSSM_ALGID_IntelPlatformRandom CssmAlgidNone = 96
	CSSM_ALGID_JUNIPER             CssmAlgidNone = 75
	CSSM_ALGID_KEA                 CssmAlgidNone = 4
	CSSM_ALGID_KHAFRE              CssmAlgidNone = 37
	CSSM_ALGID_KHUFU               CssmAlgidNone = 36
	CSSM_ALGID_LAST                CssmAlgidNone = 2147483647
	CSSM_ALGID_LOKI                CssmAlgidNone = 35
	CSSM_ALGID_LUCIFER             CssmAlgidNone = 30
	CSSM_ALGID_MADRYGA             CssmAlgidNone = 31
	CSSM_ALGID_MAYFLY              CssmAlgidNone = 74
	CSSM_ALGID_MD2                 CssmAlgidNone = 5
	CSSM_ALGID_MD2Random           CssmAlgidNone = 47
	CSSM_ALGID_MD2WithRSA          CssmAlgidNone = 45
	CSSM_ALGID_MD4                 CssmAlgidNone = 6
	CSSM_ALGID_MD5                 CssmAlgidNone = 7
	CSSM_ALGID_MD5HMAC             CssmAlgidNone = 102
	CSSM_ALGID_MD5Random           CssmAlgidNone = 48
	CSSM_ALGID_MD5WithRSA          CssmAlgidNone = 44
	CSSM_ALGID_MMB                 CssmAlgidNone = 38
	CSSM_ALGID_MQV                 CssmAlgidNone = 94
	CSSM_ALGID_NHASH               CssmAlgidNone = 9
	CSSM_ALGID_NONE                CssmAlgidNone = 0
	CSSM_ALGID_NRA                 CssmAlgidNone = 95
	CSSM_ALGID_PH                  CssmAlgidNone = 3
	CSSM_ALGID_PKCS12_SHA1_PBE     CssmAlgidNone = 86
	CSSM_ALGID_PKCS5_PBKDF1_MD2    CssmAlgidNone = 68
	CSSM_ALGID_PKCS5_PBKDF1_MD5    CssmAlgidNone = 67
	CSSM_ALGID_PKCS5_PBKDF1_SHA1   CssmAlgidNone = 69
	CSSM_ALGID_PKCS5_PBKDF2        CssmAlgidNone = 103
	CSSM_ALGID_RC2                 CssmAlgidNone = 23
	CSSM_ALGID_RC4                 CssmAlgidNone = 25
	CSSM_ALGID_RC5                 CssmAlgidNone = 24
	CSSM_ALGID_RDES                CssmAlgidNone = 16
	CSSM_ALGID_REDOC               CssmAlgidNone = 33
	CSSM_ALGID_REDOC3              CssmAlgidNone = 34
	CSSM_ALGID_RIPEMAC             CssmAlgidNone = 13
	CSSM_ALGID_RIPEMD              CssmAlgidNone = 11
	CSSM_ALGID_RSA                 CssmAlgidNone = 42
	CSSM_ALGID_RUNNING_COUNTER     CssmAlgidNone = 104
	CSSM_ALGID_SAFER               CssmAlgidNone = 40
	CSSM_ALGID_SEAL                CssmAlgidNone = 26
	CSSM_ALGID_SHA1                CssmAlgidNone = 8
	CSSM_ALGID_SHA1HMAC            CssmAlgidNone = 91
	CSSM_ALGID_SHA1WithDSA         CssmAlgidNone = 81
	CSSM_ALGID_SHA1WithECDSA       CssmAlgidNone = 82
	CSSM_ALGID_SHA1WithECNRA       CssmAlgidNone = 88
	CSSM_ALGID_SHA1WithRSA         CssmAlgidNone = 51
	CSSM_ALGID_SHARandom           CssmAlgidNone = 49
	CSSM_ALGID_SKIPJACK            CssmAlgidNone = 29
	CSSM_ALGID_SSL3KeyAndMacDerive CssmAlgidNone = 64
	CSSM_ALGID_SSL3MD5             CssmAlgidNone = 78
	CSSM_ALGID_SSL3MD5_MAC         CssmAlgidNone = 65
	CSSM_ALGID_SSL3PrePrimaryGen   CssmAlgidNone = 62
	CSSM_ALGID_SSL3PrimaryDerive   CssmAlgidNone = 63
	CSSM_ALGID_SSL3SHA1            CssmAlgidNone = 79
	CSSM_ALGID_SSL3SHA1_MAC        CssmAlgidNone = 66
	CSSM_ALGID_TIGER               CssmAlgidNone = 101
	CSSM_ALGID_UTC                 CssmAlgidNone = 97
	CSSM_ALGID_VENDOR_DEFINED      CssmAlgidNone = 2147483648
	CSSM_ALGID_WrapLynks           CssmAlgidNone = 70
	CSSM_ALGID_WrapSET_OAEP        CssmAlgidNone = 71
	CSSM_ALGID_XORBaseAndData      CssmAlgidNone = 60
	// Deprecated: use CSSM_ALGID_SSL3PrimaryDerive.
	CSSM_ALGID_SSL3MasterDerive CssmAlgidNone = 63
	// Deprecated: use CSSM_ALGID_SSL3PrePrimaryGen.
	CSSM_ALGID_SSL3PreMasterGen CssmAlgidNone = 62
)

func (CssmAlgidNone) String added in v0.6.17

func (e CssmAlgidNone) String() string

type CssmAlgmode

type CssmAlgmode uint32
const (
	CSSM_ALGMODE_BC             CssmAlgmode = 14
	CSSM_ALGMODE_CBC            CssmAlgmode = 4
	CSSM_ALGMODE_CBC128         CssmAlgmode = 36
	CSSM_ALGMODE_CBC64          CssmAlgmode = 25
	CSSM_ALGMODE_CBCC           CssmAlgmode = 16
	CSSM_ALGMODE_CBCPD          CssmAlgmode = 20
	CSSM_ALGMODE_CBCPadIV8      CssmAlgmode = 6
	CSSM_ALGMODE_CBC_IV8        CssmAlgmode = 5
	CSSM_ALGMODE_CFB            CssmAlgmode = 7
	CSSM_ALGMODE_CFB16          CssmAlgmode = 29
	CSSM_ALGMODE_CFB32          CssmAlgmode = 28
	CSSM_ALGMODE_CFB8           CssmAlgmode = 30
	CSSM_ALGMODE_CFBPadIV8      CssmAlgmode = 9
	CSSM_ALGMODE_CFB_IV8        CssmAlgmode = 8
	CSSM_ALGMODE_COUNTER        CssmAlgmode = 13
	CSSM_ALGMODE_CUSTOM         CssmAlgmode = 1
	CSSM_ALGMODE_ECB            CssmAlgmode = 2
	CSSM_ALGMODE_ECB128         CssmAlgmode = 34
	CSSM_ALGMODE_ECB64          CssmAlgmode = 24
	CSSM_ALGMODE_ECB96          CssmAlgmode = 35
	CSSM_ALGMODE_ECBPad         CssmAlgmode = 3
	CSSM_ALGMODE_ISO_9796       CssmAlgmode = 41
	CSSM_ALGMODE_LAST           CssmAlgmode = 2147483647
	CSSM_ALGMODE_NONE           CssmAlgmode = 0
	CSSM_ALGMODE_OAEP_HASH      CssmAlgmode = 37
	CSSM_ALGMODE_OFB            CssmAlgmode = 10
	CSSM_ALGMODE_OFB64          CssmAlgmode = 26
	CSSM_ALGMODE_OFBNLF         CssmAlgmode = 17
	CSSM_ALGMODE_OFBPadIV8      CssmAlgmode = 12
	CSSM_ALGMODE_OFB_IV8        CssmAlgmode = 11
	CSSM_ALGMODE_PBC            CssmAlgmode = 18
	CSSM_ALGMODE_PCBC           CssmAlgmode = 15
	CSSM_ALGMODE_PFB            CssmAlgmode = 19
	CSSM_ALGMODE_PKCS1_EME_OAEP CssmAlgmode = 39
	CSSM_ALGMODE_PKCS1_EME_V15  CssmAlgmode = 38
	CSSM_ALGMODE_PKCS1_EMSA_V15 CssmAlgmode = 40
	CSSM_ALGMODE_PRIVATE_KEY    CssmAlgmode = 22
	CSSM_ALGMODE_PRIVATE_WRAP   CssmAlgmode = 32
	CSSM_ALGMODE_PUBLIC_KEY     CssmAlgmode = 21
	CSSM_ALGMODE_RELAYX         CssmAlgmode = 33
	CSSM_ALGMODE_SHUFFLE        CssmAlgmode = 23
	CSSM_ALGMODE_VENDOR_DEFINED CssmAlgmode = 2147483648
	CSSM_ALGMODE_WRAP           CssmAlgmode = 31
	CSSM_ALGMODE_X9_31          CssmAlgmode = 42
)

func (CssmAlgmode) String

func (e CssmAlgmode) String() string

type CssmAlgorithms added in v0.6.4

type CssmAlgorithms = CSSM_ALGORITHMS

CssmAlgorithms is a Go-name alias for CSSM_ALGORITHMS.

type CssmApple

type CssmApple uint32
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 = 0x100
	CSSM_APPLECSP_PUBKEY               CssmApple = 0x101
	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
)

func (CssmApple) String

func (e CssmApple) String() string

type CssmAppleTpActionFlags added in v0.6.4

type CssmAppleTpActionFlags = CSSM_APPLE_TP_ACTION_FLAGS

CssmAppleTpActionFlags is a Go-name alias for CSSM_APPLE_TP_ACTION_FLAGS.

type CssmAppleTpCrlOptFlags added in v0.6.4

type CssmAppleTpCrlOptFlags = CSSM_APPLE_TP_CRL_OPT_FLAGS

CssmAppleTpCrlOptFlags is a Go-name alias for CSSM_APPLE_TP_CRL_OPT_FLAGS.

type CssmAppleUnlockType

type CssmAppleUnlockType uint32
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 CssmApplecspdlDbChangePasswordParameters added in v0.6.4

type CssmApplecspdlDbChangePasswordParameters = CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS

CssmApplecspdlDbChangePasswordParameters is a Go-name alias for CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS.

type CssmApplecspdlDbChangePasswordParametersPtr added in v0.6.4

type CssmApplecspdlDbChangePasswordParametersPtr = CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR

CssmApplecspdlDbChangePasswordParametersPtr is a Go-name alias for CSSM_APPLECSPDL_DB_CHANGE_PASSWORD_PARAMETERS_PTR.

type CssmApplecspdlDbIsLockedParameters added in v0.6.4

type CssmApplecspdlDbIsLockedParameters = CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS

CssmApplecspdlDbIsLockedParameters is a Go-name alias for CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS.

type CssmApplecspdlDbIsLockedParametersPtr added in v0.6.4

type CssmApplecspdlDbIsLockedParametersPtr = CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR

CssmApplecspdlDbIsLockedParametersPtr is a Go-name alias for CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS_PTR.

type CssmApplecspdlDbSettingsParameters added in v0.6.4

type CssmApplecspdlDbSettingsParameters = CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS

CssmApplecspdlDbSettingsParameters is a Go-name alias for CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS.

type CssmApplecspdlDbSettingsParametersPtr added in v0.6.4

type CssmApplecspdlDbSettingsParametersPtr = CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR

CssmApplecspdlDbSettingsParametersPtr is a Go-name alias for CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS_PTR.

type CssmAppledlOpenParameters added in v0.5.1

type CssmAppledlOpenParameters uint32
const (
	CSSM_APPLEDL_OPEN_PARAMETERS_VERSION CssmAppledlOpenParameters = 1
)

func (CssmAppledlOpenParameters) String added in v0.5.1

func (e CssmAppledlOpenParameters) String() string

type CssmAppledlOpenParametersMask added in v0.6.4

type CssmAppledlOpenParametersMask = Cssm_appledl_open_parameters_mask

CssmAppledlOpenParametersMask is a Go-name alias for Cssm_appledl_open_parameters_mask.

type CssmAppledlOpenParametersPtr added in v0.6.4

type CssmAppledlOpenParametersPtr = CSSM_APPLEDL_OPEN_PARAMETERS_PTR

CssmAppledlOpenParametersPtr is a Go-name alias for CSSM_APPLEDL_OPEN_PARAMETERS_PTR.

type CssmApplefiledl

type CssmApplefiledl uint32
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 uint32
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 uint32
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 CssmAttachFlags added in v0.6.4

type CssmAttachFlags = CSSM_ATTACH_FLAGS

CssmAttachFlags is a Go-name alias for CSSM_ATTACH_FLAGS.

type CssmAttachRead added in v0.5.1

type CssmAttachRead uint32
const (
	CSSM_ATTACH_READ_ONLY CssmAttachRead = 0x1
)

func (CssmAttachRead) String added in v0.5.1

func (e CssmAttachRead) String() string

type CssmAttributeDataNone added in v0.6.17

type CssmAttributeDataNone uint32
const (
	CSSM_ATTRIBUTE_DATA_ACCESS_CREDENTIALS CssmAttributeDataNone = 0x80000000
	CSSM_ATTRIBUTE_DATA_CRYPTO_DATA        CssmAttributeDataNone = 0x30000000
	CSSM_ATTRIBUTE_DATA_CSSM_DATA          CssmAttributeDataNone = 0x20000000
	CSSM_ATTRIBUTE_DATA_DATE               CssmAttributeDataNone = 0x60000000
	CSSM_ATTRIBUTE_DATA_DL_DB_HANDLE       CssmAttributeDataNone = 0x2000000
	CSSM_ATTRIBUTE_DATA_KEY                CssmAttributeDataNone = 0x40000000
	CSSM_ATTRIBUTE_DATA_KR_PROFILE         CssmAttributeDataNone = 0x3000000
	CSSM_ATTRIBUTE_DATA_NONE               CssmAttributeDataNone = 0
	CSSM_ATTRIBUTE_DATA_RANGE              CssmAttributeDataNone = 0x70000000
	CSSM_ATTRIBUTE_DATA_STRING             CssmAttributeDataNone = 0x50000000
	CSSM_ATTRIBUTE_DATA_UINT32             CssmAttributeDataNone = 0x10000000
	CSSM_ATTRIBUTE_DATA_VERSION            CssmAttributeDataNone = 0x1000000
	CSSM_ATTRIBUTE_TYPE_MASK               CssmAttributeDataNone = 0xff000000
)

func (CssmAttributeDataNone) String added in v0.6.17

func (e CssmAttributeDataNone) String() string

type CssmAttributeNone added in v0.6.17

type CssmAttributeNone uint32
const (
	CSSM_ATTRIBUTE_ACCESS_CREDENTIALS   CssmAttributeNone = 2147483684
	CSSM_ATTRIBUTE_ALG_ID               CssmAttributeNone = 268435485
	CSSM_ATTRIBUTE_ALG_PARAMS           CssmAttributeNone = 536870928
	CSSM_ATTRIBUTE_BASE                 CssmAttributeNone = 536870939
	CSSM_ATTRIBUTE_BLOCK_SIZE           CssmAttributeNone = 268435468
	CSSM_ATTRIBUTE_CSP_HANDLE           CssmAttributeNone = 268435490
	CSSM_ATTRIBUTE_CUSTOM               CssmAttributeNone = 536870913
	CSSM_ATTRIBUTE_DESCRIPTION          CssmAttributeNone = 1342177282
	CSSM_ATTRIBUTE_DL_DB_HANDLE         CssmAttributeNone = 33554467
	CSSM_ATTRIBUTE_EFFECTIVE_BITS       CssmAttributeNone = 268435476
	CSSM_ATTRIBUTE_END_DATE             CssmAttributeNone = 1610612758
	CSSM_ATTRIBUTE_INIT_VECTOR          CssmAttributeNone = 536870916
	CSSM_ATTRIBUTE_ITERATION_COUNT      CssmAttributeNone = 268435486
	CSSM_ATTRIBUTE_IV_SIZE              CssmAttributeNone = 268435471
	CSSM_ATTRIBUTE_KEY                  CssmAttributeNone = 1073741827
	CSSM_ATTRIBUTE_KEYATTR              CssmAttributeNone = 268435480
	CSSM_ATTRIBUTE_KEYUSAGE             CssmAttributeNone = 268435479
	CSSM_ATTRIBUTE_KEY_LENGTH           CssmAttributeNone = 268435466
	CSSM_ATTRIBUTE_KEY_LENGTH_RANGE     CssmAttributeNone = 1879048203
	CSSM_ATTRIBUTE_KEY_TYPE             CssmAttributeNone = 268435474
	CSSM_ATTRIBUTE_KRPROFILE_LOCAL      CssmAttributeNone = 50331680
	CSSM_ATTRIBUTE_KRPROFILE_REMOTE     CssmAttributeNone = 50331681
	CSSM_ATTRIBUTE_LABEL                CssmAttributeNone = 536870929
	CSSM_ATTRIBUTE_MODE                 CssmAttributeNone = 268435475
	CSSM_ATTRIBUTE_NONE                 CssmAttributeNone = 0
	CSSM_ATTRIBUTE_OUTPUT_SIZE          CssmAttributeNone = 268435469
	CSSM_ATTRIBUTE_PADDING              CssmAttributeNone = 268435462
	CSSM_ATTRIBUTE_PASSPHRASE           CssmAttributeNone = 805306377
	CSSM_ATTRIBUTE_PRIME                CssmAttributeNone = 536870938
	CSSM_ATTRIBUTE_PRIVATE_KEY_FORMAT   CssmAttributeNone = 268435494
	CSSM_ATTRIBUTE_PUBLIC_KEY_FORMAT    CssmAttributeNone = 268435493
	CSSM_ATTRIBUTE_RANDOM               CssmAttributeNone = 536870919
	CSSM_ATTRIBUTE_ROUNDS               CssmAttributeNone = 268435470
	CSSM_ATTRIBUTE_ROUNDS_RANGE         CssmAttributeNone = 1879048223
	CSSM_ATTRIBUTE_SALT                 CssmAttributeNone = 536870917
	CSSM_ATTRIBUTE_SEED                 CssmAttributeNone = 805306376
	CSSM_ATTRIBUTE_START_DATE           CssmAttributeNone = 1610612757
	CSSM_ATTRIBUTE_SUBPRIME             CssmAttributeNone = 536870940
	CSSM_ATTRIBUTE_SYMMETRIC_KEY_FORMAT CssmAttributeNone = 268435495
	CSSM_ATTRIBUTE_VERSION              CssmAttributeNone = 16777241
	CSSM_ATTRIBUTE_WRAPPED_KEY_FORMAT   CssmAttributeNone = 268435496
)

func (CssmAttributeNone) String added in v0.6.17

func (e CssmAttributeNone) String() string

type CssmAttributePublicKey added in v0.6.17

type CssmAttributePublicKey uint32
const (
	CSSM_ATTRIBUTE_ALERT_TITLE       CssmAttributePublicKey = 545259527
	CSSM_ATTRIBUTE_ASC_OPTIMIZATION  CssmAttributePublicKey = 276824067
	CSSM_ATTRIBUTE_FEE_CURVE_TYPE    CssmAttributePublicKey = 276824066
	CSSM_ATTRIBUTE_FEE_PRIME_TYPE    CssmAttributePublicKey = 276824065
	CSSM_ATTRIBUTE_PARAM_KEY         CssmAttributePublicKey = 1082130437
	CSSM_ATTRIBUTE_PROMPT            CssmAttributePublicKey = 545259526
	CSSM_ATTRIBUTE_PUBLIC_KEY        CssmAttributePublicKey = 1082130432
	CSSM_ATTRIBUTE_RSA_BLINDING      CssmAttributePublicKey = 276824068
	CSSM_ATTRIBUTE_VERIFY_PASSPHRASE CssmAttributePublicKey = 276824072
)

func (CssmAttributePublicKey) String added in v0.6.17

func (e CssmAttributePublicKey) String() string

type CssmAttributeType added in v0.6.4

type CssmAttributeType = CSSM_ATTRIBUTE_TYPE

CssmAttributeType is a Go-name alias for CSSM_ATTRIBUTE_TYPE.

type CssmAttributeVendor added in v0.5.1

type CssmAttributeVendor uint32
const (
	CSSM_ATTRIBUTE_VENDOR_DEFINED CssmAttributeVendor = 0x800000
)

func (CssmAttributeVendor) String added in v0.5.1

func (e CssmAttributeVendor) String() string

type CssmAuthorizationgroup

type CssmAuthorizationgroup = CSSM_AUTHORIZATIONGROUP

CssmAuthorizationgroup is a Go-name alias for CSSM_AUTHORIZATIONGROUP.

type CssmAuthorizationgroupPtr

type CssmAuthorizationgroupPtr = CSSM_AUTHORIZATIONGROUP_PTR

CssmAuthorizationgroupPtr is a Go-name alias for CSSM_AUTHORIZATIONGROUP_PTR.

type CssmBaseCerts

type CssmBaseCerts = CSSM_BASE_CERTS

CssmBaseCerts is a Go-name alias for CSSM_BASE_CERTS.

type CssmBaseCertsPtr

type CssmBaseCertsPtr = CSSM_BASE_CERTS_PTR

CssmBaseCertsPtr is a Go-name alias for CSSM_BASE_CERTS_PTR.

type CssmBaseError added in v0.6.17

type CssmBaseError int32
const (
	CSSM_AC_BASE_ERROR           CssmBaseError = -2147405824
	CSSM_AC_PRIVATE_ERROR        CssmBaseError = -2147404800
	CSSM_BASE_ERROR              CssmBaseError = -0x7fff0000
	CSSM_CL_BASE_ERROR           CssmBaseError = -2147411968
	CSSM_CL_PRIVATE_ERROR        CssmBaseError = -2147410944
	CSSM_CSP_BASE_ERROR          CssmBaseError = -2147416064
	CSSM_CSP_PRIVATE_ERROR       CssmBaseError = -2147415040
	CSSM_CSSM_BASE_ERROR         CssmBaseError = -2147418112
	CSSM_CSSM_PRIVATE_ERROR      CssmBaseError = -2147417088
	CSSM_DL_BASE_ERROR           CssmBaseError = -2147414016
	CSSM_DL_PRIVATE_ERROR        CssmBaseError = -2147412992
	CSSM_ERRORCODE_COMMON_EXTENT CssmBaseError = 0x100
	CSSM_ERRORCODE_CUSTOM_OFFSET CssmBaseError = 0x400
	CSSM_ERRORCODE_MODULE_EXTENT CssmBaseError = 0x800
	CSSM_KR_BASE_ERROR           CssmBaseError = -2147407872
	CSSM_KR_PRIVATE_ERROR        CssmBaseError = -2147406848
	CSSM_TP_BASE_ERROR           CssmBaseError = -2147409920
	CSSM_TP_PRIVATE_ERROR        CssmBaseError = -2147408896
)

func (CssmBaseError) String added in v0.6.17

func (e CssmBaseError) String() string

type CssmBerTag added in v0.6.4

type CssmBerTag = CSSM_BER_TAG

CssmBerTag is a Go-name alias for CSSM_BER_TAG.

type CssmBitmask added in v0.6.4

type CssmBitmask = CSSM_BITMASK

CssmBitmask is a Go-name alias for CSSM_BITMASK.

type CssmBool added in v0.6.4

type CssmBool = CSSM_BOOL

CssmBool is a Go-name alias for CSSM_BOOL.

type CssmCLBaseCLError added in v0.6.17

type CssmCLBaseCLError int32
const (
	CSSMERR_CL_INVALID_BUNDLE_INFO    CssmCLBaseCLError = -2147411708
	CSSMERR_CL_INVALID_BUNDLE_POINTER CssmCLBaseCLError = -2147411711
	CSSMERR_CL_INVALID_CACHE_HANDLE   CssmCLBaseCLError = -2147411710
	CSSMERR_CL_INVALID_CRL_INDEX      CssmCLBaseCLError = -2147411707
	CSSMERR_CL_INVALID_RESULTS_HANDLE CssmCLBaseCLError = -2147411709
	CSSMERR_CL_INVALID_SCOPE          CssmCLBaseCLError = -2147411706
	CSSMERR_CL_NO_FIELD_VALUES        CssmCLBaseCLError = -2147411705
	CSSMERR_CL_SCOPE_NOT_SUPPORTED    CssmCLBaseCLError = -2147411704
	CSSM_CL_BASE_CL_ERROR             CssmCLBaseCLError = -2147411712
)

func (CssmCLBaseCLError) String added in v0.6.17

func (e CssmCLBaseCLError) String() string

type CssmCLTemplate

type CssmCLTemplate uint32
const (
	CSSM_CL_TEMPLATE_INTERMEDIATE_CERT CssmCLTemplate = 1
	CSSM_CL_TEMPLATE_PKIX_CERTTEMPLATE CssmCLTemplate = 2
)

func (CssmCLTemplate) String

func (e CssmCLTemplate) String() string

type CssmCallback

type CssmCallback = CSSM_CALLBACK

CssmCallback is a Go-name alias for CSSM_CALLBACK.

type CssmCalloc added in v0.6.4

type CssmCalloc = CSSM_CALLOC

CssmCalloc is a Go-name alias for CSSM_CALLOC.

type CssmCcHandle added in v0.6.4

type CssmCcHandle = CSSM_CC_HANDLE

CssmCcHandle is a Go-name alias for CSSM_CC_HANDLE.

type CssmCertBundle

type CssmCertBundle = CSSM_CERT_BUNDLE

CssmCertBundle is a Go-name alias for CSSM_CERT_BUNDLE.

type CssmCertBundleEncoding

type CssmCertBundleEncoding uint32
const (
	CSSM_CERT_BUNDLE_ENCODING_BER     CssmCertBundleEncoding = 0x2
	CSSM_CERT_BUNDLE_ENCODING_CUSTOM  CssmCertBundleEncoding = 0x1
	CSSM_CERT_BUNDLE_ENCODING_DER     CssmCertBundleEncoding = 0x3
	CSSM_CERT_BUNDLE_ENCODING_PGP     CssmCertBundleEncoding = 0x5
	CSSM_CERT_BUNDLE_ENCODING_SEXPR   CssmCertBundleEncoding = 0x4
	CSSM_CERT_BUNDLE_ENCODING_UNKNOWN CssmCertBundleEncoding = 0
)

func (CssmCertBundleEncoding) String

func (e CssmCertBundleEncoding) String() string

type CssmCertBundleHeader

type CssmCertBundleHeader = CSSM_CERT_BUNDLE_HEADER

CssmCertBundleHeader is a Go-name alias for CSSM_CERT_BUNDLE_HEADER.

type CssmCertBundleHeaderPtr

type CssmCertBundleHeaderPtr = CSSM_CERT_BUNDLE_HEADER_PTR

CssmCertBundleHeaderPtr is a Go-name alias for CSSM_CERT_BUNDLE_HEADER_PTR.

type CssmCertBundlePtr

type CssmCertBundlePtr = CSSM_CERT_BUNDLE_PTR

CssmCertBundlePtr is a Go-name alias for CSSM_CERT_BUNDLE_PTR.

type CssmCertBundleType added in v0.6.4

type CssmCertBundleType = CSSM_CERT_BUNDLE_TYPE

CssmCertBundleType is a Go-name alias for CSSM_CERT_BUNDLE_TYPE.

type CssmCertBundleUnknown added in v0.6.17

type CssmCertBundleUnknown uint32
const (
	CSSM_CERT_BUNDLE_CUSTOM                      CssmCertBundleUnknown = 0x1
	CSSM_CERT_BUNDLE_LAST                        CssmCertBundleUnknown = 0x7fff
	CSSM_CERT_BUNDLE_PFX                         CssmCertBundleUnknown = 0x5
	CSSM_CERT_BUNDLE_PGP_KEYRING                 CssmCertBundleUnknown = 0x7
	CSSM_CERT_BUNDLE_PKCS12                      CssmCertBundleUnknown = 0x4
	CSSM_CERT_BUNDLE_PKCS7_SIGNED_DATA           CssmCertBundleUnknown = 0x2
	CSSM_CERT_BUNDLE_PKCS7_SIGNED_ENVELOPED_DATA CssmCertBundleUnknown = 0x3
	CSSM_CERT_BUNDLE_SPKI_SEQUENCE               CssmCertBundleUnknown = 0x6
	CSSM_CERT_BUNDLE_UNKNOWN                     CssmCertBundleUnknown = 0
	CSSM_CL_CUSTOM_CERT_BUNDLE_TYPE              CssmCertBundleUnknown = 0x8000
)

func (CssmCertBundleUnknown) String added in v0.6.17

func (e CssmCertBundleUnknown) String() string

type CssmCertEncoding added in v0.6.4

type CssmCertEncoding = CSSM_CERT_ENCODING

CssmCertEncoding is a Go-name alias for CSSM_CERT_ENCODING.

type CssmCertEncodingPtr added in v0.6.4

type CssmCertEncodingPtr = CSSM_CERT_ENCODING_PTR

CssmCertEncodingPtr is a Go-name alias for CSSM_CERT_ENCODING_PTR.

type CssmCertEncodingUnknown added in v0.6.17

type CssmCertEncodingUnknown uint32
const (
	CSSM_CERT_ENCODING_BER       CssmCertEncodingUnknown = 0x2
	CSSM_CERT_ENCODING_CUSTOM    CssmCertEncodingUnknown = 0x1
	CSSM_CERT_ENCODING_DER       CssmCertEncodingUnknown = 0x3
	CSSM_CERT_ENCODING_LAST      CssmCertEncodingUnknown = 0x7fff
	CSSM_CERT_ENCODING_MULTIPLE  CssmCertEncodingUnknown = 0x7ffe
	CSSM_CERT_ENCODING_NDR       CssmCertEncodingUnknown = 0x4
	CSSM_CERT_ENCODING_PGP       CssmCertEncodingUnknown = 0x6
	CSSM_CERT_ENCODING_SEXPR     CssmCertEncodingUnknown = 0x5
	CSSM_CERT_ENCODING_UNKNOWN   CssmCertEncodingUnknown = 0
	CSSM_CL_CUSTOM_CERT_ENCODING CssmCertEncodingUnknown = 0x8000
)

func (CssmCertEncodingUnknown) String added in v0.6.17

func (e CssmCertEncodingUnknown) String() string

type CssmCertPair

type CssmCertPair = CSSM_CERT_PAIR

CssmCertPair is a Go-name alias for CSSM_CERT_PAIR.

type CssmCertPairPtr

type CssmCertPairPtr = CSSM_CERT_PAIR_PTR

CssmCertPairPtr is a Go-name alias for CSSM_CERT_PAIR_PTR.

type CssmCertParseFormat added in v0.6.4

type CssmCertParseFormat = CSSM_CERT_PARSE_FORMAT

CssmCertParseFormat is a Go-name alias for CSSM_CERT_PARSE_FORMAT.

type CssmCertParseFormatNone added in v0.6.17

type CssmCertParseFormatNone uint32
const (
	CSSM_CERT_PARSE_FORMAT_COMPLEX   CssmCertParseFormatNone = 0x3
	CSSM_CERT_PARSE_FORMAT_CUSTOM    CssmCertParseFormatNone = 0x1
	CSSM_CERT_PARSE_FORMAT_LAST      CssmCertParseFormatNone = 0x7fff
	CSSM_CERT_PARSE_FORMAT_MULTIPLE  CssmCertParseFormatNone = 0x7ffe
	CSSM_CERT_PARSE_FORMAT_NONE      CssmCertParseFormatNone = 0
	CSSM_CERT_PARSE_FORMAT_OID_NAMED CssmCertParseFormatNone = 0x4
	CSSM_CERT_PARSE_FORMAT_SEXPR     CssmCertParseFormatNone = 0x2
	CSSM_CERT_PARSE_FORMAT_TUPLE     CssmCertParseFormatNone = 0x5
	CSSM_CL_CUSTOM_CERT_PARSE_FORMAT CssmCertParseFormatNone = 0x8000
)

func (CssmCertParseFormatNone) String added in v0.6.17

func (e CssmCertParseFormatNone) String() string

type CssmCertParseFormatPtr added in v0.6.4

type CssmCertParseFormatPtr = CSSM_CERT_PARSE_FORMAT_PTR

CssmCertParseFormatPtr is a Go-name alias for CSSM_CERT_PARSE_FORMAT_PTR.

type CssmCertStatus

type CssmCertStatus uint32
const (
	CSSM_CERT_STATUS_EXPIRED                      CssmCertStatus = 0x1
	CSSM_CERT_STATUS_IS_FROM_NET                  CssmCertStatus = 0x20
	CSSM_CERT_STATUS_IS_IN_ANCHORS                CssmCertStatus = 0x8
	CSSM_CERT_STATUS_IS_IN_INPUT_CERTS            CssmCertStatus = 0x4
	CSSM_CERT_STATUS_IS_ROOT                      CssmCertStatus = 0x10
	CSSM_CERT_STATUS_NOT_VALID_YET                CssmCertStatus = 0x2
	CSSM_CERT_STATUS_TRUST_SETTINGS_DENY          CssmCertStatus = 0x400
	CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_ADMIN   CssmCertStatus = 0x80
	CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_SYSTEM  CssmCertStatus = 0x100
	CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_USER    CssmCertStatus = 0x40
	CSSM_CERT_STATUS_TRUST_SETTINGS_IGNORED_ERROR CssmCertStatus = 0x800
	CSSM_CERT_STATUS_TRUST_SETTINGS_TRUST         CssmCertStatus = 0x200
)

func (CssmCertStatus) String

func (e CssmCertStatus) String() string

type CssmCertType added in v0.6.4

type CssmCertType = CSSM_CERT_TYPE

CssmCertType is a Go-name alias for CSSM_CERT_TYPE.

type CssmCertTypePtr added in v0.6.4

type CssmCertTypePtr = CSSM_CERT_TYPE_PTR

CssmCertTypePtr is a Go-name alias for CSSM_CERT_TYPE_PTR.

type CssmCertUnknown added in v0.6.17

type CssmCertUnknown uint32
const (
	CSSM_CERT_ACL_ENTRY       CssmCertUnknown = 0xc
	CSSM_CERT_Intel           CssmCertUnknown = 0x8
	CSSM_CERT_LAST            CssmCertUnknown = 0x7fff
	CSSM_CERT_MULTIPLE        CssmCertUnknown = 0x7ffe
	CSSM_CERT_PGP             CssmCertUnknown = 0x4
	CSSM_CERT_SDSIv1          CssmCertUnknown = 0x6
	CSSM_CERT_SPKI            CssmCertUnknown = 0x5
	CSSM_CERT_TUPLE           CssmCertUnknown = 0xb
	CSSM_CERT_UNKNOWN         CssmCertUnknown = 0
	CSSM_CERT_X9_ATTRIBUTE    CssmCertUnknown = 0xa
	CSSM_CERT_X_509_ATTRIBUTE CssmCertUnknown = 0x9
	CSSM_CERT_X_509v1         CssmCertUnknown = 0x1
	CSSM_CERT_X_509v2         CssmCertUnknown = 0x2
	CSSM_CERT_X_509v3         CssmCertUnknown = 0x3
	CSSM_CL_CUSTOM_CERT_TYPE  CssmCertUnknown = 0x8000
)

func (CssmCertUnknown) String added in v0.6.17

func (e CssmCertUnknown) String() string

type CssmCertgroup

type CssmCertgroup uint32
const (
	CSSM_CERTGROUP_CERT_PAIR    CssmCertgroup = 0x3
	CSSM_CERTGROUP_DATA         CssmCertgroup = 0
	CSSM_CERTGROUP_ENCODED_CERT CssmCertgroup = 0x1
	CSSM_CERTGROUP_PARSED_CERT  CssmCertgroup = 0x2
)

func (CssmCertgroup) String

func (e CssmCertgroup) String() string

type CssmCertgroupPtr

type CssmCertgroupPtr = CSSM_CERTGROUP_PTR

CssmCertgroupPtr is a Go-name alias for CSSM_CERTGROUP_PTR.

type CssmCertgroupType added in v0.6.4

type CssmCertgroupType = CSSM_CERTGROUP_TYPE

CssmCertgroupType is a Go-name alias for CSSM_CERTGROUP_TYPE.

type CssmCertgroupTypePtr added in v0.6.4

type CssmCertgroupTypePtr = CSSM_CERTGROUP_TYPE_PTR

CssmCertgroupTypePtr is a Go-name alias for CSSM_CERTGROUP_TYPE_PTR.

type CssmChallengeCallback

type CssmChallengeCallback = CSSM_CHALLENGE_CALLBACK

CssmChallengeCallback is a Go-name alias for CSSM_CHALLENGE_CALLBACK.

type CssmClHandle added in v0.6.4

type CssmClHandle = CSSM_CL_HANDLE

CssmClHandle is a Go-name alias for CSSM_CL_HANDLE.

type CssmClTemplateType added in v0.6.4

type CssmClTemplateType = CSSM_CL_TEMPLATE_TYPE

CssmClTemplateType is a Go-name alias for CSSM_CL_TEMPLATE_TYPE.

type CssmContext

type CssmContext = CSSM_CONTEXT

CssmContext is a Go-name alias for CSSM_CONTEXT.

type CssmContextAttribute

type CssmContextAttribute = CSSM_CONTEXT_ATTRIBUTE

CssmContextAttribute is a Go-name alias for CSSM_CONTEXT_ATTRIBUTE.

type CssmContextAttributePtr

type CssmContextAttributePtr = CSSM_CONTEXT_ATTRIBUTE_PTR

CssmContextAttributePtr is a Go-name alias for CSSM_CONTEXT_ATTRIBUTE_PTR.

type CssmContextEvent

type CssmContextEvent uint32
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 CssmContextPtr

type CssmContextPtr = CSSM_CONTEXT_PTR

CssmContextPtr is a Go-name alias for CSSM_CONTEXT_PTR.

type CssmContextType added in v0.6.4

type CssmContextType = CSSM_CONTEXT_TYPE

CssmContextType is a Go-name alias for CSSM_CONTEXT_TYPE.

type CssmCrlEncoding

type CssmCrlEncoding uint32
const (
	CSSM_CRL_ENCODING_BER      CssmCrlEncoding = 0x2
	CSSM_CRL_ENCODING_BLOOM    CssmCrlEncoding = 0x4
	CSSM_CRL_ENCODING_CUSTOM   CssmCrlEncoding = 0x1
	CSSM_CRL_ENCODING_DER      CssmCrlEncoding = 0x3
	CSSM_CRL_ENCODING_MULTIPLE CssmCrlEncoding = 0x7ffe
	CSSM_CRL_ENCODING_SEXPR    CssmCrlEncoding = 0x5
	CSSM_CRL_ENCODING_UNKNOWN  CssmCrlEncoding = 0
)

func (CssmCrlEncoding) String

func (e CssmCrlEncoding) String() string

type CssmCrlEncodingPtr added in v0.6.4

type CssmCrlEncodingPtr = CSSM_CRL_ENCODING_PTR

CssmCrlEncodingPtr is a Go-name alias for CSSM_CRL_ENCODING_PTR.

type CssmCrlPair

type CssmCrlPair = CSSM_CRL_PAIR

CssmCrlPair is a Go-name alias for CSSM_CRL_PAIR.

type CssmCrlPairPtr

type CssmCrlPairPtr = CSSM_CRL_PAIR_PTR

CssmCrlPairPtr is a Go-name alias for CSSM_CRL_PAIR_PTR.

type CssmCrlParseFormat added in v0.6.4

type CssmCrlParseFormat = CSSM_CRL_PARSE_FORMAT

CssmCrlParseFormat is a Go-name alias for CSSM_CRL_PARSE_FORMAT.

type CssmCrlParseFormatNone added in v0.6.17

type CssmCrlParseFormatNone uint32
const (
	CSSM_CL_CUSTOM_CRL_PARSE_FORMAT CssmCrlParseFormatNone = 0x8000
	CSSM_CRL_PARSE_FORMAT_COMPLEX   CssmCrlParseFormatNone = 0x3
	CSSM_CRL_PARSE_FORMAT_CUSTOM    CssmCrlParseFormatNone = 0x1
	CSSM_CRL_PARSE_FORMAT_LAST      CssmCrlParseFormatNone = 0x7fff
	CSSM_CRL_PARSE_FORMAT_MULTIPLE  CssmCrlParseFormatNone = 0x7ffe
	CSSM_CRL_PARSE_FORMAT_NONE      CssmCrlParseFormatNone = 0
	CSSM_CRL_PARSE_FORMAT_OID_NAMED CssmCrlParseFormatNone = 0x4
	CSSM_CRL_PARSE_FORMAT_SEXPR     CssmCrlParseFormatNone = 0x2
	CSSM_CRL_PARSE_FORMAT_TUPLE     CssmCrlParseFormatNone = 0x5
)

func (CssmCrlParseFormatNone) String added in v0.6.17

func (e CssmCrlParseFormatNone) String() string

type CssmCrlParseFormatPtr added in v0.6.4

type CssmCrlParseFormatPtr = CSSM_CRL_PARSE_FORMAT_PTR

CssmCrlParseFormatPtr is a Go-name alias for CSSM_CRL_PARSE_FORMAT_PTR.

type CssmCrlType

type CssmCrlType uint32
const (
	CSSM_CRL_TYPE_MULTIPLE CssmCrlType = 0x7ffe
	CSSM_CRL_TYPE_SPKI     CssmCrlType = 0x3
	CSSM_CRL_TYPE_UNKNOWN  CssmCrlType = 0
	CSSM_CRL_TYPE_X_509v1  CssmCrlType = 0x1
	CSSM_CRL_TYPE_X_509v2  CssmCrlType = 0x2
)

func (CssmCrlType) String

func (e CssmCrlType) String() string

type CssmCrlTypePtr added in v0.6.4

type CssmCrlTypePtr = CSSM_CRL_TYPE_PTR

CssmCrlTypePtr is a Go-name alias for CSSM_CRL_TYPE_PTR.

type CssmCrlgroup

type CssmCrlgroup uint32
const (
	CSSM_CRLGROUP_CRL_PAIR    CssmCrlgroup = 0x3
	CSSM_CRLGROUP_DATA        CssmCrlgroup = 0
	CSSM_CRLGROUP_ENCODED_CRL CssmCrlgroup = 0x1
	CSSM_CRLGROUP_PARSED_CRL  CssmCrlgroup = 0x2
)

func (CssmCrlgroup) String

func (e CssmCrlgroup) String() string

type CssmCrlgroupPtr

type CssmCrlgroupPtr = CSSM_CRLGROUP_PTR

CssmCrlgroupPtr is a Go-name alias for CSSM_CRLGROUP_PTR.

type CssmCrlgroupType added in v0.6.4

type CssmCrlgroupType = CSSM_CRLGROUP_TYPE

CssmCrlgroupType is a Go-name alias for CSSM_CRLGROUP_TYPE.

type CssmCrlgroupTypePtr added in v0.6.4

type CssmCrlgroupTypePtr = CSSM_CRLGROUP_TYPE_PTR

CssmCrlgroupTypePtr is a Go-name alias for CSSM_CRLGROUP_TYPE_PTR.

type CssmCryptoData

type CssmCryptoData = CSSM_CRYPTO_DATA

CssmCryptoData is a Go-name alias for CSSM_CRYPTO_DATA.

type CssmCryptoDataPtr

type CssmCryptoDataPtr = CSSM_CRYPTO_DATA_PTR

CssmCryptoDataPtr is a Go-name alias for CSSM_CRYPTO_DATA_PTR.

type CssmCspBaseCspError added in v0.6.17

type CssmCspBaseCspError int32
const (
	CSSMERR_CSP_ALGID_MISMATCH                    CssmCspBaseCspError = -2147415789
	CSSMERR_CSP_ALREADY_LOGGED_IN                 CssmCspBaseCspError = -2147415726
	CSSMERR_CSP_ATTACH_HANDLE_BUSY                CssmCspBaseCspError = -2147415802
	CSSMERR_CSP_BLOCK_SIZE_MISMATCH               CssmCspBaseCspError = -2147415731
	CSSMERR_CSP_CRYPTO_DATA_CALLBACK_FAILED       CssmCspBaseCspError = -2147415722
	CSSMERR_CSP_DEVICE_ERROR                      CssmCspBaseCspError = -2147415804
	CSSMERR_CSP_DEVICE_MEMORY_ERROR               CssmCspBaseCspError = -2147415803
	CSSMERR_CSP_DEVICE_VERIFY_FAILED              CssmCspBaseCspError = -2147415728
	CSSMERR_CSP_INPUT_LENGTH_ERROR                CssmCspBaseCspError = -2147415807
	CSSMERR_CSP_INVALID_ALGORITHM                 CssmCspBaseCspError = -2147415759
	CSSMERR_CSP_INVALID_ATTR_ACCESS_CREDENTIALS   CssmCspBaseCspError = -2147415678
	CSSMERR_CSP_INVALID_ATTR_ALG_PARAMS           CssmCspBaseCspError = -2147415704
	CSSMERR_CSP_INVALID_ATTR_BASE                 CssmCspBaseCspError = -2147415686
	CSSMERR_CSP_INVALID_ATTR_BLOCK_SIZE           CssmCspBaseCspError = -2147415738
	CSSMERR_CSP_INVALID_ATTR_DL_DB_HANDLE         CssmCspBaseCspError = -2147415680
	CSSMERR_CSP_INVALID_ATTR_EFFECTIVE_BITS       CssmCspBaseCspError = -2147415696
	CSSMERR_CSP_INVALID_ATTR_END_DATE             CssmCspBaseCspError = -2147415692
	CSSMERR_CSP_INVALID_ATTR_INIT_VECTOR          CssmCspBaseCspError = -2147415752
	CSSMERR_CSP_INVALID_ATTR_ITERATION_COUNT      CssmCspBaseCspError = -2147415682
	CSSMERR_CSP_INVALID_ATTR_KEY                  CssmCspBaseCspError = -2147415754
	CSSMERR_CSP_INVALID_ATTR_KEY_LENGTH           CssmCspBaseCspError = -2147415740
	CSSMERR_CSP_INVALID_ATTR_KEY_TYPE             CssmCspBaseCspError = -2147415700
	CSSMERR_CSP_INVALID_ATTR_LABEL                CssmCspBaseCspError = -2147415702
	CSSMERR_CSP_INVALID_ATTR_MODE                 CssmCspBaseCspError = -2147415698
	CSSMERR_CSP_INVALID_ATTR_OUTPUT_SIZE          CssmCspBaseCspError = -2147415708
	CSSMERR_CSP_INVALID_ATTR_PADDING              CssmCspBaseCspError = -2147415748
	CSSMERR_CSP_INVALID_ATTR_PASSPHRASE           CssmCspBaseCspError = -2147415742
	CSSMERR_CSP_INVALID_ATTR_PRIME                CssmCspBaseCspError = -2147415688
	CSSMERR_CSP_INVALID_ATTR_PRIVATE_KEY_FORMAT   CssmCspBaseCspError = -2147415674
	CSSMERR_CSP_INVALID_ATTR_PUBLIC_KEY_FORMAT    CssmCspBaseCspError = -2147415676
	CSSMERR_CSP_INVALID_ATTR_RANDOM               CssmCspBaseCspError = -2147415746
	CSSMERR_CSP_INVALID_ATTR_ROUNDS               CssmCspBaseCspError = -2147415706
	CSSMERR_CSP_INVALID_ATTR_SALT                 CssmCspBaseCspError = -2147415750
	CSSMERR_CSP_INVALID_ATTR_SEED                 CssmCspBaseCspError = -2147415744
	CSSMERR_CSP_INVALID_ATTR_START_DATE           CssmCspBaseCspError = -2147415694
	CSSMERR_CSP_INVALID_ATTR_SUBPRIME             CssmCspBaseCspError = -2147415684
	CSSMERR_CSP_INVALID_ATTR_SYMMETRIC_KEY_FORMAT CssmCspBaseCspError = -2147415672
	CSSMERR_CSP_INVALID_ATTR_VERSION              CssmCspBaseCspError = -2147415690
	CSSMERR_CSP_INVALID_ATTR_WRAPPED_KEY_FORMAT   CssmCspBaseCspError = -2147415670
	CSSMERR_CSP_INVALID_CONTEXT                   CssmCspBaseCspError = -2147415760
	CSSMERR_CSP_INVALID_DATA_COUNT                CssmCspBaseCspError = -2147415768
	CSSMERR_CSP_INVALID_DIGEST_ALGORITHM          CssmCspBaseCspError = -2147415723
	CSSMERR_CSP_INVALID_INPUT_VECTOR              CssmCspBaseCspError = -2147415766
	CSSMERR_CSP_INVALID_KEY                       CssmCspBaseCspError = -2147415792
	CSSMERR_CSP_INVALID_KEYATTR_MASK              CssmCspBaseCspError = -2147415780
	CSSMERR_CSP_INVALID_KEYUSAGE_MASK             CssmCspBaseCspError = -2147415782
	CSSMERR_CSP_INVALID_KEY_CLASS                 CssmCspBaseCspError = -2147415790
	CSSMERR_CSP_INVALID_KEY_FORMAT                CssmCspBaseCspError = -2147415776
	CSSMERR_CSP_INVALID_KEY_LABEL                 CssmCspBaseCspError = -2147415778
	CSSMERR_CSP_INVALID_KEY_POINTER               CssmCspBaseCspError = -2147415783
	CSSMERR_CSP_INVALID_KEY_REFERENCE             CssmCspBaseCspError = -2147415791
	CSSMERR_CSP_INVALID_LOGIN_NAME                CssmCspBaseCspError = -2147415727
	CSSMERR_CSP_INVALID_OUTPUT_VECTOR             CssmCspBaseCspError = -2147415765
	CSSMERR_CSP_INVALID_SIGNATURE                 CssmCspBaseCspError = -2147415733
	CSSMERR_CSP_KEY_BLOB_TYPE_INCORRECT           CssmCspBaseCspError = -2147415787
	CSSMERR_CSP_KEY_HEADER_INCONSISTENT           CssmCspBaseCspError = -2147415786
	CSSMERR_CSP_KEY_LABEL_ALREADY_EXISTS          CssmCspBaseCspError = -2147415724
	CSSMERR_CSP_KEY_USAGE_INCORRECT               CssmCspBaseCspError = -2147415788
	CSSMERR_CSP_MISSING_ATTR_ACCESS_CREDENTIALS   CssmCspBaseCspError = -2147415677
	CSSMERR_CSP_MISSING_ATTR_ALG_PARAMS           CssmCspBaseCspError = -2147415703
	CSSMERR_CSP_MISSING_ATTR_BASE                 CssmCspBaseCspError = -2147415685
	CSSMERR_CSP_MISSING_ATTR_BLOCK_SIZE           CssmCspBaseCspError = -2147415737
	CSSMERR_CSP_MISSING_ATTR_DL_DB_HANDLE         CssmCspBaseCspError = -2147415679
	CSSMERR_CSP_MISSING_ATTR_EFFECTIVE_BITS       CssmCspBaseCspError = -2147415695
	CSSMERR_CSP_MISSING_ATTR_END_DATE             CssmCspBaseCspError = -2147415691
	CSSMERR_CSP_MISSING_ATTR_INIT_VECTOR          CssmCspBaseCspError = -2147415751
	CSSMERR_CSP_MISSING_ATTR_ITERATION_COUNT      CssmCspBaseCspError = -2147415681
	CSSMERR_CSP_MISSING_ATTR_KEY                  CssmCspBaseCspError = -2147415753
	CSSMERR_CSP_MISSING_ATTR_KEY_LENGTH           CssmCspBaseCspError = -2147415739
	CSSMERR_CSP_MISSING_ATTR_KEY_TYPE             CssmCspBaseCspError = -2147415699
	CSSMERR_CSP_MISSING_ATTR_LABEL                CssmCspBaseCspError = -2147415701
	CSSMERR_CSP_MISSING_ATTR_MODE                 CssmCspBaseCspError = -2147415697
	CSSMERR_CSP_MISSING_ATTR_OUTPUT_SIZE          CssmCspBaseCspError = -2147415707
	CSSMERR_CSP_MISSING_ATTR_PADDING              CssmCspBaseCspError = -2147415747
	CSSMERR_CSP_MISSING_ATTR_PASSPHRASE           CssmCspBaseCspError = -2147415741
	CSSMERR_CSP_MISSING_ATTR_PRIME                CssmCspBaseCspError = -2147415687
	CSSMERR_CSP_MISSING_ATTR_PRIVATE_KEY_FORMAT   CssmCspBaseCspError = -2147415673
	CSSMERR_CSP_MISSING_ATTR_PUBLIC_KEY_FORMAT    CssmCspBaseCspError = -2147415675
	CSSMERR_CSP_MISSING_ATTR_RANDOM               CssmCspBaseCspError = -2147415745
	CSSMERR_CSP_MISSING_ATTR_ROUNDS               CssmCspBaseCspError = -2147415705
	CSSMERR_CSP_MISSING_ATTR_SALT                 CssmCspBaseCspError = -2147415749
	CSSMERR_CSP_MISSING_ATTR_SEED                 CssmCspBaseCspError = -2147415743
	CSSMERR_CSP_MISSING_ATTR_START_DATE           CssmCspBaseCspError = -2147415693
	CSSMERR_CSP_MISSING_ATTR_SUBPRIME             CssmCspBaseCspError = -2147415683
	CSSMERR_CSP_MISSING_ATTR_SYMMETRIC_KEY_FORMAT CssmCspBaseCspError = -2147415671
	CSSMERR_CSP_MISSING_ATTR_VERSION              CssmCspBaseCspError = -2147415689
	CSSMERR_CSP_MISSING_ATTR_WRAPPED_KEY_FORMAT   CssmCspBaseCspError = -2147415669
	CSSMERR_CSP_NOT_LOGGED_IN                     CssmCspBaseCspError = -2147415801
	CSSMERR_CSP_OUTPUT_LENGTH_ERROR               CssmCspBaseCspError = -2147415806
	CSSMERR_CSP_PRIVATE_KEY_ALREADY_EXISTS        CssmCspBaseCspError = -2147415725
	CSSMERR_CSP_PRIVATE_KEY_NOT_FOUND             CssmCspBaseCspError = -2147415730
	CSSMERR_CSP_PRIVILEGE_NOT_SUPPORTED           CssmCspBaseCspError = -2147415805
	CSSMERR_CSP_PUBLIC_KEY_INCONSISTENT           CssmCspBaseCspError = -2147415729
	CSSMERR_CSP_QUERY_SIZE_UNKNOWN                CssmCspBaseCspError = -2147415732
	CSSMERR_CSP_STAGED_OPERATION_IN_PROGRESS      CssmCspBaseCspError = -2147415736
	CSSMERR_CSP_STAGED_OPERATION_NOT_STARTED      CssmCspBaseCspError = -2147415735
	CSSMERR_CSP_UNSUPPORTED_KEYATTR_MASK          CssmCspBaseCspError = -2147415779
	CSSMERR_CSP_UNSUPPORTED_KEYUSAGE_MASK         CssmCspBaseCspError = -2147415781
	CSSMERR_CSP_UNSUPPORTED_KEY_FORMAT            CssmCspBaseCspError = -2147415785
	CSSMERR_CSP_UNSUPPORTED_KEY_LABEL             CssmCspBaseCspError = -2147415777
	CSSMERR_CSP_UNSUPPORTED_KEY_SIZE              CssmCspBaseCspError = -2147415784
	CSSMERR_CSP_VECTOR_OF_BUFS_UNSUPPORTED        CssmCspBaseCspError = -2147415767
	CSSMERR_CSP_VERIFY_FAILED                     CssmCspBaseCspError = -2147415734
	CSSM_CSP_BASE_CSP_ERROR                       CssmCspBaseCspError = -2147415808
)

func (CssmCspBaseCspError) String added in v0.6.17

func (e CssmCspBaseCspError) String() string

type CssmCspFlags added in v0.6.4

type CssmCspFlags = CSSM_CSP_FLAGS

CssmCspFlags is a Go-name alias for CSSM_CSP_FLAGS.

type CssmCspHandle added in v0.6.4

type CssmCspHandle = CSSM_CSP_HANDLE

CssmCspHandle is a Go-name alias for CSSM_CSP_HANDLE.

type CssmCspOperationalStatistics

type CssmCspOperationalStatistics = CSSM_CSP_OPERATIONAL_STATISTICS

CssmCspOperationalStatistics is a Go-name alias for CSSM_CSP_OPERATIONAL_STATISTICS.

type CssmCspOperationalStatisticsPtr

type CssmCspOperationalStatisticsPtr = CSSM_CSP_OPERATIONAL_STATISTICS_PTR

CssmCspOperationalStatisticsPtr is a Go-name alias for CSSM_CSP_OPERATIONAL_STATISTICS_PTR.

type CssmCspRdr

type CssmCspRdr uint32
const (
	CSSM_CSP_RDR_EXISTS       CssmCspRdr = 0x2
	CSSM_CSP_RDR_HW           CssmCspRdr = 0x4
	CSSM_CSP_RDR_TOKENPRESENT CssmCspRdr = 0x1
)

func (CssmCspRdr) String

func (e CssmCspRdr) String() string

type CssmCspReaderFlags added in v0.6.4

type CssmCspReaderFlags = CSSM_CSP_READER_FLAGS

CssmCspReaderFlags is a Go-name alias for CSSM_CSP_READER_FLAGS.

type CssmCspSoftware added in v0.6.17

type CssmCspSoftware uint32
const (
	CSSM_CSP_HARDWARE CssmCspSoftware = 2
	CSSM_CSP_HYBRID   CssmCspSoftware = 3
	CSSM_CSP_SOFTWARE CssmCspSoftware = 1
)

func (CssmCspSoftware) String added in v0.6.17

func (e CssmCspSoftware) String() string

type CssmCspTok

type CssmCspTok uint32
const (
	CSSM_CSP_TOK_CLOCK_EXISTS CssmCspTok = 0x40
	CSSM_CSP_TOK_RNG          CssmCspTok = 0x1
)

func (CssmCspTok) String

func (e CssmCspTok) String() string

type CssmCspTokWriteProtected added in v0.6.17

type CssmCspTokWriteProtected uint32
const (
	CSSM_CSP_STORES_CERTIFICATES      CssmCspTokWriteProtected = 0x8000000
	CSSM_CSP_STORES_GENERIC           CssmCspTokWriteProtected = 0x10000000
	CSSM_CSP_STORES_PRIVATE_KEYS      CssmCspTokWriteProtected = 0x1000000
	CSSM_CSP_STORES_PUBLIC_KEYS       CssmCspTokWriteProtected = 0x2000000
	CSSM_CSP_STORES_SESSION_KEYS      CssmCspTokWriteProtected = 0x4000000
	CSSM_CSP_TOK_LOGIN_REQUIRED       CssmCspTokWriteProtected = 0x4
	CSSM_CSP_TOK_PRIVATE_KEY_PASSWORD CssmCspTokWriteProtected = 0x400000
	CSSM_CSP_TOK_PROT_AUTHENTICATION  CssmCspTokWriteProtected = 0x100
	CSSM_CSP_TOK_SESSION_KEY_PASSWORD CssmCspTokWriteProtected = 0x200000
	CSSM_CSP_TOK_USER_PIN_EXPIRED     CssmCspTokWriteProtected = 0x100000
	CSSM_CSP_TOK_USER_PIN_INITIALIZED CssmCspTokWriteProtected = 0x8
	CSSM_CSP_TOK_WRITE_PROTECTED      CssmCspTokWriteProtected = 0x2
)

func (CssmCspTokWriteProtected) String added in v0.6.17

func (e CssmCspTokWriteProtected) String() string

type CssmCsptype added in v0.6.4

type CssmCsptype = CSSM_CSPTYPE

CssmCsptype is a Go-name alias for CSSM_CSPTYPE.

type CssmCssmBaseCssmError added in v0.6.17

type CssmCssmBaseCssmError int32
const (
	CSSMERR_CSSM_ADDIN_AUTHENTICATE_FAILED             CssmCssmBaseCssmError = -2147417828
	CSSMERR_CSSM_ADDIN_LOAD_FAILED                     CssmCssmBaseCssmError = -2147417834
	CSSMERR_CSSM_ADDIN_UNLOAD_FAILED                   CssmCssmBaseCssmError = -2147417832
	CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT              CssmCssmBaseCssmError = -2147417822
	CSSMERR_CSSM_BUFFER_TOO_SMALL                      CssmCssmBaseCssmError = -2147417824
	CSSMERR_CSSM_EMM_AUTHENTICATE_FAILED               CssmCssmBaseCssmError = -2147417829
	CSSMERR_CSSM_EMM_LOAD_FAILED                       CssmCssmBaseCssmError = -2147417836
	CSSMERR_CSSM_EMM_UNLOAD_FAILED                     CssmCssmBaseCssmError = -2147417835
	CSSMERR_CSSM_EVENT_NOTIFICATION_CALLBACK_NOT_FOUND CssmCssmBaseCssmError = -2147417819
	CSSMERR_CSSM_INVALID_ADDIN_FUNCTION_TABLE          CssmCssmBaseCssmError = -2147417830
	CSSMERR_CSSM_INVALID_ATTRIBUTE                     CssmCssmBaseCssmError = -2147417823
	CSSMERR_CSSM_INVALID_KEY_HIERARCHY                 CssmCssmBaseCssmError = -2147417833
	CSSMERR_CSSM_INVALID_PVC                           CssmCssmBaseCssmError = -2147417837
	CSSMERR_CSSM_INVALID_SERVICE_MASK                  CssmCssmBaseCssmError = -2147417827
	CSSMERR_CSSM_INVALID_SUBSERVICEID                  CssmCssmBaseCssmError = -2147417825
	CSSMERR_CSSM_LIB_REF_NOT_FOUND                     CssmCssmBaseCssmError = -2147417831
	CSSMERR_CSSM_MODULE_MANAGER_INITIALIZE_FAIL        CssmCssmBaseCssmError = -2147417821
	CSSMERR_CSSM_MODULE_MANAGER_NOT_FOUND              CssmCssmBaseCssmError = -2147417820
	CSSMERR_CSSM_MODULE_NOT_LOADED                     CssmCssmBaseCssmError = -2147417826
	CSSMERR_CSSM_PVC_ALREADY_CONFIGURED                CssmCssmBaseCssmError = -2147417838
	CSSMERR_CSSM_SCOPE_NOT_SUPPORTED                   CssmCssmBaseCssmError = -2147417839
	CSSM_CSSM_BASE_CSSM_ERROR                          CssmCssmBaseCssmError = -2147417840
)

func (CssmCssmBaseCssmError) String added in v0.6.17

func (e CssmCssmBaseCssmError) String() string

type CssmCustomCommonErrorExtent added in v0.6.17

type CssmCustomCommonErrorExtent uint32
const (
	CSSM_CUSTOM_COMMON_ERROR_EXTENT                 CssmCustomCommonErrorExtent = 0xe0
	CSSM_ERRCODE_DEVICE_FAILED                      CssmCustomCommonErrorExtent = 0xe5
	CSSM_ERRCODE_DEVICE_RESET                       CssmCustomCommonErrorExtent = 0xe4
	CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION CssmCustomCommonErrorExtent = 0xe3
	CSSM_ERRCODE_IN_DARK_WAKE                       CssmCustomCommonErrorExtent = 0xe6
	CSSM_ERRCODE_NO_USER_INTERACTION                CssmCustomCommonErrorExtent = 0xe0
	CSSM_ERRCODE_SERVICE_NOT_AVAILABLE              CssmCustomCommonErrorExtent = 0xe2
	CSSM_ERRCODE_USER_CANCELED                      CssmCustomCommonErrorExtent = 0xe1
)

func (CssmCustomCommonErrorExtent) String added in v0.6.17

type CssmD

type CssmD uint32
const (
	CSSM_DB_RECORDTYPE_APP_DEFINED_END   CssmD = 0xffffffff
	CSSM_DB_RECORDTYPE_APP_DEFINED_START CssmD = 0x80000000
	CSSM_DB_RECORDTYPE_OPEN_GROUP_END    CssmD = 18
	CSSM_DB_RECORDTYPE_OPEN_GROUP_START  CssmD = 0xa
	CSSM_DB_RECORDTYPE_SCHEMA_END        CssmD = 4
	CSSM_DB_RECORDTYPE_SCHEMA_START      CssmD = 0
	CSSM_DL_DB_RECORD_ALL_KEYS           CssmD = 18
	CSSM_DL_DB_RECORD_ANY                CssmD = 10
	CSSM_DL_DB_RECORD_CERT               CssmD = 11
	CSSM_DL_DB_RECORD_CRL                CssmD = 12
	CSSM_DL_DB_RECORD_GENERIC            CssmD = 14
	CSSM_DL_DB_RECORD_POLICY             CssmD = 13
	CSSM_DL_DB_RECORD_PRIVATE_KEY        CssmD = 16
	CSSM_DL_DB_RECORD_PUBLIC_KEY         CssmD = 15
	CSSM_DL_DB_RECORD_SYMMETRIC_KEY      CssmD = 17
	CSSM_DL_DB_SCHEMA_ATTRIBUTES         CssmD = 2
	CSSM_DL_DB_SCHEMA_INDEXES            CssmD = 1
	CSSM_DL_DB_SCHEMA_INFO               CssmD = 0
	CSSM_DL_DB_SCHEMA_PARSING_MODULE     CssmD = 3
)

func (CssmD) String

func (e CssmD) String() string

type CssmDataPtr

type CssmDataPtr = CSSM_DATA_PTR

CssmDataPtr is a Go-name alias for CSSM_DATA_PTR.

type CssmDate

type CssmDate = CSSM_DATE

CssmDate is a Go-name alias for CSSM_DATE.

type CssmDatePtr

type CssmDatePtr = CSSM_DATE_PTR

CssmDatePtr is a Go-name alias for CSSM_DATE_PTR.

type CssmDbAccessRead added in v0.6.17

type CssmDbAccessRead uint32
const (
	CSSM_DB_ACCESS_PRIVILEGED CssmDbAccessRead = 0x4
	CSSM_DB_ACCESS_READ       CssmDbAccessRead = 0x1
	CSSM_DB_ACCESS_WRITE      CssmDbAccessRead = 0x2
)

func (CssmDbAccessRead) String added in v0.6.17

func (e CssmDbAccessRead) String() string

type CssmDbAccessReset

type CssmDbAccessReset uint32
const (
	CSSM_DB_ACCESS_RESET CssmDbAccessReset = 0x10000
)

func (CssmDbAccessReset) String

func (e CssmDbAccessReset) String() string

type CssmDbAccessType added in v0.6.4

type CssmDbAccessType = CSSM_DB_ACCESS_TYPE

CssmDbAccessType is a Go-name alias for CSSM_DB_ACCESS_TYPE.

type CssmDbAccessTypePtr added in v0.6.4

type CssmDbAccessTypePtr = CSSM_DB_ACCESS_TYPE_PTR

CssmDbAccessTypePtr is a Go-name alias for CSSM_DB_ACCESS_TYPE_PTR.

type CssmDbAttributeData

type CssmDbAttributeData = CSSM_DB_ATTRIBUTE_DATA

CssmDbAttributeData is a Go-name alias for CSSM_DB_ATTRIBUTE_DATA.

type CssmDbAttributeDataPtr

type CssmDbAttributeDataPtr = CSSM_DB_ATTRIBUTE_DATA_PTR

CssmDbAttributeDataPtr is a Go-name alias for CSSM_DB_ATTRIBUTE_DATA_PTR.

type CssmDbAttributeFormat

type CssmDbAttributeFormat uint32
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 CssmDbAttributeFormatPtr added in v0.6.4

type CssmDbAttributeFormatPtr = CSSM_DB_ATTRIBUTE_FORMAT_PTR

CssmDbAttributeFormatPtr is a Go-name alias for CSSM_DB_ATTRIBUTE_FORMAT_PTR.

type CssmDbAttributeInfo

type CssmDbAttributeInfo = CSSM_DB_ATTRIBUTE_INFO

CssmDbAttributeInfo is a Go-name alias for CSSM_DB_ATTRIBUTE_INFO.

type CssmDbAttributeInfoPtr

type CssmDbAttributeInfoPtr = CSSM_DB_ATTRIBUTE_INFO_PTR

CssmDbAttributeInfoPtr is a Go-name alias for CSSM_DB_ATTRIBUTE_INFO_PTR.

type CssmDbAttributeNameAs

type CssmDbAttributeNameAs uint32
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 CssmDbAttributeNameFormat added in v0.6.4

type CssmDbAttributeNameFormat = CSSM_DB_ATTRIBUTE_NAME_FORMAT

CssmDbAttributeNameFormat is a Go-name alias for CSSM_DB_ATTRIBUTE_NAME_FORMAT.

type CssmDbAttributeNameFormatPtr added in v0.6.4

type CssmDbAttributeNameFormatPtr = CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR

CssmDbAttributeNameFormatPtr is a Go-name alias for CSSM_DB_ATTRIBUTE_NAME_FORMAT_PTR.

type CssmDbCertUse

type CssmDbCertUse uint32
const (
	CSSM_DB_CERT_USE_OWNER   CssmDbCertUse = 0x4
	CSSM_DB_CERT_USE_PRIVACY CssmDbCertUse = 0x20
	CSSM_DB_CERT_USE_REVOKED CssmDbCertUse = 0x8
	CSSM_DB_CERT_USE_SIGNING CssmDbCertUse = 0x10
	CSSM_DB_CERT_USE_SYSTEM  CssmDbCertUse = 0x2
	CSSM_DB_CERT_USE_TRUSTED CssmDbCertUse = 0x1
)

func (CssmDbCertUse) String

func (e CssmDbCertUse) String() string

type CssmDbConjunctive added in v0.6.4

type CssmDbConjunctive = CSSM_DB_CONJUNCTIVE

CssmDbConjunctive is a Go-name alias for CSSM_DB_CONJUNCTIVE.

type CssmDbConjunctivePtr added in v0.6.4

type CssmDbConjunctivePtr = CSSM_DB_CONJUNCTIVE_PTR

CssmDbConjunctivePtr is a Go-name alias for CSSM_DB_CONJUNCTIVE_PTR.

type CssmDbDatastores added in v0.5.1

type CssmDbDatastores uint32
const (
	CSSM_DB_DATASTORES_UNKNOWN CssmDbDatastores = 0xffffffff
)

func (CssmDbDatastores) String added in v0.5.1

func (e CssmDbDatastores) String() string

type CssmDbEqual added in v0.6.17

type CssmDbEqual uint32
const (
	CSSM_DB_CONTAINS                   CssmDbEqual = 4
	CSSM_DB_CONTAINS_FINAL_SUBSTRING   CssmDbEqual = 6
	CSSM_DB_CONTAINS_INITIAL_SUBSTRING CssmDbEqual = 5
	CSSM_DB_EQUAL                      CssmDbEqual = 0
	CSSM_DB_GREATER_THAN               CssmDbEqual = 3
	CSSM_DB_LESS_THAN                  CssmDbEqual = 2
	CSSM_DB_NOT_EQUAL                  CssmDbEqual = 1
)

func (CssmDbEqual) String added in v0.6.17

func (e CssmDbEqual) String() string

type CssmDbHandle added in v0.6.4

type CssmDbHandle = CSSM_DB_HANDLE

CssmDbHandle is a Go-name alias for CSSM_DB_HANDLE.

type CssmDbIndex

type CssmDbIndex uint32
const (
	CSSM_DB_INDEX_NONUNIQUE CssmDbIndex = 1
	CSSM_DB_INDEX_UNIQUE    CssmDbIndex = 0
)

func (CssmDbIndex) String

func (e CssmDbIndex) String() string

type CssmDbIndexInfo

type CssmDbIndexInfo = CSSM_DB_INDEX_INFO

CssmDbIndexInfo is a Go-name alias for CSSM_DB_INDEX_INFO.

type CssmDbIndexInfoPtr

type CssmDbIndexInfoPtr = CSSM_DB_INDEX_INFO_PTR

CssmDbIndexInfoPtr is a Go-name alias for CSSM_DB_INDEX_INFO_PTR.

type CssmDbIndexOn

type CssmDbIndexOn uint32
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 CssmDbIndexType added in v0.6.4

type CssmDbIndexType = CSSM_DB_INDEX_TYPE

CssmDbIndexType is a Go-name alias for CSSM_DB_INDEX_TYPE.

type CssmDbIndexedDataLocation added in v0.6.4

type CssmDbIndexedDataLocation = CSSM_DB_INDEXED_DATA_LOCATION

CssmDbIndexedDataLocation is a Go-name alias for CSSM_DB_INDEXED_DATA_LOCATION.

type CssmDbModifyAttribute

type CssmDbModifyAttribute uint32
const (
	CSSM_DB_MODIFY_ATTRIBUTE_ADD     CssmDbModifyAttribute = 1
	CSSM_DB_MODIFY_ATTRIBUTE_DELETE  CssmDbModifyAttribute = 2
	CSSM_DB_MODIFY_ATTRIBUTE_NONE    CssmDbModifyAttribute = 0
	CSSM_DB_MODIFY_ATTRIBUTE_REPLACE CssmDbModifyAttribute = 3
)

func (CssmDbModifyAttribute) String

func (e CssmDbModifyAttribute) String() string

type CssmDbModifyMode added in v0.6.4

type CssmDbModifyMode = CSSM_DB_MODIFY_MODE

CssmDbModifyMode is a Go-name alias for CSSM_DB_MODIFY_MODE.

type CssmDbNone added in v0.6.17

type CssmDbNone uint32
const (
	CSSM_DB_AND  CssmDbNone = 1
	CSSM_DB_NONE CssmDbNone = 0
	CSSM_DB_OR   CssmDbNone = 2
)

func (CssmDbNone) String added in v0.6.17

func (e CssmDbNone) String() string

type CssmDbOperator added in v0.6.4

type CssmDbOperator = CSSM_DB_OPERATOR

CssmDbOperator is a Go-name alias for CSSM_DB_OPERATOR.

type CssmDbOperatorPtr added in v0.6.4

type CssmDbOperatorPtr = CSSM_DB_OPERATOR_PTR

CssmDbOperatorPtr is a Go-name alias for CSSM_DB_OPERATOR_PTR.

type CssmDbParsingModuleInfo

type CssmDbParsingModuleInfo = CSSM_DB_PARSING_MODULE_INFO

CssmDbParsingModuleInfo is a Go-name alias for CSSM_DB_PARSING_MODULE_INFO.

type CssmDbParsingModuleInfoPtr

type CssmDbParsingModuleInfoPtr = CSSM_DB_PARSING_MODULE_INFO_PTR

CssmDbParsingModuleInfoPtr is a Go-name alias for CSSM_DB_PARSING_MODULE_INFO_PTR.

type CssmDbRecordAttributeData

type CssmDbRecordAttributeData = CSSM_DB_RECORD_ATTRIBUTE_DATA

CssmDbRecordAttributeData is a Go-name alias for CSSM_DB_RECORD_ATTRIBUTE_DATA.

type CssmDbRecordAttributeDataPtr

type CssmDbRecordAttributeDataPtr = CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR

CssmDbRecordAttributeDataPtr is a Go-name alias for CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR.

type CssmDbRecordAttributeInfo

type CssmDbRecordAttributeInfo = CSSM_DB_RECORD_ATTRIBUTE_INFO

CssmDbRecordAttributeInfo is a Go-name alias for CSSM_DB_RECORD_ATTRIBUTE_INFO.

type CssmDbRecordAttributeInfoPtr

type CssmDbRecordAttributeInfoPtr = CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR

CssmDbRecordAttributeInfoPtr is a Go-name alias for CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR.

type CssmDbRecordIndexInfo

type CssmDbRecordIndexInfo = CSSM_DB_RECORD_INDEX_INFO

CssmDbRecordIndexInfo is a Go-name alias for CSSM_DB_RECORD_INDEX_INFO.

type CssmDbRecordIndexInfoPtr

type CssmDbRecordIndexInfoPtr = CSSM_DB_RECORD_INDEX_INFO_PTR

CssmDbRecordIndexInfoPtr is a Go-name alias for CSSM_DB_RECORD_INDEX_INFO_PTR.

type CssmDbRecordtype added in v0.6.4

type CssmDbRecordtype = CSSM_DB_RECORDTYPE

CssmDbRecordtype is a Go-name alias for CSSM_DB_RECORDTYPE.

type CssmDbRetrievalModes added in v0.6.4

type CssmDbRetrievalModes = CSSM_DB_RETRIEVAL_MODES

CssmDbRetrievalModes is a Go-name alias for CSSM_DB_RETRIEVAL_MODES.

type CssmDbSchemaAttributeInfo

type CssmDbSchemaAttributeInfo = CSSM_DB_SCHEMA_ATTRIBUTE_INFO

CssmDbSchemaAttributeInfo is a Go-name alias for CSSM_DB_SCHEMA_ATTRIBUTE_INFO.

type CssmDbSchemaAttributeInfoPtr

type CssmDbSchemaAttributeInfoPtr = CSSM_DB_SCHEMA_ATTRIBUTE_INFO_PTR

CssmDbSchemaAttributeInfoPtr is a Go-name alias for CSSM_DB_SCHEMA_ATTRIBUTE_INFO_PTR.

type CssmDbSchemaIndexInfo

type CssmDbSchemaIndexInfo = CSSM_DB_SCHEMA_INDEX_INFO

CssmDbSchemaIndexInfo is a Go-name alias for CSSM_DB_SCHEMA_INDEX_INFO.

type CssmDbSchemaIndexInfoPtr

type CssmDbSchemaIndexInfoPtr = CSSM_DB_SCHEMA_INDEX_INFO_PTR

CssmDbSchemaIndexInfoPtr is a Go-name alias for CSSM_DB_SCHEMA_INDEX_INFO_PTR.

type CssmDbTransactionalMode added in v0.6.17

type CssmDbTransactionalMode uint32
const (
	CSSM_DB_FILESYSTEMSCAN_MODE CssmDbTransactionalMode = 1
	CSSM_DB_TRANSACTIONAL_MODE  CssmDbTransactionalMode = 0
)

func (CssmDbTransactionalMode) String added in v0.6.17

func (e CssmDbTransactionalMode) String() string

type CssmDbUniqueRecord

type CssmDbUniqueRecord = CSSM_DB_UNIQUE_RECORD

CssmDbUniqueRecord is a Go-name alias for CSSM_DB_UNIQUE_RECORD.

type CssmDbUniqueRecordPtr

type CssmDbUniqueRecordPtr = CSSM_DB_UNIQUE_RECORD_PTR

CssmDbUniqueRecordPtr is a Go-name alias for CSSM_DB_UNIQUE_RECORD_PTR.

type CssmDbinfo

type CssmDbinfo = CSSM_DBINFO

CssmDbinfo is a Go-name alias for CSSM_DBINFO.

type CssmDbinfoPtr

type CssmDbinfoPtr = CSSM_DBINFO_PTR

CssmDbinfoPtr is a Go-name alias for CSSM_DBINFO_PTR.

type CssmDl

type CssmDl uint32
const (
	CSSM_DL_CUSTOM    CssmDl = 1
	CSSM_DL_FFS       CssmDl = 5
	CSSM_DL_LDAP      CssmDl = 2
	CSSM_DL_MEMORY    CssmDl = 6
	CSSM_DL_ODBC      CssmDl = 3
	CSSM_DL_PKCS11    CssmDl = 4
	CSSM_DL_REMOTEDIR CssmDl = 7
	CSSM_DL_UNKNOWN   CssmDl = 0
)

func (CssmDl) String

func (e CssmDl) String() string

type CssmDlBaseDlError added in v0.6.17

type CssmDlBaseDlError int32
const (
	CSSMERR_DL_DATABASE_CORRUPT                CssmDlBaseDlError = -2147413759
	CSSMERR_DL_DATASTORE_ALREADY_EXISTS        CssmDlBaseDlError = -2147413736
	CSSMERR_DL_DATASTORE_DOESNOT_EXIST         CssmDlBaseDlError = -2147413737
	CSSMERR_DL_DATASTORE_IS_OPEN               CssmDlBaseDlError = -2147413734
	CSSMERR_DL_DB_LOCKED                       CssmDlBaseDlError = -2147413735
	CSSMERR_DL_ENDOFDATA                       CssmDlBaseDlError = -2147413715
	CSSMERR_DL_FIELD_SPECIFIED_MULTIPLE        CssmDlBaseDlError = -2147413742
	CSSMERR_DL_INCOMPATIBLE_FIELD_FORMAT       CssmDlBaseDlError = -2147413741
	CSSMERR_DL_INVALID_ACCESS_REQUEST          CssmDlBaseDlError = -2147413724
	CSSMERR_DL_INVALID_DB_LOCATION             CssmDlBaseDlError = -2147413725
	CSSMERR_DL_INVALID_DB_NAME                 CssmDlBaseDlError = -2147413738
	CSSMERR_DL_INVALID_FIELD_NAME              CssmDlBaseDlError = -2147413750
	CSSMERR_DL_INVALID_INDEX_INFO              CssmDlBaseDlError = -2147413723
	CSSMERR_DL_INVALID_MODIFY_MODE             CssmDlBaseDlError = -2147413718
	CSSMERR_DL_INVALID_NEW_OWNER               CssmDlBaseDlError = -2147413721
	CSSMERR_DL_INVALID_OPEN_PARAMETERS         CssmDlBaseDlError = -2147413717
	CSSMERR_DL_INVALID_PARSING_MODULE          CssmDlBaseDlError = -2147413740
	CSSMERR_DL_INVALID_QUERY                   CssmDlBaseDlError = -2147413714
	CSSMERR_DL_INVALID_RECORDTYPE              CssmDlBaseDlError = -2147413751
	CSSMERR_DL_INVALID_RECORD_INDEX            CssmDlBaseDlError = -2147413752
	CSSMERR_DL_INVALID_RECORD_UID              CssmDlBaseDlError = -2147413720
	CSSMERR_DL_INVALID_RESULTS_HANDLE          CssmDlBaseDlError = -2147413726
	CSSMERR_DL_INVALID_SELECTION_TAG           CssmDlBaseDlError = -2147413722
	CSSMERR_DL_INVALID_UNIQUE_INDEX_DATA       CssmDlBaseDlError = -2147413719
	CSSMERR_DL_INVALID_VALUE                   CssmDlBaseDlError = -2147413713
	CSSMERR_DL_MISSING_VALUE                   CssmDlBaseDlError = -2147413732
	CSSMERR_DL_MULTIPLE_VALUES_UNSUPPORTED     CssmDlBaseDlError = -2147413712
	CSSMERR_DL_RECORD_MODIFIED                 CssmDlBaseDlError = -2147413716
	CSSMERR_DL_RECORD_NOT_FOUND                CssmDlBaseDlError = -2147413733
	CSSMERR_DL_STALE_UNIQUE_RECORD             CssmDlBaseDlError = -2147413711
	CSSMERR_DL_UNSUPPORTED_FIELD_FORMAT        CssmDlBaseDlError = -2147413749
	CSSMERR_DL_UNSUPPORTED_INDEX_INFO          CssmDlBaseDlError = -2147413748
	CSSMERR_DL_UNSUPPORTED_LOCALITY            CssmDlBaseDlError = -2147413747
	CSSMERR_DL_UNSUPPORTED_NUM_ATTRIBUTES      CssmDlBaseDlError = -2147413746
	CSSMERR_DL_UNSUPPORTED_NUM_INDEXES         CssmDlBaseDlError = -2147413745
	CSSMERR_DL_UNSUPPORTED_NUM_RECORDTYPES     CssmDlBaseDlError = -2147413744
	CSSMERR_DL_UNSUPPORTED_NUM_SELECTION_PREDS CssmDlBaseDlError = -2147413729
	CSSMERR_DL_UNSUPPORTED_OPERATOR            CssmDlBaseDlError = -2147413727
	CSSMERR_DL_UNSUPPORTED_QUERY               CssmDlBaseDlError = -2147413731
	CSSMERR_DL_UNSUPPORTED_QUERY_LIMITS        CssmDlBaseDlError = -2147413730
	CSSMERR_DL_UNSUPPORTED_RECORDTYPE          CssmDlBaseDlError = -2147413743
	CSSM_DL_BASE_DL_ERROR                      CssmDlBaseDlError = -2147413760
)

func (CssmDlBaseDlError) String added in v0.6.17

func (e CssmDlBaseDlError) String() string

type CssmDlCustomAttributes added in v0.6.4

type CssmDlCustomAttributes = CSSM_DL_CUSTOM_ATTRIBUTES

CssmDlCustomAttributes is a Go-name alias for CSSM_DL_CUSTOM_ATTRIBUTES.

type CssmDlDbHandle

type CssmDlDbHandle = CSSM_DL_DB_HANDLE

CssmDlDbHandle is a Go-name alias for CSSM_DL_DB_HANDLE.

type CssmDlDbHandlePtr

type CssmDlDbHandlePtr = CSSM_DL_DB_HANDLE_PTR

CssmDlDbHandlePtr is a Go-name alias for CSSM_DL_DB_HANDLE_PTR.

type CssmDlDbList

type CssmDlDbList = CSSM_DL_DB_LIST

CssmDlDbList is a Go-name alias for CSSM_DL_DB_LIST.

type CssmDlDbListPtr

type CssmDlDbListPtr = CSSM_DL_DB_LIST_PTR

CssmDlDbListPtr is a Go-name alias for CSSM_DL_DB_LIST_PTR.

type CssmDlDbRecord

type CssmDlDbRecord uint32
const (
	CSSM_DL_DB_RECORD_APPLESHARE_PASSWORD CssmDlDbRecord = 2147483650
	CSSM_DL_DB_RECORD_EXTENDED_ATTRIBUTE  CssmDlDbRecord = 2147487748
	CSSM_DL_DB_RECORD_GENERIC_PASSWORD    CssmDlDbRecord = 2147483648
	CSSM_DL_DB_RECORD_INTERNET_PASSWORD   CssmDlDbRecord = 2147483649
	CSSM_DL_DB_RECORD_METADATA            CssmDlDbRecord = 2147516416
	CSSM_DL_DB_RECORD_UNLOCK_REFERRAL     CssmDlDbRecord = 2147487747
	CSSM_DL_DB_RECORD_USER_TRUST          CssmDlDbRecord = 2147487745
	CSSM_DL_DB_RECORD_X509_CERTIFICATE    CssmDlDbRecord = 2147487744
	CSSM_DL_DB_RECORD_X509_CRL            CssmDlDbRecord = 2147487746
)

func (CssmDlDbRecord) String

func (e CssmDlDbRecord) String() string

type CssmDlFfsAttributes added in v0.6.4

type CssmDlFfsAttributes = CSSM_DL_FFS_ATTRIBUTES

CssmDlFfsAttributes is a Go-name alias for CSSM_DL_FFS_ATTRIBUTES.

type CssmDlHandle added in v0.6.4

type CssmDlHandle = CSSM_DL_HANDLE

CssmDlHandle is a Go-name alias for CSSM_DL_HANDLE.

type CssmDlLdapAttributes added in v0.6.4

type CssmDlLdapAttributes = CSSM_DL_LDAP_ATTRIBUTES

CssmDlLdapAttributes is a Go-name alias for CSSM_DL_LDAP_ATTRIBUTES.

type CssmDlOdbcAttributes added in v0.6.4

type CssmDlOdbcAttributes = CSSM_DL_ODBC_ATTRIBUTES

CssmDlOdbcAttributes is a Go-name alias for CSSM_DL_ODBC_ATTRIBUTES.

type CssmDlPkcs11Attribute added in v0.6.4

type CssmDlPkcs11Attribute = CSSM_DL_PKCS11_ATTRIBUTE

CssmDlPkcs11Attribute is a Go-name alias for CSSM_DL_PKCS11_ATTRIBUTE.

type CssmDlPkcs11AttributePtr added in v0.6.4

type CssmDlPkcs11AttributePtr = CSSM_DL_PKCS11_ATTRIBUTE_PTR

CssmDlPkcs11AttributePtr is a Go-name alias for CSSM_DL_PKCS11_ATTRIBUTE_PTR.

type CssmDltype added in v0.6.4

type CssmDltype = CSSM_DLTYPE

CssmDltype is a Go-name alias for CSSM_DLTYPE.

type CssmDltypePtr added in v0.6.4

type CssmDltypePtr = CSSM_DLTYPE_PTR

CssmDltypePtr is a Go-name alias for CSSM_DLTYPE_PTR.

type CssmElapsedTime

type CssmElapsedTime int32
const (
	CSSM_ELAPSED_TIME_COMPLETE CssmElapsedTime = -2
	CSSM_ELAPSED_TIME_UNKNOWN  CssmElapsedTime = -1
)

func (CssmElapsedTime) String

func (e CssmElapsedTime) String() string

type CssmEncodedCert

type CssmEncodedCert = CSSM_ENCODED_CERT

CssmEncodedCert is a Go-name alias for CSSM_ENCODED_CERT.

type CssmEncodedCertPtr

type CssmEncodedCertPtr = CSSM_ENCODED_CERT_PTR

CssmEncodedCertPtr is a Go-name alias for CSSM_ENCODED_CERT_PTR.

type CssmEncodedCrl

type CssmEncodedCrl = CSSM_ENCODED_CRL

CssmEncodedCrl is a Go-name alias for CSSM_ENCODED_CRL.

type CssmEncodedCrlPtr

type CssmEncodedCrlPtr = CSSM_ENCODED_CRL_PTR

CssmEncodedCrlPtr is a Go-name alias for CSSM_ENCODED_CRL_PTR.

type CssmEncryptMode added in v0.6.4

type CssmEncryptMode = CSSM_ENCRYPT_MODE

CssmEncryptMode is a Go-name alias for CSSM_ENCRYPT_MODE.

type CssmErrcodeInternalError added in v0.6.17

type CssmErrcodeInternalError uint32
const (
	CSSM_ERRCODE_FUNCTION_FAILED               CssmErrcodeInternalError = 0xa
	CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED      CssmErrcodeInternalError = 0x7
	CSSM_ERRCODE_INTERNAL_ERROR                CssmErrcodeInternalError = 0x1
	CSSM_ERRCODE_INVALID_GUID                  CssmErrcodeInternalError = 0xc
	CSSM_ERRCODE_INVALID_INPUT_POINTER         CssmErrcodeInternalError = 0x5
	CSSM_ERRCODE_INVALID_OUTPUT_POINTER        CssmErrcodeInternalError = 0x6
	CSSM_ERRCODE_INVALID_POINTER               CssmErrcodeInternalError = 0x4
	CSSM_ERRCODE_MDS_ERROR                     CssmErrcodeInternalError = 0x3
	CSSM_ERRCODE_MEMORY_ERROR                  CssmErrcodeInternalError = 0x2
	CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED CssmErrcodeInternalError = 0xb
	CSSM_ERRCODE_OS_ACCESS_DENIED              CssmErrcodeInternalError = 0x9
	CSSM_ERRCODE_SELF_CHECK_FAILED             CssmErrcodeInternalError = 0x8
)

func (CssmErrcodeInternalError) String added in v0.6.17

func (e CssmErrcodeInternalError) String() string

type CssmErrcodeInvalidContextHandle added in v0.6.17

type CssmErrcodeInvalidContextHandle uint32
const (
	CSSM_ERRCODE_CRL_ALREADY_SIGNED        CssmErrcodeInvalidContextHandle = 0x47
	CSSM_ERRCODE_INCOMPATIBLE_VERSION      CssmErrcodeInvalidContextHandle = 0x41
	CSSM_ERRCODE_INVALID_AC_HANDLE         CssmErrcodeInvalidContextHandle = 0x55
	CSSM_ERRCODE_INVALID_CERTGROUP_POINTER CssmErrcodeInvalidContextHandle = 0x42
	CSSM_ERRCODE_INVALID_CERT_POINTER      CssmErrcodeInvalidContextHandle = 0x43
	CSSM_ERRCODE_INVALID_CL_HANDLE         CssmErrcodeInvalidContextHandle = 0x52
	CSSM_ERRCODE_INVALID_CONTEXT_HANDLE    CssmErrcodeInvalidContextHandle = 0x40
	CSSM_ERRCODE_INVALID_CRL_POINTER       CssmErrcodeInvalidContextHandle = 0x44
	CSSM_ERRCODE_INVALID_CRYPTO_DATA       CssmErrcodeInvalidContextHandle = 0x58
	CSSM_ERRCODE_INVALID_CSP_HANDLE        CssmErrcodeInvalidContextHandle = 0x50
	CSSM_ERRCODE_INVALID_DATA              CssmErrcodeInvalidContextHandle = 0x46
	CSSM_ERRCODE_INVALID_DB_HANDLE         CssmErrcodeInvalidContextHandle = 0x4a
	CSSM_ERRCODE_INVALID_DB_LIST           CssmErrcodeInvalidContextHandle = 0x4c
	CSSM_ERRCODE_INVALID_DB_LIST_POINTER   CssmErrcodeInvalidContextHandle = 0x4d
	CSSM_ERRCODE_INVALID_DL_HANDLE         CssmErrcodeInvalidContextHandle = 0x51
	CSSM_ERRCODE_INVALID_FIELD_POINTER     CssmErrcodeInvalidContextHandle = 0x45
	CSSM_ERRCODE_INVALID_KR_HANDLE         CssmErrcodeInvalidContextHandle = 0x54
	CSSM_ERRCODE_INVALID_NETWORK_ADDR      CssmErrcodeInvalidContextHandle = 0x57
	CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS  CssmErrcodeInvalidContextHandle = 0x48
	CSSM_ERRCODE_INVALID_PASSTHROUGH_ID    CssmErrcodeInvalidContextHandle = 0x56
	CSSM_ERRCODE_INVALID_TP_HANDLE         CssmErrcodeInvalidContextHandle = 0x53
	CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED     CssmErrcodeInvalidContextHandle = 0x4b
	CSSM_ERRCODE_UNKNOWN_FORMAT            CssmErrcodeInvalidContextHandle = 0x4e
	CSSM_ERRCODE_UNKNOWN_TAG               CssmErrcodeInvalidContextHandle = 0x4f
	CSSM_ERRCODE_VERIFICATION_FAILURE      CssmErrcodeInvalidContextHandle = 0x49
)

func (CssmErrcodeInvalidContextHandle) String added in v0.6.17

type CssmErrcodeOperationAuthDenied added in v0.6.17

type CssmErrcodeOperationAuthDenied uint32
const (
	CSSM_ERRCODE_ACL_ADD_FAILED                 CssmErrcodeOperationAuthDenied = 0x36
	CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED   CssmErrcodeOperationAuthDenied = 0x27
	CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED  CssmErrcodeOperationAuthDenied = 0x2d
	CSSM_ERRCODE_ACL_CHANGE_FAILED              CssmErrcodeOperationAuthDenied = 0x31
	CSSM_ERRCODE_ACL_DELETE_FAILED              CssmErrcodeOperationAuthDenied = 0x34
	CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND        CssmErrcodeOperationAuthDenied = 0x2f
	CSSM_ERRCODE_ACL_REPLACE_FAILED             CssmErrcodeOperationAuthDenied = 0x35
	CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED CssmErrcodeOperationAuthDenied = 0x2b
	CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS     CssmErrcodeOperationAuthDenied = 0x25
	CSSM_ERRCODE_INVALID_ACL_BASE_CERTS         CssmErrcodeOperationAuthDenied = 0x26
	CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK CssmErrcodeOperationAuthDenied = 0x2c
	CSSM_ERRCODE_INVALID_ACL_EDIT_MODE          CssmErrcodeOperationAuthDenied = 0x30
	CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG          CssmErrcodeOperationAuthDenied = 0x2e
	CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE      CssmErrcodeOperationAuthDenied = 0x2a
	CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY          CssmErrcodeOperationAuthDenied = 0x32
	CSSM_ERRCODE_INVALID_NEW_ACL_OWNER          CssmErrcodeOperationAuthDenied = 0x33
	CSSM_ERRCODE_INVALID_SAMPLE_VALUE           CssmErrcodeOperationAuthDenied = 0x28
	CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED       CssmErrcodeOperationAuthDenied = 0x23
	CSSM_ERRCODE_OBJECT_ACL_REQUIRED            CssmErrcodeOperationAuthDenied = 0x24
	CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED       CssmErrcodeOperationAuthDenied = 0x22
	CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED         CssmErrcodeOperationAuthDenied = 0x21
	CSSM_ERRCODE_OPERATION_AUTH_DENIED          CssmErrcodeOperationAuthDenied = 0x20
	CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED     CssmErrcodeOperationAuthDenied = 0x29
)

func (CssmErrcodeOperationAuthDenied) String added in v0.6.17

type CssmEstimatedTime added in v0.5.1

type CssmEstimatedTime int32
const (
	CSSM_ESTIMATED_TIME_UNKNOWN CssmEstimatedTime = -1
)

func (CssmEstimatedTime) String added in v0.5.1

func (e CssmEstimatedTime) String() string

type CssmEvidence

type CssmEvidence = CSSM_EVIDENCE

CssmEvidence is a Go-name alias for CSSM_EVIDENCE.

type CssmEvidenceForm

type CssmEvidenceForm uint32
const (
	CSSM_EVIDENCE_FORM_CERT          CssmEvidenceForm = 0x1
	CSSM_EVIDENCE_FORM_CERT_ID       CssmEvidenceForm = 0x3
	CSSM_EVIDENCE_FORM_CRL           CssmEvidenceForm = 0x2
	CSSM_EVIDENCE_FORM_CRL_ID        CssmEvidenceForm = 0x4
	CSSM_EVIDENCE_FORM_CRL_NEXTTIME  CssmEvidenceForm = 0x7
	CSSM_EVIDENCE_FORM_CRL_THISTIME  CssmEvidenceForm = 0x6
	CSSM_EVIDENCE_FORM_POLICYINFO    CssmEvidenceForm = 0x8
	CSSM_EVIDENCE_FORM_TUPLEGROUP    CssmEvidenceForm = 0x9
	CSSM_EVIDENCE_FORM_UNSPECIFIC    CssmEvidenceForm = 0
	CSSM_EVIDENCE_FORM_VERIFIER_TIME CssmEvidenceForm = 0x5
)

func (CssmEvidenceForm) String

func (e CssmEvidenceForm) String() string

type CssmEvidenceFormApple

type CssmEvidenceFormApple uint32
const (
	CSSM_EVIDENCE_FORM_APPLE_CERTGROUP CssmEvidenceFormApple = 2147483649
	CSSM_EVIDENCE_FORM_APPLE_CERT_INFO CssmEvidenceFormApple = 2147483650
	CSSM_EVIDENCE_FORM_APPLE_HEADER    CssmEvidenceFormApple = 2147483648
)

func (CssmEvidenceFormApple) String

func (e CssmEvidenceFormApple) String() string

type CssmEvidencePtr

type CssmEvidencePtr = CSSM_EVIDENCE_PTR

CssmEvidencePtr is a Go-name alias for CSSM_EVIDENCE_PTR.

type CssmFalse added in v0.6.17

type CssmFalse uint32
const (
	CSSM_FALSE CssmFalse = 0
	CSSM_TRUE  CssmFalse = 1
)

func (CssmFalse) String added in v0.6.17

func (e CssmFalse) String() string

type CssmFeeCurveType

type CssmFeeCurveType uint32
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 uint32
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 CssmField

type CssmField = CSSM_FIELD

CssmField is a Go-name alias for CSSM_FIELD.

type CssmFieldPtr

type CssmFieldPtr = CSSM_FIELD_PTR

CssmFieldPtr is a Go-name alias for CSSM_FIELD_PTR.

type CssmFieldgroup

type CssmFieldgroup = CSSM_FIELDGROUP

CssmFieldgroup is a Go-name alias for CSSM_FIELDGROUP.

type CssmFieldgroupPtr

type CssmFieldgroupPtr = CSSM_FIELDGROUP_PTR

CssmFieldgroupPtr is a Go-name alias for CSSM_FIELDGROUP_PTR.

type CssmFieldvalueComplexData added in v0.5.1

type CssmFieldvalueComplexData uint32
const (
	CSSM_FIELDVALUE_COMPLEX_DATA_TYPE CssmFieldvalueComplexData = 0xffffffff
)

func (CssmFieldvalueComplexData) String added in v0.5.1

func (e CssmFieldvalueComplexData) String() string

type CssmFree added in v0.6.4

type CssmFree = CSSM_FREE

CssmFree is a Go-name alias for CSSM_FREE.

type CssmFuncNameAddr

type CssmFuncNameAddr = CSSM_FUNC_NAME_ADDR

CssmFuncNameAddr is a Go-name alias for CSSM_FUNC_NAME_ADDR.

type CssmFuncNameAddrPtr

type CssmFuncNameAddrPtr = CSSM_FUNC_NAME_ADDR_PTR

CssmFuncNameAddrPtr is a Go-name alias for CSSM_FUNC_NAME_ADDR_PTR.

type CssmGuid

type CssmGuid = CSSM_GUID

CssmGuid is a Go-name alias for CSSM_GUID.

type CssmGuidPtr

type CssmGuidPtr = CSSM_GUID_PTR

CssmGuidPtr is a Go-name alias for CSSM_GUID_PTR.

type CssmHandle added in v0.6.4

type CssmHandle = CSSM_HANDLE

CssmHandle is a Go-name alias for CSSM_HANDLE.

type CssmHandlePtr added in v0.6.4

type CssmHandlePtr = CSSM_HANDLE_PTR

CssmHandlePtr is a Go-name alias for CSSM_HANDLE_PTR.

type CssmHeaderversion added in v0.6.4

type CssmHeaderversion = CSSM_HEADERVERSION

CssmHeaderversion is a Go-name alias for CSSM_HEADERVERSION.

type CssmHint

type CssmHint uint32
const (
	CSSM_HINT_ADDRESS_APP CssmHint = 1
	CSSM_HINT_ADDRESS_SP  CssmHint = 2
	CSSM_HINT_NONE        CssmHint = 0
)

func (CssmHint) String

func (e CssmHint) String() string

type CssmIntptr added in v0.6.4

type CssmIntptr = CSSM_INTPTR

CssmIntptr is a Go-name alias for CSSM_INTPTR.

type CssmInvalid added in v0.5.1

type CssmInvalid uint32
const (
	CSSM_INVALID_HANDLE CssmInvalid = 0
)

func (CssmInvalid) String added in v0.5.1

func (e CssmInvalid) String() string

type CssmKeaDeriveParams

type CssmKeaDeriveParams = CSSM_KEA_DERIVE_PARAMS

CssmKeaDeriveParams is a Go-name alias for CSSM_KEA_DERIVE_PARAMS.

type CssmKeaDeriveParamsPtr

type CssmKeaDeriveParamsPtr = CSSM_KEA_DERIVE_PARAMS_PTR

CssmKeaDeriveParamsPtr is a Go-name alias for CSSM_KEA_DERIVE_PARAMS_PTR.

type CssmKey

type CssmKey = CSSM_KEY

CssmKey is a Go-name alias for CSSM_KEY.

type CssmKeyHierarchy

type CssmKeyHierarchy uint32
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 CssmKeyPtr

type CssmKeyPtr = CSSM_KEY_PTR

CssmKeyPtr is a Go-name alias for CSSM_KEY_PTR.

type CssmKeySize

type CssmKeySize = CSSM_KEY_SIZE

CssmKeySize is a Go-name alias for CSSM_KEY_SIZE.

type CssmKeySizePtr

type CssmKeySizePtr = CSSM_KEY_SIZE_PTR

CssmKeySizePtr is a Go-name alias for CSSM_KEY_SIZE_PTR.

type CssmKeyType added in v0.6.4

type CssmKeyType = CSSM_KEY_TYPE

CssmKeyType is a Go-name alias for CSSM_KEY_TYPE.

type CssmKeyattr

type CssmKeyattr uint32
const (
	CSSM_KEYATTR_ALWAYS_SENSITIVE  CssmKeyattr = 0x10
	CSSM_KEYATTR_EXTRACTABLE       CssmKeyattr = 0x20
	CSSM_KEYATTR_MODIFIABLE        CssmKeyattr = 0x4
	CSSM_KEYATTR_NEVER_EXTRACTABLE CssmKeyattr = 0x40
	CSSM_KEYATTR_PERMANENT         CssmKeyattr = 0x1
	CSSM_KEYATTR_PRIVATE           CssmKeyattr = 0x2
	CSSM_KEYATTR_RETURN_DATA       CssmKeyattr = 0x10000000
	CSSM_KEYATTR_RETURN_DEFAULT    CssmKeyattr = 0
	CSSM_KEYATTR_RETURN_NONE       CssmKeyattr = 0x40000000
	CSSM_KEYATTR_RETURN_REF        CssmKeyattr = 0x20000000
	CSSM_KEYATTR_SENSITIVE         CssmKeyattr = 0x8
)

func (CssmKeyattr) String

func (e CssmKeyattr) String() string

type CssmKeyattrFlags added in v0.6.4

type CssmKeyattrFlags = CSSM_KEYATTR_FLAGS

CssmKeyattrFlags is a Go-name alias for CSSM_KEYATTR_FLAGS.

type CssmKeyattrP

type CssmKeyattrP uint32
const (
	CSSM_KEYATTR_PARTIAL            CssmKeyattrP = 0x10000
	CSSM_KEYATTR_PUBLIC_KEY_ENCRYPT CssmKeyattrP = 0x20000
)

func (CssmKeyattrP) String

func (e CssmKeyattrP) String() string

type CssmKeyblob

type CssmKeyblob uint32
const (
	CSSM_KEYBLOB_OTHER     CssmKeyblob = 0xffffffff
	CSSM_KEYBLOB_RAW       CssmKeyblob = 0
	CSSM_KEYBLOB_REFERENCE CssmKeyblob = 2
	CSSM_KEYBLOB_WRAPPED   CssmKeyblob = 3
)

func (CssmKeyblob) String

func (e CssmKeyblob) String() string

type CssmKeyblobFormat added in v0.6.4

type CssmKeyblobFormat = CSSM_KEYBLOB_FORMAT

CssmKeyblobFormat is a Go-name alias for CSSM_KEYBLOB_FORMAT.

type CssmKeyblobRawFormatNone added in v0.6.17

type CssmKeyblobRawFormatNone uint32
const (
	CSSM_KEYBLOB_RAW_FORMAT_BSAFE        CssmKeyblobRawFormatNone = 6
	CSSM_KEYBLOB_RAW_FORMAT_CCA          CssmKeyblobRawFormatNone = 9
	CSSM_KEYBLOB_RAW_FORMAT_FIPS186      CssmKeyblobRawFormatNone = 5
	CSSM_KEYBLOB_RAW_FORMAT_MSCAPI       CssmKeyblobRawFormatNone = 3
	CSSM_KEYBLOB_RAW_FORMAT_NONE         CssmKeyblobRawFormatNone = 0
	CSSM_KEYBLOB_RAW_FORMAT_OCTET_STRING CssmKeyblobRawFormatNone = 12
	CSSM_KEYBLOB_RAW_FORMAT_OTHER        CssmKeyblobRawFormatNone = 0xffffffff
	CSSM_KEYBLOB_RAW_FORMAT_PGP          CssmKeyblobRawFormatNone = 4
	CSSM_KEYBLOB_RAW_FORMAT_PKCS1        CssmKeyblobRawFormatNone = 1
	CSSM_KEYBLOB_RAW_FORMAT_PKCS3        CssmKeyblobRawFormatNone = 2
	CSSM_KEYBLOB_RAW_FORMAT_PKCS8        CssmKeyblobRawFormatNone = 10
	CSSM_KEYBLOB_RAW_FORMAT_SPKI         CssmKeyblobRawFormatNone = 11
)

func (CssmKeyblobRawFormatNone) String added in v0.6.17

func (e CssmKeyblobRawFormatNone) String() string

type CssmKeyblobRawFormatVendor added in v0.5.1

type CssmKeyblobRawFormatVendor uint32
const (
	CSSM_KEYBLOB_RAW_FORMAT_VENDOR_DEFINED CssmKeyblobRawFormatVendor = 0x80000000
)

func (CssmKeyblobRawFormatVendor) String added in v0.5.1

type CssmKeyblobRawFormatX509 added in v0.6.17

type CssmKeyblobRawFormatX509 uint32
const (
	CSSM_KEYBLOB_RAW_FORMAT_OPENSSH  CssmKeyblobRawFormatX509 = 2147483649
	CSSM_KEYBLOB_RAW_FORMAT_OPENSSH2 CssmKeyblobRawFormatX509 = 2147483651
	CSSM_KEYBLOB_RAW_FORMAT_OPENSSL  CssmKeyblobRawFormatX509 = 2147483650
	CSSM_KEYBLOB_RAW_FORMAT_X509     CssmKeyblobRawFormatX509 = 2147483648
)

func (CssmKeyblobRawFormatX509) String added in v0.6.17

func (e CssmKeyblobRawFormatX509) String() string

type CssmKeyblobRefFormat

type CssmKeyblobRefFormat uint32
const (
	CSSM_KEYBLOB_REF_FORMAT_INTEGER CssmKeyblobRefFormat = 0
	CSSM_KEYBLOB_REF_FORMAT_OTHER   CssmKeyblobRefFormat = 0xffffffff
	CSSM_KEYBLOB_REF_FORMAT_SPKI    CssmKeyblobRefFormat = 2
	CSSM_KEYBLOB_REF_FORMAT_STRING  CssmKeyblobRefFormat = 1
)

func (CssmKeyblobRefFormat) String

func (e CssmKeyblobRefFormat) String() string

type CssmKeyblobType added in v0.6.4

type CssmKeyblobType = CSSM_KEYBLOB_TYPE

CssmKeyblobType is a Go-name alias for CSSM_KEYBLOB_TYPE.

type CssmKeyblobWrappedFormatAppleCustom added in v0.6.17

type CssmKeyblobWrappedFormatAppleCustom uint32
const (
	CSSM_KEYBLOB_WRAPPED_FORMAT_APPLE_CUSTOM CssmKeyblobWrappedFormatAppleCustom = 100
	CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSH1     CssmKeyblobWrappedFormatAppleCustom = 102
	CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSL      CssmKeyblobWrappedFormatAppleCustom = 101
)

func (CssmKeyblobWrappedFormatAppleCustom) String added in v0.6.17

type CssmKeyblobWrappedFormatNone added in v0.6.17

type CssmKeyblobWrappedFormatNone uint32
const (
	CSSM_KEYBLOB_WRAPPED_FORMAT_MSCAPI CssmKeyblobWrappedFormatNone = 3
	CSSM_KEYBLOB_WRAPPED_FORMAT_NONE   CssmKeyblobWrappedFormatNone = 0
	CSSM_KEYBLOB_WRAPPED_FORMAT_OTHER  CssmKeyblobWrappedFormatNone = 0xffffffff
	CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS7  CssmKeyblobWrappedFormatNone = 2
	CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS8  CssmKeyblobWrappedFormatNone = 1
)

func (CssmKeyblobWrappedFormatNone) String added in v0.6.17

type CssmKeyclass

type CssmKeyclass uint32
const (
	CSSM_KEYCLASS_OTHER       CssmKeyclass = 0xffffffff
	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 CssmKeyheader added in v0.5.1

type CssmKeyheader uint32
const (
	CSSM_KEYHEADER_VERSION CssmKeyheader = 2
)

func (CssmKeyheader) String added in v0.5.1

func (e CssmKeyheader) String() string

type CssmKeyheaderPtr

type CssmKeyheaderPtr = CSSM_KEYHEADER_PTR

CssmKeyheaderPtr is a Go-name alias for CSSM_KEYHEADER_PTR.

type CssmKeyuse

type CssmKeyuse uint32
const (
	CSSM_KEYUSE_ANY            CssmKeyuse = 0x80000000
	CSSM_KEYUSE_DECRYPT        CssmKeyuse = 0x2
	CSSM_KEYUSE_DERIVE         CssmKeyuse = 0x100
	CSSM_KEYUSE_ENCRYPT        CssmKeyuse = 0x1
	CSSM_KEYUSE_SIGN           CssmKeyuse = 0x4
	CSSM_KEYUSE_SIGN_RECOVER   CssmKeyuse = 0x10
	CSSM_KEYUSE_UNWRAP         CssmKeyuse = 0x80
	CSSM_KEYUSE_VERIFY         CssmKeyuse = 0x8
	CSSM_KEYUSE_VERIFY_RECOVER CssmKeyuse = 0x20
	CSSM_KEYUSE_WRAP           CssmKeyuse = 0x40
)

func (CssmKeyuse) String

func (e CssmKeyuse) String() string

type CssmKrName

type CssmKrName = CSSM_KR_NAME

CssmKrName is a Go-name alias for CSSM_KR_NAME.

type CssmKrPolicyFlags added in v0.6.4

type CssmKrPolicyFlags = CSSM_KR_POLICY_FLAGS

CssmKrPolicyFlags is a Go-name alias for CSSM_KR_POLICY_FLAGS.

type CssmKrPolicyInfo

type CssmKrPolicyInfo = CSSM_KR_POLICY_INFO

CssmKrPolicyInfo is a Go-name alias for CSSM_KR_POLICY_INFO.

type CssmKrPolicyInfoPtr

type CssmKrPolicyInfoPtr = CSSM_KR_POLICY_INFO_PTR

CssmKrPolicyInfoPtr is a Go-name alias for CSSM_KR_POLICY_INFO_PTR.

type CssmKrPolicyListItem

type CssmKrPolicyListItem = CSSM_KR_POLICY_LIST_ITEM

CssmKrPolicyListItem is a Go-name alias for CSSM_KR_POLICY_LIST_ITEM.

type CssmKrPolicyListItemPtr

type CssmKrPolicyListItemPtr = CSSM_KR_POLICY_LIST_ITEM_PTR

CssmKrPolicyListItemPtr is a Go-name alias for CSSM_KR_POLICY_LIST_ITEM_PTR.

type CssmKrPolicyType added in v0.6.4

type CssmKrPolicyType = CSSM_KR_POLICY_TYPE

CssmKrPolicyType is a Go-name alias for CSSM_KR_POLICY_TYPE.

type CssmKrProfile

type CssmKrProfile = CSSM_KR_PROFILE

CssmKrProfile is a Go-name alias for CSSM_KR_PROFILE.

type CssmKrProfilePtr

type CssmKrProfilePtr = CSSM_KR_PROFILE_PTR

CssmKrProfilePtr is a Go-name alias for CSSM_KR_PROFILE_PTR.

type CssmKrWrappedproductInfo

type CssmKrWrappedproductInfo = CSSM_KR_WRAPPEDPRODUCT_INFO

CssmKrWrappedproductInfo is a Go-name alias for CSSM_KR_WRAPPEDPRODUCT_INFO.

type CssmKrWrappedproductInfoPtr

type CssmKrWrappedproductInfoPtr = CSSM_KR_WRAPPEDPRODUCT_INFO_PTR

CssmKrWrappedproductInfoPtr is a Go-name alias for CSSM_KR_WRAPPEDPRODUCT_INFO_PTR.

type CssmKrspHandle added in v0.6.4

type CssmKrspHandle = CSSM_KRSP_HANDLE

CssmKrspHandle is a Go-name alias for CSSM_KRSP_HANDLE.

type CssmKrsubservice

type CssmKrsubservice = CSSM_KRSUBSERVICE

CssmKrsubservice is a Go-name alias for CSSM_KRSUBSERVICE.

type CssmKrsubservicePtr

type CssmKrsubservicePtr = CSSM_KRSUBSERVICE_PTR

CssmKrsubservicePtr is a Go-name alias for CSSM_KRSUBSERVICE_PTR.

type CssmList

type CssmList = CSSM_LIST

CssmList is a Go-name alias for CSSM_LIST.

type CssmListElement

type CssmListElement uint32
const (
	CSSM_LIST_ELEMENT_DATUM   CssmListElement = 0
	CSSM_LIST_ELEMENT_SUBLIST CssmListElement = 0x1
	CSSM_LIST_ELEMENT_WORDID  CssmListElement = 0x2
)

func (CssmListElement) String

func (e CssmListElement) String() string

type CssmListElementPtr added in v0.6.4

type CssmListElementPtr = CSSM_LIST_ELEMENT_PTR

CssmListElementPtr is a Go-name alias for CSSM_LIST_ELEMENT_PTR.

type CssmListElementType added in v0.6.4

type CssmListElementType = CSSM_LIST_ELEMENT_TYPE

CssmListElementType is a Go-name alias for CSSM_LIST_ELEMENT_TYPE.

type CssmListElementTypePtr added in v0.6.4

type CssmListElementTypePtr = CSSM_LIST_ELEMENT_TYPE_PTR

CssmListElementTypePtr is a Go-name alias for CSSM_LIST_ELEMENT_TYPE_PTR.

type CssmListPtr

type CssmListPtr = CSSM_LIST_PTR

CssmListPtr is a Go-name alias for CSSM_LIST_PTR.

type CssmListType

type CssmListType uint32
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 CssmListTypePtr added in v0.6.4

type CssmListTypePtr = CSSM_LIST_TYPE_PTR

CssmListTypePtr is a Go-name alias for CSSM_LIST_TYPE_PTR.

type CssmLongHandle added in v0.6.4

type CssmLongHandle = CSSM_LONG_HANDLE

CssmLongHandle is a Go-name alias for CSSM_LONG_HANDLE.

type CssmLongHandlePtr added in v0.6.4

type CssmLongHandlePtr = CSSM_LONG_HANDLE_PTR

CssmLongHandlePtr is a Go-name alias for CSSM_LONG_HANDLE_PTR.

type CssmMalloc added in v0.6.4

type CssmMalloc = CSSM_MALLOC

CssmMalloc is a Go-name alias for CSSM_MALLOC.

type CssmManagerEventNotification

type CssmManagerEventNotification = CSSM_MANAGER_EVENT_NOTIFICATION

CssmManagerEventNotification is a Go-name alias for CSSM_MANAGER_EVENT_NOTIFICATION.

type CssmManagerEventNotificationPtr

type CssmManagerEventNotificationPtr = CSSM_MANAGER_EVENT_NOTIFICATION_PTR

CssmManagerEventNotificationPtr is a Go-name alias for CSSM_MANAGER_EVENT_NOTIFICATION_PTR.

type CssmManagerEventTypes added in v0.6.4

type CssmManagerEventTypes = CSSM_MANAGER_EVENT_TYPES

CssmManagerEventTypes is a Go-name alias for CSSM_MANAGER_EVENT_TYPES.

type CssmManagerRegistrationInfo

type CssmManagerRegistrationInfo = CSSM_MANAGER_REGISTRATION_INFO

CssmManagerRegistrationInfo is a Go-name alias for CSSM_MANAGER_REGISTRATION_INFO.

type CssmManagerRegistrationInfoPtr

type CssmManagerRegistrationInfoPtr = CSSM_MANAGER_REGISTRATION_INFO_PTR

CssmManagerRegistrationInfoPtr is a Go-name alias for CSSM_MANAGER_REGISTRATION_INFO_PTR.

type CssmMds

type CssmMds int32
const (
	CSSM_MDS_BASE_ERROR    CssmMds = -2147414016
	CSSM_MDS_PRIVATE_ERROR CssmMds = -2147412992
)

func (CssmMds) String

func (e CssmMds) String() string

type CssmMemoryFuncs

type CssmMemoryFuncs = CSSM_MEMORY_FUNCS

CssmMemoryFuncs is a Go-name alias for CSSM_MEMORY_FUNCS.

type CssmMemoryFuncsPtr

type CssmMemoryFuncsPtr = CSSM_MEMORY_FUNCS_PTR

CssmMemoryFuncsPtr is a Go-name alias for CSSM_MEMORY_FUNCS_PTR.

type CssmModuleEvent added in v0.6.4

type CssmModuleEvent = CSSM_MODULE_EVENT

CssmModuleEvent is a Go-name alias for CSSM_MODULE_EVENT.

type CssmModuleEventPtr added in v0.6.4

type CssmModuleEventPtr = CSSM_MODULE_EVENT_PTR

CssmModuleEventPtr is a Go-name alias for CSSM_MODULE_EVENT_PTR.

type CssmModuleFuncs

type CssmModuleFuncs = CSSM_MODULE_FUNCS

CssmModuleFuncs is a Go-name alias for CSSM_MODULE_FUNCS.

type CssmModuleFuncsPtr

type CssmModuleFuncsPtr = CSSM_MODULE_FUNCS_PTR

CssmModuleFuncsPtr is a Go-name alias for CSSM_MODULE_FUNCS_PTR.

type CssmModuleHandle added in v0.6.4

type CssmModuleHandle = CSSM_MODULE_HANDLE

CssmModuleHandle is a Go-name alias for CSSM_MODULE_HANDLE.

type CssmModuleHandlePtr added in v0.6.4

type CssmModuleHandlePtr = CSSM_MODULE_HANDLE_PTR

CssmModuleHandlePtr is a Go-name alias for CSSM_MODULE_HANDLE_PTR.

type CssmModuleString added in v0.5.1

type CssmModuleString uint32
const (
	CSSM_MODULE_STRING_SIZE CssmModuleString = 64
)

func (CssmModuleString) String added in v0.5.1

func (e CssmModuleString) String() string

type CssmNameList

type CssmNameList = CSSM_NAME_LIST

CssmNameList is a Go-name alias for CSSM_NAME_LIST.

type CssmNameListPtr

type CssmNameListPtr = CSSM_NAME_LIST_PTR

CssmNameListPtr is a Go-name alias for CSSM_NAME_LIST_PTR.

type CssmNetAddress

type CssmNetAddress = CSSM_NET_ADDRESS

CssmNetAddress is a Go-name alias for CSSM_NET_ADDRESS.

type CssmNetAddressPtr

type CssmNetAddressPtr = CSSM_NET_ADDRESS_PTR

CssmNetAddressPtr is a Go-name alias for CSSM_NET_ADDRESS_PTR.

type CssmNetAddressType added in v0.6.4

type CssmNetAddressType = CSSM_NET_ADDRESS_TYPE

CssmNetAddressType is a Go-name alias for CSSM_NET_ADDRESS_TYPE.

type CssmNetProto

type CssmNetProto uint32
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 CssmNetProtocol added in v0.6.4

type CssmNetProtocol = CSSM_NET_PROTOCOL

CssmNetProtocol is a Go-name alias for CSSM_NET_PROTOCOL.

type CssmNotify

type CssmNotify uint32
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 CssmOidPtr

type CssmOidPtr = CSSM_OID_PTR

CssmOidPtr is a Go-name alias for CSSM_OID_PTR.

type CssmOk

type CssmOk uint32
const (
	CSSM_OK CssmOk = 0
)

func (CssmOk) String

func (e CssmOk) String() string

type CssmPadding

type CssmPadding uint32
const (
	CSSM_PADDING_ALTERNATE      CssmPadding = 4
	CSSM_PADDING_CIPHERSTEALING CssmPadding = 8
	CSSM_PADDING_CUSTOM         CssmPadding = 1
	CSSM_PADDING_FF             CssmPadding = 5
	CSSM_PADDING_NONE           CssmPadding = 0
	CSSM_PADDING_ONE            CssmPadding = 3
	CSSM_PADDING_PKCS1          CssmPadding = 10
	CSSM_PADDING_PKCS5          CssmPadding = 6
	CSSM_PADDING_PKCS7          CssmPadding = 7
	CSSM_PADDING_RANDOM         CssmPadding = 9
	CSSM_PADDING_SIGRAW         CssmPadding = 11
	CSSM_PADDING_VENDOR_DEFINED CssmPadding = 2147483648
	CSSM_PADDING_ZERO           CssmPadding = 2
)

func (CssmPadding) String

func (e CssmPadding) String() string

type CssmPaddingApple added in v0.5.1

type CssmPaddingApple uint32
const (
	CSSM_PADDING_APPLE_SSLv2 CssmPaddingApple = 2147483648
)

func (CssmPaddingApple) String added in v0.5.1

func (e CssmPaddingApple) String() string

type CssmParsedCert

type CssmParsedCert = CSSM_PARSED_CERT

CssmParsedCert is a Go-name alias for CSSM_PARSED_CERT.

type CssmParsedCertPtr

type CssmParsedCertPtr = CSSM_PARSED_CERT_PTR

CssmParsedCertPtr is a Go-name alias for CSSM_PARSED_CERT_PTR.

type CssmParsedCrl

type CssmParsedCrl = CSSM_PARSED_CRL

CssmParsedCrl is a Go-name alias for CSSM_PARSED_CRL.

type CssmParsedCrlPtr

type CssmParsedCrlPtr = CSSM_PARSED_CRL_PTR

CssmParsedCrlPtr is a Go-name alias for CSSM_PARSED_CRL_PTR.

type CssmPkcs1OaepParams

type CssmPkcs1OaepParams = CSSM_PKCS1_OAEP_PARAMS

CssmPkcs1OaepParams is a Go-name alias for CSSM_PKCS1_OAEP_PARAMS.

type CssmPkcs1OaepParamsPtr

type CssmPkcs1OaepParamsPtr = CSSM_PKCS1_OAEP_PARAMS_PTR

CssmPkcs1OaepParamsPtr is a Go-name alias for CSSM_PKCS1_OAEP_PARAMS_PTR.

type CssmPkcs5Pbkdf1Params

type CssmPkcs5Pbkdf1Params = CSSM_PKCS5_PBKDF1_PARAMS

CssmPkcs5Pbkdf1Params is a Go-name alias for CSSM_PKCS5_PBKDF1_PARAMS.

type CssmPkcs5Pbkdf1ParamsPtr

type CssmPkcs5Pbkdf1ParamsPtr = CSSM_PKCS5_PBKDF1_PARAMS_PTR

CssmPkcs5Pbkdf1ParamsPtr is a Go-name alias for CSSM_PKCS5_PBKDF1_PARAMS_PTR.

type CssmPkcs5Pbkdf2Params

type CssmPkcs5Pbkdf2Params = CSSM_PKCS5_PBKDF2_PARAMS

CssmPkcs5Pbkdf2Params is a Go-name alias for CSSM_PKCS5_PBKDF2_PARAMS.

type CssmPkcs5Pbkdf2ParamsPtr

type CssmPkcs5Pbkdf2ParamsPtr = CSSM_PKCS5_PBKDF2_PARAMS_PTR

CssmPkcs5Pbkdf2ParamsPtr is a Go-name alias for CSSM_PKCS5_PBKDF2_PARAMS_PTR.

type CssmPkcs5Pbkdf2Prf added in v0.6.4

type CssmPkcs5Pbkdf2Prf = CSSM_PKCS5_PBKDF2_PRF

CssmPkcs5Pbkdf2Prf is a Go-name alias for CSSM_PKCS5_PBKDF2_PRF.

type CssmPkcs5Pbkdf2PrfHmac added in v0.5.1

type CssmPkcs5Pbkdf2PrfHmac uint32
const (
	CSSM_PKCS5_PBKDF2_PRF_HMAC_SHA1 CssmPkcs5Pbkdf2PrfHmac = 0
)

func (CssmPkcs5Pbkdf2PrfHmac) String added in v0.5.1

func (e CssmPkcs5Pbkdf2PrfHmac) String() string

type CssmPkcsOaep

type CssmPkcsOaep uint32
const (
	CSSM_PKCS_OAEP_MGF1_MD5  CssmPkcsOaep = 2
	CSSM_PKCS_OAEP_MGF1_SHA1 CssmPkcsOaep = 1
	CSSM_PKCS_OAEP_MGF_NONE  CssmPkcsOaep = 0
)

func (CssmPkcsOaep) String

func (e CssmPkcsOaep) String() string

type CssmPkcsOaepMgf added in v0.6.4

type CssmPkcsOaepMgf = CSSM_PKCS_OAEP_MGF

CssmPkcsOaepMgf is a Go-name alias for CSSM_PKCS_OAEP_MGF.

type CssmPkcsOaepPsource

type CssmPkcsOaepPsource uint32
const (
	CSSM_PKCS_OAEP_PSOURCE_NONE       CssmPkcsOaepPsource = 0
	CSSM_PKCS_OAEP_PSOURCE_Pspecified CssmPkcsOaepPsource = 1
)

func (CssmPkcsOaepPsource) String

func (e CssmPkcsOaepPsource) String() string

type CssmPrivilege added in v0.6.4

type CssmPrivilege = CSSM_PRIVILEGE

CssmPrivilege is a Go-name alias for CSSM_PRIVILEGE.

type CssmPrivilegeScope

type CssmPrivilegeScope uint32
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 CssmProcAddr added in v0.6.4

type CssmProcAddr = CSSM_PROC_ADDR

CssmProcAddr is a Go-name alias for CSSM_PROC_ADDR.

type CssmProcAddrPtr added in v0.6.4

type CssmProcAddrPtr = CSSM_PROC_ADDR_PTR

CssmProcAddrPtr is a Go-name alias for CSSM_PROC_ADDR_PTR.

type CssmPvc

type CssmPvc uint32
const (
	CSSM_PVC_APP  CssmPvc = 1
	CSSM_PVC_NONE CssmPvc = 0
	CSSM_PVC_SP   CssmPvc = 2
)

func (CssmPvc) String

func (e CssmPvc) String() string

type CssmPvcMode added in v0.6.4

type CssmPvcMode = CSSM_PVC_MODE

CssmPvcMode is a Go-name alias for CSSM_PVC_MODE.

type CssmQuery

type CssmQuery = CSSM_QUERY

CssmQuery is a Go-name alias for CSSM_QUERY.

type CssmQueryFlags added in v0.6.4

type CssmQueryFlags = CSSM_QUERY_FLAGS

CssmQueryFlags is a Go-name alias for CSSM_QUERY_FLAGS.

type CssmQueryLimits

type CssmQueryLimits = CSSM_QUERY_LIMITS

CssmQueryLimits is a Go-name alias for CSSM_QUERY_LIMITS.

type CssmQueryLimitsPtr

type CssmQueryLimitsPtr = CSSM_QUERY_LIMITS_PTR

CssmQueryLimitsPtr is a Go-name alias for CSSM_QUERY_LIMITS_PTR.

type CssmQueryPtr

type CssmQueryPtr = CSSM_QUERY_PTR

CssmQueryPtr is a Go-name alias for CSSM_QUERY_PTR.

type CssmQueryReturn added in v0.5.1

type CssmQueryReturn uint32
const (
	CSSM_QUERY_RETURN_DATA CssmQueryReturn = 0x1
)

func (CssmQueryReturn) String added in v0.5.1

func (e CssmQueryReturn) String() string

type CssmQuerySizeData

type CssmQuerySizeData = CSSM_QUERY_SIZE_DATA

CssmQuerySizeData is a Go-name alias for CSSM_QUERY_SIZE_DATA.

type CssmQuerySizeDataPtr

type CssmQuerySizeDataPtr = CSSM_QUERY_SIZE_DATA_PTR

CssmQuerySizeDataPtr is a Go-name alias for CSSM_QUERY_SIZE_DATA_PTR.

type CssmQuerySizelimit added in v0.5.1

type CssmQuerySizelimit uint32
const (
	CSSM_QUERY_SIZELIMIT_NONE CssmQuerySizelimit = 0
)

func (CssmQuerySizelimit) String added in v0.5.1

func (e CssmQuerySizelimit) String() string

type CssmQueryTimelimit added in v0.5.1

type CssmQueryTimelimit uint32
const (
	CSSM_QUERY_TIMELIMIT_NONE CssmQueryTimelimit = 0
)

func (CssmQueryTimelimit) String added in v0.5.1

func (e CssmQueryTimelimit) String() string

type CssmRange

type CssmRange = CSSM_RANGE

CssmRange is a Go-name alias for CSSM_RANGE.

type CssmRangePtr

type CssmRangePtr = CSSM_RANGE_PTR

CssmRangePtr is a Go-name alias for CSSM_RANGE_PTR.

type CssmRealloc added in v0.6.4

type CssmRealloc = CSSM_REALLOC

CssmRealloc is a Go-name alias for CSSM_REALLOC.

type CssmResourceControlContext

type CssmResourceControlContext = CSSM_RESOURCE_CONTROL_CONTEXT

CssmResourceControlContext is a Go-name alias for CSSM_RESOURCE_CONTROL_CONTEXT.

type CssmResourceControlContextPtr

type CssmResourceControlContextPtr = CSSM_RESOURCE_CONTROL_CONTEXT_PTR

CssmResourceControlContextPtr is a Go-name alias for CSSM_RESOURCE_CONTROL_CONTEXT_PTR.

type CssmReturn added in v0.6.4

type CssmReturn = CSSM_RETURN

CssmReturn is a Go-name alias for CSSM_RETURN.

type CssmSample

type CssmSample = CSSM_SAMPLE

CssmSample is a Go-name alias for CSSM_SAMPLE.

type CssmSamplePtr

type CssmSamplePtr = CSSM_SAMPLE_PTR

CssmSamplePtr is a Go-name alias for CSSM_SAMPLE_PTR.

type CssmSampleType

type CssmSampleType = CSSM_SAMPLE_TYPE

CssmSampleType is a Go-name alias for CSSM_SAMPLE_TYPE.

type CssmSampleTypeKeychainPrompt added in v0.6.17

type CssmSampleTypeKeychainPrompt uint32
const (
	CSSM_SAMPLE_TYPE_ASYMMETRIC_KEY       CssmSampleTypeKeychainPrompt = 65547
	CSSM_SAMPLE_TYPE_COMMENT              CssmSampleTypeKeychainPrompt = 12
	CSSM_SAMPLE_TYPE_KEYBAG_KEY           CssmSampleTypeKeychainPrompt = 65549
	CSSM_SAMPLE_TYPE_KEYCHAIN_CHANGE_LOCK CssmSampleTypeKeychainPrompt = 65538
	CSSM_SAMPLE_TYPE_KEYCHAIN_LOCK        CssmSampleTypeKeychainPrompt = 65537
	CSSM_SAMPLE_TYPE_KEYCHAIN_PROMPT      CssmSampleTypeKeychainPrompt = 65536
	CSSM_SAMPLE_TYPE_PREAUTH              CssmSampleTypeKeychainPrompt = 65545
	CSSM_SAMPLE_TYPE_PROCESS              CssmSampleTypeKeychainPrompt = 65539
	CSSM_SAMPLE_TYPE_RETRY_ID             CssmSampleTypeKeychainPrompt = 85
	CSSM_SAMPLE_TYPE_SYMMETRIC_KEY        CssmSampleTypeKeychainPrompt = 65541
)

func (CssmSampleTypeKeychainPrompt) String added in v0.6.17

type CssmSampleTypePassword added in v0.6.17

type CssmSampleTypePassword uint32
const (
	CSSM_SAMPLE_TYPE_BIOMETRIC           CssmSampleTypePassword = 8
	CSSM_SAMPLE_TYPE_HASHED_PASSWORD     CssmSampleTypePassword = 43
	CSSM_SAMPLE_TYPE_PASSWORD            CssmSampleTypePassword = 79
	CSSM_SAMPLE_TYPE_PROMPTED_BIOMETRIC  CssmSampleTypePassword = 83
	CSSM_SAMPLE_TYPE_PROMPTED_PASSWORD   CssmSampleTypePassword = 84
	CSSM_SAMPLE_TYPE_PROTECTED_BIOMETRIC CssmSampleTypePassword = 86
	CSSM_SAMPLE_TYPE_PROTECTED_PASSWORD  CssmSampleTypePassword = 87
	CSSM_SAMPLE_TYPE_SIGNED_NONCE        CssmSampleTypePassword = 117
	CSSM_SAMPLE_TYPE_SIGNED_SECRET       CssmSampleTypePassword = 118
	CSSM_SAMPLE_TYPE_THRESHOLD           CssmSampleTypePassword = 123
)

func (CssmSampleTypePassword) String added in v0.6.17

func (e CssmSampleTypePassword) String() string

type CssmSamplegroup

type CssmSamplegroup = CSSM_SAMPLEGROUP

CssmSamplegroup is a Go-name alias for CSSM_SAMPLEGROUP.

type CssmSamplegroupPtr

type CssmSamplegroupPtr = CSSM_SAMPLEGROUP_PTR

CssmSamplegroupPtr is a Go-name alias for CSSM_SAMPLEGROUP_PTR.

type CssmScFlags added in v0.6.4

type CssmScFlags = CSSM_SC_FLAGS

CssmScFlags is a Go-name alias for CSSM_SC_FLAGS.

type CssmSelectionPredicate

type CssmSelectionPredicate = CSSM_SELECTION_PREDICATE

CssmSelectionPredicate is a Go-name alias for CSSM_SELECTION_PREDICATE.

type CssmSelectionPredicatePtr

type CssmSelectionPredicatePtr = CSSM_SELECTION_PREDICATE_PTR

CssmSelectionPredicatePtr is a Go-name alias for CSSM_SELECTION_PREDICATE_PTR.

type CssmService

type CssmService uint32
const (
	CSSM_SERVICE_AC   CssmService = 0x20
	CSSM_SERVICE_CL   CssmService = 0x8
	CSSM_SERVICE_CSP  CssmService = 0x2
	CSSM_SERVICE_CSSM CssmService = 0x1
	CSSM_SERVICE_DL   CssmService = 0x4
	CSSM_SERVICE_KR   CssmService = 0x40
	CSSM_SERVICE_TP   CssmService = 0x10
)

func (CssmService) String

func (e CssmService) String() string

type CssmServiceMask added in v0.6.4

type CssmServiceMask = CSSM_SERVICE_MASK

CssmServiceMask is a Go-name alias for CSSM_SERVICE_MASK.

type CssmServiceType added in v0.6.4

type CssmServiceType = CSSM_SERVICE_TYPE

CssmServiceType is a Go-name alias for CSSM_SERVICE_TYPE.

type CssmSize added in v0.6.4

type CssmSize = CSSM_SIZE

CssmSize is a Go-name alias for CSSM_SIZE.

type CssmSpiAcFuncs

type CssmSpiAcFuncs = CSSM_SPI_AC_FUNCS

CssmSpiAcFuncs is a Go-name alias for CSSM_SPI_AC_FUNCS.

type CssmSpiAcFuncsPtr

type CssmSpiAcFuncsPtr = CSSM_SPI_AC_FUNCS_PTR

CssmSpiAcFuncsPtr is a Go-name alias for CSSM_SPI_AC_FUNCS_PTR.

type CssmSpiClFuncs

type CssmSpiClFuncs = CSSM_SPI_CL_FUNCS

CssmSpiClFuncs is a Go-name alias for CSSM_SPI_CL_FUNCS.

type CssmSpiClFuncsPtr

type CssmSpiClFuncsPtr = CSSM_SPI_CL_FUNCS_PTR

CssmSpiClFuncsPtr is a Go-name alias for CSSM_SPI_CL_FUNCS_PTR.

type CssmSpiCspFuncs

type CssmSpiCspFuncs = CSSM_SPI_CSP_FUNCS

CssmSpiCspFuncs is a Go-name alias for CSSM_SPI_CSP_FUNCS.

type CssmSpiCspFuncsPtr

type CssmSpiCspFuncsPtr = CSSM_SPI_CSP_FUNCS_PTR

CssmSpiCspFuncsPtr is a Go-name alias for CSSM_SPI_CSP_FUNCS_PTR.

type CssmSpiDlFuncs

type CssmSpiDlFuncs = CSSM_SPI_DL_FUNCS

CssmSpiDlFuncs is a Go-name alias for CSSM_SPI_DL_FUNCS.

type CssmSpiDlFuncsPtr

type CssmSpiDlFuncsPtr = CSSM_SPI_DL_FUNCS_PTR

CssmSpiDlFuncsPtr is a Go-name alias for CSSM_SPI_DL_FUNCS_PTR.

type CssmSpiKrFuncs

type CssmSpiKrFuncs = CSSM_SPI_KR_FUNCS

CssmSpiKrFuncs is a Go-name alias for CSSM_SPI_KR_FUNCS.

type CssmSpiKrFuncsPtr

type CssmSpiKrFuncsPtr = CSSM_SPI_KR_FUNCS_PTR

CssmSpiKrFuncsPtr is a Go-name alias for CSSM_SPI_KR_FUNCS_PTR.

type CssmSpiModuleEventHandler

type CssmSpiModuleEventHandler = CSSM_SPI_ModuleEventHandler

CssmSpiModuleEventHandler is a Go-name alias for CSSM_SPI_ModuleEventHandler.

type CssmSpiTpFuncs

type CssmSpiTpFuncs = CSSM_SPI_TP_FUNCS

CssmSpiTpFuncs is a Go-name alias for CSSM_SPI_TP_FUNCS.

type CssmSpiTpFuncsPtr

type CssmSpiTpFuncsPtr = CSSM_SPI_TP_FUNCS_PTR

CssmSpiTpFuncsPtr is a Go-name alias for CSSM_SPI_TP_FUNCS_PTR.

type CssmStateFuncs

type CssmStateFuncs = CSSM_STATE_FUNCS

CssmStateFuncs is a Go-name alias for CSSM_STATE_FUNCS.

type CssmStateFuncsPtr

type CssmStateFuncsPtr = CSSM_STATE_FUNCS_PTR

CssmStateFuncsPtr is a Go-name alias for CSSM_STATE_FUNCS_PTR.

type CssmString added in v0.6.4

type CssmString = CSSM_STRING

CssmString is a Go-name alias for CSSM_STRING.

type CssmSubserviceUid

type CssmSubserviceUid = CSSM_SUBSERVICE_UID

CssmSubserviceUid is a Go-name alias for CSSM_SUBSERVICE_UID.

type CssmSubserviceUidPtr

type CssmSubserviceUidPtr = CSSM_SUBSERVICE_UID_PTR

CssmSubserviceUidPtr is a Go-name alias for CSSM_SUBSERVICE_UID_PTR.

type CssmTimestring added in v0.6.4

type CssmTimestring = CSSM_TIMESTRING

CssmTimestring is a Go-name alias for CSSM_TIMESTRING.

type CssmTp

type CssmTp uint32
const (
	CSSM_TP_CERT_DIR_UPDATE   CssmTp = 0x8
	CSSM_TP_CERT_NOTIFY_RENEW CssmTp = 0x4
	CSSM_TP_CERT_PUBLISH      CssmTp = 0x2
	CSSM_TP_CRL_DISTRIBUTE    CssmTp = 0x10
	CSSM_TP_KEY_ARCHIVE       CssmTp = 0x1
)

func (CssmTp) String

func (e CssmTp) String() string

type CssmTpAction

type CssmTpAction = CSSM_TP_ACTION

CssmTpAction is a Go-name alias for CSSM_TP_ACTION.

type CssmTpActionAllowExpired added in v0.6.17

type CssmTpActionAllowExpired uint32
const (
	CSSM_TP_ACTION_ALLOW_EXPIRED        CssmTpActionAllowExpired = 0x1
	CSSM_TP_ACTION_ALLOW_EXPIRED_ROOT   CssmTpActionAllowExpired = 0x8
	CSSM_TP_ACTION_FETCH_CERT_FROM_NET  CssmTpActionAllowExpired = 0x4
	CSSM_TP_ACTION_IMPLICIT_ANCHORS     CssmTpActionAllowExpired = 0x40
	CSSM_TP_ACTION_LEAF_IS_CA           CssmTpActionAllowExpired = 0x2
	CSSM_TP_ACTION_REQUIRE_REV_PER_CERT CssmTpActionAllowExpired = 0x10
	CSSM_TP_ACTION_TRUST_SETTINGS       CssmTpActionAllowExpired = 0x20
)

func (CssmTpActionAllowExpired) String added in v0.6.17

func (e CssmTpActionAllowExpired) String() string

type CssmTpActionDefault

type CssmTpActionDefault uint32
const (
	CSSM_TP_ACTION_DEFAULT CssmTpActionDefault = 0
)

func (CssmTpActionDefault) String

func (e CssmTpActionDefault) String() string

type CssmTpActionRequireCrlPerCert added in v0.6.17

type CssmTpActionRequireCrlPerCert uint32
const (
	CSSM_TP_ACTION_CRL_SUFFICIENT         CssmTpActionRequireCrlPerCert = 0x4
	CSSM_TP_ACTION_FETCH_CRL_FROM_NET     CssmTpActionRequireCrlPerCert = 0x2
	CSSM_TP_ACTION_REQUIRE_CRL_IF_PRESENT CssmTpActionRequireCrlPerCert = 0x8
	CSSM_TP_ACTION_REQUIRE_CRL_PER_CERT   CssmTpActionRequireCrlPerCert = 0x1
)

func (CssmTpActionRequireCrlPerCert) String added in v0.6.17

type CssmTpAppleCertStatus added in v0.6.4

type CssmTpAppleCertStatus = CSSM_TP_APPLE_CERT_STATUS

CssmTpAppleCertStatus is a Go-name alias for CSSM_TP_APPLE_CERT_STATUS.

type CssmTpAuthorityID

type CssmTpAuthorityID = CSSM_TP_AUTHORITY_ID

CssmTpAuthorityID is a Go-name alias for CSSM_TP_AUTHORITY_ID.

type CssmTpAuthorityIDPtr

type CssmTpAuthorityIDPtr = CSSM_TP_AUTHORITY_ID_PTR

CssmTpAuthorityIDPtr is a Go-name alias for CSSM_TP_AUTHORITY_ID_PTR.

type CssmTpAuthorityRequestC

type CssmTpAuthorityRequestC uint32
const (
	CSSM_TP_AUTHORITY_REQUEST_CERTISSUE      CssmTpAuthorityRequestC = 0x1
	CSSM_TP_AUTHORITY_REQUEST_CERTNOTARIZE   CssmTpAuthorityRequestC = 0x6
	CSSM_TP_AUTHORITY_REQUEST_CERTRESUME     CssmTpAuthorityRequestC = 0x4
	CSSM_TP_AUTHORITY_REQUEST_CERTREVOKE     CssmTpAuthorityRequestC = 0x2
	CSSM_TP_AUTHORITY_REQUEST_CERTSUSPEND    CssmTpAuthorityRequestC = 0x3
	CSSM_TP_AUTHORITY_REQUEST_CERTUSERECOVER CssmTpAuthorityRequestC = 0x7
	CSSM_TP_AUTHORITY_REQUEST_CERTVERIFY     CssmTpAuthorityRequestC = 0x5
	CSSM_TP_AUTHORITY_REQUEST_CRLISSUE       CssmTpAuthorityRequestC = 0x100
)

func (CssmTpAuthorityRequestC) String

func (e CssmTpAuthorityRequestC) String() string

type CssmTpAuthorityRequestType added in v0.6.4

type CssmTpAuthorityRequestType = CSSM_TP_AUTHORITY_REQUEST_TYPE

CssmTpAuthorityRequestType is a Go-name alias for CSSM_TP_AUTHORITY_REQUEST_TYPE.

type CssmTpAuthorityRequestTypePtr added in v0.6.4

type CssmTpAuthorityRequestTypePtr = CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR

CssmTpAuthorityRequestTypePtr is a Go-name alias for CSSM_TP_AUTHORITY_REQUEST_TYPE_PTR.

type CssmTpBaseTpError added in v0.6.17

type CssmTpBaseTpError int32
const (
	CSSMERR_TP_AUTHENTICATION_FAILED              CssmTpBaseTpError = -2147409657
	CSSMERR_TP_CERTGROUP_INCOMPLETE               CssmTpBaseTpError = -2147409656
	CSSMERR_TP_CERTIFICATE_CANT_OPERATE           CssmTpBaseTpError = -2147409655
	CSSMERR_TP_CERT_EXPIRED                       CssmTpBaseTpError = -2147409654
	CSSMERR_TP_CERT_NOT_VALID_YET                 CssmTpBaseTpError = -2147409653
	CSSMERR_TP_CERT_REVOKED                       CssmTpBaseTpError = -2147409652
	CSSMERR_TP_CERT_SUSPENDED                     CssmTpBaseTpError = -2147409651
	CSSMERR_TP_INSUFFICIENT_CREDENTIALS           CssmTpBaseTpError = -2147409650
	CSSMERR_TP_INVALID_ACTION                     CssmTpBaseTpError = -2147409649
	CSSMERR_TP_INVALID_ACTION_DATA                CssmTpBaseTpError = -2147409648
	CSSMERR_TP_INVALID_ANCHOR_CERT                CssmTpBaseTpError = -2147409646
	CSSMERR_TP_INVALID_AUTHORITY                  CssmTpBaseTpError = -2147409645
	CSSMERR_TP_INVALID_CALLBACK                   CssmTpBaseTpError = -2147409625
	CSSMERR_TP_INVALID_CALLERAUTH_CONTEXT_POINTER CssmTpBaseTpError = -2147409663
	CSSMERR_TP_INVALID_CERTGROUP                  CssmTpBaseTpError = -2147409660
	CSSMERR_TP_INVALID_CERTIFICATE                CssmTpBaseTpError = -2147409643
	CSSMERR_TP_INVALID_CERT_AUTHORITY             CssmTpBaseTpError = -2147409642
	CSSMERR_TP_INVALID_CRL                        CssmTpBaseTpError = -2147409638
	CSSMERR_TP_INVALID_CRLGROUP                   CssmTpBaseTpError = -2147409659
	CSSMERR_TP_INVALID_CRLGROUP_POINTER           CssmTpBaseTpError = -2147409658
	CSSMERR_TP_INVALID_CRL_AUTHORITY              CssmTpBaseTpError = -2147409641
	CSSMERR_TP_INVALID_CRL_ENCODING               CssmTpBaseTpError = -2147409640
	CSSMERR_TP_INVALID_CRL_TYPE                   CssmTpBaseTpError = -2147409639
	CSSMERR_TP_INVALID_FORM_TYPE                  CssmTpBaseTpError = -2147409637
	CSSMERR_TP_INVALID_ID                         CssmTpBaseTpError = -2147409636
	CSSMERR_TP_INVALID_IDENTIFIER                 CssmTpBaseTpError = -2147409635
	CSSMERR_TP_INVALID_IDENTIFIER_POINTER         CssmTpBaseTpError = -2147409662
	CSSMERR_TP_INVALID_INDEX                      CssmTpBaseTpError = -2147409634
	CSSMERR_TP_INVALID_KEYCACHE_HANDLE            CssmTpBaseTpError = -2147409661
	CSSMERR_TP_INVALID_NAME                       CssmTpBaseTpError = -2147409633
	CSSMERR_TP_INVALID_POLICY_IDENTIFIERS         CssmTpBaseTpError = -2147409632
	CSSMERR_TP_INVALID_REASON                     CssmTpBaseTpError = -2147409630
	CSSMERR_TP_INVALID_REQUEST_INPUTS             CssmTpBaseTpError = -2147409629
	CSSMERR_TP_INVALID_RESPONSE_VECTOR            CssmTpBaseTpError = -2147409628
	CSSMERR_TP_INVALID_SIGNATURE                  CssmTpBaseTpError = -2147409627
	CSSMERR_TP_INVALID_STOP_ON_POLICY             CssmTpBaseTpError = -2147409626
	CSSMERR_TP_INVALID_TIMESTRING                 CssmTpBaseTpError = -2147409631
	CSSMERR_TP_INVALID_TUPLE                      CssmTpBaseTpError = -2147409624
	CSSMERR_TP_INVALID_TUPLEGROUP                 CssmTpBaseTpError = -2147409614
	CSSMERR_TP_INVALID_TUPLEGROUP_POINTER         CssmTpBaseTpError = -2147409615
	CSSMERR_TP_NOT_SIGNER                         CssmTpBaseTpError = -2147409623
	CSSMERR_TP_NOT_TRUSTED                        CssmTpBaseTpError = -2147409622
	CSSMERR_TP_NO_DEFAULT_AUTHORITY               CssmTpBaseTpError = -2147409621
	CSSMERR_TP_REJECTED_FORM                      CssmTpBaseTpError = -2147409620
	CSSMERR_TP_REQUEST_LOST                       CssmTpBaseTpError = -2147409619
	CSSMERR_TP_REQUEST_REJECTED                   CssmTpBaseTpError = -2147409618
	CSSMERR_TP_UNSUPPORTED_ADDR_TYPE              CssmTpBaseTpError = -2147409617
	CSSMERR_TP_UNSUPPORTED_SERVICE                CssmTpBaseTpError = -2147409616
	CSSMERR_TP_VERIFY_ACTION_FAILED               CssmTpBaseTpError = -2147409644
	CSSM_TP_BASE_TP_ERROR                         CssmTpBaseTpError = -2147409664
)

func (CssmTpBaseTpError) String added in v0.6.17

func (e CssmTpBaseTpError) String() string

type CssmTpCallerauthContext

type CssmTpCallerauthContext = CSSM_TP_CALLERAUTH_CONTEXT

CssmTpCallerauthContext is a Go-name alias for CSSM_TP_CALLERAUTH_CONTEXT.

type CssmTpCallerauthContextPtr

type CssmTpCallerauthContextPtr = CSSM_TP_CALLERAUTH_CONTEXT_PTR

CssmTpCallerauthContextPtr is a Go-name alias for CSSM_TP_CALLERAUTH_CONTEXT_PTR.

type CssmTpCertchangeAction added in v0.6.4

type CssmTpCertchangeAction = CSSM_TP_CERTCHANGE_ACTION

CssmTpCertchangeAction is a Go-name alias for CSSM_TP_CERTCHANGE_ACTION.

type CssmTpCertchangeInput

type CssmTpCertchangeInput = CSSM_TP_CERTCHANGE_INPUT

CssmTpCertchangeInput is a Go-name alias for CSSM_TP_CERTCHANGE_INPUT.

type CssmTpCertchangeInputPtr

type CssmTpCertchangeInputPtr = CSSM_TP_CERTCHANGE_INPUT_PTR

CssmTpCertchangeInputPtr is a Go-name alias for CSSM_TP_CERTCHANGE_INPUT_PTR.

type CssmTpCertchangeNone added in v0.6.17

type CssmTpCertchangeNone uint32
const (
	CSSM_TP_CERTCHANGE_HOLD    CssmTpCertchangeNone = 0x2
	CSSM_TP_CERTCHANGE_NONE    CssmTpCertchangeNone = 0
	CSSM_TP_CERTCHANGE_RELEASE CssmTpCertchangeNone = 0x3
	CSSM_TP_CERTCHANGE_REVOKE  CssmTpCertchangeNone = 0x1
)

func (CssmTpCertchangeNone) String added in v0.6.17

func (e CssmTpCertchangeNone) String() string

type CssmTpCertchangeOutput

type CssmTpCertchangeOutput = CSSM_TP_CERTCHANGE_OUTPUT

CssmTpCertchangeOutput is a Go-name alias for CSSM_TP_CERTCHANGE_OUTPUT.

type CssmTpCertchangeOutputPtr

type CssmTpCertchangeOutputPtr = CSSM_TP_CERTCHANGE_OUTPUT_PTR

CssmTpCertchangeOutputPtr is a Go-name alias for CSSM_TP_CERTCHANGE_OUTPUT_PTR.

type CssmTpCertchangeReason

type CssmTpCertchangeReason uint32
const (
	CSSM_TP_CERTCHANGE_REASON_AFFILIATIONCHANGE   CssmTpCertchangeReason = 0x4
	CSSM_TP_CERTCHANGE_REASON_CACOMPROMISE        CssmTpCertchangeReason = 0x2
	CSSM_TP_CERTCHANGE_REASON_CEASEOPERATION      CssmTpCertchangeReason = 0x3
	CSSM_TP_CERTCHANGE_REASON_HOLDRELEASE         CssmTpCertchangeReason = 0x7
	CSSM_TP_CERTCHANGE_REASON_KEYCOMPROMISE       CssmTpCertchangeReason = 0x1
	CSSM_TP_CERTCHANGE_REASON_SUPERCEDED          CssmTpCertchangeReason = 0x5
	CSSM_TP_CERTCHANGE_REASON_SUSPECTEDCOMPROMISE CssmTpCertchangeReason = 0x6
	CSSM_TP_CERTCHANGE_REASON_UNKNOWN             CssmTpCertchangeReason = 0
)

func (CssmTpCertchangeReason) String

func (e CssmTpCertchangeReason) String() string

type CssmTpCertchangeStatus added in v0.6.4

type CssmTpCertchangeStatus = CSSM_TP_CERTCHANGE_STATUS

CssmTpCertchangeStatus is a Go-name alias for CSSM_TP_CERTCHANGE_STATUS.

type CssmTpCertchangeStatusUnknown added in v0.6.17

type CssmTpCertchangeStatusUnknown uint32
const (
	CSSM_TP_CERTCHANGE_NOT_AUTHORIZED CssmTpCertchangeStatusUnknown = 0x5
	CSSM_TP_CERTCHANGE_OK             CssmTpCertchangeStatusUnknown = 0x1
	CSSM_TP_CERTCHANGE_OKWITHNEWTIME  CssmTpCertchangeStatusUnknown = 0x2
	CSSM_TP_CERTCHANGE_REJECTED       CssmTpCertchangeStatusUnknown = 0x4
	CSSM_TP_CERTCHANGE_STATUS_UNKNOWN CssmTpCertchangeStatusUnknown = 0
	CSSM_TP_CERTCHANGE_WRONGCA        CssmTpCertchangeStatusUnknown = 0x3
)

func (CssmTpCertchangeStatusUnknown) String added in v0.6.17

type CssmTpCertissue

type CssmTpCertissue uint32
const (
	CSSM_TP_CERTISSUE_NOT_AUTHORIZED    CssmTpCertissue = 0x5
	CSSM_TP_CERTISSUE_OK                CssmTpCertissue = 0x1
	CSSM_TP_CERTISSUE_OKWITHCERTMODS    CssmTpCertissue = 0x2
	CSSM_TP_CERTISSUE_OKWITHSERVICEMODS CssmTpCertissue = 0x3
	CSSM_TP_CERTISSUE_REJECTED          CssmTpCertissue = 0x4
	CSSM_TP_CERTISSUE_STATUS_UNKNOWN    CssmTpCertissue = 0
	CSSM_TP_CERTISSUE_WILL_BE_REVOKED   CssmTpCertissue = 0x6
)

func (CssmTpCertissue) String

func (e CssmTpCertissue) String() string

type CssmTpCertissueInput

type CssmTpCertissueInput = CSSM_TP_CERTISSUE_INPUT

CssmTpCertissueInput is a Go-name alias for CSSM_TP_CERTISSUE_INPUT.

type CssmTpCertissueInputPtr

type CssmTpCertissueInputPtr = CSSM_TP_CERTISSUE_INPUT_PTR

CssmTpCertissueInputPtr is a Go-name alias for CSSM_TP_CERTISSUE_INPUT_PTR.

type CssmTpCertissueOutput

type CssmTpCertissueOutput = CSSM_TP_CERTISSUE_OUTPUT

CssmTpCertissueOutput is a Go-name alias for CSSM_TP_CERTISSUE_OUTPUT.

type CssmTpCertissueOutputPtr

type CssmTpCertissueOutputPtr = CSSM_TP_CERTISSUE_OUTPUT_PTR

CssmTpCertissueOutputPtr is a Go-name alias for CSSM_TP_CERTISSUE_OUTPUT_PTR.

type CssmTpCertissueStatus added in v0.6.4

type CssmTpCertissueStatus = CSSM_TP_CERTISSUE_STATUS

CssmTpCertissueStatus is a Go-name alias for CSSM_TP_CERTISSUE_STATUS.

type CssmTpCertnotarize

type CssmTpCertnotarize uint32
const (
	CSSM_TP_CERTNOTARIZE_NOT_AUTHORIZED    CssmTpCertnotarize = 0x5
	CSSM_TP_CERTNOTARIZE_OK                CssmTpCertnotarize = 0x1
	CSSM_TP_CERTNOTARIZE_OKWITHOUTFIELDS   CssmTpCertnotarize = 0x2
	CSSM_TP_CERTNOTARIZE_OKWITHSERVICEMODS CssmTpCertnotarize = 0x3
	CSSM_TP_CERTNOTARIZE_REJECTED          CssmTpCertnotarize = 0x4
	CSSM_TP_CERTNOTARIZE_STATUS_UNKNOWN    CssmTpCertnotarize = 0
)

func (CssmTpCertnotarize) String

func (e CssmTpCertnotarize) String() string

type CssmTpCertnotarizeInput

type CssmTpCertnotarizeInput = CSSM_TP_CERTNOTARIZE_INPUT

CssmTpCertnotarizeInput is a Go-name alias for CSSM_TP_CERTNOTARIZE_INPUT.

type CssmTpCertnotarizeInputPtr

type CssmTpCertnotarizeInputPtr = CSSM_TP_CERTNOTARIZE_INPUT_PTR

CssmTpCertnotarizeInputPtr is a Go-name alias for CSSM_TP_CERTNOTARIZE_INPUT_PTR.

type CssmTpCertnotarizeOutput

type CssmTpCertnotarizeOutput = CSSM_TP_CERTNOTARIZE_OUTPUT

CssmTpCertnotarizeOutput is a Go-name alias for CSSM_TP_CERTNOTARIZE_OUTPUT.

type CssmTpCertnotarizeOutputPtr

type CssmTpCertnotarizeOutputPtr = CSSM_TP_CERTNOTARIZE_OUTPUT_PTR

CssmTpCertnotarizeOutputPtr is a Go-name alias for CSSM_TP_CERTNOTARIZE_OUTPUT_PTR.

type CssmTpCertnotarizeStatus added in v0.6.4

type CssmTpCertnotarizeStatus = CSSM_TP_CERTNOTARIZE_STATUS

CssmTpCertnotarizeStatus is a Go-name alias for CSSM_TP_CERTNOTARIZE_STATUS.

type CssmTpCertreclaim

type CssmTpCertreclaim uint32
const (
	CSSM_TP_CERTRECLAIM_NOMATCH        CssmTpCertreclaim = 0x2
	CSSM_TP_CERTRECLAIM_NOT_AUTHORIZED CssmTpCertreclaim = 0x4
	CSSM_TP_CERTRECLAIM_OK             CssmTpCertreclaim = 0x1
	CSSM_TP_CERTRECLAIM_REJECTED       CssmTpCertreclaim = 0x3
	CSSM_TP_CERTRECLAIM_STATUS_UNKNOWN CssmTpCertreclaim = 0
)

func (CssmTpCertreclaim) String

func (e CssmTpCertreclaim) String() string

type CssmTpCertreclaimInput

type CssmTpCertreclaimInput = CSSM_TP_CERTRECLAIM_INPUT

CssmTpCertreclaimInput is a Go-name alias for CSSM_TP_CERTRECLAIM_INPUT.

type CssmTpCertreclaimInputPtr

type CssmTpCertreclaimInputPtr = CSSM_TP_CERTRECLAIM_INPUT_PTR

CssmTpCertreclaimInputPtr is a Go-name alias for CSSM_TP_CERTRECLAIM_INPUT_PTR.

type CssmTpCertreclaimOutput

type CssmTpCertreclaimOutput = CSSM_TP_CERTRECLAIM_OUTPUT

CssmTpCertreclaimOutput is a Go-name alias for CSSM_TP_CERTRECLAIM_OUTPUT.

type CssmTpCertreclaimOutputPtr

type CssmTpCertreclaimOutputPtr = CSSM_TP_CERTRECLAIM_OUTPUT_PTR

CssmTpCertreclaimOutputPtr is a Go-name alias for CSSM_TP_CERTRECLAIM_OUTPUT_PTR.

type CssmTpCertreclaimStatus added in v0.6.4

type CssmTpCertreclaimStatus = CSSM_TP_CERTRECLAIM_STATUS

CssmTpCertreclaimStatus is a Go-name alias for CSSM_TP_CERTRECLAIM_STATUS.

type CssmTpCertverify

type CssmTpCertverify uint32
const (
	CSSM_TP_CERTVERIFY_EXPIRED                   CssmTpCertverify = 0x5
	CSSM_TP_CERTVERIFY_INVALID                   CssmTpCertverify = 0x2
	CSSM_TP_CERTVERIFY_INVALID_AUTHORITY         CssmTpCertverify = 0x7
	CSSM_TP_CERTVERIFY_INVALID_BASIC_CONSTRAINTS CssmTpCertverify = 0xd
	CSSM_TP_CERTVERIFY_INVALID_CERTGROUP         CssmTpCertverify = 0xa
	CSSM_TP_CERTVERIFY_INVALID_CERT_VALUE        CssmTpCertverify = 0x9
	CSSM_TP_CERTVERIFY_INVALID_CRL_DIST_PT       CssmTpCertverify = 0xe
	CSSM_TP_CERTVERIFY_INVALID_NAME_TREE         CssmTpCertverify = 0xf
	CSSM_TP_CERTVERIFY_INVALID_POLICY            CssmTpCertverify = 0xb
	CSSM_TP_CERTVERIFY_INVALID_POLICY_IDS        CssmTpCertverify = 0xc
	CSSM_TP_CERTVERIFY_INVALID_SIGNATURE         CssmTpCertverify = 0x8
	CSSM_TP_CERTVERIFY_NOT_VALID_YET             CssmTpCertverify = 0x6
	CSSM_TP_CERTVERIFY_REVOKED                   CssmTpCertverify = 0x3
	CSSM_TP_CERTVERIFY_SUSPENDED                 CssmTpCertverify = 0x4
	CSSM_TP_CERTVERIFY_UNKNOWN                   CssmTpCertverify = 0
	CSSM_TP_CERTVERIFY_UNKNOWN_CRITICAL_EXT      CssmTpCertverify = 0x10
	CSSM_TP_CERTVERIFY_VALID                     CssmTpCertverify = 0x1
)

func (CssmTpCertverify) String

func (e CssmTpCertverify) String() string

type CssmTpCertverifyInput

type CssmTpCertverifyInput = CSSM_TP_CERTVERIFY_INPUT

CssmTpCertverifyInput is a Go-name alias for CSSM_TP_CERTVERIFY_INPUT.

type CssmTpCertverifyInputPtr

type CssmTpCertverifyInputPtr = CSSM_TP_CERTVERIFY_INPUT_PTR

CssmTpCertverifyInputPtr is a Go-name alias for CSSM_TP_CERTVERIFY_INPUT_PTR.

type CssmTpCertverifyOutput

type CssmTpCertverifyOutput = CSSM_TP_CERTVERIFY_OUTPUT

CssmTpCertverifyOutput is a Go-name alias for CSSM_TP_CERTVERIFY_OUTPUT.

type CssmTpCertverifyOutputPtr

type CssmTpCertverifyOutputPtr = CSSM_TP_CERTVERIFY_OUTPUT_PTR

CssmTpCertverifyOutputPtr is a Go-name alias for CSSM_TP_CERTVERIFY_OUTPUT_PTR.

type CssmTpCertverifyStatus added in v0.6.4

type CssmTpCertverifyStatus = CSSM_TP_CERTVERIFY_STATUS

CssmTpCertverifyStatus is a Go-name alias for CSSM_TP_CERTVERIFY_STATUS.

type CssmTpConfirm

type CssmTpConfirm uint32
const (
	CSSM_TP_CONFIRM_ACCEPT         CssmTpConfirm = 0x1
	CSSM_TP_CONFIRM_REJECT         CssmTpConfirm = 0x2
	CSSM_TP_CONFIRM_STATUS_UNKNOWN CssmTpConfirm = 0
)

func (CssmTpConfirm) String

func (e CssmTpConfirm) String() string

type CssmTpConfirmResponse

type CssmTpConfirmResponse = CSSM_TP_CONFIRM_RESPONSE

CssmTpConfirmResponse is a Go-name alias for CSSM_TP_CONFIRM_RESPONSE.

type CssmTpConfirmResponsePtr

type CssmTpConfirmResponsePtr = CSSM_TP_CONFIRM_RESPONSE_PTR

CssmTpConfirmResponsePtr is a Go-name alias for CSSM_TP_CONFIRM_RESPONSE_PTR.

type CssmTpConfirmStatus added in v0.6.4

type CssmTpConfirmStatus = CSSM_TP_CONFIRM_STATUS

CssmTpConfirmStatus is a Go-name alias for CSSM_TP_CONFIRM_STATUS.

type CssmTpConfirmStatusPtr added in v0.6.4

type CssmTpConfirmStatusPtr = CSSM_TP_CONFIRM_STATUS_PTR

CssmTpConfirmStatusPtr is a Go-name alias for CSSM_TP_CONFIRM_STATUS_PTR.

type CssmTpCrlissue

type CssmTpCrlissue uint32
const (
	CSSM_TP_CRLISSUE_INVALID_DOMAIN     CssmTpCrlissue = 0x3
	CSSM_TP_CRLISSUE_NOT_AUTHORIZED     CssmTpCrlissue = 0x6
	CSSM_TP_CRLISSUE_NOT_CURRENT        CssmTpCrlissue = 0x2
	CSSM_TP_CRLISSUE_OK                 CssmTpCrlissue = 0x1
	CSSM_TP_CRLISSUE_REJECTED           CssmTpCrlissue = 0x5
	CSSM_TP_CRLISSUE_STATUS_UNKNOWN     CssmTpCrlissue = 0
	CSSM_TP_CRLISSUE_UNKNOWN_IDENTIFIER CssmTpCrlissue = 0x4
)

func (CssmTpCrlissue) String

func (e CssmTpCrlissue) String() string

type CssmTpCrlissueInput

type CssmTpCrlissueInput = CSSM_TP_CRLISSUE_INPUT

CssmTpCrlissueInput is a Go-name alias for CSSM_TP_CRLISSUE_INPUT.

type CssmTpCrlissueInputPtr

type CssmTpCrlissueInputPtr = CSSM_TP_CRLISSUE_INPUT_PTR

CssmTpCrlissueInputPtr is a Go-name alias for CSSM_TP_CRLISSUE_INPUT_PTR.

type CssmTpCrlissueOutput

type CssmTpCrlissueOutput = CSSM_TP_CRLISSUE_OUTPUT

CssmTpCrlissueOutput is a Go-name alias for CSSM_TP_CRLISSUE_OUTPUT.

type CssmTpCrlissueOutputPtr

type CssmTpCrlissueOutputPtr = CSSM_TP_CRLISSUE_OUTPUT_PTR

CssmTpCrlissueOutputPtr is a Go-name alias for CSSM_TP_CRLISSUE_OUTPUT_PTR.

type CssmTpCrlissueStatus added in v0.6.4

type CssmTpCrlissueStatus = CSSM_TP_CRLISSUE_STATUS

CssmTpCrlissueStatus is a Go-name alias for CSSM_TP_CRLISSUE_STATUS.

type CssmTpFormType

type CssmTpFormType uint32
const (
	CSSM_TP_FORM_TYPE_GENERIC      CssmTpFormType = 0
	CSSM_TP_FORM_TYPE_REGISTRATION CssmTpFormType = 0x1
)

func (CssmTpFormType) String

func (e CssmTpFormType) String() string

type CssmTpHandle added in v0.6.4

type CssmTpHandle = CSSM_TP_HANDLE

CssmTpHandle is a Go-name alias for CSSM_TP_HANDLE.

type CssmTpPolicyinfo

type CssmTpPolicyinfo = CSSM_TP_POLICYINFO

CssmTpPolicyinfo is a Go-name alias for CSSM_TP_POLICYINFO.

type CssmTpPolicyinfoPtr

type CssmTpPolicyinfoPtr = CSSM_TP_POLICYINFO_PTR

CssmTpPolicyinfoPtr is a Go-name alias for CSSM_TP_POLICYINFO_PTR.

type CssmTpRequestSet

type CssmTpRequestSet = CSSM_TP_REQUEST_SET

CssmTpRequestSet is a Go-name alias for CSSM_TP_REQUEST_SET.

type CssmTpRequestSetPtr

type CssmTpRequestSetPtr = CSSM_TP_REQUEST_SET_PTR

CssmTpRequestSetPtr is a Go-name alias for CSSM_TP_REQUEST_SET_PTR.

type CssmTpResultSet

type CssmTpResultSet = CSSM_TP_RESULT_SET

CssmTpResultSet is a Go-name alias for CSSM_TP_RESULT_SET.

type CssmTpResultSetPtr

type CssmTpResultSetPtr = CSSM_TP_RESULT_SET_PTR

CssmTpResultSetPtr is a Go-name alias for CSSM_TP_RESULT_SET_PTR.

type CssmTpServices added in v0.6.4

type CssmTpServices = CSSM_TP_SERVICES

CssmTpServices is a Go-name alias for CSSM_TP_SERVICES.

type CssmTpStopOn

type CssmTpStopOn uint32
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 CssmTpVerificationResultsCallback

type CssmTpVerificationResultsCallback = CSSM_TP_VERIFICATION_RESULTS_CALLBACK

CssmTpVerificationResultsCallback is a Go-name alias for CSSM_TP_VERIFICATION_RESULTS_CALLBACK.

type CssmTpVerifyContext

type CssmTpVerifyContext = CSSM_TP_VERIFY_CONTEXT

CssmTpVerifyContext is a Go-name alias for CSSM_TP_VERIFY_CONTEXT.

type CssmTpVerifyContextPtr

type CssmTpVerifyContextPtr = CSSM_TP_VERIFY_CONTEXT_PTR

CssmTpVerifyContextPtr is a Go-name alias for CSSM_TP_VERIFY_CONTEXT_PTR.

type CssmTpVerifyContextResult

type CssmTpVerifyContextResult = CSSM_TP_VERIFY_CONTEXT_RESULT

CssmTpVerifyContextResult is a Go-name alias for CSSM_TP_VERIFY_CONTEXT_RESULT.

type CssmTpVerifyContextResultPtr

type CssmTpVerifyContextResultPtr = CSSM_TP_VERIFY_CONTEXT_RESULT_PTR

CssmTpVerifyContextResultPtr is a Go-name alias for CSSM_TP_VERIFY_CONTEXT_RESULT_PTR.

type CssmTuplePtr

type CssmTuplePtr = CSSM_TUPLE_PTR

CssmTuplePtr is a Go-name alias for CSSM_TUPLE_PTR.

type CssmTuplegroup

type CssmTuplegroup = CSSM_TUPLEGROUP

CssmTuplegroup is a Go-name alias for CSSM_TUPLEGROUP.

type CssmTuplegroupPtr

type CssmTuplegroupPtr = CSSM_TUPLEGROUP_PTR

CssmTuplegroupPtr is a Go-name alias for CSSM_TUPLEGROUP_PTR.

type CssmUpcalls

type CssmUpcalls = CSSM_UPCALLS

CssmUpcalls is a Go-name alias for CSSM_UPCALLS.

type CssmUpcallsCalloc

type CssmUpcallsCalloc = CSSM_UPCALLS_CALLOC

CssmUpcallsCalloc is a Go-name alias for CSSM_UPCALLS_CALLOC.

type CssmUpcallsFree

type CssmUpcallsFree = CSSM_UPCALLS_FREE

CssmUpcallsFree is a Go-name alias for CSSM_UPCALLS_FREE.

type CssmUpcallsMalloc

type CssmUpcallsMalloc = CSSM_UPCALLS_MALLOC

CssmUpcallsMalloc is a Go-name alias for CSSM_UPCALLS_MALLOC.

type CssmUpcallsPtr

type CssmUpcallsPtr = CSSM_UPCALLS_PTR

CssmUpcallsPtr is a Go-name alias for CSSM_UPCALLS_PTR.

type CssmUpcallsRealloc

type CssmUpcallsRealloc = CSSM_UPCALLS_REALLOC

CssmUpcallsRealloc is a Go-name alias for CSSM_UPCALLS_REALLOC.

type CssmUsee

type CssmUsee uint32
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 = 0xff
	CSSM_USEE_MEDICAL        CssmUsee = 8
	CSSM_USEE_NONE           CssmUsee = 0
	CSSM_USEE_SSL            CssmUsee = 5
	CSSM_USEE_WEAK           CssmUsee = 10
)

func (CssmUsee) String

func (e CssmUsee) String() string

type CssmUseeTag added in v0.6.4

type CssmUseeTag = CSSM_USEE_TAG

CssmUseeTag is a Go-name alias for CSSM_USEE_TAG.

type CssmValueNot added in v0.5.1

type CssmValueNot int32
const (
	CSSM_VALUE_NOT_AVAILABLE CssmValueNot = -1
)

func (CssmValueNot) String added in v0.5.1

func (e CssmValueNot) String() string

type CssmVersion

type CssmVersion = CSSM_VERSION

CssmVersion is a Go-name alias for CSSM_VERSION.

type CssmVersionPtr

type CssmVersionPtr = CSSM_VERSION_PTR

CssmVersionPtr is a Go-name alias for CSSM_VERSION_PTR.

type CssmWordidKeychainPrompt added in v0.6.17

type CssmWordidKeychainPrompt uint32
const (
	CSSM_WORDID_ASYMMETRIC_KEY       CssmWordidKeychainPrompt = 65547
	CSSM_WORDID_KEY                  CssmWordidKeychainPrompt = 65543
	CSSM_WORDID_KEYBAG_KEY           CssmWordidKeychainPrompt = 65549
	CSSM_WORDID_KEYCHAIN_CHANGE_LOCK CssmWordidKeychainPrompt = 65538
	CSSM_WORDID_KEYCHAIN_LOCK        CssmWordidKeychainPrompt = 65537
	CSSM_WORDID_KEYCHAIN_PROMPT      CssmWordidKeychainPrompt = 65536
	CSSM_WORDID_PARTITION            CssmWordidKeychainPrompt = 65548
	CSSM_WORDID_PIN                  CssmWordidKeychainPrompt = 65544
	CSSM_WORDID_PREAUTH              CssmWordidKeychainPrompt = 65545
	CSSM_WORDID_PREAUTH_SOURCE       CssmWordidKeychainPrompt = 65546
	CSSM_WORDID_PROCESS              CssmWordidKeychainPrompt = 65539
	CSSM_WORDID_SYMMETRIC_KEY        CssmWordidKeychainPrompt = 65541
	CSSM_WORDID_SYSTEM               CssmWordidKeychainPrompt = 65542
	CSSM_WORDID__FIRST_UNUSED        CssmWordidKeychainPrompt = 65550
	CSSM_WORDID__RESERVED_1          CssmWordidKeychainPrompt = 65540
)

func (CssmWordidKeychainPrompt) String added in v0.6.17

func (e CssmWordidKeychainPrompt) String() string

type CssmWordidType added in v0.6.4

type CssmWordidType = CSSM_WORDID_TYPE

CssmWordidType is a Go-name alias for CSSM_WORDID_TYPE.

type CssmWordidUnk added in v0.6.17

type CssmWordidUnk int32
const (
	CSSM_WORDID_A                    CssmWordidUnk = 2
	CSSM_WORDID_ACL                  CssmWordidUnk = 3
	CSSM_WORDID_ALPHA                CssmWordidUnk = 4
	CSSM_WORDID_B                    CssmWordidUnk = 5
	CSSM_WORDID_BER                  CssmWordidUnk = 6
	CSSM_WORDID_BINARY               CssmWordidUnk = 7
	CSSM_WORDID_BIOMETRIC            CssmWordidUnk = 8
	CSSM_WORDID_C                    CssmWordidUnk = 9
	CSSM_WORDID_CANCELED             CssmWordidUnk = 10
	CSSM_WORDID_CERT                 CssmWordidUnk = 11
	CSSM_WORDID_COMMENT              CssmWordidUnk = 12
	CSSM_WORDID_CRL                  CssmWordidUnk = 13
	CSSM_WORDID_CUSTOM               CssmWordidUnk = 14
	CSSM_WORDID_D                    CssmWordidUnk = 15
	CSSM_WORDID_DATE                 CssmWordidUnk = 16
	CSSM_WORDID_DBS_CREATE           CssmWordidUnk = 22
	CSSM_WORDID_DBS_DELETE           CssmWordidUnk = 23
	CSSM_WORDID_DB_DELETE            CssmWordidUnk = 17
	CSSM_WORDID_DB_EXEC_STORED_QUERY CssmWordidUnk = 18
	CSSM_WORDID_DB_INSERT            CssmWordidUnk = 19
	CSSM_WORDID_DB_MODIFY            CssmWordidUnk = 20
	CSSM_WORDID_DB_READ              CssmWordidUnk = 21
	CSSM_WORDID_DECRYPT              CssmWordidUnk = 24
	CSSM_WORDID_DELETE               CssmWordidUnk = 25
	CSSM_WORDID_DELTA_CRL            CssmWordidUnk = 26
	CSSM_WORDID_DER                  CssmWordidUnk = 27
	CSSM_WORDID_DERIVE               CssmWordidUnk = 28
	CSSM_WORDID_DISPLAY              CssmWordidUnk = 29
	CSSM_WORDID_DO                   CssmWordidUnk = 30
	CSSM_WORDID_DSA                  CssmWordidUnk = 31
	CSSM_WORDID_DSA_SHA1             CssmWordidUnk = 32
	CSSM_WORDID_E                    CssmWordidUnk = 33
	CSSM_WORDID_ELGAMAL              CssmWordidUnk = 34
	CSSM_WORDID_ENCRYPT              CssmWordidUnk = 35
	CSSM_WORDID_ENTRY                CssmWordidUnk = 36
	CSSM_WORDID_EXPORT_CLEAR         CssmWordidUnk = 37
	CSSM_WORDID_EXPORT_WRAPPED       CssmWordidUnk = 38
	CSSM_WORDID_G                    CssmWordidUnk = 39
	CSSM_WORDID_GE                   CssmWordidUnk = 40
	CSSM_WORDID_GENKEY               CssmWordidUnk = 41
	CSSM_WORDID_HASH                 CssmWordidUnk = 42
	CSSM_WORDID_HASHED_PASSWORD      CssmWordidUnk = 43
	CSSM_WORDID_HASHED_SUBJECT       CssmWordidUnk = 44
	CSSM_WORDID_HAVAL                CssmWordidUnk = 45
	CSSM_WORDID_IBCHASH              CssmWordidUnk = 46
	CSSM_WORDID_IMPORT_CLEAR         CssmWordidUnk = 47
	CSSM_WORDID_IMPORT_WRAPPED       CssmWordidUnk = 48
	CSSM_WORDID_INTEL                CssmWordidUnk = 49
	CSSM_WORDID_ISSUER               CssmWordidUnk = 50
	CSSM_WORDID_ISSUER_INFO          CssmWordidUnk = 51
	CSSM_WORDID_KEA                  CssmWordidUnk = 53
	CSSM_WORDID_KEYHOLDER            CssmWordidUnk = 54
	CSSM_WORDID_K_OF_N               CssmWordidUnk = 52
	CSSM_WORDID_L                    CssmWordidUnk = 55
	CSSM_WORDID_LE                   CssmWordidUnk = 56
	CSSM_WORDID_LOGIN                CssmWordidUnk = 57
	CSSM_WORDID_LOGIN_NAME           CssmWordidUnk = 58
	CSSM_WORDID_MAC                  CssmWordidUnk = 59
	CSSM_WORDID_MD2                  CssmWordidUnk = 60
	CSSM_WORDID_MD2WITHRSA           CssmWordidUnk = 61
	CSSM_WORDID_MD4                  CssmWordidUnk = 62
	CSSM_WORDID_MD5                  CssmWordidUnk = 63
	CSSM_WORDID_MD5WITHRSA           CssmWordidUnk = 64
	CSSM_WORDID_N                    CssmWordidUnk = 65
	CSSM_WORDID_NAME                 CssmWordidUnk = 66
	CSSM_WORDID_NDR                  CssmWordidUnk = 67
	CSSM_WORDID_NHASH                CssmWordidUnk = 68
	CSSM_WORDID_NOT_AFTER            CssmWordidUnk = 69
	CSSM_WORDID_NOT_BEFORE           CssmWordidUnk = 70
	CSSM_WORDID_NULL                 CssmWordidUnk = 71
	CSSM_WORDID_NUMERIC              CssmWordidUnk = 72
	CSSM_WORDID_OBJECT_HASH          CssmWordidUnk = 73
	CSSM_WORDID_ONE_TIME             CssmWordidUnk = 74
	CSSM_WORDID_ONLINE               CssmWordidUnk = 75
	CSSM_WORDID_OWNER                CssmWordidUnk = 76
	CSSM_WORDID_P                    CssmWordidUnk = 77
	CSSM_WORDID_PAM_NAME             CssmWordidUnk = 78
	CSSM_WORDID_PASSWORD             CssmWordidUnk = 79
	CSSM_WORDID_PGP                  CssmWordidUnk = 80
	CSSM_WORDID_PREFIX               CssmWordidUnk = 81
	CSSM_WORDID_PRIVATE_KEY          CssmWordidUnk = 82
	CSSM_WORDID_PROMPTED_BIOMETRIC   CssmWordidUnk = 83
	CSSM_WORDID_PROMPTED_PASSWORD    CssmWordidUnk = 84
	CSSM_WORDID_PROPAGATE            CssmWordidUnk = 85
	CSSM_WORDID_PROTECTED_BIOMETRIC  CssmWordidUnk = 86
	CSSM_WORDID_PROTECTED_PASSWORD   CssmWordidUnk = 87
	CSSM_WORDID_PROTECTED_PIN        CssmWordidUnk = 88
	CSSM_WORDID_PUBLIC_KEY           CssmWordidUnk = 89
	CSSM_WORDID_PUBLIC_KEY_FROM_CERT CssmWordidUnk = 90
	CSSM_WORDID_Q                    CssmWordidUnk = 91
	CSSM_WORDID_RANGE                CssmWordidUnk = 92
	CSSM_WORDID_REVAL                CssmWordidUnk = 93
	CSSM_WORDID_RIPEMAC              CssmWordidUnk = 94
	CSSM_WORDID_RIPEMD               CssmWordidUnk = 95
	CSSM_WORDID_RIPEMD160            CssmWordidUnk = 96
	CSSM_WORDID_RSA                  CssmWordidUnk = 97
	CSSM_WORDID_RSA_ISO9796          CssmWordidUnk = 98
	CSSM_WORDID_RSA_PKCS             CssmWordidUnk = 99
	CSSM_WORDID_RSA_PKCS1            CssmWordidUnk = 102
	CSSM_WORDID_RSA_PKCS1_MD5        CssmWordidUnk = 103
	CSSM_WORDID_RSA_PKCS1_SHA1       CssmWordidUnk = 104
	CSSM_WORDID_RSA_PKCS1_SIG        CssmWordidUnk = 105
	CSSM_WORDID_RSA_PKCS_MD5         CssmWordidUnk = 100
	CSSM_WORDID_RSA_PKCS_SHA1        CssmWordidUnk = 101
	CSSM_WORDID_RSA_RAW              CssmWordidUnk = 106
	CSSM_WORDID_SDSIV1               CssmWordidUnk = 107
	CSSM_WORDID_SEQUENCE             CssmWordidUnk = 108
	CSSM_WORDID_SET                  CssmWordidUnk = 109
	CSSM_WORDID_SEXPR                CssmWordidUnk = 110
	CSSM_WORDID_SHA1                 CssmWordidUnk = 111
	CSSM_WORDID_SHA1WITHDSA          CssmWordidUnk = 112
	CSSM_WORDID_SHA1WITHECDSA        CssmWordidUnk = 113
	CSSM_WORDID_SHA1WITHRSA          CssmWordidUnk = 114
	CSSM_WORDID_SIGN                 CssmWordidUnk = 115
	CSSM_WORDID_SIGNATURE            CssmWordidUnk = 116
	CSSM_WORDID_SIGNED_NONCE         CssmWordidUnk = 117
	CSSM_WORDID_SIGNED_SECRET        CssmWordidUnk = 118
	CSSM_WORDID_SPKI                 CssmWordidUnk = 119
	CSSM_WORDID_SUBJECT              CssmWordidUnk = 120
	CSSM_WORDID_SUBJECT_INFO         CssmWordidUnk = 121
	CSSM_WORDID_TAG                  CssmWordidUnk = 122
	CSSM_WORDID_THRESHOLD            CssmWordidUnk = 123
	CSSM_WORDID_TIME                 CssmWordidUnk = 124
	CSSM_WORDID_URI                  CssmWordidUnk = 125
	CSSM_WORDID_VENDOR_END           CssmWordidUnk = 0x7fff0000
	CSSM_WORDID_VENDOR_START         CssmWordidUnk = 0x10000
	CSSM_WORDID_VERSION              CssmWordidUnk = 126
	CSSM_WORDID_X509V1               CssmWordidUnk = 128
	CSSM_WORDID_X509V2               CssmWordidUnk = 129
	CSSM_WORDID_X509V3               CssmWordidUnk = 130
	CSSM_WORDID_X509_ATTRIBUTE       CssmWordidUnk = 127
	CSSM_WORDID_X9_ATTRIBUTE         CssmWordidUnk = 131
	CSSM_WORDID__NLU_                CssmWordidUnk = 0
	CSSM_WORDID__STAR_               CssmWordidUnk = 1
	CSSM_WORDID__UNK_                CssmWordidUnk = -1
)

func (CssmWordidUnk) String added in v0.6.17

func (e CssmWordidUnk) String() string

type CssmWrapKey

type CssmWrapKey = CSSM_WRAP_KEY

CssmWrapKey is a Go-name alias for CSSM_WRAP_KEY.

type CssmWrapKeyPtr

type CssmWrapKeyPtr = CSSM_WRAP_KEY_PTR

CssmWrapKeyPtr is a Go-name alias for CSSM_WRAP_KEY_PTR.

type CssmX509AlgorithmIdentifierPtr

type CssmX509AlgorithmIdentifierPtr = CSSM_X509_ALGORITHM_IDENTIFIER_PTR

CssmX509AlgorithmIdentifierPtr is a Go-name alias for CSSM_X509_ALGORITHM_IDENTIFIER_PTR.

type CssmX509Extension

type CssmX509Extension = CSSM_X509_EXTENSION

CssmX509Extension is a Go-name alias for CSSM_X509_EXTENSION.

type CssmX509ExtensionPtr

type CssmX509ExtensionPtr = CSSM_X509_EXTENSION_PTR

CssmX509ExtensionPtr is a Go-name alias for CSSM_X509_EXTENSION_PTR.

type CssmX509Extensions

type CssmX509Extensions = CSSM_X509_EXTENSIONS

CssmX509Extensions is a Go-name alias for CSSM_X509_EXTENSIONS.

type CssmX509ExtensionsPtr

type CssmX509ExtensionsPtr = CSSM_X509_EXTENSIONS_PTR

CssmX509ExtensionsPtr is a Go-name alias for CSSM_X509_EXTENSIONS_PTR.

type CssmX509Name

type CssmX509Name = CSSM_X509_NAME

CssmX509Name is a Go-name alias for CSSM_X509_NAME.

type CssmX509NamePtr

type CssmX509NamePtr = CSSM_X509_NAME_PTR

CssmX509NamePtr is a Go-name alias for CSSM_X509_NAME_PTR.

type CssmX509Option added in v0.6.4

type CssmX509Option = CSSM_X509_OPTION

CssmX509Option is a Go-name alias for CSSM_X509_OPTION.

type CssmX509Rdn

type CssmX509Rdn = CSSM_X509_RDN

CssmX509Rdn is a Go-name alias for CSSM_X509_RDN.

type CssmX509RdnPtr

type CssmX509RdnPtr = CSSM_X509_RDN_PTR

CssmX509RdnPtr is a Go-name alias for CSSM_X509_RDN_PTR.

type CssmX509RevokedCertEntry

type CssmX509RevokedCertEntry = CSSM_X509_REVOKED_CERT_ENTRY

CssmX509RevokedCertEntry is a Go-name alias for CSSM_X509_REVOKED_CERT_ENTRY.

type CssmX509RevokedCertEntryPtr

type CssmX509RevokedCertEntryPtr = CSSM_X509_REVOKED_CERT_ENTRY_PTR

CssmX509RevokedCertEntryPtr is a Go-name alias for CSSM_X509_REVOKED_CERT_ENTRY_PTR.

type CssmX509RevokedCertList

type CssmX509RevokedCertList = CSSM_X509_REVOKED_CERT_LIST

CssmX509RevokedCertList is a Go-name alias for CSSM_X509_REVOKED_CERT_LIST.

type CssmX509RevokedCertListPtr

type CssmX509RevokedCertListPtr = CSSM_X509_REVOKED_CERT_LIST_PTR

CssmX509RevokedCertListPtr is a Go-name alias for CSSM_X509_REVOKED_CERT_LIST_PTR.

type CssmX509Signature

type CssmX509Signature = CSSM_X509_SIGNATURE

CssmX509Signature is a Go-name alias for CSSM_X509_SIGNATURE.

type CssmX509SignaturePtr

type CssmX509SignaturePtr = CSSM_X509_SIGNATURE_PTR

CssmX509SignaturePtr is a Go-name alias for CSSM_X509_SIGNATURE_PTR.

type CssmX509SignedCertificate

type CssmX509SignedCertificate = CSSM_X509_SIGNED_CERTIFICATE

CssmX509SignedCertificate is a Go-name alias for CSSM_X509_SIGNED_CERTIFICATE.

type CssmX509SignedCertificatePtr

type CssmX509SignedCertificatePtr = CSSM_X509_SIGNED_CERTIFICATE_PTR

CssmX509SignedCertificatePtr is a Go-name alias for CSSM_X509_SIGNED_CERTIFICATE_PTR.

type CssmX509SignedCrl

type CssmX509SignedCrl = CSSM_X509_SIGNED_CRL

CssmX509SignedCrl is a Go-name alias for CSSM_X509_SIGNED_CRL.

type CssmX509SignedCrlPtr

type CssmX509SignedCrlPtr = CSSM_X509_SIGNED_CRL_PTR

CssmX509SignedCrlPtr is a Go-name alias for CSSM_X509_SIGNED_CRL_PTR.

type CssmX509SubjectPublicKeyInfoPtr

type CssmX509SubjectPublicKeyInfoPtr = CSSM_X509_SUBJECT_PUBLIC_KEY_INFO_PTR

CssmX509SubjectPublicKeyInfoPtr is a Go-name alias for CSSM_X509_SUBJECT_PUBLIC_KEY_INFO_PTR.

type CssmX509TbsCertificate

type CssmX509TbsCertificate = CSSM_X509_TBS_CERTIFICATE

CssmX509TbsCertificate is a Go-name alias for CSSM_X509_TBS_CERTIFICATE.

type CssmX509TbsCertificatePtr

type CssmX509TbsCertificatePtr = CSSM_X509_TBS_CERTIFICATE_PTR

CssmX509TbsCertificatePtr is a Go-name alias for CSSM_X509_TBS_CERTIFICATE_PTR.

type CssmX509TbsCertlist

type CssmX509TbsCertlist = CSSM_X509_TBS_CERTLIST

CssmX509TbsCertlist is a Go-name alias for CSSM_X509_TBS_CERTLIST.

type CssmX509TbsCertlistPtr

type CssmX509TbsCertlistPtr = CSSM_X509_TBS_CERTLIST_PTR

CssmX509TbsCertlistPtr is a Go-name alias for CSSM_X509_TBS_CERTLIST_PTR.

type CssmX509Time

type CssmX509Time = CSSM_X509_TIME

CssmX509Time is a Go-name alias for CSSM_X509_TIME.

type CssmX509TimePtr

type CssmX509TimePtr = CSSM_X509_TIME_PTR

CssmX509TimePtr is a Go-name alias for CSSM_X509_TIME_PTR.

type CssmX509TypeValuePair

type CssmX509TypeValuePair = CSSM_X509_TYPE_VALUE_PAIR

CssmX509TypeValuePair is a Go-name alias for CSSM_X509_TYPE_VALUE_PAIR.

type CssmX509TypeValuePairPtr

type CssmX509TypeValuePairPtr = CSSM_X509_TYPE_VALUE_PAIR_PTR

CssmX509TypeValuePairPtr is a Go-name alias for CSSM_X509_TYPE_VALUE_PAIR_PTR.

type CssmX509Validity

type CssmX509Validity = CSSM_X509_VALIDITY

CssmX509Validity is a Go-name alias for CSSM_X509_VALIDITY.

type CssmX509ValidityPtr

type CssmX509ValidityPtr = CSSM_X509_VALIDITY_PTR

CssmX509ValidityPtr is a Go-name alias for CSSM_X509_VALIDITY_PTR.

type CssmX509extBasicconstraints

type CssmX509extBasicconstraints = CSSM_X509EXT_BASICCONSTRAINTS

CssmX509extBasicconstraints is a Go-name alias for CSSM_X509EXT_BASICCONSTRAINTS.

type CssmX509extBasicconstraintsPtr

type CssmX509extBasicconstraintsPtr = CSSM_X509EXT_BASICCONSTRAINTS_PTR

CssmX509extBasicconstraintsPtr is a Go-name alias for CSSM_X509EXT_BASICCONSTRAINTS_PTR.

type CssmX509extDataFormat added in v0.6.4

type CssmX509extDataFormat = CSSM_X509EXT_DATA_FORMAT

CssmX509extDataFormat is a Go-name alias for CSSM_X509EXT_DATA_FORMAT.

type CssmX509extPair

type CssmX509extPair = CSSM_X509EXT_PAIR

CssmX509extPair is a Go-name alias for CSSM_X509EXT_PAIR.

type CssmX509extPairPtr

type CssmX509extPairPtr = CSSM_X509EXT_PAIR_PTR

CssmX509extPairPtr is a Go-name alias for CSSM_X509EXT_PAIR_PTR.

type CssmX509extPolicyinfo

type CssmX509extPolicyinfo = CSSM_X509EXT_POLICYINFO

CssmX509extPolicyinfo is a Go-name alias for CSSM_X509EXT_POLICYINFO.

type CssmX509extPolicyinfoPtr

type CssmX509extPolicyinfoPtr = CSSM_X509EXT_POLICYINFO_PTR

CssmX509extPolicyinfoPtr is a Go-name alias for CSSM_X509EXT_POLICYINFO_PTR.

type CssmX509extPolicyqualifierinfo

type CssmX509extPolicyqualifierinfo = CSSM_X509EXT_POLICYQUALIFIERINFO

CssmX509extPolicyqualifierinfo is a Go-name alias for CSSM_X509EXT_POLICYQUALIFIERINFO.

type CssmX509extPolicyqualifierinfoPtr

type CssmX509extPolicyqualifierinfoPtr = CSSM_X509EXT_POLICYQUALIFIERINFO_PTR

CssmX509extPolicyqualifierinfoPtr is a Go-name alias for CSSM_X509EXT_POLICYQUALIFIERINFO_PTR.

type CssmX509extPolicyqualifiers

type CssmX509extPolicyqualifiers = CSSM_X509EXT_POLICYQUALIFIERS

CssmX509extPolicyqualifiers is a Go-name alias for CSSM_X509EXT_POLICYQUALIFIERS.

type CssmX509extPolicyqualifiersPtr

type CssmX509extPolicyqualifiersPtr = CSSM_X509EXT_POLICYQUALIFIERS_PTR

CssmX509extPolicyqualifiersPtr is a Go-name alias for CSSM_X509EXT_POLICYQUALIFIERS_PTR.

type CssmX509extTAGandVALUE

type CssmX509extTAGandVALUE = CSSM_X509EXT_TAGandVALUE

CssmX509extTAGandVALUE is a Go-name alias for CSSM_X509EXT_TAGandVALUE.

type CssmX509extTAGandVALUEPtr

type CssmX509extTAGandVALUEPtr = CSSM_X509EXT_TAGandVALUE_PTR

CssmX509extTAGandVALUEPtr is a Go-name alias for CSSM_X509EXT_TAGandVALUE_PTR.

type Cssm_access_credentials

type Cssm_access_credentials struct {
	EntryTag  CSSM_STRING
	BaseCerts CSSM_BASE_CERTS
	Samples   CSSM_SAMPLEGROUP
	// C: CSSM_CHALLENGE_CALLBACK (int (*)(const struct cssm_list *, struct cssm_samplegroup *, void *, const struct cssm_memory_funcs *))
	Callback  uintptr
	CallerCtx 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
	OldEntryHandle CSSM_ACL_HANDLE
	NewEntry       unsafe.Pointer
}

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 {
	EntryPublicInfo CSSM_ACL_ENTRY_PROTOTYPE
	EntryHandle     CSSM_ACL_HANDLE
}

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 {
	Prototype CSSM_ACL_ENTRY_PROTOTYPE
	// C: CSSM_ACL_SUBJECT_CALLBACK (int (*)(const struct cssm_list *, struct cssm_list *, void *, const struct cssm_memory_funcs *))
	Callback      uintptr
	CallerContext 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 {
	TypedSubject  CSSM_LIST
	Delegate      CSSM_BOOL
	Authorization CSSM_AUTHORIZATIONGROUP
	TimeRange     CSSM_ACL_VALIDITY_PERIOD
	EntryTag      CSSM_STRING
}

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

type Cssm_acl_keychain_prompt_selector struct {
	Version uint16
	Flags   uint16
}

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

type Cssm_acl_owner_prototype struct {
	TypedSubject CSSM_LIST
	Delegate     CSSM_BOOL
}

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

type Cssm_acl_process_subject_selector struct {
	Version uint16
	Mask    uint16
	Uid     uint32
	Gid     uint32
}

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

type Cssm_acl_validity_period struct {
	StartDate SecAsn1Item
	EndDate   SecAsn1Item
}

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

type Cssm_applecspdl_db_change_password_parameters struct {
	AccessCredentials unsafe.Pointer
}

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

type Cssm_applecspdl_db_settings_parameters struct {
	IdleTimeout uint32
	LockOnSleep uint8
}

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 uint32

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

type Cssm_authorizationgroup

type Cssm_authorizationgroup struct {
	NumberOfAuthTags uint32
	AuthTags         unsafe.Pointer
}

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 {
	TPHandle CSSM_TP_HANDLE
	CLHandle CSSM_CL_HANDLE
	Certs    CSSM_CERTGROUP
}

Cssm_base_certs

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_base_certs-c.struct

type Cssm_cert_bundle

type Cssm_cert_bundle struct {
	BundleHeader CSSM_CERT_BUNDLE_HEADER
	Bundle       SecAsn1Item
}

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 {
	BundleType     CSSM_CERT_BUNDLE_TYPE
	BundleEncoding CSSM_CERT_BUNDLE_ENCODING
}

Cssm_cert_bundle_header

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_cert_bundle_header-c.struct

type Cssm_cert_pair

type Cssm_cert_pair struct {
	EncodedCert CSSM_ENCODED_CERT
	ParsedCert  CSSM_PARSED_CERT
}

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
	PairCertList    CSSM_CERT_PAIR_PTR
	CertList        CSSM_DATA_PTR
	EncodedCertList CSSM_ENCODED_CERT_PTR
	ParsedCertList  CSSM_PARSED_CERT_PTR
}

Cssm_certgroup

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_certgroup-c.struct

type Cssm_context

type Cssm_context struct {
	ContextType          CSSM_CONTEXT_TYPE
	AlgorithmType        CSSM_ALGORITHMS
	NumberOfAttributes   uint32
	ContextAttributes    CSSM_CONTEXT_ATTRIBUTE_PTR
	CSPHandle            CSSM_CSP_HANDLE
	Privileged           CSSM_BOOL
	EncryptionProhibited uint32
	WorkFactor           uint32
	Reserved             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 {
	AttributeType   CSSM_ATTRIBUTE_TYPE
	AttributeLength uint32
	Attribute       unsafe.Pointer
}

Cssm_context_attribute

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_context_attribute-c.struct

type Cssm_crl_pair

type Cssm_crl_pair struct {
	EncodedCrl CSSM_ENCODED_CRL
	ParsedCrl  CSSM_PARSED_CRL
}

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
	CrlList        CSSM_DATA_PTR
	EncodedCrlList CSSM_ENCODED_CRL_PTR
	PairCrlList    CSSM_CRL_PAIR_PTR
	ParsedCrlList  CSSM_PARSED_CRL_PTR
}

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 {
	Param SecAsn1Item
	// C: CSSM_CALLBACK (int (*)(struct cssm_data *, void *))
	Callback  uintptr
	CallerCtx 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

type Cssm_data struct {
	Length uintptr
	Data   *uint8
}

Cssm_data

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_data-swift.struct

type Cssm_date

type Cssm_date struct {
	Year  [4]uint8
	Month [2]uint8
	Day   [2]uint8
}

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           CSSM_DB_ATTRIBUTE_INFO
	NumberOfValues uint32
	Value          CSSM_DATA_PTR
}

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 {
	AttributeNameFormat CSSM_DB_ATTRIBUTE_NAME_FORMAT
	Label               unsafe.Pointer
	AttributeFormat     CSSM_DB_ATTRIBUTE_FORMAT
}

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                CSSM_DB_ATTRIBUTE_INFO
}

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 {
	RecordType          CSSM_DB_RECORDTYPE
	ModuleSubserviceUid CSSM_SUBSERVICE_UID
}

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 {
	DataRecordType      CSSM_DB_RECORDTYPE
	SemanticInformation uint32
	NumberOfAttributes  uint32
	AttributeData       CSSM_DB_ATTRIBUTE_DATA_PTR
}

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 {
	DataRecordType     CSSM_DB_RECORDTYPE
	NumberOfAttributes uint32
	AttributeInfo      CSSM_DB_ATTRIBUTE_INFO_PTR
}

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
	NumberOfIndexes uint32
	IndexInfo       CSSM_DB_INDEX_INFO_PTR
}

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 [2]uint64
	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

type Cssm_db_unique_record struct {
	RecordLocator    CSSM_DB_INDEX_INFO
	RecordIdentifier SecAsn1Item
}

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 {
	NumberOfRecordTypes   uint32
	DefaultParsingModules CSSM_DB_PARSING_MODULE_INFO_PTR
	RecordAttributeNames  CSSM_DB_RECORD_ATTRIBUTE_INFO_PTR
	RecordIndexes         CSSM_DB_RECORD_INDEX_INFO_PTR
	IsLocal               CSSM_BOOL
	AccessPath            *byte
	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

type Cssm_dl_db_list struct {
	NumHandles uint32
	DLDBHandle unsafe.Pointer
}

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 {
	CertType     CSSM_CERT_TYPE
	CertEncoding CSSM_CERT_ENCODING
	CertBlob     SecAsn1Item
}

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 {
	CrlType     CSSM_CRL_TYPE
	CrlEncoding CSSM_CRL_ENCODING
	CrlBlob     SecAsn1Item
}

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 {
	EvidenceForm CSSM_EVIDENCE_FORM
	Evidence     unsafe.Pointer
}

Cssm_evidence

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_evidence-c.struct

type Cssm_field

type Cssm_field struct {
	FieldOid   [2]uint64
	FieldValue SecAsn1Item
}

Cssm_field

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_field-c.struct

type Cssm_fieldgroup

type Cssm_fieldgroup struct {
	NumberOfFields int32
	Fields         CSSM_FIELD_PTR
}

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
	// C: CSSM_PROC_ADDR (void (*)(void))
	Address uintptr
}

Cssm_func_name_addr

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_func_name_addr-swift.struct

type Cssm_guid

type Cssm_guid struct {
	Data1 uint32
	Data2 uint16
	Data3 uint16
	Data4 [8]uint8
}

Cssm_guid

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_guid-swift.struct

type Cssm_kea_derive_params

type Cssm_kea_derive_params struct {
	Rb SecAsn1Item
	Yb SecAsn1Item
}

Cssm_kea_derive_params

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kea_derive_params-c.struct

type Cssm_key

type Cssm_key struct {
	KeyHeader CSSM_KEYHEADER
	KeyData   SecAsn1Item
}

Cssm_key

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_key-c.struct

type Cssm_key_size

type Cssm_key_size struct {
	LogicalKeySizeInBits   uint32
	EffectiveKeySizeInBits uint32
}

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 {
	HeaderVersion        CSSM_HEADERVERSION
	CspId                CSSM_GUID
	BlobType             CSSM_KEYBLOB_TYPE
	Format               CSSM_KEYBLOB_FORMAT
	AlgorithmId          CSSM_ALGORITHMS
	KeyClass             CSSM_KEYCLASS
	LogicalKeySizeInBits uint32
	KeyAttr              CSSM_KEYATTR_FLAGS
	KeyUsage             CSSM_KEYUSE
	StartDate            CSSM_DATE
	EndDate              CSSM_DATE
	WrapAlgorithmId      CSSM_ALGORITHMS
	WrapMode             CSSM_ENCRYPT_MODE
	Reserved             uint32
}

Cssm_keyheader

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_keyheader-c.struct

type Cssm_kr_name

type Cssm_kr_name struct {
	Type   uint8
	Length uint8
	Name   *byte
}

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 {
	Next         unsafe.Pointer
	AlgorithmId  CSSM_ALGORITHMS
	Mode         CSSM_ENCRYPT_MODE
	MaxKeyLength uint32
	MaxRounds    uint32
	WorkFactor   uint8
	PolicyFlags  CSSM_KR_POLICY_FLAGS
	AlgClass     CSSM_CONTEXT_TYPE
}

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 {
	UserName                 CSSM_KR_NAME
	UserCertificate          CSSM_CERTGROUP_PTR
	KRSCertChain             CSSM_CERTGROUP_PTR
	LE_KRANum                uint8
	LE_KRACertChainList      CSSM_CERTGROUP_PTR
	ENT_KRANum               uint8
	ENT_KRACertChainList     CSSM_CERTGROUP_PTR
	INDIV_KRANum             uint8
	INDIV_KRACertChainList   CSSM_CERTGROUP_PTR
	INDIV_AuthenticationInfo CSSM_DATA_PTR
	KRSPFlags                uint32
	KRSPExtensions           CSSM_DATA_PTR
}

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 {
	StandardVersion     CSSM_VERSION
	StandardDescription CSSM_STRING
	ProductVersion      CSSM_VERSION
	ProductDescription  CSSM_STRING
	ProductVendor       CSSM_STRING
	ProductFlags        uint32
}

Cssm_kr_wrappedproductinfo

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_kr_wrappedproductinfo

type Cssm_krsubservice

type Cssm_krsubservice struct {
	SubServiceId   uint32
	Description    *byte
	WrappedProduct CSSM_KR_WRAPPEDPRODUCT_INFO
}

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
	Sublist     CSSM_LIST
	Word        SecAsn1Item
}

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
	SourceModuleManagerType      CSSM_SERVICE_MASK
	Event                        CSSM_MANAGER_EVENT_TYPES
	EventId                      uint32
	EventData                    SecAsn1Item
}

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 {
	// C: int (*)(unsigned int, unsigned int)
	Initialize uintptr
	// C: int (*)(void)
	Terminate uintptr
	// C: int (*)(struct cssm_state_funcs *)
	RegisterDispatchTable uintptr
	// C: int (*)(void)
	DeregisterDispatchTable uintptr
	// C: int (*)(const struct cssm_manager_event_notification *)
	EventNotifyManager uintptr
	// C: int (*)(struct cssm_func_name_addr *, unsigned int)
	RefreshFunctionTable uintptr
}

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 {
	// C: CSSM_MALLOC (void *(*)(unsigned long, void *))
	Malloc_func uintptr
	// C: CSSM_FREE (void (*)(void *, void *))
	Free_func uintptr
	// C: CSSM_REALLOC (void *(*)(void *, unsigned long, void *))
	Realloc_func uintptr
	// C: CSSM_CALLOC (void *(*)(unsigned int, unsigned long, void *))
	Calloc_func uintptr
	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 {
	ServiceType          CSSM_SERVICE_TYPE
	NumberOfServiceFuncs uint32
	ServiceFuncs         unsafe.Pointer
}

Cssm_module_funcs

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_module_funcs-c.struct

type Cssm_name_list

type Cssm_name_list struct {
	NumStrings uint32
	String     **byte
}

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 {
	AddressType CSSM_NET_ADDRESS_TYPE
	Address     SecAsn1Item
}

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    SecAsn1Item
	MGF           CSSM_PKCS_OAEP_MGF
	MGFParams     SecAsn1Item
	PSource       CSSM_PKCS_OAEP_PSOURCE
	PSourceParams SecAsn1Item
}

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

type Cssm_pkcs5_pbkdf1_params struct {
	Passphrase SecAsn1Item
	InitVector SecAsn1Item
}

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           SecAsn1Item
	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 {
	RecordType             CSSM_DB_RECORDTYPE
	Conjunctive            CSSM_DB_CONJUNCTIVE
	NumSelectionPredicates uint32
	SelectionPredicate     CSSM_SELECTION_PREDICATE_PTR
	QueryLimits            CSSM_QUERY_LIMITS
	QueryFlags             CSSM_QUERY_FLAGS
}

Cssm_query

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_query-c.struct

type Cssm_query_limits

type Cssm_query_limits struct {
	TimeLimit uint32
	SizeLimit uint32
}

Cssm_query_limits

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_query_limits-c.struct

type Cssm_query_size_data

type Cssm_query_size_data struct {
	SizeInputBlock  uint32
	SizeOutputBlock uint32
}

Cssm_query_size_data

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_query_size_data-swift.struct

type Cssm_range

type Cssm_range struct {
	Min uint32
	Max uint32
}

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      CSSM_ACCESS_CREDENTIALS_PTR
	InitialAclEntry CSSM_ACL_ENTRY_INPUT
}

Cssm_resource_control_context

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_resource_control_context-c.struct

type Cssm_sample

type Cssm_sample struct {
	TypedSample CSSM_LIST
	Verifier    unsafe.Pointer
}

Cssm_sample

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_sample-c.struct

type Cssm_samplegroup

type Cssm_samplegroup struct {
	NumberOfSamples uint32
	Samples         unsafe.Pointer
}

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 {
	DbOperator CSSM_DB_OPERATOR
	Attribute  CSSM_DB_ATTRIBUTE_DATA
}

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 {
	// C: int (*)(long, const struct cssm_tuplegroup *, const struct cssm_tuplegroup *, unsigned int, const struct cssm_list *, const struct cssm_list *, const struct cssm_list *, struct cssm_tuplegroup *)
	AuthCompute uintptr
	// C: int (*)(long, long, long, unsigned long long, const struct cssm_dl_db_list *, unsigned int, const void *, void **)
	PassThrough uintptr
}

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 {
	// C: int (*)(long, unsigned int, const struct cssm_field *, struct cssm_data *)
	CertCreateTemplate uintptr
	// C: int (*)(long, const struct cssm_data *, unsigned int *, struct cssm_field **)
	CertGetAllTemplateFields uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, const struct cssm_field *, unsigned int, struct cssm_data *)
	CertSign uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, const struct cssm_data *, const struct cssm_field *, unsigned int)
	CertVerify uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *)
	CertVerifyWithKey uintptr
	// C: int (*)(long, const struct cssm_data *, const struct cssm_data *, long *, unsigned int *, struct cssm_data **)
	CertGetFirstFieldValue uintptr
	// C: int (*)(long, long, struct cssm_data **)
	CertGetNextFieldValue uintptr
	// C: int (*)(long, long)
	CertAbortQuery uintptr
	// C: int (*)(long, const struct cssm_data *, struct cssm_key **)
	CertGetKeyInfo uintptr
	// C: int (*)(long, const struct cssm_data *, unsigned int *, struct cssm_field **)
	CertGetAllFields uintptr
	// C: int (*)(long, unsigned int, struct cssm_field **)
	FreeFields uintptr
	// C: int (*)(long, const struct cssm_data *, struct cssm_data *)
	FreeFieldValue uintptr
	// C: int (*)(long, const struct cssm_data *, long *)
	CertCache uintptr
	// C: int (*)(long, long, const struct cssm_data *, long *, unsigned int *, struct cssm_data **)
	CertGetFirstCachedFieldValue uintptr
	// C: int (*)(long, long, struct cssm_data **)
	CertGetNextCachedFieldValue uintptr
	// C: int (*)(long, long)
	CertAbortCache uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_certgroup *, const struct cssm_cert_bundle_header *, struct cssm_data *)
	CertGroupToSignedBundle uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_cert_bundle *, const struct cssm_data *, struct cssm_certgroup **)
	CertGroupFromVerifiedBundle uintptr
	// C: int (*)(long, unsigned int *, struct cssm_data **)
	CertDescribeFormat uintptr
	// C: int (*)(long, unsigned int, const struct cssm_field *, struct cssm_data *)
	CrlCreateTemplate uintptr
	// C: int (*)(long, unsigned int, const struct cssm_field *, const struct cssm_data *, struct cssm_data *)
	CrlSetFields uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int, const struct cssm_field *, const struct cssm_data *, struct cssm_data *)
	CrlAddCert uintptr
	// C: int (*)(long, const struct cssm_data *, const struct cssm_data *, struct cssm_data *)
	CrlRemoveCert uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, const struct cssm_field *, unsigned int, struct cssm_data *)
	CrlSign uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, const struct cssm_data *, const struct cssm_field *, unsigned int)
	CrlVerify uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *)
	CrlVerifyWithKey uintptr
	// C: int (*)(long, const struct cssm_data *, const struct cssm_data *, int *)
	IsCertInCrl uintptr
	// C: int (*)(long, const struct cssm_data *, const struct cssm_data *, long *, unsigned int *, struct cssm_data **)
	CrlGetFirstFieldValue uintptr
	// C: int (*)(long, long, struct cssm_data **)
	CrlGetNextFieldValue uintptr
	// C: int (*)(long, long)
	CrlAbortQuery uintptr
	// C: int (*)(long, const struct cssm_data *, unsigned int *, struct cssm_field **)
	CrlGetAllFields uintptr
	// C: int (*)(long, const struct cssm_data *, long *)
	CrlCache uintptr
	// C: int (*)(long, const struct cssm_data *, long, int *, struct cssm_data *)
	IsCertInCachedCrl uintptr
	// C: int (*)(long, long, const struct cssm_data *, const struct cssm_data *, long *, unsigned int *, struct cssm_data **)
	CrlGetFirstCachedFieldValue uintptr
	// C: int (*)(long, long, struct cssm_data **)
	CrlGetNextCachedFieldValue uintptr
	// C: int (*)(long, long, const struct cssm_data *, unsigned int *, struct cssm_field **)
	CrlGetAllCachedRecordFields uintptr
	// C: int (*)(long, long)
	CrlAbortCache uintptr
	// C: int (*)(long, unsigned int *, struct cssm_data **)
	CrlDescribeFormat uintptr
	// C: int (*)(long, unsigned long long, unsigned int, const void *, void **)
	PassThrough uintptr
}

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 {
	// C: int (*)(long, const struct cssm_access_credentials *, const struct cssm_acl_edit *, const struct cssm_key *)
	ChangeKeyAcl uintptr
	// C: int (*)(long, const struct cssm_access_credentials *, const struct cssm_key *, const struct cssm_acl_owner_prototype *)
	ChangeKeyOwner uintptr
	// C: int (*)(long, const struct cssm_access_credentials *, const struct cssm_acl_edit *)
	ChangeLoginAcl uintptr
	// C: int (*)(long, const struct cssm_access_credentials *, const struct cssm_acl_owner_prototype *)
	ChangeLoginOwner uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, struct cssm_data *, unsigned int, unsigned long *, struct cssm_data *, unsigned long long)
	DecryptData uintptr
	// C: int (*)(long, unsigned long long, struct cssm_data *)
	DecryptDataFinal uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, unsigned long long)
	DecryptDataInit uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int, struct cssm_data *, unsigned int, unsigned long *)
	DecryptDataUpdate uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, struct cssm_data *, unsigned int, unsigned int, const struct cssm_data *, const struct cssm_resource_control_context *, struct cssm_key *)
	DeriveKey uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, struct cssm_data *)
	DigestData uintptr
	// C: int (*)(long, unsigned long long, unsigned long long)
	DigestDataClone uintptr
	// C: int (*)(long, unsigned long long, struct cssm_data *)
	DigestDataFinal uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *)
	DigestDataInit uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int)
	DigestDataUpdate uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, struct cssm_data *, unsigned int, unsigned long *, struct cssm_data *, unsigned long long)
	EncryptData uintptr
	// C: int (*)(long, unsigned long long, struct cssm_data *)
	EncryptDataFinal uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, unsigned long long)
	EncryptDataInit uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int, struct cssm_data *, unsigned int, unsigned long *)
	EncryptDataUpdate uintptr
	// C: int (*)(long, unsigned int, unsigned long long, const struct cssm_context *)
	EventNotify uintptr
	// C: int (*)(long, const struct cssm_access_credentials *, struct cssm_key *, int)
	FreeKey uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, unsigned int, struct cssm_data *, unsigned int *, struct cssm_context_attribute **)
	GenerateAlgorithmParams uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, unsigned int, unsigned int, const struct cssm_data *, const struct cssm_resource_control_context *, struct cssm_key *, unsigned long long)
	GenerateKey uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, unsigned int, unsigned int, const struct cssm_data *, struct cssm_key *, unsigned int, unsigned int, const struct cssm_data *, const struct cssm_resource_control_context *, struct cssm_key *, unsigned long long)
	GenerateKeyPair uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, struct cssm_data *)
	GenerateMac uintptr
	// C: int (*)(long, unsigned long long, struct cssm_data *)
	GenerateMacFinal uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *)
	GenerateMacInit uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int)
	GenerateMacUpdate uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, struct cssm_data *)
	GenerateRandom uintptr
	// C: int (*)(long, const struct cssm_key *, struct cssm_acl_owner_prototype *)
	GetKeyOwner uintptr
	// C: int (*)(long, struct cssm_acl_owner_prototype *)
	GetLoginOwner uintptr
	// C: int (*)(long, struct cssm_csp_operational_statistics *)
	GetOperationalStatistics uintptr
	// C: int (*)(long, unsigned int, struct cssm_data *)
	GetTimeValue uintptr
	// C: int (*)(long, const struct cssm_access_credentials *, const struct cssm_data *, const void *)
	Login uintptr
	// C: int (*)(long)
	Logout uintptr
	// C: int (*)(long, const struct cssm_key *, struct cssm_key *)
	ObtainPrivateKeyFromPublicKey uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, unsigned int, const void *, void **)
	PassThrough uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_key *, struct cssm_key_size *)
	QueryKeySizeInBits uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, int, unsigned int, struct cssm_query_size_data *)
	QuerySize uintptr
	// C: int (*)(long, struct cssm_data *)
	RetrieveCounter uintptr
	// C: int (*)(long, struct cssm_data *)
	RetrieveUniqueId uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, unsigned int, struct cssm_data *)
	SignData uintptr
	// C: int (*)(long, unsigned long long, struct cssm_data *)
	SignDataFinal uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *)
	SignDataInit uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int)
	SignDataUpdate uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_key *, const struct cssm_key *, unsigned int, unsigned int, const struct cssm_data *, const struct cssm_resource_control_context *, struct cssm_key *, struct cssm_data *, unsigned long long)
	UnwrapKey uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, unsigned int, const struct cssm_data *)
	VerifyData uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *)
	VerifyDataFinal uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *)
	VerifyDataInit uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int)
	VerifyDataUpdate uintptr
	// C: int (*)(long, const struct cssm_data *)
	VerifyDevice uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, const struct cssm_data *)
	VerifyMac uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *)
	VerifyMacFinal uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *)
	VerifyMacInit uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_data *, unsigned int)
	VerifyMacUpdate uintptr
	// C: int (*)(long, unsigned long long, const struct cssm_context *, const struct cssm_access_credentials *, const struct cssm_key *, const struct cssm_data *, struct cssm_key *, unsigned long long)
	WrapKey uintptr
}

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 {
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, const struct cssm_access_credentials *)
	Authenticate uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_access_credentials *, const struct cssm_acl_edit *)
	ChangeDbAcl uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_access_credentials *, const struct cssm_acl_owner_prototype *)
	ChangeDbOwner uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, const char *, unsigned int, const struct cssm_db_schema_attribute_info *, unsigned int, const struct cssm_db_schema_index_info *)
	CreateRelation uintptr
	// C: int (*)(struct cssm_dl_db_handle, long)
	DataAbortQuery uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_db_unique_record *)
	DataDelete uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_query *, long *, struct cssm_db_record_attribute_data *, struct cssm_data *, struct cssm_db_unique_record **)
	DataGetFirst uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_db_unique_record *, struct cssm_db_record_attribute_data *, struct cssm_data *)
	DataGetFromUniqueRecordId uintptr
	// C: int (*)(struct cssm_dl_db_handle, long, struct cssm_db_record_attribute_data *, struct cssm_data *, struct cssm_db_unique_record **)
	DataGetNext uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, const struct cssm_db_record_attribute_data *, const struct cssm_data *, struct cssm_db_unique_record **)
	DataInsert uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, struct cssm_db_unique_record *, const struct cssm_db_record_attribute_data *, const struct cssm_data *, unsigned int)
	DataModify uintptr
	// C: int (*)(struct cssm_dl_db_handle)
	DbClose uintptr
	// C: int (*)(long, const char *, const struct cssm_net_address *, const struct cssm_dbinfo *, unsigned int, const struct cssm_resource_control_context *, const void *, long *)
	DbCreate uintptr
	// C: int (*)(long, const char *, const struct cssm_net_address *, const struct cssm_access_credentials *)
	DbDelete uintptr
	// C: int (*)(long, const char *, const struct cssm_net_address *, unsigned int, const struct cssm_access_credentials *, const void *, long *)
	DbOpen uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int)
	DestroyRelation uintptr
	// C: int (*)(long, struct cssm_name_list *)
	FreeNameList uintptr
	// C: int (*)(struct cssm_dl_db_handle, struct cssm_db_unique_record *)
	FreeUniqueRecord uintptr
	// C: int (*)(struct cssm_dl_db_handle, char **)
	GetDbNameFromHandle uintptr
	// C: int (*)(long, struct cssm_name_list **)
	GetDbNames uintptr
	// C: int (*)(struct cssm_dl_db_handle, struct cssm_acl_owner_prototype *)
	GetDbOwner uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, const void *, void **)
	PassThrough uintptr
}

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 {
	// C: int (*)(unsigned int, unsigned long long, const struct cssm_context *, const struct cssm_data *, const struct cssm_access_credentials *, unsigned int, int *, long *)
	RegistrationRequest uintptr
	// C: int (*)(unsigned int, long, int *, struct cssm_kr_profile *)
	RegistrationRetrieve uintptr
	// C: int (*)(unsigned int, unsigned long long, const struct cssm_context *, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, struct cssm_data *)
	GenerateRecoveryFields uintptr
	// C: int (*)(unsigned int, unsigned long long, const struct cssm_context *, unsigned long long, const struct cssm_context *, const struct cssm_data *, unsigned int, const struct cssm_data *)
	ProcessRecoveryFields uintptr
	// C: int (*)(unsigned int, unsigned long long, const struct cssm_context *, const struct cssm_data *, const struct cssm_access_credentials *, int *, long *)
	RecoveryRequest uintptr
	// C: int (*)(unsigned int, long, int *, long *, unsigned int *)
	RecoveryRetrieve uintptr
	// C: int (*)(unsigned int, long, unsigned int, long, const struct cssm_resource_control_context *, unsigned int, struct cssm_key *, struct cssm_data *)
	GetRecoveredObject uintptr
	// C: int (*)(unsigned int, long)
	RecoveryRequestAbort uintptr
	// C: int (*)(unsigned int, unsigned long long, const struct cssm_context *, unsigned long long, const struct cssm_context *, unsigned int, const void *, void **)
	PassThrough uintptr
}

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 {
	// C: int (*)(long, const struct cssm_tp_authority_id *, unsigned int, const struct cssm_tp_request_set *, const struct cssm_tp_callerauth_context *, int *, struct cssm_data *)
	SubmitCredRequest uintptr
	// C: int (*)(long, const struct cssm_data *, const struct cssm_tp_callerauth_context *, int *, int *, struct cssm_tp_result_set **)
	RetrieveCredResult uintptr
	// C: int (*)(long, const struct cssm_data *, const struct cssm_tp_callerauth_context *, const struct cssm_tp_confirm_response *, const struct cssm_tp_authority_id *)
	ConfirmCredResult uintptr
	// C: int (*)(long, const struct cssm_data *, struct cssm_tp_confirm_response **, int *)
	ReceiveConfirmation uintptr
	// C: int (*)(long, const struct cssm_certgroup *, unsigned int, unsigned long long, long, const struct cssm_resource_control_context *)
	CertReclaimKey uintptr
	// C: int (*)(long, unsigned long long)
	CertReclaimAbort uintptr
	// C: int (*)(long, const struct cssm_tp_authority_id *, unsigned int, struct cssm_data *)
	FormRequest uintptr
	// C: int (*)(long, unsigned int, const struct cssm_data *, const struct cssm_tp_authority_id *, const struct cssm_tp_authority_id *, struct cssm_access_credentials *)
	FormSubmit uintptr
	// C: int (*)(long, long, long, const struct cssm_certgroup *, const struct cssm_tp_verify_context *, struct cssm_tp_verify_context_result *)
	CertGroupVerify uintptr
	// C: int (*)(long, long, unsigned int, const struct cssm_field *, struct cssm_data *)
	CertCreateTemplate uintptr
	// C: int (*)(long, long, const struct cssm_data *, unsigned int *, struct cssm_field **)
	CertGetAllTemplateFields uintptr
	// C: int (*)(long, long, unsigned long long, const struct cssm_data *, const struct cssm_certgroup *, const struct cssm_tp_verify_context *, struct cssm_tp_verify_context_result *, struct cssm_data *)
	CertSign uintptr
	// C: int (*)(long, long, long, const struct cssm_encoded_crl *, const struct cssm_certgroup *, const struct cssm_tp_verify_context *, struct cssm_tp_verify_context_result *)
	CrlVerify uintptr
	// C: int (*)(long, long, unsigned int, const struct cssm_field *, struct cssm_data *)
	CrlCreateTemplate uintptr
	// C: int (*)(long, long, long, const struct cssm_data *, const struct cssm_certgroup *, const struct cssm_certgroup *, const struct cssm_tp_verify_context *, struct cssm_tp_verify_context_result *, unsigned int, struct cssm_data *)
	CertRevoke uintptr
	// C: int (*)(long, long, long, const struct cssm_data *, const struct cssm_certgroup *, const struct cssm_certgroup *, const struct cssm_tp_verify_context *, struct cssm_tp_verify_context_result *, struct cssm_data *)
	CertRemoveFromCrlTemplate uintptr
	// C: int (*)(long, long, unsigned long long, const struct cssm_encoded_crl *, const struct cssm_certgroup *, const struct cssm_tp_verify_context *, struct cssm_tp_verify_context_result *, struct cssm_data *)
	CrlSign uintptr
	// C: int (*)(long, long, long, const struct cssm_encoded_crl *, const struct cssm_certgroup *, const struct cssm_tp_verify_context *, struct cssm_tp_verify_context_result *)
	ApplyCrlToDb uintptr
	// C: int (*)(long, long, long, const struct cssm_dl_db_list *, const void *, const struct cssm_certgroup *, struct cssm_certgroup **)
	CertGroupConstruct uintptr
	// C: int (*)(long, long, const struct cssm_dl_db_list *, const struct cssm_certgroup *, struct cssm_certgroup **)
	CertGroupPrune uintptr
	// C: int (*)(long, long, const struct cssm_certgroup *, struct cssm_tuplegroup **)
	CertGroupToTupleGroup uintptr
	// C: int (*)(long, long, const struct cssm_tuplegroup *, struct cssm_certgroup **)
	TupleGroupToCertGroup uintptr
	// C: int (*)(long, long, unsigned long long, const struct cssm_dl_db_list *, unsigned int, const void *, void **)
	PassThrough uintptr
}

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 {
	// C: int (*)(long, unsigned int, void **, struct cssm_guid *, int *)
	Cssm_GetAttachFunctions uintptr
	// C: int (*)(long)
	Cssm_ReleaseAttachFunctions uintptr
	// C: int (*)(long, struct cssm_upcalls *)
	Cssm_GetAppMemoryFunctions uintptr
	// C: int (*)(long, void (*)(void), void (*)(void), unsigned long long, unsigned long long *, unsigned int, int *)
	Cssm_IsFuncCallValid uintptr
	// C: int (*)(const struct cssm_guid *)
	Cssm_DeregisterManagerServices uintptr
	// C: int (*)(const struct cssm_manager_event_notification *)
	Cssm_DeliverModuleManagerEvent uintptr
}

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           CSSM_GUID
	Version        CSSM_VERSION
	SubserviceId   uint32
	SubserviceType CSSM_SERVICE_TYPE
}

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 {
	AuthorityCert     unsafe.Pointer
	AuthorityLocation CSSM_NET_ADDRESS_PTR
}

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 {
	Policy              CSSM_TP_POLICYINFO
	VerifyTime          CSSM_TIMESTRING
	VerificationAbortOn CSSM_TP_STOP_ON
	// C: CSSM_TP_VERIFICATION_RESULTS_CALLBACK (int (*)(long, void *, struct cssm_data *))
	CallbackWithVerifiedCert uintptr
	NumberOfAnchorCerts      uint32
	AnchorCerts              CSSM_DATA_PTR
	DBList                   CSSM_DL_DB_LIST_PTR
	CallerCredentials        CSSM_ACCESS_CREDENTIALS_PTR
}

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
	Reason            CSSM_TP_CERTCHANGE_REASON
	CLHandle          CSSM_CL_HANDLE
	Cert              CSSM_DATA_PTR
	ChangeInfo        CSSM_FIELD_PTR
	StartTime         CSSM_TIMESTRING
	CallerCredentials CSSM_ACCESS_CREDENTIALS_PTR
}

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   CSSM_FIELD
}

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 {
	CSPSubserviceUid        CSSM_SUBSERVICE_UID
	CLHandle                CSSM_CL_HANDLE
	NumberOfTemplateFields  uint32
	SubjectCertFields       CSSM_FIELD_PTR
	MoreServiceRequests     CSSM_TP_SERVICES
	NumberOfServiceControls uint32
	ServiceControls         CSSM_FIELD_PTR
	UserCredentials         CSSM_ACCESS_CREDENTIALS_PTR
}

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 {
	IssueStatus              CSSM_TP_CERTISSUE_STATUS
	CertGroup                CSSM_CERTGROUP_PTR
	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
	NumberOfFields          uint32
	MoreFields              CSSM_FIELD_PTR
	SignScope               CSSM_FIELD_PTR
	ScopeSize               uint32
	MoreServiceRequests     CSSM_TP_SERVICES
	NumberOfServiceControls uint32
	ServiceControls         CSSM_FIELD_PTR
	UserCredentials         CSSM_ACCESS_CREDENTIALS_PTR
}

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       CSSM_CERTGROUP_PTR
	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         CSSM_FIELD_PTR
	UserCredentials         CSSM_ACCESS_CREDENTIALS_PTR
}

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 {
	ReclaimStatus      CSSM_TP_CERTRECLAIM_STATUS
	ReclaimedCertGroup CSSM_CERTGROUP_PTR
	KeyCacheHandle     CSSM_LONG_HANDLE
}

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          CSSM_DATA_PTR
	VerifyContext CSSM_TP_VERIFY_CONTEXT_PTR
}

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 {
	VerifyStatus     CSSM_TP_CERTVERIFY_STATUS
	NumberOfEvidence uint32
	Evidence         CSSM_EVIDENCE_PTR
}

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
	CrlIdentifier     uint32
	CrlThisTime       CSSM_TIMESTRING
	PolicyIdentifier  CSSM_FIELD_PTR
	CallerCredentials CSSM_ACCESS_CREDENTIALS_PTR
}

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 {
	IssueStatus CSSM_TP_CRLISSUE_STATUS
	Crl         CSSM_ENCODED_CRL_PTR
	CrlNextTime CSSM_TIMESTRING
}

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
	PolicyIds         CSSM_FIELD_PTR
	PolicyControl     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

type Cssm_tp_request_set struct {
	NumberOfRequests uint32
	Requests         unsafe.Pointer
}

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

type Cssm_tp_result_set struct {
	NumberOfResults uint32
	Results         unsafe.Pointer
}

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 SecAsn1Item
	Crls       CSSM_CRLGROUP
	Cred       CSSM_TP_CALLERAUTH_CONTEXT_PTR
}

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

type Cssm_tp_verify_context_result struct {
	NumberOfEvidences uint32
	Evidence          CSSM_EVIDENCE_PTR
}

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

type Cssm_tuplegroup struct {
	NumberOfTuples uint32
	Tuples         CSSM_TUPLE_PTR
}

Cssm_tuplegroup

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_tuplegroup-c.struct

type Cssm_upcalls

type Cssm_upcalls struct {
	// C: CSSM_UPCALLS_MALLOC (void *(*)(long, unsigned long))
	Malloc_func uintptr
	// C: CSSM_UPCALLS_FREE (void (*)(long, void *))
	Free_func uintptr
	// C: CSSM_UPCALLS_REALLOC (void *(*)(long, void *, unsigned long))
	Realloc_func uintptr
	// C: CSSM_UPCALLS_CALLOC (void *(*)(long, unsigned long, unsigned long))
	Calloc_func uintptr
	// C: int (*)(unsigned long long, long *)
	CcToHandle_func uintptr
	// C: int (*)(long, struct cssm_guid *, struct cssm_version *, unsigned int *, unsigned int *, unsigned int *, unsigned int *, struct cssm_memory_funcs *, struct cssm_func_name_addr *, unsigned int)
	GetModuleInfo_func uintptr
}

Cssm_upcalls

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_upcalls-c.struct

type Cssm_version

type Cssm_version struct {
	Major uint32
	Minor uint32
}

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 {
	ExtnId   [2]uint64
	Critical CSSM_BOOL
	Format   CSSM_X509EXT_DATA_FORMAT
	Value    unsafe.Pointer
	BERvalue SecAsn1Item
}

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 SecAsn1Item
}

Cssm_x509_extensionTagAndValue

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_extensionTagAndValue

type Cssm_x509_extensions

type Cssm_x509_extensions struct {
	NumberOfExtensions uint32
	Extensions         CSSM_X509_EXTENSION_PTR
}

Cssm_x509_extensions

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_extensions-c.struct

type Cssm_x509_name

type Cssm_x509_name struct {
	NumberOfRDNs              uint32
	RelativeDistinguishedName CSSM_X509_RDN_PTR
}

Cssm_x509_name

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_name-c.struct

type Cssm_x509_rdn

type Cssm_x509_rdn struct {
	NumberOfPairs         uint32
	AttributeTypeAndValue CSSM_X509_TYPE_VALUE_PAIR_PTR
}

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 SecAsn1Item
	RevocationDate          CSSM_X509_TIME
	Extensions              CSSM_X509_EXTENSIONS
}

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           CSSM_X509_REVOKED_CERT_ENTRY_PTR
}

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           SecAsn1Item
}

Cssm_x509_signature

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509_signature-c.struct

type Cssm_x509_signed_certificate

type Cssm_x509_signed_certificate struct {
	Certificate CSSM_X509_TBS_CERTIFICATE
	Signature   CSSM_X509_SIGNATURE
}

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

type Cssm_x509_signed_crl struct {
	TbsCertList CSSM_X509_TBS_CERTLIST
	Signature   CSSM_X509_SIGNATURE
}

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 {
	Version                 SecAsn1Item
	SerialNumber            SecAsn1Item
	Signature               SecAsn1AlgId
	Issuer                  CSSM_X509_NAME
	Validity                CSSM_X509_VALIDITY
	Subject                 CSSM_X509_NAME
	SubjectPublicKeyInfo    SecAsn1PubKeyInfo
	IssuerUniqueIdentifier  SecAsn1Item
	SubjectUniqueIdentifier SecAsn1Item
	Extensions              CSSM_X509_EXTENSIONS
}

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 {
	Version             SecAsn1Item
	Signature           SecAsn1AlgId
	Issuer              CSSM_X509_NAME
	ThisUpdate          CSSM_X509_TIME
	NextUpdate          CSSM_X509_TIME
	RevokedCertificates CSSM_X509_REVOKED_CERT_LIST_PTR
	Extensions          CSSM_X509_EXTENSIONS
}

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 {
	TimeType CSSM_BER_TAG
	Time     SecAsn1Item
}

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      [2]uint64
	ValueType CSSM_BER_TAG
	Value     SecAsn1Item
}

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
	PathLenConstraintPresent CSSM_X509_OPTION
	PathLenConstraint        uint32
}

Cssm_x509ext_basicConstraints

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/cssm_x509ext_basicConstraints-c.struct

type Cssm_x509ext_pair

type Cssm_x509ext_pair struct {
	TagAndValue CSSM_X509EXT_TAGandVALUE
	ParsedValue unsafe.Pointer
}

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 [2]uint64
	PolicyQualifiers CSSM_X509EXT_POLICYQUALIFIERS
}

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 [2]uint64
	Value             SecAsn1Item
}

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 int32
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
)

func (Cssmerr) String

func (e Cssmerr) String() string

type CssmerrAc

type CssmerrAc int32
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
)

func (CssmerrAc) String

func (e CssmerrAc) String() string

type CssmerrAppleDotmac

type CssmerrAppleDotmac int32
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 int32
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 int32
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 int32
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
)

func (CssmerrCL) String

func (e CssmerrCL) String() string

type CssmerrCspAppleAddApplicationAclSubject added in v0.6.17

type CssmerrCspAppleAddApplicationAclSubject int32
const (
	CSSMERR_CSPDL_APPLE_DL_CONVERSION_ERROR       CssmerrCspAppleAddApplicationAclSubject = -2147415035
	CSSMERR_CSP_APPLE_ADD_APPLICATION_ACL_SUBJECT CssmerrCspAppleAddApplicationAclSubject = -2147415040
	CSSMERR_CSP_APPLE_INVALID_KEY_END_DATE        CssmerrCspAppleAddApplicationAclSubject = -2147415036
	CSSMERR_CSP_APPLE_INVALID_KEY_START_DATE      CssmerrCspAppleAddApplicationAclSubject = -2147415037
	CSSMERR_CSP_APPLE_PUBLIC_KEY_INCOMPLETE       CssmerrCspAppleAddApplicationAclSubject = -2147415039
	CSSMERR_CSP_APPLE_SIGNATURE_MISMATCH          CssmerrCspAppleAddApplicationAclSubject = -2147415038
	CSSMERR_CSP_APPLE_SSLv2_ROLLBACK              CssmerrCspAppleAddApplicationAclSubject = -2147415034
)

func (CssmerrCspAppleAddApplicationAclSubject) String added in v0.6.17

type CssmerrCspInternalError added in v0.6.17

type CssmerrCspInternalError int32
const (
	CSSMERR_CSP_FUNCTION_FAILED          CssmerrCspInternalError = -2147416054
	CSSMERR_CSP_FUNCTION_NOT_IMPLEMENTED CssmerrCspInternalError = -2147416057
	CSSMERR_CSP_INTERNAL_ERROR           CssmerrCspInternalError = -2147416063
	CSSMERR_CSP_INVALID_INPUT_POINTER    CssmerrCspInternalError = -2147416059
	CSSMERR_CSP_INVALID_OUTPUT_POINTER   CssmerrCspInternalError = -2147416058
	CSSMERR_CSP_INVALID_POINTER          CssmerrCspInternalError = -2147416060
	CSSMERR_CSP_MDS_ERROR                CssmerrCspInternalError = -2147416061
	CSSMERR_CSP_MEMORY_ERROR             CssmerrCspInternalError = -2147416062
	CSSMERR_CSP_OS_ACCESS_DENIED         CssmerrCspInternalError = -2147416055
	CSSMERR_CSP_SELF_CHECK_FAILED        CssmerrCspInternalError = -2147416056
)

func (CssmerrCspInternalError) String added in v0.6.17

func (e CssmerrCspInternalError) String() string

type CssmerrCspInvalidContextHandle added in v0.6.17

type CssmerrCspInvalidContextHandle int32
const (
	CSSMERR_CSP_INVALID_CONTEXT_HANDLE CssmerrCspInvalidContextHandle = -2147416000
	CSSMERR_CSP_INVALID_CRYPTO_DATA    CssmerrCspInvalidContextHandle = -2147415976
	CSSMERR_CSP_INVALID_DATA           CssmerrCspInvalidContextHandle = -2147415994
	CSSMERR_CSP_INVALID_PASSTHROUGH_ID CssmerrCspInvalidContextHandle = -2147415978
	CSSMERR_CSP_PRIVILEGE_NOT_GRANTED  CssmerrCspInvalidContextHandle = -2147415989
)

func (CssmerrCspInvalidContextHandle) String added in v0.6.17

type CssmerrCspOperationAuthDenied added in v0.6.17

type CssmerrCspOperationAuthDenied int32
const (
	CSSMERR_CSP_ACL_ADD_FAILED                 CssmerrCspOperationAuthDenied = -2147416010
	CSSMERR_CSP_ACL_BASE_CERTS_NOT_SUPPORTED   CssmerrCspOperationAuthDenied = -2147416025
	CSSMERR_CSP_ACL_CHALLENGE_CALLBACK_FAILED  CssmerrCspOperationAuthDenied = -2147416019
	CSSMERR_CSP_ACL_CHANGE_FAILED              CssmerrCspOperationAuthDenied = -2147416015
	CSSMERR_CSP_ACL_DELETE_FAILED              CssmerrCspOperationAuthDenied = -2147416012
	CSSMERR_CSP_ACL_ENTRY_TAG_NOT_FOUND        CssmerrCspOperationAuthDenied = -2147416017
	CSSMERR_CSP_ACL_REPLACE_FAILED             CssmerrCspOperationAuthDenied = -2147416011
	CSSMERR_CSP_ACL_SUBJECT_TYPE_NOT_SUPPORTED CssmerrCspOperationAuthDenied = -2147416021
	CSSMERR_CSP_INVALID_ACCESS_CREDENTIALS     CssmerrCspOperationAuthDenied = -2147416027
	CSSMERR_CSP_INVALID_ACL_BASE_CERTS         CssmerrCspOperationAuthDenied = -2147416026
	CSSMERR_CSP_INVALID_ACL_CHALLENGE_CALLBACK CssmerrCspOperationAuthDenied = -2147416020
	CSSMERR_CSP_INVALID_ACL_EDIT_MODE          CssmerrCspOperationAuthDenied = -2147416016
	CSSMERR_CSP_INVALID_ACL_ENTRY_TAG          CssmerrCspOperationAuthDenied = -2147416018
	CSSMERR_CSP_INVALID_ACL_SUBJECT_VALUE      CssmerrCspOperationAuthDenied = -2147416022
	CSSMERR_CSP_INVALID_NEW_ACL_ENTRY          CssmerrCspOperationAuthDenied = -2147416014
	CSSMERR_CSP_INVALID_NEW_ACL_OWNER          CssmerrCspOperationAuthDenied = -2147416013
	CSSMERR_CSP_INVALID_SAMPLE_VALUE           CssmerrCspOperationAuthDenied = -2147416024
	CSSMERR_CSP_OBJECT_ACL_NOT_SUPPORTED       CssmerrCspOperationAuthDenied = -2147416029
	CSSMERR_CSP_OBJECT_ACL_REQUIRED            CssmerrCspOperationAuthDenied = -2147416028
	CSSMERR_CSP_OBJECT_MANIP_AUTH_DENIED       CssmerrCspOperationAuthDenied = -2147416030
	CSSMERR_CSP_OBJECT_USE_AUTH_DENIED         CssmerrCspOperationAuthDenied = -2147416031
	CSSMERR_CSP_OPERATION_AUTH_DENIED          CssmerrCspOperationAuthDenied = -2147416032
	CSSMERR_CSP_SAMPLE_VALUE_NOT_SUPPORTED     CssmerrCspOperationAuthDenied = -2147416023
)

func (CssmerrCspOperationAuthDenied) String added in v0.6.17

type CssmerrCssmInternalError added in v0.6.17

type CssmerrCssmInternalError int32
const (
	CSSMERR_CSSM_FUNCTION_FAILED               CssmerrCssmInternalError = -2147418102
	CSSMERR_CSSM_FUNCTION_NOT_IMPLEMENTED      CssmerrCssmInternalError = -2147418105
	CSSMERR_CSSM_INTERNAL_ERROR                CssmerrCssmInternalError = -2147418111
	CSSMERR_CSSM_INVALID_GUID                  CssmerrCssmInternalError = -2147418100
	CSSMERR_CSSM_INVALID_INPUT_POINTER         CssmerrCssmInternalError = -2147418107
	CSSMERR_CSSM_INVALID_OUTPUT_POINTER        CssmerrCssmInternalError = -2147418106
	CSSMERR_CSSM_INVALID_POINTER               CssmerrCssmInternalError = -2147418108
	CSSMERR_CSSM_MDS_ERROR                     CssmerrCssmInternalError = -2147418109
	CSSMERR_CSSM_MEMORY_ERROR                  CssmerrCssmInternalError = -2147418110
	CSSMERR_CSSM_MODULE_MANIFEST_VERIFY_FAILED CssmerrCssmInternalError = -2147418101
	CSSMERR_CSSM_OS_ACCESS_DENIED              CssmerrCssmInternalError = -2147418103
	CSSMERR_CSSM_SELF_CHECK_FAILED             CssmerrCssmInternalError = -2147418104
)

func (CssmerrCssmInternalError) String added in v0.6.17

func (e CssmerrCssmInternalError) String() string

type CssmerrCssmInvalidAddinHandle added in v0.6.17

type CssmerrCssmInvalidAddinHandle int32
const (
	CSSMERR_CSSM_FUNCTION_INTEGRITY_FAIL CssmerrCssmInvalidAddinHandle = -2147417851
	CSSMERR_CSSM_INVALID_ADDIN_HANDLE    CssmerrCssmInvalidAddinHandle = -2147417855
	CSSMERR_CSSM_INVALID_HANDLE_USAGE    CssmerrCssmInvalidAddinHandle = -2147417853
	CSSMERR_CSSM_NOT_INITIALIZED         CssmerrCssmInvalidAddinHandle = -2147417854
	CSSMERR_CSSM_PVC_REFERENT_NOT_FOUND  CssmerrCssmInvalidAddinHandle = -2147417852
)

func (CssmerrCssmInvalidAddinHandle) String added in v0.6.17

type CssmerrCssmInvalidContextHandle added in v0.6.17

type CssmerrCssmInvalidContextHandle int32
const (
	CSSMERR_CSSM_INCOMPATIBLE_VERSION   CssmerrCssmInvalidContextHandle = -2147418047
	CSSMERR_CSSM_INVALID_CONTEXT_HANDLE CssmerrCssmInvalidContextHandle = -2147418048
	CSSMERR_CSSM_PRIVILEGE_NOT_GRANTED  CssmerrCssmInvalidContextHandle = -2147418037
)

func (CssmerrCssmInvalidContextHandle) String added in v0.6.17

type CssmerrDlInternalError added in v0.6.17

type CssmerrDlInternalError int32
const (
	CSSMERR_DL_FUNCTION_FAILED          CssmerrDlInternalError = -2147414006
	CSSMERR_DL_FUNCTION_NOT_IMPLEMENTED CssmerrDlInternalError = -2147414009
	CSSMERR_DL_INTERNAL_ERROR           CssmerrDlInternalError = -2147414015
	CSSMERR_DL_INVALID_CL_HANDLE        CssmerrDlInternalError = -2147413934
	CSSMERR_DL_INVALID_CSP_HANDLE       CssmerrDlInternalError = -2147413936
	CSSMERR_DL_INVALID_DB_LIST_POINTER  CssmerrDlInternalError = -2147413939
	CSSMERR_DL_INVALID_DL_HANDLE        CssmerrDlInternalError = -2147413935
	CSSMERR_DL_INVALID_INPUT_POINTER    CssmerrDlInternalError = -2147414011
	CSSMERR_DL_INVALID_OUTPUT_POINTER   CssmerrDlInternalError = -2147414010
	CSSMERR_DL_INVALID_POINTER          CssmerrDlInternalError = -2147414012
	CSSMERR_DL_MDS_ERROR                CssmerrDlInternalError = -2147414013
	CSSMERR_DL_MEMORY_ERROR             CssmerrDlInternalError = -2147414014
	CSSMERR_DL_OS_ACCESS_DENIED         CssmerrDlInternalError = -2147414007
	CSSMERR_DL_SELF_CHECK_FAILED        CssmerrDlInternalError = -2147414008
)

func (CssmerrDlInternalError) String added in v0.6.17

func (e CssmerrDlInternalError) String() string

type CssmerrDlInvalid

type CssmerrDlInvalid int32
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 CssmerrDlOperationAuthDenied added in v0.6.17

type CssmerrDlOperationAuthDenied int32
const (
	CSSMERR_DL_ACL_ADD_FAILED                 CssmerrDlOperationAuthDenied = -2147413962
	CSSMERR_DL_ACL_BASE_CERTS_NOT_SUPPORTED   CssmerrDlOperationAuthDenied = -2147413977
	CSSMERR_DL_ACL_CHALLENGE_CALLBACK_FAILED  CssmerrDlOperationAuthDenied = -2147413971
	CSSMERR_DL_ACL_CHANGE_FAILED              CssmerrDlOperationAuthDenied = -2147413967
	CSSMERR_DL_ACL_DELETE_FAILED              CssmerrDlOperationAuthDenied = -2147413964
	CSSMERR_DL_ACL_ENTRY_TAG_NOT_FOUND        CssmerrDlOperationAuthDenied = -2147413969
	CSSMERR_DL_ACL_REPLACE_FAILED             CssmerrDlOperationAuthDenied = -2147413963
	CSSMERR_DL_ACL_SUBJECT_TYPE_NOT_SUPPORTED CssmerrDlOperationAuthDenied = -2147413973
	CSSMERR_DL_INVALID_ACCESS_CREDENTIALS     CssmerrDlOperationAuthDenied = -2147413979
	CSSMERR_DL_INVALID_ACL_BASE_CERTS         CssmerrDlOperationAuthDenied = -2147413978
	CSSMERR_DL_INVALID_ACL_CHALLENGE_CALLBACK CssmerrDlOperationAuthDenied = -2147413972
	CSSMERR_DL_INVALID_ACL_EDIT_MODE          CssmerrDlOperationAuthDenied = -2147413968
	CSSMERR_DL_INVALID_ACL_ENTRY_TAG          CssmerrDlOperationAuthDenied = -2147413970
	CSSMERR_DL_INVALID_ACL_SUBJECT_VALUE      CssmerrDlOperationAuthDenied = -2147413974
	CSSMERR_DL_INVALID_NEW_ACL_ENTRY          CssmerrDlOperationAuthDenied = -2147413966
	CSSMERR_DL_INVALID_NEW_ACL_OWNER          CssmerrDlOperationAuthDenied = -2147413965
	CSSMERR_DL_INVALID_SAMPLE_VALUE           CssmerrDlOperationAuthDenied = -2147413976
	CSSMERR_DL_OBJECT_ACL_NOT_SUPPORTED       CssmerrDlOperationAuthDenied = -2147413981
	CSSMERR_DL_OBJECT_ACL_REQUIRED            CssmerrDlOperationAuthDenied = -2147413980
	CSSMERR_DL_OBJECT_MANIP_AUTH_DENIED       CssmerrDlOperationAuthDenied = -2147413982
	CSSMERR_DL_OBJECT_USE_AUTH_DENIED         CssmerrDlOperationAuthDenied = -2147413983
	CSSMERR_DL_OPERATION_AUTH_DENIED          CssmerrDlOperationAuthDenied = -2147413984
	CSSMERR_DL_SAMPLE_VALUE_NOT_SUPPORTED     CssmerrDlOperationAuthDenied = -2147413975
)

func (CssmerrDlOperationAuthDenied) String added in v0.6.17

type CssmerrTp

type CssmerrTp int32
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
)

func (CssmerrTp) String

func (e CssmerrTp) String() string

type ErrAuthorization

type ErrAuthorization int32
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 int32
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
)

func (ErrSSL) String

func (e ErrSSL) String() string

type ErrSecCSUnimplementedConstants

type ErrSecCSUnimplementedConstants int32
const (
	// ErrSecCSAmbiguousBundleFormat: The bundle could be an app or a framework.
	ErrSecCSAmbiguousBundleFormat ErrSecCSUnimplementedConstants = -67011
	// ErrSecCSBadBundleFormat: The bundle format is unrecognized, invalid, or unsuitable.
	ErrSecCSBadBundleFormat ErrSecCSUnimplementedConstants = -67028
	// ErrSecCSBadCallbackValue: The monitor callback returned invalid value.
	ErrSecCSBadCallbackValue ErrSecCSUnimplementedConstants = -67020
	// ErrSecCSBadDictionaryFormat: A required information property list (Info.plist) file or resource is malformed.
	ErrSecCSBadDictionaryFormat ErrSecCSUnimplementedConstants = -67058
	// ErrSecCSBadDiskImageFormat: The disk image format unrecognized, invalid, or unsuitable.
	ErrSecCSBadDiskImageFormat ErrSecCSUnimplementedConstants = -67001
	// ErrSecCSBadFrameworkVersion: The embedded framework contains a modified or invalid version.
	ErrSecCSBadFrameworkVersion ErrSecCSUnimplementedConstants = -67009
	// ErrSecCSBadLVArch: The library validation flag cannot be used with an i386 binary.
	ErrSecCSBadLVArch ErrSecCSUnimplementedConstants = -67017
	// ErrSecCSBadMainExecutable: The main executable failed strict validation.
	ErrSecCSBadMainExecutable ErrSecCSUnimplementedConstants = -67010
	// ErrSecCSBadNestedCode: The nested code is modified or invalid.
	ErrSecCSBadNestedCode ErrSecCSUnimplementedConstants = -67021
	// ErrSecCSBadObjectFormat: The object file format invalid or unsuitable.
	ErrSecCSBadObjectFormat ErrSecCSUnimplementedConstants = -67049
	// ErrSecCSBadResource: A sealed resource is missing or invalid.
	ErrSecCSBadResource ErrSecCSUnimplementedConstants = -67054
	// ErrSecCSBadTeamIdentifier: A Team Identifier is wrong or inappropriate.
	ErrSecCSBadTeamIdentifier     ErrSecCSUnimplementedConstants = -66997
	ErrSecCSCMSConstructionFailed ErrSecCSUnimplementedConstants = -66991
	// ErrSecCSCMSTooLarge: The signature is too large to embed.
	ErrSecCSCMSTooLarge ErrSecCSUnimplementedConstants = -67036
	// ErrSecCSCancelled: The operation was terminated by explicit cancellation.
	ErrSecCSCancelled ErrSecCSUnimplementedConstants = -67006
	// ErrSecCSDBAccess: Cannot access signature database.
	ErrSecCSDBAccess ErrSecCSUnimplementedConstants = -67032
	// ErrSecCSDBDenied: Access to signature database denied.
	ErrSecCSDBDenied ErrSecCSUnimplementedConstants = -67033
	// ErrSecCSDSStoreSymlink: A `.DS_Store` file can’t be a symlink.
	ErrSecCSDSStoreSymlink ErrSecCSUnimplementedConstants = -67012
	// ErrSecCSDbCorrupt: A system database or file is corrupt.
	ErrSecCSDbCorrupt ErrSecCSUnimplementedConstants = -67024
	// ErrSecCSFileHardQuarantined: File open or execution not allowed.
	ErrSecCSFileHardQuarantined ErrSecCSUnimplementedConstants = -67026
	// ErrSecCSGuestInvalid: The identity of guest code has been invalidated.
	ErrSecCSGuestInvalid ErrSecCSUnimplementedConstants = -67063
	// ErrSecCSHelperFailed: The codesign_allocate helper tool can’t be found or used.
	ErrSecCSHelperFailed ErrSecCSUnimplementedConstants = -67019
	// ErrSecCSHostProtocolContradiction: Host protocol violation: contradictory hosting modes.
	ErrSecCSHostProtocolContradiction ErrSecCSUnimplementedConstants = -67043
	// ErrSecCSHostProtocolDedicationError: Host protocol violation: operation not allowed with or for a dedicated guest.
	ErrSecCSHostProtocolDedicationError ErrSecCSUnimplementedConstants = -67042
	// ErrSecCSHostProtocolInvalidAttribute: Code signing host returned invalid or inconsistent attributes for guest code.
	ErrSecCSHostProtocolInvalidAttribute ErrSecCSUnimplementedConstants = -67031
	// ErrSecCSHostProtocolInvalidHash: Host protocol violation: invalid hash of guest code.
	ErrSecCSHostProtocolInvalidHash ErrSecCSUnimplementedConstants = -67035
	// ErrSecCSHostProtocolNotProxy: Host protocol violation: proxy hosting not engaged.
	ErrSecCSHostProtocolNotProxy ErrSecCSUnimplementedConstants = -67041
	// ErrSecCSHostProtocolRelativePath: Host protocol violation: absolute guest path required.
	ErrSecCSHostProtocolRelativePath ErrSecCSUnimplementedConstants = -67044
	// ErrSecCSHostProtocolStateError: Host protocol violation: invalid guest state change request.
	ErrSecCSHostProtocolStateError ErrSecCSUnimplementedConstants = -67040
	// ErrSecCSHostProtocolUnrelated: Host protocol violation: the specified code is not a guest of the specified code signing host.
	ErrSecCSHostProtocolUnrelated ErrSecCSUnimplementedConstants = -67039
	// ErrSecCSHostReject: Code rejected its host.
	ErrSecCSHostReject ErrSecCSUnimplementedConstants = -67047
	// ErrSecCSInfoPlistFailed: The Info.plist file or the signature has been modified.
	ErrSecCSInfoPlistFailed ErrSecCSUnimplementedConstants = -67030
	// ErrSecCSInternalError: Internal error in Code Signing Services subsystem.
	ErrSecCSInternalError ErrSecCSUnimplementedConstants = -67048
	// ErrSecCSInvalidAssociatedFileData: Resource fork, Finder information, or similar detritus not allowed.
	ErrSecCSInvalidAssociatedFileData ErrSecCSUnimplementedConstants = -66999
	// ErrSecCSInvalidAttributeValues: An attribute value associated with a key is out of range or is the wrong type.
	ErrSecCSInvalidAttributeValues ErrSecCSUnimplementedConstants = -67066
	// ErrSecCSInvalidEntitlements: Encountered an invalid entitlement plist.
	ErrSecCSInvalidEntitlements ErrSecCSUnimplementedConstants = -66994
	// ErrSecCSInvalidFlags: Invalid or inappropriate API flags specified.
	ErrSecCSInvalidFlags ErrSecCSUnimplementedConstants = -67070
	// ErrSecCSInvalidObjectRef: Invalid API object reference.
	ErrSecCSInvalidObjectRef ErrSecCSUnimplementedConstants = -67071
	// ErrSecCSInvalidPlatform: Invalid platform identifier or platform mismatch.
	ErrSecCSInvalidPlatform ErrSecCSUnimplementedConstants = -67005
	// ErrSecCSInvalidRuntimeVersion: An invalid runtime version was explicity set.
	ErrSecCSInvalidRuntimeVersion ErrSecCSUnimplementedConstants = -66993
	// ErrSecCSInvalidSymlink: Invalid destination for symbolic link in bundle.
	ErrSecCSInvalidSymlink ErrSecCSUnimplementedConstants = -67003
	// ErrSecCSInvalidTeamIdentifier: A Team Identifier string is invalid.
	ErrSecCSInvalidTeamIdentifier ErrSecCSUnimplementedConstants = -66998
	// ErrSecCSMultipleGuests: Code signing host has more than one block of guest code with this attribute value.
	ErrSecCSMultipleGuests ErrSecCSUnimplementedConstants = -67064
	// ErrSecCSNoMainExecutable: The code has no main executable file.
	ErrSecCSNoMainExecutable ErrSecCSUnimplementedConstants = -67029
	// ErrSecCSNoMatches: No matches were found for a search or update operation.
	ErrSecCSNoMatches ErrSecCSUnimplementedConstants = -67027
	// ErrSecCSNoSuchCode: Code signing host has no guest code with the requested attributes.
	ErrSecCSNoSuchCode ErrSecCSUnimplementedConstants = -67065
	// ErrSecCSNotAHost: This code is not a code signing host.
	ErrSecCSNotAHost ErrSecCSUnimplementedConstants = -67046
	// ErrSecCSNotAppLike: The code is valid but does not seem to be an app.
	ErrSecCSNotAppLike ErrSecCSUnimplementedConstants = -67002
	// ErrSecCSNotSupported: Operation not supported for this type of code.
	ErrSecCSNotSupported ErrSecCSUnimplementedConstants = -67037
	// ErrSecCSObjectRequired: A required pointer argument was null.
	ErrSecCSObjectRequired ErrSecCSUnimplementedConstants = -67069
	// ErrSecCSOutdated: The presented data is out of date.
	ErrSecCSOutdated ErrSecCSUnimplementedConstants = -67025
	// ErrSecCSRegularFile: The main executable or Info.plist must be a regular file (and not, for example, a symbolic link).
	ErrSecCSRegularFile        ErrSecCSUnimplementedConstants = -67015
	ErrSecCSRemoteSignerFailed ErrSecCSUnimplementedConstants = -66990
	// ErrSecCSReqFailed: The code failed to satisfy one of the code requirements.
	ErrSecCSReqFailed ErrSecCSUnimplementedConstants = -67050
	// ErrSecCSReqInvalid: Invalid or corrupted code requirements.
	ErrSecCSReqInvalid ErrSecCSUnimplementedConstants = -67052
	// ErrSecCSReqUnsupported: Unsupported type or version of code requirements.
	ErrSecCSReqUnsupported ErrSecCSUnimplementedConstants = -67051
	// ErrSecCSResourceDirectoryFailed: A directory or its signature has been modified and is therefore invalid.
	ErrSecCSResourceDirectoryFailed ErrSecCSUnimplementedConstants = -67023
	// ErrSecCSResourceNotSupported: Found an unsupported resource.
	ErrSecCSResourceNotSupported ErrSecCSUnimplementedConstants = -67016
	// ErrSecCSResourceRulesInvalid: Invalid resource selection rule or rules.
	ErrSecCSResourceRulesInvalid ErrSecCSUnimplementedConstants = -67053
	// ErrSecCSResourcesInvalid: The sealed resource directory is invalid.
	ErrSecCSResourcesInvalid ErrSecCSUnimplementedConstants = -67055
	// ErrSecCSResourcesNotFound: Cannot find sealed resources in code.
	ErrSecCSResourcesNotFound ErrSecCSUnimplementedConstants = -67056
	// ErrSecCSResourcesNotSealed: Resources are not sealed by the signature.
	ErrSecCSResourcesNotSealed ErrSecCSUnimplementedConstants = -67057
	// ErrSecCSRevokedNotarization: Notarization indicates this code has been revoked.
	ErrSecCSRevokedNotarization ErrSecCSUnimplementedConstants = -66992
	// ErrSecCSSigDBAccess: Can’t access signature database.
	ErrSecCSSigDBAccess ErrSecCSUnimplementedConstants = -67032
	// ErrSecCSSigDBDenied: Access to signature database denied.
	ErrSecCSSigDBDenied ErrSecCSUnimplementedConstants = -67033
	// ErrSecCSSignatureFailed: Code or signature modified.
	ErrSecCSSignatureFailed ErrSecCSUnimplementedConstants = -67061
	// ErrSecCSSignatureInvalid: Invalid format for signature.
	ErrSecCSSignatureInvalid ErrSecCSUnimplementedConstants = -67045
	// ErrSecCSSignatureNotVerifiable: Signature cannot be read.
	ErrSecCSSignatureNotVerifiable ErrSecCSUnimplementedConstants = -67060
	// ErrSecCSSignatureUnsupported: Unsupported type or version of signature.
	ErrSecCSSignatureUnsupported ErrSecCSUnimplementedConstants = -67059
	// ErrSecCSSignatureUntrusted: The signature is valid but signer isn’t trusted.
	ErrSecCSSignatureUntrusted ErrSecCSUnimplementedConstants = -66996
	// ErrSecCSStaticCodeChanged: The code on disk has been modified after the code started running.
	ErrSecCSStaticCodeChanged ErrSecCSUnimplementedConstants = -67034
	// ErrSecCSStaticCodeNotFound: Cannot find code object on disk.
	ErrSecCSStaticCodeNotFound ErrSecCSUnimplementedConstants = -67068
	// ErrSecCSTooBig: The code is too big for current signing format.
	ErrSecCSTooBig ErrSecCSUnimplementedConstants = -67004
	// ErrSecCSUnimplemented: Unimplemented code signing feature.
	ErrSecCSUnimplemented ErrSecCSUnimplementedConstants = -67072
	// ErrSecCSUnsealedAppRoot: Unsealed contents present in the bundle root.
	ErrSecCSUnsealedAppRoot ErrSecCSUnimplementedConstants = -67014
	// ErrSecCSUnsealedFrameworkRoot: Unsealed contents present in the root directory of an embedded framework.
	ErrSecCSUnsealedFrameworkRoot ErrSecCSUnimplementedConstants = -67008
	// ErrSecCSUnsigned: Code object is not signed.
	ErrSecCSUnsigned ErrSecCSUnimplementedConstants = -67062
	// ErrSecCSUnsignedNestedCode: Nested code is unsigned.
	ErrSecCSUnsignedNestedCode ErrSecCSUnimplementedConstants = -67022
	// ErrSecCSUnsupportedDigestAlgorithm: The signature digest algorithm(s) specified are not supported.
	ErrSecCSUnsupportedDigestAlgorithm ErrSecCSUnimplementedConstants = -67000
	// ErrSecCSUnsupportedGuestAttributes: Cannot locate guest code using this attribute set.
	ErrSecCSUnsupportedGuestAttributes ErrSecCSUnimplementedConstants = -67067
	ErrSecCSVetoed                     ErrSecCSUnimplementedConstants = -67018
	// ErrSecCSWeakResourceEnvelope: The resource envelope is obsolete (version 1 signature).
	ErrSecCSWeakResourceEnvelope ErrSecCSUnimplementedConstants = -67007
	// ErrSecCSWeakResourceRules: The resource envelope is obsolete (custom omit rules).
	ErrSecCSWeakResourceRules ErrSecCSUnimplementedConstants = -67013
	// ErrSecMultipleExecSegments: The image contains multiple executable segments.
	ErrSecMultipleExecSegments ErrSecCSUnimplementedConstants = -66995
)

func (ErrSecCSUnimplementedConstants) String

type ErrSecSuccessConstants

type ErrSecSuccessConstants int32
const (
	// ErrSecACLAddFailed: An ACL add operation failed.
	ErrSecACLAddFailed ErrSecSuccessConstants = -67698
	// ErrSecACLChangeFailed: An ACL change operation failed.
	ErrSecACLChangeFailed ErrSecSuccessConstants = -67699
	// ErrSecACLDeleteFailed: An ACL delete operation failed.
	ErrSecACLDeleteFailed ErrSecSuccessConstants = -67696
	// ErrSecACLNotSimple: The access control list is not in standard simple form.
	ErrSecACLNotSimple ErrSecSuccessConstants = -25240
	// ErrSecACLReplaceFailed: An ACL replace operation failed.
	ErrSecACLReplaceFailed ErrSecSuccessConstants = -67697
	// ErrSecAddinLoadFailed: The add-in load operation failed.
	ErrSecAddinLoadFailed ErrSecSuccessConstants = -67711
	// ErrSecAddinUnloadFailed: The add-in unload operation failed.
	ErrSecAddinUnloadFailed ErrSecSuccessConstants = -67714
	// ErrSecAlgorithmMismatch: An algorithm mismatch occurred.
	ErrSecAlgorithmMismatch ErrSecSuccessConstants = -67730
	// ErrSecAllocate: Failed to allocate memory.
	ErrSecAllocate ErrSecSuccessConstants = -108
	// ErrSecAlreadyLoggedIn: The user is already logged in.
	ErrSecAlreadyLoggedIn ErrSecSuccessConstants = -67814
	// ErrSecAppleAddAppACLSubject: Adding an application ACL subject failed.
	ErrSecAppleAddAppACLSubject ErrSecSuccessConstants = -67589
	// ErrSecAppleInvalidKeyEndDate: The specified key has an invalid end date.
	ErrSecAppleInvalidKeyEndDate ErrSecSuccessConstants = -67593
	// ErrSecAppleInvalidKeyStartDate: The specified key has an invalid start date.
	ErrSecAppleInvalidKeyStartDate ErrSecSuccessConstants = -67592
	// ErrSecApplePublicKeyIncomplete: The public key is incomplete.
	ErrSecApplePublicKeyIncomplete ErrSecSuccessConstants = -67590
	// ErrSecAppleSSLv2Rollback: A SSLv2 rollback error has occurred.
	ErrSecAppleSSLv2Rollback ErrSecSuccessConstants = -67595
	// ErrSecAppleSignatureMismatch: A signature mismatch has occurred.
	ErrSecAppleSignatureMismatch ErrSecSuccessConstants = -67591
	// ErrSecAttachHandleBusy: The CSP handle was busy.
	ErrSecAttachHandleBusy ErrSecSuccessConstants = -67728
	// ErrSecAttributeNotInContext: An attribute was not in the context.
	ErrSecAttributeNotInContext ErrSecSuccessConstants = -67720
	// ErrSecAuthFailed: Authorization and/or authentication failed.
	ErrSecAuthFailed ErrSecSuccessConstants = -25293
	// ErrSecBadReq: Bad parameter or invalid state for operation.
	ErrSecBadReq ErrSecSuccessConstants = -909
	// ErrSecBlockSizeMismatch: A block size mismatch occurred.
	ErrSecBlockSizeMismatch ErrSecSuccessConstants = -67810
	// ErrSecBufferTooSmall: The buffer is too small.
	ErrSecBufferTooSmall ErrSecSuccessConstants = -25301
	// ErrSecCRLAlreadySigned: The certificate revocation list is already signed.
	ErrSecCRLAlreadySigned ErrSecSuccessConstants = -67684
	// ErrSecCRLBadURI: The certificate revocation list has a bad uniform resource identifier.
	ErrSecCRLBadURI ErrSecSuccessConstants = -67617
	// ErrSecCRLExpired: The certificate revocation list has expired.
	ErrSecCRLExpired ErrSecSuccessConstants = -67613
	// ErrSecCRLNotFound: The certificate revocation list was not found.
	ErrSecCRLNotFound ErrSecSuccessConstants = -67615
	// ErrSecCRLNotTrusted: The certificate revocation list is not trusted.
	ErrSecCRLNotTrusted ErrSecSuccessConstants = -67620
	// ErrSecCRLNotValidYet: The certificate revocation list is not yet valid.
	ErrSecCRLNotValidYet ErrSecSuccessConstants = -67614
	// ErrSecCRLPolicyFailed: The certificate revocation list policy failed.
	ErrSecCRLPolicyFailed ErrSecSuccessConstants = -67621
	// ErrSecCRLServerDown: The certificate revocation list server is down.
	ErrSecCRLServerDown ErrSecSuccessConstants = -67616
	// ErrSecCallbackFailed: A callback failed.
	ErrSecCallbackFailed ErrSecSuccessConstants = -67695
	// ErrSecCertificateCannotOperate: The certificate cannot operate.
	ErrSecCertificateCannotOperate      ErrSecSuccessConstants = -67817
	ErrSecCertificateDuplicateExtension ErrSecSuccessConstants = -67903
	// ErrSecCertificateExpired: An expired certificate was detected.
	ErrSecCertificateExpired ErrSecSuccessConstants = -67818
	ErrSecCertificateIsCA    ErrSecSuccessConstants = -67902
	// ErrSecCertificateNameNotAllowed: The requested name isn’t allowed for this certificate.
	ErrSecCertificateNameNotAllowed ErrSecSuccessConstants = -67900
	// ErrSecCertificateNotValidYet: The certificate is not yet valid.
	ErrSecCertificateNotValidYet ErrSecSuccessConstants = -67819
	// ErrSecCertificatePolicyNotAllowed: The requested policy isn’t allowed for this certificate.
	ErrSecCertificatePolicyNotAllowed ErrSecSuccessConstants = -67899
	// ErrSecCertificateRevoked: The certificate was revoked.
	ErrSecCertificateRevoked ErrSecSuccessConstants = -67820
	// ErrSecCertificateSuspended: The certificate was suspended.
	ErrSecCertificateSuspended ErrSecSuccessConstants = -67821
	// ErrSecCertificateValidityPeriodTooLong: The validity period in the certificate exceeds the maximum allowed period.
	ErrSecCertificateValidityPeriodTooLong ErrSecSuccessConstants = -67901
	// ErrSecCodeSigningBadCertChainLength: Code signing encountered an incorrect certificate chain length.
	ErrSecCodeSigningBadCertChainLength ErrSecSuccessConstants = -67647
	// ErrSecCodeSigningBadPathLengthConstraint: Code signing encountered an incorrect path length constraint.
	ErrSecCodeSigningBadPathLengthConstraint ErrSecSuccessConstants = -67649
	// ErrSecCodeSigningDevelopment: Code signing indicated use of a development-only certificate.
	ErrSecCodeSigningDevelopment ErrSecSuccessConstants = -67651
	// ErrSecCodeSigningNoBasicConstraints: Code signing found no basic constraints.
	ErrSecCodeSigningNoBasicConstraints ErrSecSuccessConstants = -67648
	// ErrSecCodeSigningNoExtendedKeyUsage: Code signing found no extended key usage.
	ErrSecCodeSigningNoExtendedKeyUsage ErrSecSuccessConstants = -67650
	// ErrSecConversionError: A conversion error has occurred.
	ErrSecConversionError ErrSecSuccessConstants = -67594
	// ErrSecCoreFoundationUnknown: An unknown Core Foundation error occurred.
	ErrSecCoreFoundationUnknown ErrSecSuccessConstants = -4960
	// ErrSecCreateChainFailed: The attempt to create a certificate chain failed.
	ErrSecCreateChainFailed ErrSecSuccessConstants = -25318
	// ErrSecDataNotAvailable: The data is not available.
	ErrSecDataNotAvailable ErrSecSuccessConstants = -25316
	// ErrSecDataNotModifiable: The data is not modifiable.
	ErrSecDataNotModifiable ErrSecSuccessConstants = -25317
	// ErrSecDataTooLarge: The data is too large for the particular data type.
	ErrSecDataTooLarge ErrSecSuccessConstants = -25302
	// ErrSecDatabaseLocked: The database is locked.
	ErrSecDatabaseLocked ErrSecSuccessConstants = -67869
	// ErrSecDatastoreIsOpen: The data store is open.
	ErrSecDatastoreIsOpen ErrSecSuccessConstants = -67870
	// ErrSecDecode: Unable to decode the provided data.
	ErrSecDecode ErrSecSuccessConstants = -26275
	// ErrSecDeviceError: A device error was encountered.
	ErrSecDeviceError ErrSecSuccessConstants = -67727
	// ErrSecDeviceFailed: A device failure has occurred.
	ErrSecDeviceFailed ErrSecSuccessConstants = -67588
	// ErrSecDeviceReset: A device reset has occurred.
	ErrSecDeviceReset ErrSecSuccessConstants = -67587
	// ErrSecDeviceVerifyFailed: A device verification failure has occurred.
	ErrSecDeviceVerifyFailed ErrSecSuccessConstants = -67812
	// ErrSecDiskFull: The disk is full.
	ErrSecDiskFull ErrSecSuccessConstants = -34
	// ErrSecDuplicateCallback: More than one callback of the same name exists.
	ErrSecDuplicateCallback ErrSecSuccessConstants = -25297
	// ErrSecDuplicateItem: The item already exists.
	ErrSecDuplicateItem ErrSecSuccessConstants = -25299
	// ErrSecDuplicateKeychain: A keychain with the same name already exists.
	ErrSecDuplicateKeychain ErrSecSuccessConstants = -25296
	// ErrSecEMMLoadFailed: The elective module manager load failed.
	ErrSecEMMLoadFailed ErrSecSuccessConstants = -67709
	// ErrSecEMMUnloadFailed: The elective module manager unload has failed.
	ErrSecEMMUnloadFailed ErrSecSuccessConstants = -67710
	// ErrSecEndOfData: An end-of-data was detected.
	ErrSecEndOfData ErrSecSuccessConstants = -67634
	// ErrSecEventNotificationCallbackNotFound: An event notification callback was not found.
	ErrSecEventNotificationCallbackNotFound ErrSecSuccessConstants = -67723
	// ErrSecExtendedKeyUsageNotCritical: The extended key usage extension was not marked critical.
	ErrSecExtendedKeyUsageNotCritical ErrSecSuccessConstants = -67881
	// ErrSecFieldSpecifiedMultiple: Too many fields were specified.
	ErrSecFieldSpecifiedMultiple ErrSecSuccessConstants = -67866
	// ErrSecFileTooBig: The file is too big.
	ErrSecFileTooBig ErrSecSuccessConstants = -67597
	// ErrSecFunctionFailed: A function has failed.
	ErrSecFunctionFailed ErrSecSuccessConstants = -67677
	// ErrSecFunctionIntegrityFail: A function address is not within the verified module.
	ErrSecFunctionIntegrityFail ErrSecSuccessConstants = -67670
	// ErrSecHostNameMismatch: A host name mismatch has occurred.
	ErrSecHostNameMismatch ErrSecSuccessConstants = -67602
	// ErrSecIDPFailure: The issuing distribution point is not valid.
	ErrSecIDPFailure ErrSecSuccessConstants = -67622
	// ErrSecIO: I/O error.
	ErrSecIO ErrSecSuccessConstants = -36
	// ErrSecInDarkWake: The user interface cannot be displayed because the system is in a dark wake state.
	ErrSecInDarkWake ErrSecSuccessConstants = -25320
	// ErrSecIncompatibleDatabaseBlob: The specified database has an incompatible blob.
	ErrSecIncompatibleDatabaseBlob ErrSecSuccessConstants = -67600
	// ErrSecIncompatibleFieldFormat: The field format is incompatible.
	ErrSecIncompatibleFieldFormat ErrSecSuccessConstants = -67867
	// ErrSecIncompatibleKeyBlob: The specified database has an incompatible key blob.
	ErrSecIncompatibleKeyBlob ErrSecSuccessConstants = -67601
	// ErrSecIncompatibleVersion: The version is incompatible.
	ErrSecIncompatibleVersion ErrSecSuccessConstants = -67704
	// ErrSecIncompleteCertRevocationCheck: An incomplete certificate revocation check occurred.
	ErrSecIncompleteCertRevocationCheck ErrSecSuccessConstants = -67635
	// ErrSecInputLengthError: An input length error occurred.
	ErrSecInputLengthError ErrSecSuccessConstants = -67724
	// ErrSecInsufficientClientID: The client ID is incorrect.
	ErrSecInsufficientClientID ErrSecSuccessConstants = -67586
	// ErrSecInsufficientCredentials: Insufficient credentials were detected.
	ErrSecInsufficientCredentials ErrSecSuccessConstants = -67822
	// ErrSecInteractionNotAllowed: Interaction with the Security Server is not allowed.
	ErrSecInteractionNotAllowed ErrSecSuccessConstants = -25308
	// ErrSecInteractionRequired: User interaction is required.
	ErrSecInteractionRequired ErrSecSuccessConstants = -25315
	// ErrSecInternalComponent: An internal component experienced an error.
	ErrSecInternalComponent ErrSecSuccessConstants = -2070
	// ErrSecInternalError: An internal error occurred.
	ErrSecInternalError ErrSecSuccessConstants = -67671
	// ErrSecInvalidACL: An invalid access control list was detected.
	ErrSecInvalidACL ErrSecSuccessConstants = -67702
	// ErrSecInvalidAccessCredentials: Invalid access credentials were detected.
	ErrSecInvalidAccessCredentials ErrSecSuccessConstants = -67700
	// ErrSecInvalidAccessRequest: The access request is invalid.
	ErrSecInvalidAccessRequest ErrSecSuccessConstants = -67876
	// ErrSecInvalidAction: The action is invalid.
	ErrSecInvalidAction ErrSecSuccessConstants = -67823
	// ErrSecInvalidAddinFunctionTable: An invalid add-in function table was detected.
	ErrSecInvalidAddinFunctionTable ErrSecSuccessConstants = -67716
	// ErrSecInvalidAlgorithm: An invalid algorithm was detected.
	ErrSecInvalidAlgorithm ErrSecSuccessConstants = -67747
	// ErrSecInvalidAlgorithmParms: An algorithm parameters attribute is not valid.
	ErrSecInvalidAlgorithmParms ErrSecSuccessConstants = -67770
	// ErrSecInvalidAttributeAccessCredentials: An access credentials attribute is not valid.
	ErrSecInvalidAttributeAccessCredentials ErrSecSuccessConstants = -67796
	// ErrSecInvalidAttributeBase: A base attribute is not valid.
	ErrSecInvalidAttributeBase ErrSecSuccessConstants = -67788
	// ErrSecInvalidAttributeBlockSize: A block size attribute is not valid.
	ErrSecInvalidAttributeBlockSize ErrSecSuccessConstants = -67764
	// ErrSecInvalidAttributeDLDBHandle: A database handle attribute is not valid.
	ErrSecInvalidAttributeDLDBHandle ErrSecSuccessConstants = -67794
	// ErrSecInvalidAttributeEffectiveBits: An effective bits attribute is not valid.
	ErrSecInvalidAttributeEffectiveBits ErrSecSuccessConstants = -67778
	// ErrSecInvalidAttributeEndDate: An end date attribute is not valid.
	ErrSecInvalidAttributeEndDate ErrSecSuccessConstants = -67782
	// ErrSecInvalidAttributeInitVector: An init vector attribute is not valid.
	ErrSecInvalidAttributeInitVector ErrSecSuccessConstants = -67750
	// ErrSecInvalidAttributeIterationCount: An iteration count attribute is not valid.
	ErrSecInvalidAttributeIterationCount ErrSecSuccessConstants = -67792
	// ErrSecInvalidAttributeKey: A key attribute is not valid.
	ErrSecInvalidAttributeKey ErrSecSuccessConstants = -67748
	// ErrSecInvalidAttributeKeyLength: A key length attribute is not valid.
	ErrSecInvalidAttributeKeyLength ErrSecSuccessConstants = -67762
	// ErrSecInvalidAttributeKeyType: A key type attribute is not valid.
	ErrSecInvalidAttributeKeyType ErrSecSuccessConstants = -67774
	// ErrSecInvalidAttributeLabel: A label attribute is not valid.
	ErrSecInvalidAttributeLabel ErrSecSuccessConstants = -67772
	// ErrSecInvalidAttributeMode: A mode attribute is not valid.
	ErrSecInvalidAttributeMode ErrSecSuccessConstants = -67776
	// ErrSecInvalidAttributeOutputSize: An output size attribute is not valid.
	ErrSecInvalidAttributeOutputSize ErrSecSuccessConstants = -67766
	// ErrSecInvalidAttributePadding: A padding attribute is not valid.
	ErrSecInvalidAttributePadding ErrSecSuccessConstants = -67754
	// ErrSecInvalidAttributePassphrase: A passphrase attribute is not valid.
	ErrSecInvalidAttributePassphrase ErrSecSuccessConstants = -67760
	// ErrSecInvalidAttributePrime: A prime attribute is not valid.
	ErrSecInvalidAttributePrime ErrSecSuccessConstants = -67786
	// ErrSecInvalidAttributePrivateKeyFormat: A private key format attribute is not valid.
	ErrSecInvalidAttributePrivateKeyFormat ErrSecSuccessConstants = -67800
	// ErrSecInvalidAttributePublicKeyFormat: A public key format attribute is not valid.
	ErrSecInvalidAttributePublicKeyFormat ErrSecSuccessConstants = -67798
	// ErrSecInvalidAttributeRandom: A random number attribute is not valid.
	ErrSecInvalidAttributeRandom ErrSecSuccessConstants = -67756
	// ErrSecInvalidAttributeRounds: The number of rounds attribute is not valid.
	ErrSecInvalidAttributeRounds ErrSecSuccessConstants = -67768
	// ErrSecInvalidAttributeSalt: A salt attribute is not valid.
	ErrSecInvalidAttributeSalt ErrSecSuccessConstants = -67752
	// ErrSecInvalidAttributeSeed: A seed attribute is not valid.
	ErrSecInvalidAttributeSeed ErrSecSuccessConstants = -67758
	// ErrSecInvalidAttributeStartDate: A start date attribute is not valid.
	ErrSecInvalidAttributeStartDate ErrSecSuccessConstants = -67780
	// ErrSecInvalidAttributeSubprime: A subprime attribute is not valid.
	ErrSecInvalidAttributeSubprime ErrSecSuccessConstants = -67790
	// ErrSecInvalidAttributeSymmetricKeyFormat: A symmetric key format attribute is not valid.
	ErrSecInvalidAttributeSymmetricKeyFormat ErrSecSuccessConstants = -67802
	// ErrSecInvalidAttributeVersion: A version attribute is not valid.
	ErrSecInvalidAttributeVersion ErrSecSuccessConstants = -67784
	// ErrSecInvalidAttributeWrappedKeyFormat: A wrapped key format attribute is not valid.
	ErrSecInvalidAttributeWrappedKeyFormat ErrSecSuccessConstants = -67804
	// ErrSecInvalidAuthority: The authority is not valid.
	ErrSecInvalidAuthority ErrSecSuccessConstants = -67824
	// ErrSecInvalidAuthorityKeyID: The authority key ID is not valid.
	ErrSecInvalidAuthorityKeyID ErrSecSuccessConstants = -67606
	// ErrSecInvalidBaseACLs: The base access control lists are not valid.
	ErrSecInvalidBaseACLs ErrSecSuccessConstants = -67851
	// ErrSecInvalidBundleInfo: The bundle information is not valid.
	ErrSecInvalidBundleInfo ErrSecSuccessConstants = -67857
	// ErrSecInvalidCRL: The certificate revocation list is not valid.
	ErrSecInvalidCRL          ErrSecSuccessConstants = -67830
	ErrSecInvalidCRLAuthority ErrSecSuccessConstants = -67827
	// ErrSecInvalidCRLEncoding: The certificate revocation list encoding is not valid.
	ErrSecInvalidCRLEncoding ErrSecSuccessConstants = -67828
	// ErrSecInvalidCRLGroup: An invalid certificate revocation list group was detected.
	ErrSecInvalidCRLGroup ErrSecSuccessConstants = -67816
	// ErrSecInvalidCRLIndex: The certificate revocation list index is not valid.
	ErrSecInvalidCRLIndex ErrSecSuccessConstants = -67858
	// ErrSecInvalidCRLType: The certificate revocation list type is not valid.
	ErrSecInvalidCRLType ErrSecSuccessConstants = -67829
	// ErrSecInvalidCallback: The callback is not valid.
	ErrSecInvalidCallback ErrSecSuccessConstants = -25298
	// ErrSecInvalidCertAuthority: The certificate authority is not valid.
	ErrSecInvalidCertAuthority ErrSecSuccessConstants = -67826
	// ErrSecInvalidCertificateGroup: An invalid certificate group was detected.
	ErrSecInvalidCertificateGroup ErrSecSuccessConstants = -67691
	// ErrSecInvalidCertificateRef: An invalid certificate reference was detected.
	ErrSecInvalidCertificateRef ErrSecSuccessConstants = -67690
	// ErrSecInvalidContext: An invalid context was detected.
	ErrSecInvalidContext ErrSecSuccessConstants = -67746
	// ErrSecInvalidDBList: An invalid DB list was detected.
	ErrSecInvalidDBList ErrSecSuccessConstants = -67681
	// ErrSecInvalidDBLocation: The database location is not valid.
	ErrSecInvalidDBLocation ErrSecSuccessConstants = -67875
	// ErrSecInvalidData: Invalid data was detected.
	ErrSecInvalidData ErrSecSuccessConstants = -67673
	// ErrSecInvalidDatabaseBlob: The specified database has an invalid blob.
	ErrSecInvalidDatabaseBlob ErrSecSuccessConstants = -67598
	// ErrSecInvalidDigestAlgorithm: An invalid digest algorithm was detected.
	ErrSecInvalidDigestAlgorithm ErrSecSuccessConstants = -67815
	// ErrSecInvalidEncoding: The encoding is not valid.
	ErrSecInvalidEncoding ErrSecSuccessConstants = -67853
	// ErrSecInvalidExtendedKeyUsage: The extended key usage is not valid.
	ErrSecInvalidExtendedKeyUsage ErrSecSuccessConstants = -67609
	// ErrSecInvalidFormType: The form type is not valid.
	ErrSecInvalidFormType ErrSecSuccessConstants = -67831
	// ErrSecInvalidGUID: An invalid GUID was detected.
	ErrSecInvalidGUID ErrSecSuccessConstants = -67679
	// ErrSecInvalidHandle: An invalid handle was encountered.
	ErrSecInvalidHandle ErrSecSuccessConstants = -67680
	// ErrSecInvalidHandleUsage: The common security services manager handle does not match with the service type.
	ErrSecInvalidHandleUsage ErrSecSuccessConstants = -67668
	// ErrSecInvalidID: The ID is not valid.
	ErrSecInvalidID ErrSecSuccessConstants = -67832
	// ErrSecInvalidIDLinkage: The ID linkage is not valid.
	ErrSecInvalidIDLinkage ErrSecSuccessConstants = -67610
	// ErrSecInvalidIdentifier: The identifier is not valid.
	ErrSecInvalidIdentifier ErrSecSuccessConstants = -67833
	// ErrSecInvalidIndex: The index is not valid.
	ErrSecInvalidIndex ErrSecSuccessConstants = -67834
	// ErrSecInvalidIndexInfo: The index information is not valid.
	ErrSecInvalidIndexInfo ErrSecSuccessConstants = -67877
	// ErrSecInvalidInputVector: The input vector is not valid.
	ErrSecInvalidInputVector ErrSecSuccessConstants = -67744
	// ErrSecInvalidItemRef: The item reference is invalid.
	ErrSecInvalidItemRef ErrSecSuccessConstants = -25304
	// ErrSecInvalidKeyAttributeMask: The key attribute mask is not valid.
	ErrSecInvalidKeyAttributeMask ErrSecSuccessConstants = -67738
	// ErrSecInvalidKeyBlob: The specified database has an invalid key blob.
	ErrSecInvalidKeyBlob ErrSecSuccessConstants = -67599
	// ErrSecInvalidKeyFormat: The key format is not valid.
	ErrSecInvalidKeyFormat ErrSecSuccessConstants = -67742
	// ErrSecInvalidKeyHierarchy: An invalid key hierarchy was detected.
	ErrSecInvalidKeyHierarchy ErrSecSuccessConstants = -67713
	// ErrSecInvalidKeyLabel: The key label is not valid.
	ErrSecInvalidKeyLabel ErrSecSuccessConstants = -67740
	// ErrSecInvalidKeyRef: An invalid key was encountered.
	ErrSecInvalidKeyRef ErrSecSuccessConstants = -67712
	// ErrSecInvalidKeyUsageForPolicy: The key usage is not valid for the specified policy.
	ErrSecInvalidKeyUsageForPolicy ErrSecSuccessConstants = -67608
	// ErrSecInvalidKeyUsageMask: The key usage mask is not valid.
	ErrSecInvalidKeyUsageMask ErrSecSuccessConstants = -67736
	// ErrSecInvalidKeychain: The keychain is not valid.
	ErrSecInvalidKeychain ErrSecSuccessConstants = -25295
	// ErrSecInvalidLoginName: An invalid login name was detected.
	ErrSecInvalidLoginName ErrSecSuccessConstants = -67813
	// ErrSecInvalidModifyMode: The modify mode is not valid.
	ErrSecInvalidModifyMode ErrSecSuccessConstants = -67879
	// ErrSecInvalidName: An invalid name was detected.
	ErrSecInvalidName ErrSecSuccessConstants = -67689
	// ErrSecInvalidNetworkAddress: An invalid network address was detected.
	ErrSecInvalidNetworkAddress ErrSecSuccessConstants = -67683
	// ErrSecInvalidNewOwner: The new owner is not valid.
	ErrSecInvalidNewOwner ErrSecSuccessConstants = -67878
	// ErrSecInvalidNumberOfFields: An invalid number of fields were detected.
	ErrSecInvalidNumberOfFields ErrSecSuccessConstants = -67685
	// ErrSecInvalidOutputVector: The output vector is not valid.
	ErrSecInvalidOutputVector ErrSecSuccessConstants = -67745
	// ErrSecInvalidOwnerEdit: An invalid attempt to change the owner of an item.
	ErrSecInvalidOwnerEdit ErrSecSuccessConstants = -25244
	// ErrSecInvalidPVC: An invalid pointer validation checking policy was detected.
	ErrSecInvalidPVC ErrSecSuccessConstants = -67708
	// ErrSecInvalidParsingModule: The parsing module is not valid.
	ErrSecInvalidParsingModule ErrSecSuccessConstants = -67868
	// ErrSecInvalidPassthroughID: An invalid passthrough ID was detected.
	ErrSecInvalidPassthroughID ErrSecSuccessConstants = -67682
	// ErrSecInvalidPasswordRef: The password reference is invalid.
	ErrSecInvalidPasswordRef ErrSecSuccessConstants = -25261
	// ErrSecInvalidPointer: An invalid pointer was detected.
	ErrSecInvalidPointer ErrSecSuccessConstants = -67675
	// ErrSecInvalidPolicyIdentifiers: The policy identifiers are not valid.
	ErrSecInvalidPolicyIdentifiers ErrSecSuccessConstants = -67835
	// ErrSecInvalidPrefsDomain: The preference domain specified is invalid.
	ErrSecInvalidPrefsDomain ErrSecSuccessConstants = -25319
	// ErrSecInvalidQuery: The specified query is not valid.
	ErrSecInvalidQuery ErrSecSuccessConstants = -67693
	// ErrSecInvalidReason: The trust policy reason is not valid.
	ErrSecInvalidReason ErrSecSuccessConstants = -67837
	// ErrSecInvalidRecord: An invalid record was detected.
	ErrSecInvalidRecord ErrSecSuccessConstants = -67701
	// ErrSecInvalidRequestInputs: The request inputs are not valid.
	ErrSecInvalidRequestInputs ErrSecSuccessConstants = -67838
	// ErrSecInvalidRequestor: The requestor is not valid.
	ErrSecInvalidRequestor ErrSecSuccessConstants = -67855
	// ErrSecInvalidResponseVector: The response vector is not valid.
	ErrSecInvalidResponseVector ErrSecSuccessConstants = -67839
	// ErrSecInvalidRoot: The root or anchor certificate is not valid.
	ErrSecInvalidRoot ErrSecSuccessConstants = -67612
	// ErrSecInvalidSampleValue: An invalid sample value was detected.
	ErrSecInvalidSampleValue ErrSecSuccessConstants = -67703
	// ErrSecInvalidScope: An invalid scope was detected.
	ErrSecInvalidScope ErrSecSuccessConstants = -67706
	// ErrSecInvalidSearchRef: The search reference is invalid.
	ErrSecInvalidSearchRef ErrSecSuccessConstants = -25305
	// ErrSecInvalidServiceMask: An invalid service mask was detected.
	ErrSecInvalidServiceMask ErrSecSuccessConstants = -67717
	// ErrSecInvalidSignature: An invalid signature was detected.
	ErrSecInvalidSignature ErrSecSuccessConstants = -67688
	// ErrSecInvalidStopOnPolicy: The stop-on policy is not valid.
	ErrSecInvalidStopOnPolicy ErrSecSuccessConstants = -67840
	// ErrSecInvalidSubServiceID: An invalid sub-service ID was detected.
	ErrSecInvalidSubServiceID ErrSecSuccessConstants = -67719
	// ErrSecInvalidSubjectKeyID: The subject key ID is not valid.
	ErrSecInvalidSubjectKeyID ErrSecSuccessConstants = -67607
	// ErrSecInvalidSubjectName: An invalid certificate subject name was detected.
	ErrSecInvalidSubjectName ErrSecSuccessConstants = -67655
	// ErrSecInvalidTimeString: The time specified is not valid.
	ErrSecInvalidTimeString ErrSecSuccessConstants = -67836
	// ErrSecInvalidTrustSetting: The trust setting is invalid.
	ErrSecInvalidTrustSetting ErrSecSuccessConstants = -25242
	// ErrSecInvalidTrustSettings: The trust settings record is corrupted.
	ErrSecInvalidTrustSettings ErrSecSuccessConstants = -25262
	// ErrSecInvalidTuple: The tuple is not valid.
	ErrSecInvalidTuple ErrSecSuccessConstants = -67841
	// ErrSecInvalidTupleCredentials: The tuple credentials are not valid.
	ErrSecInvalidTupleCredentials ErrSecSuccessConstants = -67852
	// ErrSecInvalidTupleGroup: The tuple group is not valid.
	ErrSecInvalidTupleGroup ErrSecSuccessConstants = -67850
	// ErrSecInvalidValidityPeriod: The validity period is not valid.
	ErrSecInvalidValidityPeriod ErrSecSuccessConstants = -67854
	// ErrSecInvalidValue: An invalid value was detected.
	ErrSecInvalidValue ErrSecSuccessConstants = -67694
	// ErrSecItemNotFound: The item cannot be found.
	ErrSecItemNotFound ErrSecSuccessConstants = -25300
	// ErrSecKeyBlobTypeIncorrect: The key blob type is incorrect.
	ErrSecKeyBlobTypeIncorrect ErrSecSuccessConstants = -67732
	// ErrSecKeyHeaderInconsistent: The key header is inconsistent.
	ErrSecKeyHeaderInconsistent ErrSecSuccessConstants = -67733
	// ErrSecKeyIsSensitive: The key must be wrapped to be exported.
	ErrSecKeyIsSensitive ErrSecSuccessConstants = -25258
	// ErrSecKeySizeNotAllowed: The key size is not allowed.
	ErrSecKeySizeNotAllowed ErrSecSuccessConstants = -25311
	// ErrSecKeyUsageIncorrect: The key usage is incorrect.
	ErrSecKeyUsageIncorrect ErrSecSuccessConstants = -67731
	// ErrSecLibraryReferenceNotFound: A library reference was not found.
	ErrSecLibraryReferenceNotFound ErrSecSuccessConstants = -67715
	// ErrSecMDSError: A module directory service error occurred.
	ErrSecMDSError ErrSecSuccessConstants = -67674
	// ErrSecMemoryError: A memory error occurred.
	ErrSecMemoryError ErrSecSuccessConstants = -67672
	// ErrSecMissingAlgorithmParms: An algorithm parameters attribute is missing.
	ErrSecMissingAlgorithmParms ErrSecSuccessConstants = -67771
	// ErrSecMissingAttributeAccessCredentials: An access credentials attribute is missing.
	ErrSecMissingAttributeAccessCredentials ErrSecSuccessConstants = -67797
	// ErrSecMissingAttributeBase: A base attribute is missing.
	ErrSecMissingAttributeBase ErrSecSuccessConstants = -67789
	// ErrSecMissingAttributeBlockSize: A block size attribute is missing.
	ErrSecMissingAttributeBlockSize ErrSecSuccessConstants = -67765
	// ErrSecMissingAttributeDLDBHandle: A database handle attribute is missing.
	ErrSecMissingAttributeDLDBHandle ErrSecSuccessConstants = -67795
	// ErrSecMissingAttributeEffectiveBits: An effective bits attribute is missing.
	ErrSecMissingAttributeEffectiveBits ErrSecSuccessConstants = -67779
	// ErrSecMissingAttributeEndDate: An end date attribute is missing.
	ErrSecMissingAttributeEndDate ErrSecSuccessConstants = -67783
	// ErrSecMissingAttributeInitVector: An init vector attribute is missing.
	ErrSecMissingAttributeInitVector ErrSecSuccessConstants = -67751
	// ErrSecMissingAttributeIterationCount: An iteration count attribute is missing.
	ErrSecMissingAttributeIterationCount ErrSecSuccessConstants = -67793
	// ErrSecMissingAttributeKey: A key attribute is missing.
	ErrSecMissingAttributeKey ErrSecSuccessConstants = -67749
	// ErrSecMissingAttributeKeyLength: A key length attribute is missing.
	ErrSecMissingAttributeKeyLength ErrSecSuccessConstants = -67763
	// ErrSecMissingAttributeKeyType: A key type attribute is missing.
	ErrSecMissingAttributeKeyType ErrSecSuccessConstants = -67775
	// ErrSecMissingAttributeLabel: A label attribute is missing.
	ErrSecMissingAttributeLabel ErrSecSuccessConstants = -67773
	// ErrSecMissingAttributeMode: A mode attribute is missing.
	ErrSecMissingAttributeMode ErrSecSuccessConstants = -67777
	// ErrSecMissingAttributeOutputSize: An output size attribute is missing.
	ErrSecMissingAttributeOutputSize ErrSecSuccessConstants = -67767
	// ErrSecMissingAttributePadding: A padding attribute is missing.
	ErrSecMissingAttributePadding ErrSecSuccessConstants = -67755
	// ErrSecMissingAttributePassphrase: A passphrase attribute is missing.
	ErrSecMissingAttributePassphrase ErrSecSuccessConstants = -67761
	// ErrSecMissingAttributePrime: A prime attribute is missing.
	ErrSecMissingAttributePrime ErrSecSuccessConstants = -67787
	// ErrSecMissingAttributePrivateKeyFormat: A private key format attribute is missing.
	ErrSecMissingAttributePrivateKeyFormat ErrSecSuccessConstants = -67801
	// ErrSecMissingAttributePublicKeyFormat: A public key format attribute is missing.
	ErrSecMissingAttributePublicKeyFormat ErrSecSuccessConstants = -67799
	// ErrSecMissingAttributeRandom: A random number attribute is missing.
	ErrSecMissingAttributeRandom ErrSecSuccessConstants = -67757
	// ErrSecMissingAttributeRounds: The number of rounds attribute is missing.
	ErrSecMissingAttributeRounds ErrSecSuccessConstants = -67769
	// ErrSecMissingAttributeSalt: A salt attribute is missing.
	ErrSecMissingAttributeSalt ErrSecSuccessConstants = -67753
	// ErrSecMissingAttributeSeed: A seed attribute is missing.
	ErrSecMissingAttributeSeed ErrSecSuccessConstants = -67759
	// ErrSecMissingAttributeStartDate: A start date attribute is missing.
	ErrSecMissingAttributeStartDate ErrSecSuccessConstants = -67781
	// ErrSecMissingAttributeSubprime: A subprime attribute is missing.
	ErrSecMissingAttributeSubprime ErrSecSuccessConstants = -67791
	// ErrSecMissingAttributeSymmetricKeyFormat: A symmetric key format attribute is missing.
	ErrSecMissingAttributeSymmetricKeyFormat ErrSecSuccessConstants = -67803
	// ErrSecMissingAttributeVersion: A version attribute is missing.
	ErrSecMissingAttributeVersion ErrSecSuccessConstants = -67785
	// ErrSecMissingAttributeWrappedKeyFormat: A wrapped key format attribute is missing.
	ErrSecMissingAttributeWrappedKeyFormat ErrSecSuccessConstants = -67805
	// ErrSecMissingEntitlement: A required entitlement is missing.
	ErrSecMissingEntitlement            ErrSecSuccessConstants = -34018
	ErrSecMissingQualifiedCertStatement ErrSecSuccessConstants = -67904
	// ErrSecMissingRequiredExtension: A required certificate extension is missing.
	ErrSecMissingRequiredExtension ErrSecSuccessConstants = -67880
	// ErrSecMissingValue: A missing value was detected.
	ErrSecMissingValue ErrSecSuccessConstants = -67871
	// ErrSecMobileMeCSRVerifyFailure: A MobileMe certificate signing request verification failure occurred.
	ErrSecMobileMeCSRVerifyFailure ErrSecSuccessConstants = -67665
	// ErrSecMobileMeFailedConsistencyCheck: MobileMe found a failed consistency check.
	ErrSecMobileMeFailedConsistencyCheck ErrSecSuccessConstants = -67666
	// ErrSecMobileMeNoRequestPending: MobileMe has no request pending.
	ErrSecMobileMeNoRequestPending ErrSecSuccessConstants = -67664
	// ErrSecMobileMeRequestAlreadyPending: A MobileMe request is already pending.
	ErrSecMobileMeRequestAlreadyPending ErrSecSuccessConstants = -67663
	// ErrSecMobileMeRequestQueued: The MobileMe request will be sent during the next connection.
	ErrSecMobileMeRequestQueued ErrSecSuccessConstants = -67657
	// ErrSecMobileMeRequestRedirected: The MobileMe request was redirected.
	ErrSecMobileMeRequestRedirected ErrSecSuccessConstants = -67658
	// ErrSecMobileMeServerAlreadyExists: The MobileMe server reported that the item already exists.
	ErrSecMobileMeServerAlreadyExists ErrSecSuccessConstants = -67661
	// ErrSecMobileMeServerError: A MobileMe server error occurred.
	ErrSecMobileMeServerError ErrSecSuccessConstants = -67659
	// ErrSecMobileMeServerNotAvailable: The MobileMe server is not available.
	ErrSecMobileMeServerNotAvailable ErrSecSuccessConstants = -67660
	// ErrSecMobileMeServerServiceErr: A MobileMe service error occurred.
	ErrSecMobileMeServerServiceErr ErrSecSuccessConstants = -67662
	// ErrSecModuleManagerInitializeFailed: A module failed to initialize.
	ErrSecModuleManagerInitializeFailed ErrSecSuccessConstants = -67721
	// ErrSecModuleManagerNotFound: A module was not found.
	ErrSecModuleManagerNotFound ErrSecSuccessConstants = -67722
	// ErrSecModuleManifestVerifyFailed: A module manifest verification failure occurred.
	ErrSecModuleManifestVerifyFailed ErrSecSuccessConstants = -67678
	// ErrSecModuleNotLoaded: A module was not loaded.
	ErrSecModuleNotLoaded ErrSecSuccessConstants = -67718
	// ErrSecMultiplePrivKeys: An attempt was made to import multiple private keys.
	ErrSecMultiplePrivKeys ErrSecSuccessConstants = -25259
	// ErrSecMultipleValuesUnsupported: Multiple values are not supported.
	ErrSecMultipleValuesUnsupported ErrSecSuccessConstants = -67842
	// ErrSecNetworkFailure: A network failure occurred.
	ErrSecNetworkFailure ErrSecSuccessConstants = -67636
	// ErrSecNoAccessForItem: The specified item has no access control.
	ErrSecNoAccessForItem ErrSecSuccessConstants = -25243
	// ErrSecNoBasicConstraints: No basic constraints were found.
	ErrSecNoBasicConstraints ErrSecSuccessConstants = -67604
	// ErrSecNoBasicConstraintsCA: No basic CA constraints were found.
	ErrSecNoBasicConstraintsCA ErrSecSuccessConstants = -67605
	// ErrSecNoCertificateModule: There is no certificate module available.
	ErrSecNoCertificateModule ErrSecSuccessConstants = -25313
	// ErrSecNoDefaultAuthority: No default authority was detected.
	ErrSecNoDefaultAuthority ErrSecSuccessConstants = -67844
	// ErrSecNoDefaultKeychain: A default keychain does not exist.
	ErrSecNoDefaultKeychain ErrSecSuccessConstants = -25307
	// ErrSecNoFieldValues: No field values were detected.
	ErrSecNoFieldValues ErrSecSuccessConstants = -67859
	// ErrSecNoPolicyModule: There is no policy module available.
	ErrSecNoPolicyModule ErrSecSuccessConstants = -25314
	// ErrSecNoStorageModule: There is no storage module available.
	ErrSecNoStorageModule ErrSecSuccessConstants = -25312
	// ErrSecNoSuchAttr: The attribute does not exist.
	ErrSecNoSuchAttr ErrSecSuccessConstants = -25303
	// ErrSecNoSuchClass: The keychain item class does not exist.
	ErrSecNoSuchClass ErrSecSuccessConstants = -25306
	// ErrSecNoSuchKeychain: The keychain does not exist.
	ErrSecNoSuchKeychain ErrSecSuccessConstants = -25294
	// ErrSecNoTrustSettings: No trust settings were found.
	ErrSecNoTrustSettings ErrSecSuccessConstants = -25263
	// ErrSecNotAvailable: No trust results are available.
	ErrSecNotAvailable ErrSecSuccessConstants = -25291
	// ErrSecNotInitialized: A function was called without initializing the common security services manager.
	ErrSecNotInitialized ErrSecSuccessConstants = -67667
	// ErrSecNotLoggedIn: You are not logged in.
	ErrSecNotLoggedIn ErrSecSuccessConstants = -67729
	// ErrSecNotSigner: The certificate is not signed by its proposed parent.
	ErrSecNotSigner ErrSecSuccessConstants = -26267
	// ErrSecNotTrusted: The trust policy is not trusted.
	ErrSecNotTrusted ErrSecSuccessConstants = -67843
	// ErrSecOCSPBadRequest: The online certificate status protocol (OCSP) request is incorrect or cannot be parsed.
	ErrSecOCSPBadRequest ErrSecSuccessConstants = -67631
	// ErrSecOCSPBadResponse: The online certificate status protocol (OCSP) response is incorrect or cannot be parsed.
	ErrSecOCSPBadResponse ErrSecSuccessConstants = -67630
	// ErrSecOCSPNoSigner: The online certificate status protocol (OCSP) response has no signer.
	ErrSecOCSPNoSigner ErrSecSuccessConstants = -67640
	// ErrSecOCSPNotTrustedToAnchor: The online certificate status protocol (OCSP) response is not trusted to a root or anchor certificate.
	ErrSecOCSPNotTrustedToAnchor ErrSecSuccessConstants = -67637
	// ErrSecOCSPResponderInternalError: The online certificate status protocol (OCSP) responder detected an internal error.
	ErrSecOCSPResponderInternalError ErrSecSuccessConstants = -67642
	// ErrSecOCSPResponderMalformedReq: The online certificate status protocol (OCSP) responder detected a malformed request.
	ErrSecOCSPResponderMalformedReq ErrSecSuccessConstants = -67641
	// ErrSecOCSPResponderSignatureRequired: The online certificate status protocol (OCSP) responder requires a signature.
	ErrSecOCSPResponderSignatureRequired ErrSecSuccessConstants = -67644
	// ErrSecOCSPResponderTryLater: The online certificate status protocol (OCSP) responder is busy, try again later.
	ErrSecOCSPResponderTryLater ErrSecSuccessConstants = -67643
	// ErrSecOCSPResponderUnauthorized: The online certificate status protocol (OCSP) responder rejects the request as unauthorized.
	ErrSecOCSPResponderUnauthorized ErrSecSuccessConstants = -67645
	// ErrSecOCSPResponseNonceMismatch: The online certificate status protocol (OCSP) response nonce does not match the request.
	ErrSecOCSPResponseNonceMismatch ErrSecSuccessConstants = -67646
	// ErrSecOCSPSignatureError: The online certificate status protocol (OCSP) response has an invalid signature.
	ErrSecOCSPSignatureError ErrSecSuccessConstants = -67639
	// ErrSecOCSPStatusUnrecognized: The online certificate status protocol (OCSP) server does not recognize this certificate.
	ErrSecOCSPStatusUnrecognized ErrSecSuccessConstants = -67633
	// ErrSecOCSPUnavailable: The online certificate status protocol (OCSP) service is unavailable.
	ErrSecOCSPUnavailable ErrSecSuccessConstants = -67632
	// ErrSecOpWr: The file is already open with write permission.
	ErrSecOpWr ErrSecSuccessConstants = -49
	// ErrSecOutputLengthError: An output length error was detected.
	ErrSecOutputLengthError ErrSecSuccessConstants = -67725
	// ErrSecPVCAlreadyConfigured: The PVC is already configured.
	ErrSecPVCAlreadyConfigured ErrSecSuccessConstants = -67707
	// ErrSecPVCReferentNotFound: A reference to the calling module was not found in the list of authorized callers.
	ErrSecPVCReferentNotFound ErrSecSuccessConstants = -67669
	// ErrSecParam: One or more parameters passed to the function are not valid.
	ErrSecParam ErrSecSuccessConstants = -50
	// ErrSecPassphraseRequired: A password is required for import or export.
	ErrSecPassphraseRequired ErrSecSuccessConstants = -25260
	// ErrSecPathLengthConstraintExceeded: The path length constraint was exceeded.
	ErrSecPathLengthConstraintExceeded ErrSecSuccessConstants = -67611
	// ErrSecPkcs12VerifyFailure: MAC verification failed during PKCS12 Import.
	ErrSecPkcs12VerifyFailure ErrSecSuccessConstants = -25264
	// ErrSecPolicyNotFound: The specified policy cannot be found.
	ErrSecPolicyNotFound ErrSecSuccessConstants = -25241
	// ErrSecPrivilegeNotGranted: The privilege is not granted.
	ErrSecPrivilegeNotGranted ErrSecSuccessConstants = -67705
	// ErrSecPrivilegeNotSupported: The privilege is not supported.
	ErrSecPrivilegeNotSupported ErrSecSuccessConstants = -67726
	// ErrSecPublicKeyInconsistent: The public key is inconsistent.
	ErrSecPublicKeyInconsistent ErrSecSuccessConstants = -67811
	// ErrSecQuerySizeUnknown: The query size is unknown.
	ErrSecQuerySizeUnknown ErrSecSuccessConstants = -67809
	// ErrSecQuotaExceeded: The quota was exceeded.
	ErrSecQuotaExceeded ErrSecSuccessConstants = -67596
	// ErrSecReadOnly: Read-only error.
	ErrSecReadOnly ErrSecSuccessConstants = -25292
	// ErrSecReadOnlyAttr: The attribute is read-only.
	ErrSecReadOnlyAttr ErrSecSuccessConstants = -25309
	// ErrSecRecordModified: The record is modified.
	ErrSecRecordModified ErrSecSuccessConstants = -67638
	// ErrSecRejectedForm: The trust policy has a rejected form.
	ErrSecRejectedForm ErrSecSuccessConstants = -67845
	// ErrSecRequestDescriptor: The request descriptor is not valid.
	ErrSecRequestDescriptor ErrSecSuccessConstants = -67856
	// ErrSecRequestLost: The request is lost.
	ErrSecRequestLost ErrSecSuccessConstants = -67846
	// ErrSecRequestRejected: The request is rejected.
	ErrSecRequestRejected ErrSecSuccessConstants = -67847
	// ErrSecResourceSignBadCertChainLength: Resource signing detects an incorrect certificate chain length.
	ErrSecResourceSignBadCertChainLength ErrSecSuccessConstants = -67652
	// ErrSecResourceSignBadExtKeyUsage: Resource signing detects an error in the extended key usage.
	ErrSecResourceSignBadExtKeyUsage ErrSecSuccessConstants = -67653
	ErrSecRestrictedAPI              ErrSecSuccessConstants = -34020
	// ErrSecSMIMEBadExtendedKeyUsage: The appropriate extended key usage for SMIME is not found.
	ErrSecSMIMEBadExtendedKeyUsage ErrSecSuccessConstants = -67624
	// ErrSecSMIMEBadKeyUsage: The key usage is not compatible with SMIME.
	ErrSecSMIMEBadKeyUsage ErrSecSuccessConstants = -67625
	// ErrSecSMIMEEmailAddressesNotFound: An email address mismatch was detected.
	ErrSecSMIMEEmailAddressesNotFound ErrSecSuccessConstants = -67623
	// ErrSecSMIMEKeyUsageNotCritical: The key usage extension is not marked as critical.
	ErrSecSMIMEKeyUsageNotCritical ErrSecSuccessConstants = -67626
	// ErrSecSMIMENoEmailAddress: No email address is found in the certificate.
	ErrSecSMIMENoEmailAddress ErrSecSuccessConstants = -67627
	// ErrSecSMIMESubjAltNameNotCritical: The subject alternative name extension is not marked as critical.
	ErrSecSMIMESubjAltNameNotCritical ErrSecSuccessConstants = -67628
	// ErrSecSSLBadExtendedKeyUsage: The appropriate extended key usage for SSL is not found.
	ErrSecSSLBadExtendedKeyUsage ErrSecSuccessConstants = -67629
	// ErrSecSelfCheckFailed: Self-check failed.
	ErrSecSelfCheckFailed ErrSecSuccessConstants = -67676
	// ErrSecServiceNotAvailable: Self-check failed.
	ErrSecServiceNotAvailable ErrSecSuccessConstants = -67585
	// ErrSecSigningTimeMissing: A signing time is missing.
	ErrSecSigningTimeMissing ErrSecSuccessConstants = -67894
	// ErrSecStagedOperationInProgress: A staged operation is in progress.
	ErrSecStagedOperationInProgress ErrSecSuccessConstants = -67806
	// ErrSecStagedOperationNotStarted: A staged operation was not started.
	ErrSecStagedOperationNotStarted ErrSecSuccessConstants = -67807
	// ErrSecSuccess: No error.
	ErrSecSuccess ErrSecSuccessConstants = 0
	// ErrSecTagNotFound: The specified tag is not found.
	ErrSecTagNotFound ErrSecSuccessConstants = -67692
	// ErrSecTimestampAddInfoNotAvailable: The additional information requested is not available.
	ErrSecTimestampAddInfoNotAvailable ErrSecSuccessConstants = -67892
	// ErrSecTimestampBadAlg: Found an unrecognized or unsupported algorithm identifier (AI) in timestamp.
	ErrSecTimestampBadAlg ErrSecSuccessConstants = -67886
	// ErrSecTimestampBadDataFormat: The timestamp data submitted has the wrong format.
	ErrSecTimestampBadDataFormat ErrSecSuccessConstants = -67888
	// ErrSecTimestampBadRequest: The timestamp transaction is not permitted or supported.
	ErrSecTimestampBadRequest ErrSecSuccessConstants = -67887
	// ErrSecTimestampInvalid: The timestamp is not valid.
	ErrSecTimestampInvalid ErrSecSuccessConstants = -67883
	// ErrSecTimestampMissing: A timestamp is expected but is not found.
	ErrSecTimestampMissing ErrSecSuccessConstants = -67882
	// ErrSecTimestampNotTrusted: The timestamp is not trusted.
	ErrSecTimestampNotTrusted ErrSecSuccessConstants = -67884
	// ErrSecTimestampRejection: A timestamp transaction is rejected.
	ErrSecTimestampRejection ErrSecSuccessConstants = -67895
	// ErrSecTimestampRevocationNotification: A timestamp authority revocation notification is issued.
	ErrSecTimestampRevocationNotification ErrSecSuccessConstants = -67898
	// ErrSecTimestampRevocationWarning: A timestamp authority revocation warning is issued.
	ErrSecTimestampRevocationWarning   ErrSecSuccessConstants = -67897
	ErrSecTimestampServiceNotAvailable ErrSecSuccessConstants = -67885
	// ErrSecTimestampSystemFailure: The timestamp request cannot be handled due to a system failure.
	ErrSecTimestampSystemFailure ErrSecSuccessConstants = -67893
	// ErrSecTimestampTimeNotAvailable: The time source for the timestamp authority is not available.
	ErrSecTimestampTimeNotAvailable ErrSecSuccessConstants = -67889
	// ErrSecTimestampUnacceptedExtension: The requested extension is not supported by the timestamp authority.
	ErrSecTimestampUnacceptedExtension ErrSecSuccessConstants = -67891
	// ErrSecTimestampUnacceptedPolicy: The requested policy is not supported by the timestamp authority.
	ErrSecTimestampUnacceptedPolicy ErrSecSuccessConstants = -67890
	// ErrSecTimestampWaiting: A timestamp transaction is waiting.
	ErrSecTimestampWaiting ErrSecSuccessConstants = -67896
	// ErrSecTrustNotAvailable: No trust results are available.
	ErrSecTrustNotAvailable ErrSecSuccessConstants = -25245
	// ErrSecTrustSettingDeny: The trust setting for this policy is set to Deny.
	ErrSecTrustSettingDeny ErrSecSuccessConstants = -67654
	// ErrSecUnimplemented: A function or operation is not implemented.
	ErrSecUnimplemented ErrSecSuccessConstants = -4
	// ErrSecUnknownCRLExtension: An unknown certificate revocation list extension was detected.
	ErrSecUnknownCRLExtension ErrSecSuccessConstants = -67619
	// ErrSecUnknownCertExtension: An unknown certificate extension was detected.
	ErrSecUnknownCertExtension ErrSecSuccessConstants = -67618
	// ErrSecUnknownCriticalExtensionFlag: There is an unknown critical extension flag.
	ErrSecUnknownCriticalExtensionFlag ErrSecSuccessConstants = -67603
	// ErrSecUnknownFormat: The item you are trying to import has an unknown format.
	ErrSecUnknownFormat ErrSecSuccessConstants = -25257
	// ErrSecUnknownQualifiedCertStatement: An unknown qualified certificate statement was detected.
	ErrSecUnknownQualifiedCertStatement ErrSecSuccessConstants = -67656
	// ErrSecUnknownTag: An unknown tag was detected.
	ErrSecUnknownTag ErrSecSuccessConstants = -67687
	// ErrSecUnsupportedAddressType: The address type is not supported.
	ErrSecUnsupportedAddressType ErrSecSuccessConstants = -67848
	// ErrSecUnsupportedFieldFormat: The field format is not supported.
	ErrSecUnsupportedFieldFormat ErrSecSuccessConstants = -67860
	// ErrSecUnsupportedFormat: The specified import or export format is not supported.
	ErrSecUnsupportedFormat ErrSecSuccessConstants = -25256
	// ErrSecUnsupportedIndexInfo: The index information is not supported.
	ErrSecUnsupportedIndexInfo ErrSecSuccessConstants = -67861
	// ErrSecUnsupportedKeyAttributeMask: The key attribute mask is not supported.
	ErrSecUnsupportedKeyAttributeMask ErrSecSuccessConstants = -67739
	// ErrSecUnsupportedKeyFormat: The key header format is not supported.
	ErrSecUnsupportedKeyFormat ErrSecSuccessConstants = -67734
	// ErrSecUnsupportedKeyLabel: The key label is not supported.
	ErrSecUnsupportedKeyLabel ErrSecSuccessConstants = -67741
	// ErrSecUnsupportedKeySize: The key size is not supported.
	ErrSecUnsupportedKeySize ErrSecSuccessConstants = -67735
	// ErrSecUnsupportedKeyUsageMask: The key usage mask is not supported.
	ErrSecUnsupportedKeyUsageMask ErrSecSuccessConstants = -67737
	// ErrSecUnsupportedLocality: The locality is not supported.
	ErrSecUnsupportedLocality ErrSecSuccessConstants = -67862
	// ErrSecUnsupportedNumAttributes: The number of attributes is not supported.
	ErrSecUnsupportedNumAttributes ErrSecSuccessConstants = -67863
	// ErrSecUnsupportedNumIndexes: The number of indexes is not supported.
	ErrSecUnsupportedNumIndexes ErrSecSuccessConstants = -67864
	// ErrSecUnsupportedNumRecordTypes: The number of record types is not supported.
	ErrSecUnsupportedNumRecordTypes ErrSecSuccessConstants = -67865
	// ErrSecUnsupportedNumSelectionPreds: The number of selection predicates is not supported.
	ErrSecUnsupportedNumSelectionPreds ErrSecSuccessConstants = -67873
	// ErrSecUnsupportedOperator: The operator is not supported.
	ErrSecUnsupportedOperator ErrSecSuccessConstants = -67874
	// ErrSecUnsupportedQueryLimits: The query limits are not supported.
	ErrSecUnsupportedQueryLimits ErrSecSuccessConstants = -67872
	// ErrSecUnsupportedService: The service is not supported.
	ErrSecUnsupportedService ErrSecSuccessConstants = -67849
	// ErrSecUnsupportedVectorOfBuffers: The vector of buffers is not supported.
	ErrSecUnsupportedVectorOfBuffers ErrSecSuccessConstants = -67743
	// ErrSecUserCanceled: User canceled the operation.
	ErrSecUserCanceled ErrSecSuccessConstants = -128
	// ErrSecVerificationFailure: A verification failure occurred.
	ErrSecVerificationFailure ErrSecSuccessConstants = -67686
	// ErrSecVerifyActionFailed: A verify action failed.
	ErrSecVerifyActionFailed ErrSecSuccessConstants = -67825
	// ErrSecVerifyFailed: A cryptographic verification failure occurred.
	ErrSecVerifyFailed ErrSecSuccessConstants = -67808
	// ErrSecWrPerm: Write permissions error.
	ErrSecWrPerm ErrSecSuccessConstants = -61
	// ErrSecWrongSecVersion: The version is incorrect.
	ErrSecWrongSecVersion ErrSecSuccessConstants = -25310
	// Deprecated.
	ErrSecDskFull ErrSecSuccessConstants = -34
	// Deprecated: use ErrSecInvalidCRLAuthority.
	ErrSecInvaldCRLAuthority ErrSecSuccessConstants = -67827
	// Deprecated: use ErrSecInvalidTupleCredentials.
	ErrSecInvalidTupleCredendtials ErrSecSuccessConstants = -67852
)

func (ErrSecSuccessConstants) String

func (e ErrSecSuccessConstants) String() string

type ErrSecureDownloadInvalid

type ErrSecureDownloadInvalid int32
const (
	ErrSecureDownloadInvalidDownload ErrSecureDownloadInvalid = -20053
	ErrSecureDownloadInvalidTicket   ErrSecureDownloadInvalid = -20052
)

func (ErrSecureDownloadInvalid) String

func (e ErrSecureDownloadInvalid) String() string

type ErrSession

type ErrSession int32
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 ExtensionDataFormat added in v0.6.4

type ExtensionDataFormat = Extension_data_format

ExtensionDataFormat is a Go-name alias for Extension_data_format.

type Extension_data_format

type Extension_data_format uint32

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 KAuthorizationCallbacks added in v0.5.1

type KAuthorizationCallbacks uint32
const (
	KAuthorizationCallbacksVersion KAuthorizationCallbacks = 4
)

func (KAuthorizationCallbacks) String added in v0.5.1

func (e KAuthorizationCallbacks) String() string

type KAuthorizationFlagCanNotPre added in v0.5.1

type KAuthorizationFlagCanNotPre uint32
const (
	// KAuthorizationFlagCanNotPreAuthorize: Indicates the Security Server could not preauthorizethe right.
	KAuthorizationFlagCanNotPreAuthorize KAuthorizationFlagCanNotPre = 1
)

func (KAuthorizationFlagCanNotPre) String added in v0.5.1

type KAuthorizationPluginInterface added in v0.5.1

type KAuthorizationPluginInterface uint32
const (
	KAuthorizationPluginInterfaceVersion KAuthorizationPluginInterface = 0
)

func (KAuthorizationPluginInterface) String added in v0.5.1

type KSecCSCheckAllArchitecturesConstants

type KSecCSCheckAllArchitecturesConstants uint32
const (
	KSecCSAllowNetworkAccess KSecCSCheckAllArchitecturesConstants = 65536
	// KSecCSBasicValidateOnly: Do not validate either the main executable or the bundle resources, if any.
	KSecCSBasicValidateOnly KSecCSCheckAllArchitecturesConstants = 6
	// KSecCSCheckAllArchitectures: For multi-architecture (universal) Mach-O programs, validate all architectures included.
	KSecCSCheckAllArchitectures        KSecCSCheckAllArchitecturesConstants = 1
	KSecCSCheckGatekeeperArchitectures KSecCSCheckAllArchitecturesConstants = 65
	// KSecCSCheckNestedCode: For code in bundle form, locate and recursively check embedded code.
	KSecCSCheckNestedCode KSecCSCheckAllArchitecturesConstants = 8
	// KSecCSDoNotValidateExecutable: Do not validate the contents of the main executable.
	KSecCSDoNotValidateExecutable KSecCSCheckAllArchitecturesConstants = 2
	// KSecCSDoNotValidateResources: Do not validate the presence and contents of all bundle resources (if any).
	KSecCSDoNotValidateResources   KSecCSCheckAllArchitecturesConstants = 4
	KSecCSFastExecutableValidation KSecCSCheckAllArchitecturesConstants = 131072
	KSecCSFullReport               KSecCSCheckAllArchitecturesConstants = 32
	KSecCSRestrictSidebandData     KSecCSCheckAllArchitecturesConstants = 512
	KSecCSRestrictSymlinks         KSecCSCheckAllArchitecturesConstants = 128
	KSecCSRestrictToAppLike        KSecCSCheckAllArchitecturesConstants = 256
	KSecCSSingleThreaded           KSecCSCheckAllArchitecturesConstants = 4096
	// KSecCSStrictValidate: Perform additional checks to ensure the validity of code in bundle form.
	KSecCSStrictValidate         KSecCSCheckAllArchitecturesConstants = 16
	KSecCSUseSoftwareSigningCert KSecCSCheckAllArchitecturesConstants = 1024
	KSecCSValidatePEH            KSecCSCheckAllArchitecturesConstants = 2048
)

func (KSecCSCheckAllArchitecturesConstants) String

type KSecCSDedicatedHostConstants

type KSecCSDedicatedHostConstants uint32
const (
	// KSecCSDedicatedHost: Declares dedicated hosting for the given host.
	KSecCSDedicatedHost KSecCSDedicatedHostConstants = 1
	// KSecCSGenerateGuestHash: Ask the host to generate the unique binary identifier (kSecCodeInfoUnique) from the copy on disk at the path given.
	KSecCSGenerateGuestHash KSecCSDedicatedHostConstants = 2
)

func (KSecCSDedicatedHostConstants) String

type KSecCSInternalInformationConstants

type KSecCSInternalInformationConstants uint32
const (
	KSecCSCalculateCMSDigest KSecCSInternalInformationConstants = 64
	// KSecCSContentInformation: More information about the file system contents making up the signed code on disk.
	KSecCSContentInformation KSecCSInternalInformationConstants = 16
	// KSecCSDynamicInformation: Dynamic validity information about running code.
	KSecCSDynamicInformation KSecCSInternalInformationConstants = 8
	// KSecCSInternalInformation: Internal code signing information.
	KSecCSInternalInformation KSecCSInternalInformationConstants = 1
	// KSecCSRequirementInformation: Code requirements—including the designated requirement—embedded in the code.
	KSecCSRequirementInformation KSecCSInternalInformationConstants = 4
	// KSecCSSigningInformation: Cryptographic signing information.
	KSecCSSigningInformation KSecCSInternalInformationConstants = 2
	// KSecCSSkipResourceDirectory: Suppress validating the resource directory.
	KSecCSSkipResourceDirectory KSecCSInternalInformationConstants = 32
)

func (KSecCSInternalInformationConstants) String

type KSecCSUseAll added in v0.5.1

type KSecCSUseAll uint32
const (
	// KSecCSUseAllArchitectures: Flag for requesting all architectures.
	KSecCSUseAllArchitectures KSecCSUseAll = 1
)

func (KSecCSUseAll) String added in v0.5.1

func (e KSecCSUseAll) String() string

type KSecKeyKeyClassConstants

type KSecKeyKeyClassConstants int32
const (
	// KSecKeyAlias: Type blob; currently unused.
	KSecKeyAlias KSecKeyKeyClassConstants = 2
	// KSecKeyAlwaysSensitive: Type uint32; value is nonzero.
	KSecKeyAlwaysSensitive KSecKeyKeyClassConstants = 15
	// KSecKeyApplicationTag: Type blob; currently unused.
	KSecKeyApplicationTag KSecKeyKeyClassConstants = 7
	// KSecKeyDecrypt: Type uint32; value is nonzero.
	KSecKeyDecrypt KSecKeyKeyClassConstants = 19
	// KSecKeyEffectiveKeySize: Type uint32; value is the effective number of bits in this key.
	KSecKeyEffectiveKeySize KSecKeyKeyClassConstants = 11
	// KSecKeyEncrypt: Type uint32; value is nonzero.
	KSecKeyEncrypt KSecKeyKeyClassConstants = 18
	// KSecKeyEndDate: Type `CSSM_DATE`.
	KSecKeyEndDate KSecKeyKeyClassConstants = 13
	// KSecKeyExtractable: Type uint32; value is nonzero.
	KSecKeyExtractable KSecKeyKeyClassConstants = 16
	// KSecKeyKeyClass: Type uint32 (`CSSM_KEYCLASS`); value is one of `CSSM_KEYCLASS_PUBLIC_KEY`, `CSSM_KEYCLASS_PRIVATE_KEY` or `CSSM_KEYCLASS_SESSION_KEY`.
	KSecKeyKeyClass KSecKeyKeyClassConstants = 0
	// KSecKeyKeyCreator: Type data.
	KSecKeyKeyCreator KSecKeyKeyClassConstants = 8
	// KSecKeyKeySizeInBits: Type uint32; value is the number of bits in this key.
	KSecKeyKeySizeInBits KSecKeyKeyClassConstants = 10
	// KSecKeyKeyType: Type uint32; value is a CSSM algorithm (`CSSM_ALGORITHMS`) representing the algorithm associated with this key.
	KSecKeyKeyType KSecKeyKeyClassConstants = 9
	// KSecKeyLabel: # Discussion
	KSecKeyLabel KSecKeyKeyClassConstants = 6
	// KSecKeyModifiable: Type uint32; value is nonzero.
	KSecKeyModifiable KSecKeyKeyClassConstants = 5
	// KSecKeyNeverExtractable: Type uint32; value is nonzero.
	KSecKeyNeverExtractable KSecKeyKeyClassConstants = 17
	// KSecKeyPermanent: Type uint32; value is nonzero.
	KSecKeyPermanent KSecKeyKeyClassConstants = 3
	// KSecKeyPrintName: Type blob; human readable name of the key.
	KSecKeyPrintName KSecKeyKeyClassConstants = 1
	// KSecKeyPrivate: Type uint32; value is nonzero.
	KSecKeyPrivate KSecKeyKeyClassConstants = 4
	// KSecKeySensitive: Type uint32; value is nonzero.
	KSecKeySensitive KSecKeyKeyClassConstants = 14
	// KSecKeySign: Type uint32, value is nonzero.
	KSecKeySign KSecKeyKeyClassConstants = 21
	// KSecKeySignRecover: Type uint32.
	KSecKeySignRecover KSecKeyKeyClassConstants = 23
	// KSecKeyUnwrap: Type uint32; value is nonzero.
	KSecKeyUnwrap KSecKeyKeyClassConstants = 26
	// KSecKeyVerify: Type uint32, value is nonzero.
	KSecKeyVerify KSecKeyKeyClassConstants = 22
	// KSecKeyVerifyRecover: Type uint32.
	KSecKeyVerifyRecover KSecKeyKeyClassConstants = 24
	// KSecKeyWrap: Type uint32; value is nonzero.
	KSecKeyWrap KSecKeyKeyClassConstants = 25
	// Deprecated.
	KSecKeyDerive KSecKeyKeyClassConstants = 20
	// Deprecated.
	KSecKeyStartDate KSecKeyKeyClassConstants = 12
)

func (KSecKeyKeyClassConstants) String

func (e KSecKeyKeyClassConstants) String() string

type KSecRevocation

type KSecRevocation uint
const (
	// KSecRevocationCRLMethod: Perform revocation checking using the CRL (Certification Revocation List) method.
	KSecRevocationCRLMethod KSecRevocation = 2
	// 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 = 3
)

func (KSecRevocation) String

func (e KSecRevocation) String() string

type KSecSubjectItemAttrConstants

type KSecSubjectItemAttrConstants uint32
const (
	// KSecCertEncodingItemAttr: Certificate encoding.
	KSecCertEncodingItemAttr KSecSubjectItemAttrConstants = 'c'<<24 | 'e'<<16 | 'n'<<8 | 'c' // 'cenc'
	// KSecCertTypeItemAttr: Certificate type.
	KSecCertTypeItemAttr KSecSubjectItemAttrConstants = 'c'<<24 | 't'<<16 | 'y'<<8 | 'p' // 'ctyp'
	// KSecIssuerItemAttr: DER-encoded issuer distinguished name.
	KSecIssuerItemAttr KSecSubjectItemAttrConstants = 'i'<<24 | 's'<<16 | 's'<<8 | 'u' // 'issu'
	// KSecPublicKeyHashItemAttr: Public key hash.
	KSecPublicKeyHashItemAttr KSecSubjectItemAttrConstants = 'h'<<24 | 'p'<<16 | 'k'<<8 | 'y' // 'hpky'
	// KSecSerialNumberItemAttr: DER-encoded certificate serial number (without the tag and length).
	KSecSerialNumberItemAttr KSecSubjectItemAttrConstants = 's'<<24 | 'n'<<16 | 'b'<<8 | 'r' // 'snbr'
	// KSecSubjectItemAttr: DER-encoded subject distinguished name.
	KSecSubjectItemAttr KSecSubjectItemAttrConstants = 's'<<24 | 'u'<<16 | 'b'<<8 | 'j' // 'subj'
	// KSecSubjectKeyIdentifierItemAttr: Subject key identifier.
	KSecSubjectKeyIdentifierItemAttr KSecSubjectItemAttrConstants = 's'<<24 | 'k'<<16 | 'i'<<8 | 'd' // 'skid'
)

func (KSecSubjectItemAttrConstants) String

type KSecTransform

type KSecTransform int
const (
	// Deprecated.
	KSecTransformErrorAbortInProgress KSecTransform = 19
	// Deprecated.
	KSecTransformErrorAborted KSecTransform = 20
	// Deprecated.
	KSecTransformErrorAttributeNotFound KSecTransform = 1
	// Deprecated.
	KSecTransformErrorInvalidAlgorithm KSecTransform = 6
	// Deprecated.
	KSecTransformErrorInvalidConnection KSecTransform = 15
	// Deprecated.
	KSecTransformErrorInvalidInput KSecTransform = 10
	// Deprecated.
	KSecTransformErrorInvalidInputDictionary KSecTransform = 5
	// Deprecated.
	KSecTransformErrorInvalidLength KSecTransform = 7
	// Deprecated.
	KSecTransformErrorInvalidOperation KSecTransform = 2
	// Deprecated.
	KSecTransformErrorInvalidType KSecTransform = 8
	// Deprecated.
	KSecTransformErrorMissingParameter KSecTransform = 14
	// Deprecated.
	KSecTransformErrorMoreThanOneOutput KSecTransform = 4
	// Deprecated.
	KSecTransformErrorNameAlreadyRegistered KSecTransform = 11
	// Deprecated.
	KSecTransformErrorNotInitializedCorrectly KSecTransform = 3
	// Deprecated.
	KSecTransformErrorUnsupportedAttribute KSecTransform = 12
	// Deprecated.
	KSecTransformInvalidArgument KSecTransform = 21
	// Deprecated.
	KSecTransformInvalidOverride KSecTransform = 17
	// Deprecated.
	KSecTransformOperationNotSupportedOnGroup KSecTransform = 13
	// Deprecated.
	KSecTransformTransformIsExecuting KSecTransform = 16
	// Deprecated.
	KSecTransformTransformIsNotRegistered KSecTransform = 18
)

func (KSecTransform) String

func (e KSecTransform) String() string

type KSecUnlockStateStatusConstants

type KSecUnlockStateStatusConstants uint32
const (
	// KSecReadPermStatus: Indicates the keychain is readable.
	KSecReadPermStatus KSecUnlockStateStatusConstants = 2
	// KSecUnlockStateStatus: Indicates the keychain is unlocked.
	KSecUnlockStateStatus KSecUnlockStateStatusConstants = 1
	// KSecWritePermStatus: Indicates the keychain is writable.
	KSecWritePermStatus KSecUnlockStateStatusConstants = 4
)

func (KSecUnlockStateStatusConstants) String

type KSecUseOnlyUIDConstants

type KSecUseOnlyUIDConstants uint32
const (
	// KSecHonorRoot: The access control list should treat the root user as a typical user for ownership purposes.
	KSecHonorRoot KSecUseOnlyUIDConstants = 0x100
	// 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 KSecUseOnlyUIDConstants = 3
	// KSecUseOnlyGID: The access control list should be owned by users that are members of a group matching the specified group ID parameter.
	KSecUseOnlyGID KSecUseOnlyUIDConstants = 2
	// KSecUseOnlyUID: The access control list should be owned by the user matching the specified user ID parameter.
	KSecUseOnlyUID KSecUseOnlyUIDConstants = 1
)

func (KSecUseOnlyUIDConstants) String

func (e KSecUseOnlyUIDConstants) String() string

type MDS_DB_HANDLE deprecated

type MDS_DB_HANDLE = [2]uint64

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/MDS_DB_HANDLE

type MDS_FUNCS deprecated

type MDS_FUNCS = Mds_funcs

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/MDS_FUNCS-c.typealias

type MDS_FUNCS_PTR deprecated

type MDS_FUNCS_PTR unsafe.Pointer

Deprecated: Deprecated since macOS 10.7.

See: https://developer.apple.com/documentation/Security/MDS_FUNCS_PTR MDS_FUNCS_PTR is an unresolved C aggregate typedef.

type MdsDbHandle

type MdsDbHandle = MDS_DB_HANDLE

MdsDbHandle is a Go-name alias for MDS_DB_HANDLE.

type MdsFuncs

type MdsFuncs = MDS_FUNCS

MdsFuncs is a Go-name alias for MDS_FUNCS.

type MdsFuncsPtr

type MdsFuncsPtr = MDS_FUNCS_PTR

MdsFuncsPtr is a Go-name alias for MDS_FUNCS_PTR.

type MdsHandle added in v0.6.4

type MdsHandle = MDS_HANDLE

MdsHandle is a Go-name alias for MDS_HANDLE.

type Mds_funcs

type Mds_funcs struct {
	// C: int (*)(long, const char *, const struct cssm_net_address *, unsigned int, const struct cssm_access_credentials *, const void *, long *)
	DbOpen uintptr
	// C: int (*)(struct cssm_dl_db_handle)
	DbClose uintptr
	// C: int (*)(long, struct cssm_name_list **)
	GetDbNames uintptr
	// C: int (*)(struct cssm_dl_db_handle, char **)
	GetDbNameFromHandle uintptr
	// C: int (*)(long, struct cssm_name_list *)
	FreeNameList uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, const struct cssm_db_record_attribute_data *, const struct cssm_data *, struct cssm_db_unique_record **)
	DataInsert uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_db_unique_record *)
	DataDelete uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, struct cssm_db_unique_record *, const struct cssm_db_record_attribute_data *, const struct cssm_data *, unsigned int)
	DataModify uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_query *, long *, struct cssm_db_record_attribute_data *, struct cssm_data *, struct cssm_db_unique_record **)
	DataGetFirst uintptr
	// C: int (*)(struct cssm_dl_db_handle, long, struct cssm_db_record_attribute_data *, struct cssm_data *, struct cssm_db_unique_record **)
	DataGetNext uintptr
	// C: int (*)(struct cssm_dl_db_handle, long)
	DataAbortQuery uintptr
	// C: int (*)(struct cssm_dl_db_handle, const struct cssm_db_unique_record *, struct cssm_db_record_attribute_data *, struct cssm_data *)
	DataGetFromUniqueRecordId uintptr
	// C: int (*)(struct cssm_dl_db_handle, struct cssm_db_unique_record *)
	FreeUniqueRecord uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int, const char *, unsigned int, const struct cssm_db_schema_attribute_info *, unsigned int, const struct cssm_db_schema_index_info *)
	CreateRelation uintptr
	// C: int (*)(struct cssm_dl_db_handle, unsigned int)
	DestroyRelation uintptr
}

Mds_funcs

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/mds_funcs-c.struct

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

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

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

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 SSLAuthenticate

type SSLAuthenticate int32

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

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 SSLCipherSuite = 0x11
	SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA     SSLCipherSuite = 0x13
	SSL_DHE_DSS_WITH_DES_CBC_SHA          SSLCipherSuite = 0x12
	// 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 SSLCipherSuite = 0x14
	SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA     SSLCipherSuite = 0x16
	SSL_DHE_RSA_WITH_DES_CBC_SHA          SSLCipherSuite = 0x15
	SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA  SSLCipherSuite = 0xb
	SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA      SSLCipherSuite = 0xd
	SSL_DH_DSS_WITH_DES_CBC_SHA           SSLCipherSuite = 0xc
	// 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 SSLCipherSuite = 0xe
	SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA     SSLCipherSuite = 0x10
	SSL_DH_RSA_WITH_DES_CBC_SHA          SSLCipherSuite = 0xf
	// 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 SSLCipherSuite = 0x19
	// 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     SSLCipherSuite = 0x17
	SSL_DH_anon_WITH_3DES_EDE_CBC_SHA      SSLCipherSuite = 0x1b
	SSL_DH_anon_WITH_DES_CBC_SHA           SSLCipherSuite = 0x1a
	SSL_DH_anon_WITH_RC4_128_MD5           SSLCipherSuite = 0x18
	SSL_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA SSLCipherSuite = 0x1d
	SSL_FORTEZZA_DMS_WITH_NULL_SHA         SSLCipherSuite = 0x1c
	SSL_NO_SUCH_CIPHERSUITE                SSLCipherSuite = 0xffff
	SSL_NULL_WITH_NULL_NULL                SSLCipherSuite = 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 SSLCipherSuite = 0x8
	// 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 SSLCipherSuite = 0x6
	// SSL_RSA_EXPORT_WITH_RC4_40_MD5: Session key size conforms to pre-1998 US export restrictions.
	SSL_RSA_EXPORT_WITH_RC4_40_MD5 SSLCipherSuite = 0x3
	// 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 SSLCipherSuite = 0xff83
	SSL_RSA_WITH_3DES_EDE_CBC_SHA SSLCipherSuite = 0xa
	// SSL_RSA_WITH_DES_CBC_MD5: This value can be specified for SSL 2 but not SSL 3.
	SSL_RSA_WITH_DES_CBC_MD5 SSLCipherSuite = 0xff82
	SSL_RSA_WITH_DES_CBC_SHA SSLCipherSuite = 0x9
	// SSL_RSA_WITH_IDEA_CBC_MD5: This value can be specified for SSL 2 but not SSL 3.
	SSL_RSA_WITH_IDEA_CBC_MD5 SSLCipherSuite = 0xff81
	SSL_RSA_WITH_IDEA_CBC_SHA SSLCipherSuite = 0x7
	SSL_RSA_WITH_NULL_MD5     SSLCipherSuite = 0x1
	SSL_RSA_WITH_NULL_SHA     SSLCipherSuite = 0x2
	// SSL_RSA_WITH_RC2_CBC_MD5: This value can be specified for SSL 2 but not SSL 3.
	SSL_RSA_WITH_RC2_CBC_MD5                      SSLCipherSuite = 0xff80
	SSL_RSA_WITH_RC4_128_MD5                      SSLCipherSuite = 0x4
	SSL_RSA_WITH_RC4_128_SHA                      SSLCipherSuite = 0x5
	TLS_AES_128_CCM_8_SHA256                      SSLCipherSuite = 0x1305
	TLS_AES_128_CCM_SHA256                        SSLCipherSuite = 0x1304
	TLS_AES_128_GCM_SHA256                        SSLCipherSuite = 0x1301
	TLS_AES_256_GCM_SHA384                        SSLCipherSuite = 0x1302
	TLS_CHACHA20_POLY1305_SHA256                  SSLCipherSuite = 0x1303
	TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA             SSLCipherSuite = 0x13
	TLS_DHE_DSS_WITH_AES_128_CBC_SHA              SSLCipherSuite = 0x32
	TLS_DHE_DSS_WITH_AES_128_CBC_SHA256           SSLCipherSuite = 0x40
	TLS_DHE_DSS_WITH_AES_128_GCM_SHA256           SSLCipherSuite = 0xa2
	TLS_DHE_DSS_WITH_AES_256_CBC_SHA              SSLCipherSuite = 0x38
	TLS_DHE_DSS_WITH_AES_256_CBC_SHA256           SSLCipherSuite = 0x6a
	TLS_DHE_DSS_WITH_AES_256_GCM_SHA384           SSLCipherSuite = 0xa3
	TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA             SSLCipherSuite = 0x8f
	TLS_DHE_PSK_WITH_AES_128_CBC_SHA              SSLCipherSuite = 0x90
	TLS_DHE_PSK_WITH_AES_128_CBC_SHA256           SSLCipherSuite = 0xb2
	TLS_DHE_PSK_WITH_AES_128_GCM_SHA256           SSLCipherSuite = 0xaa
	TLS_DHE_PSK_WITH_AES_256_CBC_SHA              SSLCipherSuite = 0x91
	TLS_DHE_PSK_WITH_AES_256_CBC_SHA384           SSLCipherSuite = 0xb3
	TLS_DHE_PSK_WITH_AES_256_GCM_SHA384           SSLCipherSuite = 0xab
	TLS_DHE_PSK_WITH_NULL_SHA                     SSLCipherSuite = 0x2d
	TLS_DHE_PSK_WITH_NULL_SHA256                  SSLCipherSuite = 0xb4
	TLS_DHE_PSK_WITH_NULL_SHA384                  SSLCipherSuite = 0xb5
	TLS_DHE_PSK_WITH_RC4_128_SHA                  SSLCipherSuite = 0x8e
	TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA             SSLCipherSuite = 0x16
	TLS_DHE_RSA_WITH_AES_128_CBC_SHA              SSLCipherSuite = 0x33
	TLS_DHE_RSA_WITH_AES_128_CBC_SHA256           SSLCipherSuite = 0x67
	TLS_DHE_RSA_WITH_AES_128_GCM_SHA256           SSLCipherSuite = 0x9e
	TLS_DHE_RSA_WITH_AES_256_CBC_SHA              SSLCipherSuite = 0x39
	TLS_DHE_RSA_WITH_AES_256_CBC_SHA256           SSLCipherSuite = 0x6b
	TLS_DHE_RSA_WITH_AES_256_GCM_SHA384           SSLCipherSuite = 0x9f
	TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA              SSLCipherSuite = 0xd
	TLS_DH_DSS_WITH_AES_128_CBC_SHA               SSLCipherSuite = 0x30
	TLS_DH_DSS_WITH_AES_128_CBC_SHA256            SSLCipherSuite = 0x3e
	TLS_DH_DSS_WITH_AES_128_GCM_SHA256            SSLCipherSuite = 0xa4
	TLS_DH_DSS_WITH_AES_256_CBC_SHA               SSLCipherSuite = 0x36
	TLS_DH_DSS_WITH_AES_256_CBC_SHA256            SSLCipherSuite = 0x68
	TLS_DH_DSS_WITH_AES_256_GCM_SHA384            SSLCipherSuite = 0xa5
	TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA              SSLCipherSuite = 0x10
	TLS_DH_RSA_WITH_AES_128_CBC_SHA               SSLCipherSuite = 0x31
	TLS_DH_RSA_WITH_AES_128_CBC_SHA256            SSLCipherSuite = 0x3f
	TLS_DH_RSA_WITH_AES_128_GCM_SHA256            SSLCipherSuite = 0xa0
	TLS_DH_RSA_WITH_AES_256_CBC_SHA               SSLCipherSuite = 0x37
	TLS_DH_RSA_WITH_AES_256_CBC_SHA256            SSLCipherSuite = 0x69
	TLS_DH_RSA_WITH_AES_256_GCM_SHA384            SSLCipherSuite = 0xa1
	TLS_DH_anon_WITH_3DES_EDE_CBC_SHA             SSLCipherSuite = 0x1b
	TLS_DH_anon_WITH_AES_128_CBC_SHA              SSLCipherSuite = 0x34
	TLS_DH_anon_WITH_AES_128_CBC_SHA256           SSLCipherSuite = 0x6c
	TLS_DH_anon_WITH_AES_128_GCM_SHA256           SSLCipherSuite = 0xa6
	TLS_DH_anon_WITH_AES_256_CBC_SHA              SSLCipherSuite = 0x3a
	TLS_DH_anon_WITH_AES_256_CBC_SHA256           SSLCipherSuite = 0x6d
	TLS_DH_anon_WITH_AES_256_GCM_SHA384           SSLCipherSuite = 0xa7
	TLS_DH_anon_WITH_RC4_128_MD5                  SSLCipherSuite = 0x18
	TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA         SSLCipherSuite = 0xc008
	TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA          SSLCipherSuite = 0xc009
	TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256       SSLCipherSuite = 0xc023
	TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256       SSLCipherSuite = 0xc02b
	TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA          SSLCipherSuite = 0xc00a
	TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384       SSLCipherSuite = 0xc024
	TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384       SSLCipherSuite = 0xc02c
	TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 SSLCipherSuite = 0xcca9
	TLS_ECDHE_ECDSA_WITH_NULL_SHA                 SSLCipherSuite = 0xc006
	TLS_ECDHE_ECDSA_WITH_RC4_128_SHA              SSLCipherSuite = 0xc007
	TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA            SSLCipherSuite = 0xc035
	TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA            SSLCipherSuite = 0xc036
	TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256   SSLCipherSuite = 0xccac
	TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA           SSLCipherSuite = 0xc012
	TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA            SSLCipherSuite = 0xc013
	TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256         SSLCipherSuite = 0xc027
	TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256         SSLCipherSuite = 0xc02f
	TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA            SSLCipherSuite = 0xc014
	TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384         SSLCipherSuite = 0xc028
	TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384         SSLCipherSuite = 0xc030
	TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256   SSLCipherSuite = 0xcca8
	TLS_ECDHE_RSA_WITH_NULL_SHA                   SSLCipherSuite = 0xc010
	TLS_ECDHE_RSA_WITH_RC4_128_SHA                SSLCipherSuite = 0xc011
	TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA          SSLCipherSuite = 0xc003
	TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA           SSLCipherSuite = 0xc004
	TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256        SSLCipherSuite = 0xc025
	TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256        SSLCipherSuite = 0xc02d
	TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA           SSLCipherSuite = 0xc005
	TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384        SSLCipherSuite = 0xc026
	TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384        SSLCipherSuite = 0xc02e
	TLS_ECDH_ECDSA_WITH_NULL_SHA                  SSLCipherSuite = 0xc001
	TLS_ECDH_ECDSA_WITH_RC4_128_SHA               SSLCipherSuite = 0xc002
	TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA            SSLCipherSuite = 0xc00d
	TLS_ECDH_RSA_WITH_AES_128_CBC_SHA             SSLCipherSuite = 0xc00e
	TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256          SSLCipherSuite = 0xc029
	TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256          SSLCipherSuite = 0xc031
	TLS_ECDH_RSA_WITH_AES_256_CBC_SHA             SSLCipherSuite = 0xc00f
	TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384          SSLCipherSuite = 0xc02a
	TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384          SSLCipherSuite = 0xc032
	TLS_ECDH_RSA_WITH_NULL_SHA                    SSLCipherSuite = 0xc00b
	TLS_ECDH_RSA_WITH_RC4_128_SHA                 SSLCipherSuite = 0xc00c
	TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA           SSLCipherSuite = 0xc017
	TLS_ECDH_anon_WITH_AES_128_CBC_SHA            SSLCipherSuite = 0xc018
	TLS_ECDH_anon_WITH_AES_256_CBC_SHA            SSLCipherSuite = 0xc019
	TLS_ECDH_anon_WITH_NULL_SHA                   SSLCipherSuite = 0xc015
	TLS_ECDH_anon_WITH_RC4_128_SHA                SSLCipherSuite = 0xc016
	TLS_EMPTY_RENEGOTIATION_INFO_SCSV             SSLCipherSuite = 0xff
	TLS_NULL_WITH_NULL_NULL                       SSLCipherSuite = 0
	TLS_PSK_WITH_3DES_EDE_CBC_SHA                 SSLCipherSuite = 0x8b
	TLS_PSK_WITH_AES_128_CBC_SHA                  SSLCipherSuite = 0x8c
	TLS_PSK_WITH_AES_128_CBC_SHA256               SSLCipherSuite = 0xae
	TLS_PSK_WITH_AES_128_GCM_SHA256               SSLCipherSuite = 0xa8
	TLS_PSK_WITH_AES_256_CBC_SHA                  SSLCipherSuite = 0x8d
	TLS_PSK_WITH_AES_256_CBC_SHA384               SSLCipherSuite = 0xaf
	TLS_PSK_WITH_AES_256_GCM_SHA384               SSLCipherSuite = 0xa9
	TLS_PSK_WITH_CHACHA20_POLY1305_SHA256         SSLCipherSuite = 0xccab
	TLS_PSK_WITH_NULL_SHA                         SSLCipherSuite = 0x2c
	TLS_PSK_WITH_NULL_SHA256                      SSLCipherSuite = 0xb0
	TLS_PSK_WITH_NULL_SHA384                      SSLCipherSuite = 0xb1
	TLS_PSK_WITH_RC4_128_SHA                      SSLCipherSuite = 0x8a
	TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA             SSLCipherSuite = 0x93
	TLS_RSA_PSK_WITH_AES_128_CBC_SHA              SSLCipherSuite = 0x94
	TLS_RSA_PSK_WITH_AES_128_CBC_SHA256           SSLCipherSuite = 0xb6
	TLS_RSA_PSK_WITH_AES_128_GCM_SHA256           SSLCipherSuite = 0xac
	TLS_RSA_PSK_WITH_AES_256_CBC_SHA              SSLCipherSuite = 0x95
	TLS_RSA_PSK_WITH_AES_256_CBC_SHA384           SSLCipherSuite = 0xb7
	TLS_RSA_PSK_WITH_AES_256_GCM_SHA384           SSLCipherSuite = 0xad
	TLS_RSA_PSK_WITH_NULL_SHA                     SSLCipherSuite = 0x2e
	TLS_RSA_PSK_WITH_NULL_SHA256                  SSLCipherSuite = 0xb8
	TLS_RSA_PSK_WITH_NULL_SHA384                  SSLCipherSuite = 0xb9
	TLS_RSA_PSK_WITH_RC4_128_SHA                  SSLCipherSuite = 0x92
	TLS_RSA_WITH_3DES_EDE_CBC_SHA                 SSLCipherSuite = 0xa
	TLS_RSA_WITH_AES_128_CBC_SHA                  SSLCipherSuite = 0x2f
	TLS_RSA_WITH_AES_128_CBC_SHA256               SSLCipherSuite = 0x3c
	TLS_RSA_WITH_AES_128_GCM_SHA256               SSLCipherSuite = 0x9c
	TLS_RSA_WITH_AES_256_CBC_SHA                  SSLCipherSuite = 0x35
	TLS_RSA_WITH_AES_256_CBC_SHA256               SSLCipherSuite = 0x3d
	TLS_RSA_WITH_AES_256_GCM_SHA384               SSLCipherSuite = 0x9d
	TLS_RSA_WITH_NULL_MD5                         SSLCipherSuite = 0x1
	TLS_RSA_WITH_NULL_SHA                         SSLCipherSuite = 0x2
	TLS_RSA_WITH_NULL_SHA256                      SSLCipherSuite = 0x3b
	TLS_RSA_WITH_RC4_128_MD5                      SSLCipherSuite = 0x4
	TLS_RSA_WITH_RC4_128_SHA                      SSLCipherSuite = 0x5
)

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.

It panics if sec_protocol_metadata_get_negotiated_ciphersuite is unavailable at run time; use TrySec_protocol_metadata_get_negotiated_ciphersuite to get an error instead.

Deprecated: Deprecated since macOS 10.15.

See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_negotiated_ciphersuite(_:)

func TrySec_protocol_metadata_get_negotiated_ciphersuite

func TrySec_protocol_metadata_get_negotiated_ciphersuite(metadata Sec_protocol_metadata_t) (SSLCipherSuite, error)

TrySec_protocol_metadata_get_negotiated_ciphersuite is like Sec_protocol_metadata_get_negotiated_ciphersuite but returns an error instead of panicking if sec_protocol_metadata_get_negotiated_ciphersuite is unavailable at run time.

type SSLCiphersuiteGroup

type SSLCiphersuiteGroup int32

See: https://developer.apple.com/documentation/Security/SSLCiphersuiteGroup

const (
	KSSLCiphersuiteGroupATS              SSLCiphersuiteGroup = 3
	KSSLCiphersuiteGroupATSCompatibility SSLCiphersuiteGroup = 4
	KSSLCiphersuiteGroupATSFCP_v2_1      SSLCiphersuiteGroup = 5
	KSSLCiphersuiteGroupCompatibility    SSLCiphersuiteGroup = 1
	KSSLCiphersuiteGroupDefault          SSLCiphersuiteGroup = 0
	KSSLCiphersuiteGroupLegacy           SSLCiphersuiteGroup = 2
)

func (SSLCiphersuiteGroup) String added in v0.5.1

func (e SSLCiphersuiteGroup) String() string

type SSLClientCertificateState

type SSLClientCertificateState int32

See: https://developer.apple.com/documentation/Security/SSLClientCertificateState

const (
	// Deprecated.
	KSSLClientCertNone SSLClientCertificateState = 0
	// Deprecated.
	KSSLClientCertRejected SSLClientCertificateState = 3
	// Deprecated.
	KSSLClientCertRequested SSLClientCertificateState = 1
	// Deprecated.
	KSSLClientCertSent SSLClientCertificateState = 2
)

func (SSLClientCertificateState) String

func (e SSLClientCertificateState) String() string

type SSLConnectionRef

type SSLConnectionRef = unsafe.Pointer

SSLConnectionRef is a pointer to an opaque I/O connection object.

See: https://developer.apple.com/documentation/Security/SSLConnectionRef

type SSLConnectionType

type SSLConnectionType int32

See: https://developer.apple.com/documentation/Security/SSLConnectionType

const (
	// Deprecated.
	KSSLDatagramType SSLConnectionType = 1
	// Deprecated.
	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

func SSLCreateContext deprecated

func SSLCreateContext(alloc corefoundation.CFAllocatorRef, protocolSide SSLProtocolSide, connectionType SSLConnectionType) SSLContextRef

SSLCreateContext allocates and returns a new context.

It panics if SSLCreateContext is unavailable at run time; use TrySSLCreateContext to get an error instead.

Deprecated: Deprecated since macOS 10.15. No longer supported. Use Network.framework.

See: https://developer.apple.com/documentation/Security/SSLCreateContext(_:_:_:)

func TrySSLCreateContext

func TrySSLCreateContext(alloc corefoundation.CFAllocatorRef, protocolSide SSLProtocolSide, connectionType SSLConnectionType) (SSLContextRef, error)

TrySSLCreateContext is like SSLCreateContext but returns an error instead of panicking if SSLCreateContext is unavailable at run time.

type SSLProtocol

type SSLProtocol int32

See: https://developer.apple.com/documentation/Security/SSLProtocol

const (
	// Deprecated.
	KDTLSProtocol1 SSLProtocol = 9
	// Deprecated.
	KDTLSProtocol12 SSLProtocol = 11
	// Deprecated.
	KSSLProtocol2 SSLProtocol = 1
	// Deprecated.
	KSSLProtocol3 SSLProtocol = 2
	// Deprecated.
	KSSLProtocol3Only SSLProtocol = 3
	// Deprecated.
	KSSLProtocolAll SSLProtocol = 6
	// Deprecated.
	KSSLProtocolUnknown SSLProtocol = 0
	// Deprecated.
	KTLSProtocol1 SSLProtocol = 4
	// Deprecated.
	KTLSProtocol11 SSLProtocol = 7
	// Deprecated.
	KTLSProtocol12 SSLProtocol = 8
	// Deprecated.
	KTLSProtocol13 SSLProtocol = 10
	// Deprecated.
	KTLSProtocol1Only SSLProtocol = 5
	// Deprecated.
	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.

It panics if sec_protocol_metadata_get_negotiated_protocol_version is unavailable at run time; use TrySec_protocol_metadata_get_negotiated_protocol_version to get an error instead.

Deprecated: Deprecated since macOS 10.15.

See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_negotiated_protocol_version(_:)

func TrySec_protocol_metadata_get_negotiated_protocol_version

func TrySec_protocol_metadata_get_negotiated_protocol_version(metadata Sec_protocol_metadata_t) (SSLProtocol, error)

TrySec_protocol_metadata_get_negotiated_protocol_version is like Sec_protocol_metadata_get_negotiated_protocol_version but returns an error instead of panicking if sec_protocol_metadata_get_negotiated_protocol_version is unavailable at run time.

func (SSLProtocol) String

func (e SSLProtocol) String() string

type SSLProtocolSide

type SSLProtocolSide int32

See: https://developer.apple.com/documentation/Security/SSLProtocolSide

const (
	// Deprecated.
	KSSLClientSide SSLProtocolSide = 1
	// Deprecated.
	KSSLServerSide SSLProtocolSide = 0
)

func (SSLProtocolSide) String

func (e SSLProtocolSide) String() string

type SSLReadFunc

type SSLReadFunc = func(connection unsafe.Pointer, data unsafe.Pointer, dataLength *uint) int32

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 int32

See: https://developer.apple.com/documentation/Security/SSLSessionOption

const (
	// Deprecated.
	KSSLSessionOptionAllowRenegotiation SSLSessionOption = 8
	// Deprecated.
	KSSLSessionOptionAllowServerIdentityChange SSLSessionOption = 5
	// Deprecated.
	KSSLSessionOptionBreakOnCertRequested SSLSessionOption = 1
	// Deprecated.
	KSSLSessionOptionBreakOnClientAuth SSLSessionOption = 2
	// Deprecated.
	KSSLSessionOptionBreakOnClientHello SSLSessionOption = 7
	// Deprecated.
	KSSLSessionOptionBreakOnServerAuth SSLSessionOption = 0
	// Deprecated.
	KSSLSessionOptionEnableSessionTickets SSLSessionOption = 9
	// Deprecated.
	KSSLSessionOptionFallback SSLSessionOption = 6
	// Deprecated.
	KSSLSessionOptionFalseStart SSLSessionOption = 3
	// Deprecated.
	KSSLSessionOptionSendOneByteRecord SSLSessionOption = 4
)

func (SSLSessionOption) String

func (e SSLSessionOption) String() string

type SSLSessionState

type SSLSessionState int32

See: https://developer.apple.com/documentation/Security/SSLSessionState

const (
	// Deprecated.
	KSSLAborted SSLSessionState = 4
	// Deprecated.
	KSSLClosed SSLSessionState = 3
	// Deprecated.
	KSSLConnected SSLSessionState = 2
	// Deprecated.
	KSSLHandshake SSLSessionState = 1
	// Deprecated.
	KSSLIdle SSLSessionState = 0
)

func (SSLSessionState) String

func (e SSLSessionState) String() string

type SSLWriteFunc

type SSLWriteFunc = func(connection unsafe.Pointer, data unsafe.Pointer, dataLength *uint) int32

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 SecAFPServerSignature

type SecAFPServerSignature = [16]uint8

SecAFPServerSignature is represents a 16-byte Apple File Protocol server signature block.

See: https://developer.apple.com/documentation/Security/SecAFPServerSignature

type SecAccessControlCreateFlags

type SecAccessControlCreateFlags uint

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: use KSecAccessControlBiometryAny.
	KSecAccessControlTouchIDAny SecAccessControlCreateFlags = 2
	// Deprecated: use KSecAccessControlBiometryCurrentSet.
	KSecAccessControlTouchIDCurrentSet SecAccessControlCreateFlags = 8
	// Deprecated: use KSecAccessControlCompanion.
	KSecAccessControlWatch SecAccessControlCreateFlags = 32
)

func (SecAccessControlCreateFlags) 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 uint64, err *corefoundation.CFErrorRef) SecAccessControlRef

SecAccessControlCreateWithFlags creates a new access control object with the specified protection type and flags.

It panics if SecAccessControlCreateWithFlags is unavailable at run time; use TrySecAccessControlCreateWithFlags to get an error instead.

See: https://developer.apple.com/documentation/Security/SecAccessControlCreateWithFlags(_:_:_:_:)

func TrySecAccessControlCreateWithFlags

func TrySecAccessControlCreateWithFlags(allocator corefoundation.CFAllocatorRef, protection corefoundation.CFTypeRef, flags uint64, err *corefoundation.CFErrorRef) (SecAccessControlRef, error)

TrySecAccessControlCreateWithFlags is like SecAccessControlCreateWithFlags but returns an error instead of panicking if SecAccessControlCreateWithFlags is unavailable at run time.

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

func SecAccessCreateWithOwnerAndACL deprecated

func SecAccessCreateWithOwnerAndACL(userId uint32, groupId uint32, ownerType SecAccessOwnerType, acls corefoundation.CFArrayRef, err *corefoundation.CFErrorRef) SecAccessRef

SecAccessCreateWithOwnerAndACL creates a new access instance using the owner and ACL entries you provide.

It panics if SecAccessCreateWithOwnerAndACL is unavailable at run time; use TrySecAccessCreateWithOwnerAndACL to get an error instead.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecAccessCreateWithOwnerAndACL(_:_:_:_:_:)

func TrySecAccessCreateWithOwnerAndACL

func TrySecAccessCreateWithOwnerAndACL(userId uint32, groupId uint32, ownerType SecAccessOwnerType, acls corefoundation.CFArrayRef, err *corefoundation.CFErrorRef) (SecAccessRef, error)

TrySecAccessCreateWithOwnerAndACL is like SecAccessCreateWithOwnerAndACL but returns an error instead of panicking if SecAccessCreateWithOwnerAndACL is unavailable at run time.

type SecAsn1AlgId

type SecAsn1AlgId struct {
	Algorithm  [2]uint64
	Parameters SecAsn1Item
}

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 SecAsn1CoderRef deprecated

type SecAsn1CoderRef uintptr

SecAsn1CoderRef is an object that represents an ASN.1 coder.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecAsn1CoderRef

type SecAsn1Item deprecated added in v0.5.1

type SecAsn1Item = Cssm_data

SecAsn1Item is a structure holding DER encoded data.

Deprecated: Deprecated since macOS 12.0. SecAsn1 is not supported

See: https://developer.apple.com/documentation/Security/SecAsn1Item

type SecAsn1Oid deprecated

type SecAsn1Oid = Cssm_data

SecAsn1Oid is an object identifier.

Deprecated: Deprecated since macOS 12.0. SecAsn1 is not supported

See: https://developer.apple.com/documentation/Security/SecAsn1Oid

type SecAsn1PubKeyInfo

type SecAsn1PubKeyInfo struct {
	Algorithm        SecAsn1AlgId
	SubjectPublicKey SecAsn1Item
}

SecAsn1PubKeyInfo - A structure containing a public key and its associated algorithm.

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/SecAsn1PubKeyInfo

type SecAsn1Template deprecated

type SecAsn1Template = SecAsn1Template_struct

SecAsn1Template is a structure that defines one element of a BER or DER encoding.

Deprecated: Deprecated since macOS 12.0. SecAsn1 is not supported

See: https://developer.apple.com/documentation/Security/SecAsn1Template

var (
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1AnyTemplate
	KSecAsn1AnyTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1BMPStringTemplate
	KSecAsn1BMPStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1BitStringTemplate
	KSecAsn1BitStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1BooleanTemplate
	KSecAsn1BooleanTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1EnumeratedTemplate
	KSecAsn1EnumeratedTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1GeneralizedTimeTemplate
	KSecAsn1GeneralizedTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1IA5StringTemplate
	KSecAsn1IA5StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1IntegerTemplate
	KSecAsn1IntegerTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1NullTemplate
	KSecAsn1NullTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1ObjectIDTemplate
	KSecAsn1ObjectIDTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1OctetStringTemplate
	KSecAsn1OctetStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToAnyTemplate
	KSecAsn1PointerToAnyTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToBMPStringTemplate
	KSecAsn1PointerToBMPStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToBitStringTemplate
	KSecAsn1PointerToBitStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToBooleanTemplate
	KSecAsn1PointerToBooleanTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToEnumeratedTemplate
	KSecAsn1PointerToEnumeratedTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToGeneralizedTimeTemplate
	KSecAsn1PointerToGeneralizedTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToIA5StringTemplate
	KSecAsn1PointerToIA5StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToIntegerTemplate
	KSecAsn1PointerToIntegerTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToNullTemplate
	KSecAsn1PointerToNullTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToObjectIDTemplate
	KSecAsn1PointerToObjectIDTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToOctetStringTemplate
	KSecAsn1PointerToOctetStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToPrintableStringTemplate
	KSecAsn1PointerToPrintableStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToT61StringTemplate
	KSecAsn1PointerToT61StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToTeletexStringTemplate
	KSecAsn1PointerToTeletexStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToUTCTimeTemplate
	KSecAsn1PointerToUTCTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToUTF8StringTemplate
	KSecAsn1PointerToUTF8StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToUniversalStringTemplate
	KSecAsn1PointerToUniversalStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PointerToVisibleStringTemplate
	KSecAsn1PointerToVisibleStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1PrintableStringTemplate
	KSecAsn1PrintableStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfAnyTemplate
	KSecAsn1SequenceOfAnyTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfBMPStringTemplate
	KSecAsn1SequenceOfBMPStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfBitStringTemplate
	KSecAsn1SequenceOfBitStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfBooleanTemplate
	KSecAsn1SequenceOfBooleanTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfEnumeratedTemplate
	KSecAsn1SequenceOfEnumeratedTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfGeneralizedTimeTemplate
	KSecAsn1SequenceOfGeneralizedTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfIA5StringTemplate
	KSecAsn1SequenceOfIA5StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfIntegerTemplate
	KSecAsn1SequenceOfIntegerTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfNullTemplate
	KSecAsn1SequenceOfNullTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfObjectIDTemplate
	KSecAsn1SequenceOfObjectIDTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfOctetStringTemplate
	KSecAsn1SequenceOfOctetStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfPrintableStringTemplate
	KSecAsn1SequenceOfPrintableStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfT61StringTemplate
	KSecAsn1SequenceOfT61StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfTeletexStringTemplate
	KSecAsn1SequenceOfTeletexStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfUTCTimeTemplate
	KSecAsn1SequenceOfUTCTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfUTF8StringTemplate
	KSecAsn1SequenceOfUTF8StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfUniversalStringTemplate
	KSecAsn1SequenceOfUniversalStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SequenceOfVisibleStringTemplate
	KSecAsn1SequenceOfVisibleStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfAnyTemplate
	KSecAsn1SetOfAnyTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfBMPStringTemplate
	KSecAsn1SetOfBMPStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfBitStringTemplate
	KSecAsn1SetOfBitStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfBooleanTemplate
	KSecAsn1SetOfBooleanTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfEnumeratedTemplate
	KSecAsn1SetOfEnumeratedTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfGeneralizedTimeTemplate
	KSecAsn1SetOfGeneralizedTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfIA5StringTemplate
	KSecAsn1SetOfIA5StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfIntegerTemplate
	KSecAsn1SetOfIntegerTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfNullTemplate
	KSecAsn1SetOfNullTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfObjectIDTemplate
	KSecAsn1SetOfObjectIDTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfOctetStringTemplate
	KSecAsn1SetOfOctetStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfPrintableStringTemplate
	KSecAsn1SetOfPrintableStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfT61StringTemplate
	KSecAsn1SetOfT61StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfTeletexStringTemplate
	KSecAsn1SetOfTeletexStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfUTCTimeTemplate
	KSecAsn1SetOfUTCTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfUTF8StringTemplate
	KSecAsn1SetOfUTF8StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfUniversalStringTemplate
	KSecAsn1SetOfUniversalStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SetOfVisibleStringTemplate
	KSecAsn1SetOfVisibleStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1SkipTemplate
	KSecAsn1SkipTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1T61StringTemplate
	KSecAsn1T61StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1TeletexStringTemplate
	KSecAsn1TeletexStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1UTCTimeTemplate
	KSecAsn1UTCTimeTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1UTF8StringTemplate
	KSecAsn1UTF8StringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1UniversalStringTemplate
	KSecAsn1UniversalStringTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1UnsignedIntegerTemplate
	KSecAsn1UnsignedIntegerTemplate SecAsn1Template
	//
	// Deprecated: Deprecated since macOS 12.0.
	//
	// See: https://developer.apple.com/documentation/Security/kSecAsn1VisibleStringTemplate
	KSecAsn1VisibleStringTemplate SecAsn1Template
)

type SecAsn1TemplateChooser deprecated

type SecAsn1TemplateChooser = *byte

SecAsn1TemplateChooser is dynamically provides the sub-template to use during encode or decode.

Deprecated: Deprecated since macOS 12.0. SecAsn1 is not supported

See: https://developer.apple.com/documentation/Security/SecAsn1TemplateChooser

type SecAsn1TemplateChooserPtr deprecated

type SecAsn1TemplateChooserPtr = func(unsafe.Pointer, uint8, AuthorizationString, uint, unsafe.Pointer) uintptr

SecAsn1TemplateChooserPtr is a pointer to the template chooser function.

Deprecated: Deprecated since macOS 12.0. SecAsn1 is not supported

See: https://developer.apple.com/documentation/Security/SecAsn1TemplateChooserPtr

type SecAsn1Template_struct

type SecAsn1Template_struct struct {
	Kind   uint32
	Offset uint32
	Sub    unsafe.Pointer
	Size   uint32
}

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 uint32

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 = 'a'<<24 | 'a'<<16 | 'p'<<8 | 'd' // 'aapd'
	// KSecAuthenticationTypeDefault: Specifies the default authentication type.
	KSecAuthenticationTypeDefault SecAuthenticationType = 't'<<24 | 'l'<<16 | 'f'<<8 | 'd' // 'tlfd'
	// KSecAuthenticationTypeHTMLForm: Specifies HTML form based authentication.
	KSecAuthenticationTypeHTMLForm SecAuthenticationType = 'm'<<24 | 'r'<<16 | 'o'<<8 | 'f' // 'mrof'
	// KSecAuthenticationTypeHTTPBasic: Specifies HTTP Basic authentication.
	KSecAuthenticationTypeHTTPBasic SecAuthenticationType = 'p'<<24 | 't'<<16 | 't'<<8 | 'h' // 'ptth'
	// KSecAuthenticationTypeHTTPDigest: Specifies HTTP Digest Access authentication.
	KSecAuthenticationTypeHTTPDigest SecAuthenticationType = 'd'<<24 | 't'<<16 | 't'<<8 | 'h' // 'dtth'
	// KSecAuthenticationTypeMSN: Specifies Microsoft Network default authentication.
	KSecAuthenticationTypeMSN SecAuthenticationType = 'a'<<24 | 'n'<<16 | 's'<<8 | 'm' // 'ansm'
	// KSecAuthenticationTypeNTLM: Specifies Windows NT LAN Manager authentication.
	KSecAuthenticationTypeNTLM SecAuthenticationType = 'm'<<24 | 'l'<<16 | 't'<<8 | 'n' // 'mltn'
	// KSecAuthenticationTypeRPA: Specifies Remote Password authentication.
	KSecAuthenticationTypeRPA SecAuthenticationType = 'a'<<24 | 'a'<<16 | 'p'<<8 | 'r' // 'aapr'
)

func (SecAuthenticationType) String

func (e SecAuthenticationType) String() string

type SecCSDigestAlgorithm

type SecCSDigestAlgorithm uint32

See: https://developer.apple.com/documentation/Security/SecCSDigestAlgorithm

const (
	KSecCodeSignatureHashSHA1            SecCSDigestAlgorithm = 1
	KSecCodeSignatureHashSHA256          SecCSDigestAlgorithm = 2
	KSecCodeSignatureHashSHA256Truncated SecCSDigestAlgorithm = 3
	KSecCodeSignatureHashSHA384          SecCSDigestAlgorithm = 4
	KSecCodeSignatureHashSHA512          SecCSDigestAlgorithm = 5
	KSecCodeSignatureNoHash              SecCSDigestAlgorithm = 0
)

func (SecCSDigestAlgorithm) String added in v0.5.1

func (e SecCSDigestAlgorithm) String() string

type SecCSFlags

type SecCSFlags uint32

See: https://developer.apple.com/documentation/Security/SecCSFlags

const (
	KSecCSApplyEmbeddedPolicy SecCSFlags = 33554432
	KSecCSCheckTrustedAnchors SecCSFlags = 134217728
	// KSecCSConsiderExpiration: Consider expired certificates invalid.
	KSecCSConsiderExpiration SecCSFlags = 2147483648
	// KSecCSDefaultFlags: No flags (use the default behavior).
	KSecCSDefaultFlags SecCSFlags = 0
	// 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.

It panics if SecCertificateCopyPreferred is unavailable at run time; use TrySecCertificateCopyPreferred to get an error instead.

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.

It panics if SecCertificateCreateWithData is unavailable at run time; use TrySecCertificateCreateWithData to get an error instead.

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.

It panics if SecTrustGetCertificateAtIndex is unavailable at run time; use TrySecTrustGetCertificateAtIndex to get an error instead.

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.

It panics if sec_certificate_copy_ref is unavailable at run time; use TrySec_certificate_copy_ref to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_certificate_copy_ref(_:)

func TrySecCertificateCopyPreferred

func TrySecCertificateCopyPreferred(name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef) (SecCertificateRef, error)

TrySecCertificateCopyPreferred is like SecCertificateCopyPreferred but returns an error instead of panicking if SecCertificateCopyPreferred is unavailable at run time.

func TrySecCertificateCreateWithData

func TrySecCertificateCreateWithData(allocator corefoundation.CFAllocatorRef, data corefoundation.CFDataRef) (SecCertificateRef, error)

TrySecCertificateCreateWithData is like SecCertificateCreateWithData but returns an error instead of panicking if SecCertificateCreateWithData is unavailable at run time.

func TrySecTrustGetCertificateAtIndex

func TrySecTrustGetCertificateAtIndex(trust SecTrustRef, ix int) (SecCertificateRef, error)

TrySecTrustGetCertificateAtIndex is like SecTrustGetCertificateAtIndex but returns an error instead of panicking if SecTrustGetCertificateAtIndex is unavailable at run time.

func TrySec_certificate_copy_ref

func TrySec_certificate_copy_ref(certificate Sec_certificate_t) (SecCertificateRef, error)

TrySec_certificate_copy_ref is like Sec_certificate_copy_ref but returns an error instead of panicking if sec_certificate_copy_ref is unavailable at run time.

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 uint32

See: https://developer.apple.com/documentation/Security/SecCodeSignatureFlags

const (
	// KSecCodeSignatureAdhoc: Must be used without a signing identity.
	KSecCodeSignatureAdhoc SecCodeSignatureFlags = 0x2
	// KSecCodeSignatureEnforcement: Enforce code signing.
	KSecCodeSignatureEnforcement SecCodeSignatureFlags = 0x1000
	// KSecCodeSignatureForceExpiration: Always set the considerExpiration flag when validating the code.
	KSecCodeSignatureForceExpiration SecCodeSignatureFlags = 0x400
	// KSecCodeSignatureForceHard: Always set the hard status flag on launch.
	KSecCodeSignatureForceHard SecCodeSignatureFlags = 0x100
	// KSecCodeSignatureForceKill: Always set the termination status flag on launch.
	KSecCodeSignatureForceKill SecCodeSignatureFlags = 0x200
	// KSecCodeSignatureHost: May host guest code.
	KSecCodeSignatureHost SecCodeSignatureFlags = 0x1
	// KSecCodeSignatureLibraryValidation: Require library validation.
	KSecCodeSignatureLibraryValidation SecCodeSignatureFlags = 0x2000
	KSecCodeSignatureLinkerSigned      SecCodeSignatureFlags = 0x20000
	// KSecCodeSignatureRestrict: Restrict dyld loading.
	KSecCodeSignatureRestrict SecCodeSignatureFlags = 0x800
	// KSecCodeSignatureRuntime: Apply runtime hardening policies as required by the hardened runtime version.
	KSecCodeSignatureRuntime SecCodeSignatureFlags = 0x10000
)

func (SecCodeSignatureFlags) String

func (e SecCodeSignatureFlags) String() string

type SecCodeStatus

type SecCodeStatus uint32

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 = 0x10000000
	// KSecCodeStatusHard: The code prefers to be denied access to resources if gaining access would invalidate it.
	KSecCodeStatusHard SecCodeStatus = 0x100
	// KSecCodeStatusKill: The code wants to be terminated if it ever loses its validity.
	KSecCodeStatusKill SecCodeStatus = 0x200
	// KSecCodeStatusPlatform: The code ships with the operating system and is signed by Apple.
	KSecCodeStatusPlatform SecCodeStatus = 0x4000000
	// KSecCodeStatusValid: The code is dynamically valid.
	KSecCodeStatusValid SecCodeStatus = 0x1
)

func (SecCodeStatus) String

func (e SecCodeStatus) String() string

type SecCredentialType deprecated

type SecCredentialType uint32

Deprecated: Deprecated since macOS 12.0. No longer supported See: https://developer.apple.com/documentation/Security/SecCredentialType

const (
	// Deprecated.
	KSecCredentialTypeDefault SecCredentialType = 0
	// Deprecated.
	KSecCredentialTypeNoUI SecCredentialType = 2
	// Deprecated.
	KSecCredentialTypeWithUI SecCredentialType = 1
)

func (SecCredentialType) String

func (e SecCredentialType) String() string

type SecExternalFormat

type SecExternalFormat uint32

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
	// KSecFormatUnknown: # Discussion
	KSecFormatUnknown SecExternalFormat = 0
	// 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 uint32

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 SecGroupTransformRef deprecated

type SecGroupTransformRef = corefoundation.CFTypeRef

SecGroupTransformRef is a Core Foundation type that represents a container holding a group of transforms.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecGroupTransform

func SecTransformConnectTransforms deprecated

func SecTransformConnectTransforms(sourceTransformRef SecTransformRef, sourceAttributeName corefoundation.CFStringRef, destinationTransformRef SecTransformRef, destinationAttributeName corefoundation.CFStringRef, group SecGroupTransformRef, err *corefoundation.CFErrorRef) SecGroupTransformRef

SecTransformConnectTransforms chains transforms together.

It panics if SecTransformConnectTransforms is unavailable at run time; use TrySecTransformConnectTransforms to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformConnectTransforms(_:_:_:_:_:_:)

func SecTransformCreateGroupTransform deprecated

func SecTransformCreateGroupTransform() SecGroupTransformRef

SecTransformCreateGroupTransform creates an object that acts as a container for a set of connected transforms.

It panics if SecTransformCreateGroupTransform is unavailable at run time; use TrySecTransformCreateGroupTransform to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformCreateGroupTransform()

func TrySecTransformConnectTransforms

func TrySecTransformConnectTransforms(sourceTransformRef SecTransformRef, sourceAttributeName corefoundation.CFStringRef, destinationTransformRef SecTransformRef, destinationAttributeName corefoundation.CFStringRef, group SecGroupTransformRef, err *corefoundation.CFErrorRef) (SecGroupTransformRef, error)

TrySecTransformConnectTransforms is like SecTransformConnectTransforms but returns an error instead of panicking if SecTransformConnectTransforms is unavailable at run time.

func TrySecTransformCreateGroupTransform

func TrySecTransformCreateGroupTransform() (SecGroupTransformRef, error)

TrySecTransformCreateGroupTransform is like SecTransformCreateGroupTransform but returns an error instead of panicking if SecTransformCreateGroupTransform is unavailable at run time.

type SecGuestRef

type SecGuestRef = uint32

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

const (
	// KSecNoGuest: Not a valid [SecGuestRef] object.
	KSecNoGuest SecGuestRef = 0
)

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.

It panics if SecIdentityCopyPreferred is unavailable at run time; use TrySecIdentityCopyPreferred to get an error instead.

See: https://developer.apple.com/documentation/Security/SecIdentityCopyPreferred(_:_:_:)

func SecIdentityCreate

func SecIdentityCreate(allocator corefoundation.CFAllocatorRef, certificate SecCertificateRef, privateKey SecKeyRef) SecIdentityRef

SecIdentityCreate.

It panics if SecIdentityCreate is unavailable at run time; use TrySecIdentityCreate to get an error instead.

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.

It panics if sec_identity_copy_ref is unavailable at run time; use TrySec_identity_copy_ref to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_identity_copy_ref(_:)

func TrySecIdentityCopyPreferred

func TrySecIdentityCopyPreferred(name corefoundation.CFStringRef, keyUsage corefoundation.CFArrayRef, validIssuers corefoundation.CFArrayRef) (SecIdentityRef, error)

TrySecIdentityCopyPreferred is like SecIdentityCopyPreferred but returns an error instead of panicking if SecIdentityCopyPreferred is unavailable at run time.

func TrySecIdentityCreate

func TrySecIdentityCreate(allocator corefoundation.CFAllocatorRef, certificate SecCertificateRef, privateKey SecKeyRef) (SecIdentityRef, error)

TrySecIdentityCreate is like SecIdentityCreate but returns an error instead of panicking if SecIdentityCreate is unavailable at run time.

func TrySec_identity_copy_ref

func TrySec_identity_copy_ref(identity Sec_identity_t) (SecIdentityRef, error)

TrySec_identity_copy_ref is like Sec_identity_copy_ref but returns an error instead of panicking if sec_identity_copy_ref is unavailable at run time.

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 uint32

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 `CSSM_CERT_ENCODING` type.
	KSecCertificateEncoding SecItemAttr = 'c'<<24 | 'e'<<16 | 'n'<<8 | 'c' // 'cenc'
	// KSecCertificateType: Indicates a `CSSM_CERT_TYPE` 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 `CSSM_CRL_ENCODING` type.
	KSecCrlEncoding SecItemAttr = 'c'<<24 | 'r'<<16 | 'n'<<8 | 'c' // 'crnc'
	// KSecCrlType: Indicates a `CSSM_CRL_TYPE` 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 uint32

See: https://developer.apple.com/documentation/Security/SecItemClass

const (
	// KSecCertificateItemClass: Indicates that the item is an X509 certificate.
	KSecCertificateItemClass SecItemClass = 0x80001000
	// 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 = 0x10
	// KSecPublicKeyItemClass: Indicates that the item is a public key of a public-private pair.
	KSecPublicKeyItemClass SecItemClass = 0xf
	// KSecSymmetricKeyItemClass: Indicates that the item is a private key used for symmetric-key encryption.
	KSecSymmetricKeyItemClass SecItemClass = 0x11
	// Deprecated.
	KSecAppleSharePasswordItemClass SecItemClass = 'a'<<24 | 's'<<16 | 'h'<<8 | 'p' // 'ashp'
)

func (SecItemClass) String

func (e SecItemClass) String() string

type SecItemImportExportFlags

type SecItemImportExportFlags uint32

See: https://developer.apple.com/documentation/Security/SecItemImportExportFlags

const (
	// KSecItemPemArmour: A flag that indicates the exported data should have PEM armor.
	KSecItemPemArmour SecItemImportExportFlags = 0x1
)

func (SecItemImportExportFlags) String

func (e SecItemImportExportFlags) String() string

type SecItemImportExportKeyParameters

type SecItemImportExportKeyParameters struct {
	Version       uint32                     // The version of this structure.
	Flags         SecKeyImportExportFlags    // The bitwise [OR] of zero or more key import/export flags.
	Passphrase    corefoundation.CFTypeRef   // The password to use during key import or export.
	AlertTitle    corefoundation.CFStringRef // The title to display in the secure passphrase alert panel.
	AlertPrompt   corefoundation.CFStringRef // The prompt to display in the secure passphrase alert panel.
	AccessRef     SecAccessRef               // Specifies the initial access controls of imported private keys.
	KeyUsage      corefoundation.CFArrayRef  // An array containing usage attributes applied to a key on import.
	KeyAttributes corefoundation.CFArrayRef  // An array containing zero or more key attributes for an imported key.

}

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, corefoundation.CFErrorRef)

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 uint32

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 = 0x1
	// KSecKeyNoAccessControl: A flag that indicates imported private keys have no access object attached to them.
	KSecKeyNoAccessControl SecKeyImportExportFlags = 0x4
	// KSecKeySecurePassphrase: A flag that indicates the user should be prompted for a passphrase on import or export.
	KSecKeySecurePassphrase SecKeyImportExportFlags = 0x2
)

func (SecKeyImportExportFlags) String

func (e SecKeyImportExportFlags) String() string

type SecKeyImportExportParameters

type SecKeyImportExportParameters struct {
	Version       uint32                     // The version of this structure.
	Flags         SecKeyImportExportFlags    // The bitwise [OR] of zero or more key import/export flags.
	Passphrase    corefoundation.CFTypeRef   // The password to use during key import or export.
	AlertTitle    corefoundation.CFStringRef // The title to display in the secure passphrase alert panel.
	AlertPrompt   corefoundation.CFStringRef // The prompt to display in the secure passphrase alert panel.
	AccessRef     SecAccessRef               // Specifies the initial access controls of imported private keys.
	KeyUsage      CSSM_KEYUSE                // A word of bits constituting the low-level use flags for imported keys.
	KeyAttributes CSSM_KEYATTR_FLAGS         // A word of bits constituting the low-level attribute flags for imported keys.

}

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

type SecKeyOperationType

type SecKeyOperationType int

See: https://developer.apple.com/documentation/Security/SecKeyOperationType

const (
	KSecKeyOperationTypeDecrypt     SecKeyOperationType = 3
	KSecKeyOperationTypeEncrypt     SecKeyOperationType = 2
	KSecKeyOperationTypeKeyExchange SecKeyOperationType = 4
	KSecKeyOperationTypeSign        SecKeyOperationType = 0
	KSecKeyOperationTypeVerify      SecKeyOperationType = 1
)

func (SecKeyOperationType) String added in v0.5.1

func (e SecKeyOperationType) String() string

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.

It panics if SecCertificateCopyKey is unavailable at run time; use TrySecCertificateCopyKey to get an error instead.

See: https://developer.apple.com/documentation/Security/SecCertificateCopyKey(_:)

func SecKeyCopyPublicKey

func SecKeyCopyPublicKey(key SecKeyRef) SecKeyRef

SecKeyCopyPublicKey gets the public key associated with the given private key.

It panics if SecKeyCopyPublicKey is unavailable at run time; use TrySecKeyCopyPublicKey to get an error instead.

See: https://developer.apple.com/documentation/Security/SecKeyCopyPublicKey(_:)

func SecKeyCreateFromData deprecated

func SecKeyCreateFromData(parameters corefoundation.CFDictionaryRef, keyData corefoundation.CFDataRef, err *corefoundation.CFErrorRef) SecKeyRef

SecKeyCreateFromData constructs a SecKeyRef object for a symmetric key.

It panics if SecKeyCreateFromData is unavailable at run time; use TrySecKeyCreateFromData to get an error instead.

Deprecated: Deprecated since macOS 12.0. No longer supported

See: https://developer.apple.com/documentation/Security/SecKeyCreateFromData(_:_:_:)

func SecKeyCreateRandomKey

func SecKeyCreateRandomKey(parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecKeyRef

SecKeyCreateRandomKey generates a new public-private key pair.

It panics if SecKeyCreateRandomKey is unavailable at run time; use TrySecKeyCreateRandomKey to get an error instead.

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.

It panics if SecKeyCreateWithData is unavailable at run time; use TrySecKeyCreateWithData to get an error instead.

See: https://developer.apple.com/documentation/Security/SecKeyCreateWithData(_:_:_:)

func SecKeyDeriveFromPassword deprecated

func SecKeyDeriveFromPassword(password corefoundation.CFStringRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecKeyRef

SecKeyDeriveFromPassword returns a key object in which the key data is derived from a password.

It panics if SecKeyDeriveFromPassword is unavailable at run time; use TrySecKeyDeriveFromPassword to get an error instead.

Deprecated: Deprecated since macOS 12.0. No longer supported

See: https://developer.apple.com/documentation/Security/SecKeyDeriveFromPassword(_:_:_:)

func SecKeyGenerateSymmetric deprecated

func SecKeyGenerateSymmetric(parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecKeyRef

SecKeyGenerateSymmetric generates a random symmetric key.

It panics if SecKeyGenerateSymmetric is unavailable at run time; use TrySecKeyGenerateSymmetric to get an error instead.

Deprecated: Deprecated since macOS 12.0. No longer supported

See: https://developer.apple.com/documentation/Security/SecKeyGenerateSymmetric(_:_:)

func SecKeyUnwrapSymmetric deprecated

func SecKeyUnwrapSymmetric(keyToUnwrap *corefoundation.CFDataRef, unwrappingKey SecKeyRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecKeyRef

SecKeyUnwrapSymmetric unwraps a wrapped symmetric key.

It panics if SecKeyUnwrapSymmetric is unavailable at run time; use TrySecKeyUnwrapSymmetric to get an error instead.

Deprecated: Deprecated since macOS 12.0. No longer supported

See: https://developer.apple.com/documentation/Security/SecKeyUnwrapSymmetric(_:_:_:_:)

func SecTrustCopyKey

func SecTrustCopyKey(trust SecTrustRef) SecKeyRef

SecTrustCopyKey.

It panics if SecTrustCopyKey is unavailable at run time; use TrySecTrustCopyKey to get an error instead.

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.

It panics if SecTrustCopyPublicKey is unavailable at run time; use TrySecTrustCopyPublicKey to get an error instead.

Deprecated: Deprecated since macOS 11.0.

See: https://developer.apple.com/documentation/Security/SecTrustCopyPublicKey(_:)

func TrySecCertificateCopyKey

func TrySecCertificateCopyKey(certificate SecCertificateRef) (SecKeyRef, error)

TrySecCertificateCopyKey is like SecCertificateCopyKey but returns an error instead of panicking if SecCertificateCopyKey is unavailable at run time.

func TrySecKeyCopyPublicKey

func TrySecKeyCopyPublicKey(key SecKeyRef) (SecKeyRef, error)

TrySecKeyCopyPublicKey is like SecKeyCopyPublicKey but returns an error instead of panicking if SecKeyCopyPublicKey is unavailable at run time.

func TrySecKeyCreateFromData

func TrySecKeyCreateFromData(parameters corefoundation.CFDictionaryRef, keyData corefoundation.CFDataRef, err *corefoundation.CFErrorRef) (SecKeyRef, error)

TrySecKeyCreateFromData is like SecKeyCreateFromData but returns an error instead of panicking if SecKeyCreateFromData is unavailable at run time.

func TrySecKeyCreateRandomKey

func TrySecKeyCreateRandomKey(parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (SecKeyRef, error)

TrySecKeyCreateRandomKey is like SecKeyCreateRandomKey but returns an error instead of panicking if SecKeyCreateRandomKey is unavailable at run time.

func TrySecKeyCreateWithData

func TrySecKeyCreateWithData(keyData corefoundation.CFDataRef, attributes corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (SecKeyRef, error)

TrySecKeyCreateWithData is like SecKeyCreateWithData but returns an error instead of panicking if SecKeyCreateWithData is unavailable at run time.

func TrySecKeyDeriveFromPassword

func TrySecKeyDeriveFromPassword(password corefoundation.CFStringRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (SecKeyRef, error)

TrySecKeyDeriveFromPassword is like SecKeyDeriveFromPassword but returns an error instead of panicking if SecKeyDeriveFromPassword is unavailable at run time.

func TrySecKeyGenerateSymmetric

func TrySecKeyGenerateSymmetric(parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (SecKeyRef, error)

TrySecKeyGenerateSymmetric is like SecKeyGenerateSymmetric but returns an error instead of panicking if SecKeyGenerateSymmetric is unavailable at run time.

func TrySecKeyUnwrapSymmetric

func TrySecKeyUnwrapSymmetric(keyToUnwrap *corefoundation.CFDataRef, unwrappingKey SecKeyRef, parameters corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (SecKeyRef, error)

TrySecKeyUnwrapSymmetric is like SecKeyUnwrapSymmetric but returns an error instead of panicking if SecKeyUnwrapSymmetric is unavailable at run time.

func TrySecTrustCopyKey

func TrySecTrustCopyKey(trust SecTrustRef) (SecKeyRef, error)

TrySecTrustCopyKey is like SecTrustCopyKey but returns an error instead of panicking if SecTrustCopyKey is unavailable at run time.

func TrySecTrustCopyPublicKey

func TrySecTrustCopyPublicKey(trust SecTrustRef) (SecKeyRef, error)

TrySecTrustCopyPublicKey is like SecTrustCopyPublicKey but returns an error instead of panicking if SecTrustCopyPublicKey is unavailable at run time.

type SecKeySizes deprecated

type SecKeySizes uint32

Deprecated: Deprecated since macOS 12.0. No longer supported See: https://developer.apple.com/documentation/Security/SecKeySizes

const (
	// Deprecated.
	KSec3DES192 SecKeySizes = 192
	// Deprecated.
	KSecAES128 SecKeySizes = 128
	// Deprecated.
	KSecAES192 SecKeySizes = 192
	// Deprecated.
	KSecAES256 SecKeySizes = 256
	// Deprecated.
	KSecDefaultKeySize SecKeySizes = 0
	// Deprecated.
	KSecRSAMax SecKeySizes = 4096
	// Deprecated.
	KSecRSAMin SecKeySizes = 1024
	// Deprecated.
	KSecp192r1 SecKeySizes = 192
	// Deprecated.
	KSecp256r1 SecKeySizes = 256
	// Deprecated.
	KSecp384r1 SecKeySizes = 384
	// Deprecated.
	KSecp521r1 SecKeySizes = 521
)

func (SecKeySizes) String

func (e SecKeySizes) String() string

type SecKeyUsage

type SecKeyUsage uint32

See: https://developer.apple.com/documentation/Security/SecKeyUsage

const (
	// KSecKeyUsageAll: All flags set.
	KSecKeyUsageAll SecKeyUsage = 0x7fffffff
	// 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
	KSecKeyUsageUnspecified    SecKeyUsage = 0
)

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 {
	Tag    SecKeychainAttrType // A 4-byte attribute tag.
	Length uint32              // The length of the buffer pointed to by data.
	Data   unsafe.Pointer      // A pointer to the attribute data.

}

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.
	Tag    *uint32 // A pointer to the first attribute tag in the array.
	Format *uint32 // A pointer to the first attribute format 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 {
	Count uint32                // The number of keychain attributes in the array.
	Attr  *SecKeychainAttribute // A pointer to the first keychain attribute 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 SecKeychainCallback deprecated

type SecKeychainCallback = func(keychainEvent SecKeychainEvent, info uintptr, context unsafe.Pointer) int32

SecKeychainCallback is a customized callback function that keychain services call when a keychain event has occurred.

Deprecated: Deprecated since macOS 10.10. SecKeychain is deprecated

See: https://developer.apple.com/documentation/Security/SecKeychainCallback

type SecKeychainCallbackInfo

type SecKeychainCallbackInfo struct {
	Version  uint32             // The version of this structure.
	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.

}

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 uint32

See: https://developer.apple.com/documentation/Security/SecKeychainEvent

const (
	// KSecAddEvent: Indicates an item was added to a keychain.
	KSecAddEvent SecKeychainEvent = 3
	// 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
	// Deprecated.
	KSecDataAccessEvent SecKeychainEvent = 10
)

func (SecKeychainEvent) String

func (e SecKeychainEvent) String() string

type SecKeychainEventMask

type SecKeychainEventMask uint32

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 = 0xffffffff
	// 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 uint16

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 = 0x40
	// KSecKeychainPromptInvalidAct: Indicates that a passphrase should be required when an application with an invalid signature attempts to use the keychain.
	KSecKeychainPromptInvalidAct SecKeychainPromptSelector = 0x80
	// KSecKeychainPromptRequirePassphase: Indicates that a passphrase should be required for every access.
	KSecKeychainPromptRequirePassphase SecKeychainPromptSelector = 0x1
	// KSecKeychainPromptUnsigned: Indicates that a passphrase should be required when an unsigned application attempts to use the keychain, overriding the system default.
	KSecKeychainPromptUnsigned SecKeychainPromptSelector = 0x10
	// KSecKeychainPromptUnsignedAct: Indicates that a passphrase should be required when an unsigned application attempts to use the keychain.
	KSecKeychainPromptUnsignedAct SecKeychainPromptSelector = 0x20
)

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(message unsafe.Pointer, error_ corefoundation.CFErrorRef, isFinal byte)

SecMessageBlock is a block that delivers messages during asynchronous operations.

See: https://developer.apple.com/documentation/Security/SecMessageBlock

type SecObject added in v0.6.4

type SecObject = Sec_object_t

SecObject is a Go-name alias for Sec_object_t.

type SecPadding deprecated

type SecPadding uint32

Deprecated: Deprecated since macOS 12.0. Replaced with SecKeyAlgorithm See: https://developer.apple.com/documentation/Security/SecPadding

const (
	// Deprecated.
	KSecPaddingNone SecPadding = 0
	// Deprecated.
	KSecPaddingOAEP SecPadding = 2
	// Deprecated.
	KSecPaddingPKCS1 SecPadding = 1
	// Deprecated.
	KSecPaddingPKCS1MD2 SecPadding = 0x8000
	// Deprecated.
	KSecPaddingPKCS1MD5 SecPadding = 0x8001
	// Deprecated.
	KSecPaddingPKCS1SHA1 SecPadding = 0x8002
	// Deprecated.
	KSecPaddingPKCS1SHA224 SecPadding = 0x8003
	// Deprecated.
	KSecPaddingPKCS1SHA256 SecPadding = 0x8004
	// Deprecated.
	KSecPaddingPKCS1SHA384 SecPadding = 0x8005
	// Deprecated.
	KSecPaddingPKCS1SHA512 SecPadding = 0x8006
	// Deprecated.
	KSecPaddingSigRaw SecPadding = 0x4000
)

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.

It panics if SecPolicyCreateBasicX509 is unavailable at run time; use TrySecPolicyCreateBasicX509 to get an error instead.

See: https://developer.apple.com/documentation/Security/SecPolicyCreateBasicX509()

func SecPolicyCreateRevocation

func SecPolicyCreateRevocation(revocationFlags uint) SecPolicyRef

SecPolicyCreateRevocation returns a policy object for checking revocation of certificates.

It panics if SecPolicyCreateRevocation is unavailable at run time; use TrySecPolicyCreateRevocation to get an error instead.

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.

It panics if SecPolicyCreateSSL is unavailable at run time; use TrySecPolicyCreateSSL to get an error instead.

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.

It panics if SecPolicyCreateWithOID is unavailable at run time; use TrySecPolicyCreateWithOID to get an error instead.

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.

It panics if SecPolicyCreateWithProperties is unavailable at run time; use TrySecPolicyCreateWithProperties to get an error instead.

See: https://developer.apple.com/documentation/Security/SecPolicyCreateWithProperties(_:_:)

func TrySecPolicyCreateBasicX509

func TrySecPolicyCreateBasicX509() (SecPolicyRef, error)

TrySecPolicyCreateBasicX509 is like SecPolicyCreateBasicX509 but returns an error instead of panicking if SecPolicyCreateBasicX509 is unavailable at run time.

func TrySecPolicyCreateRevocation

func TrySecPolicyCreateRevocation(revocationFlags uint) (SecPolicyRef, error)

TrySecPolicyCreateRevocation is like SecPolicyCreateRevocation but returns an error instead of panicking if SecPolicyCreateRevocation is unavailable at run time.

func TrySecPolicyCreateSSL

func TrySecPolicyCreateSSL(server bool, hostname corefoundation.CFStringRef) (SecPolicyRef, error)

TrySecPolicyCreateSSL is like SecPolicyCreateSSL but returns an error instead of panicking if SecPolicyCreateSSL is unavailable at run time.

func TrySecPolicyCreateWithOID

func TrySecPolicyCreateWithOID(policyOID corefoundation.CFTypeRef) (SecPolicyRef, error)

TrySecPolicyCreateWithOID is like SecPolicyCreateWithOID but returns an error instead of panicking if SecPolicyCreateWithOID is unavailable at run time.

func TrySecPolicyCreateWithProperties

func TrySecPolicyCreateWithProperties(policyIdentifier corefoundation.CFTypeRef, properties corefoundation.CFDictionaryRef) (SecPolicyRef, error)

TrySecPolicyCreateWithProperties is like SecPolicyCreateWithProperties but returns an error instead of panicking if SecPolicyCreateWithProperties is unavailable at run time.

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 int32

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 SecProtocolChallenge added in v0.6.4

type SecProtocolChallenge = Sec_protocol_challenge_t

SecProtocolChallenge is a Go-name alias for Sec_protocol_challenge_t.

type SecProtocolChallengeComplete added in v0.6.4

type SecProtocolChallengeComplete = Sec_protocol_challenge_complete_t

SecProtocolChallengeComplete is a Go-name alias for Sec_protocol_challenge_complete_t.

type SecProtocolKeyUpdate added in v0.6.4

type SecProtocolKeyUpdate = Sec_protocol_key_update_t

SecProtocolKeyUpdate is a Go-name alias for Sec_protocol_key_update_t.

type SecProtocolKeyUpdateComplete added in v0.6.4

type SecProtocolKeyUpdateComplete = Sec_protocol_key_update_complete_t

SecProtocolKeyUpdateComplete is a Go-name alias for Sec_protocol_key_update_complete_t.

type SecProtocolMetadata added in v0.6.4

type SecProtocolMetadata = Sec_protocol_metadata_t

SecProtocolMetadata is a Go-name alias for Sec_protocol_metadata_t.

type SecProtocolOptions added in v0.6.4

type SecProtocolOptions = Sec_protocol_options_t

SecProtocolOptions is a Go-name alias for Sec_protocol_options_t.

type SecProtocolPreSharedKeySelection added in v0.6.4

type SecProtocolPreSharedKeySelection = Sec_protocol_pre_shared_key_selection_t

SecProtocolPreSharedKeySelection is a Go-name alias for Sec_protocol_pre_shared_key_selection_t.

type SecProtocolPreSharedKeySelectionComplete added in v0.6.4

type SecProtocolPreSharedKeySelectionComplete = Sec_protocol_pre_shared_key_selection_complete_t

SecProtocolPreSharedKeySelectionComplete is a Go-name alias for Sec_protocol_pre_shared_key_selection_complete_t.

type SecProtocolType

type SecProtocolType uint32

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 SecProtocolVerify added in v0.6.4

type SecProtocolVerify = Sec_protocol_verify_t

SecProtocolVerify is a Go-name alias for Sec_protocol_verify_t.

type SecProtocolVerifyComplete added in v0.6.4

type SecProtocolVerifyComplete = Sec_protocol_verify_complete_t

SecProtocolVerifyComplete is a Go-name alias for Sec_protocol_verify_complete_t.

type SecPublicKeyHash

type SecPublicKeyHash = [20]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 uint32

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
	// KSecRequirementTypeCount: The number of valid requirement types.
	KSecRequirementTypeCount SecRequirementType = 6
)

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.

It panics if SecTaskCreateFromSelf is unavailable at run time; use TrySecTaskCreateFromSelf to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTaskCreateFromSelf(_:)

func SecTaskCreateWithAuditToken

func SecTaskCreateWithAuditToken(allocator corefoundation.CFAllocatorRef, token [32]byte) SecTaskRef

SecTaskCreateWithAuditToken creates a task object for the task that sent the Mach message represented by the audit token.

It panics if SecTaskCreateWithAuditToken is unavailable at run time; use TrySecTaskCreateWithAuditToken to get an error instead.

See: https://developer.apple.com/documentation/Security/SecTaskCreateWithAuditToken(_:_:)

func TrySecTaskCreateFromSelf

func TrySecTaskCreateFromSelf(allocator corefoundation.CFAllocatorRef) (SecTaskRef, error)

TrySecTaskCreateFromSelf is like SecTaskCreateFromSelf but returns an error instead of panicking if SecTaskCreateFromSelf is unavailable at run time.

func TrySecTaskCreateWithAuditToken

func TrySecTaskCreateWithAuditToken(allocator corefoundation.CFAllocatorRef, token [32]byte) (SecTaskRef, error)

TrySecTaskCreateWithAuditToken is like SecTaskCreateWithAuditToken but returns an error instead of panicking if SecTaskCreateWithAuditToken is unavailable at run time.

type SecTransformActionBlock deprecated

type SecTransformActionBlock = func() unsafe.Pointer

SecTransformActionBlock is a block that overrides the default behavior of a custom transform.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformActionBlock

type SecTransformAttributeActionBlock deprecated

type SecTransformAttributeActionBlock = func(attribute unsafe.Pointer, value unsafe.Pointer) unsafe.Pointer

SecTransformAttributeActionBlock is a block used to override the default attribute handling for when an attribute is set.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformAttributeActionBlock

type SecTransformAttributeRef deprecated

type SecTransformAttributeRef = corefoundation.CFTypeRef

SecTransformAttributeRef is a direct reference to a security transform attribute.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformAttribute

type SecTransformDataBlock

type SecTransformDataBlock = func(data unsafe.Pointer) unsafe.Pointer

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() corefoundation.CFErrorRef

SecTransformInstanceBlock is a block that you return from a transform creation function.

See: https://developer.apple.com/documentation/Security/SecTransformInstanceBlock

type SecTransformMetaAttributeType deprecated

type SecTransformMetaAttributeType int

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported See: https://developer.apple.com/documentation/Security/SecTransformMetaAttributeType

const (
	// Deprecated.
	KSecTransformMetaAttributeCanCycle SecTransformMetaAttributeType = 7
	// Deprecated.
	KSecTransformMetaAttributeDeferred SecTransformMetaAttributeType = 5
	// Deprecated.
	KSecTransformMetaAttributeExternalize SecTransformMetaAttributeType = 8
	// Deprecated.
	KSecTransformMetaAttributeHasInboundConnection SecTransformMetaAttributeType = 10
	// Deprecated.
	KSecTransformMetaAttributeHasOutboundConnections SecTransformMetaAttributeType = 9
	// Deprecated.
	KSecTransformMetaAttributeName SecTransformMetaAttributeType = 1
	// Deprecated.
	KSecTransformMetaAttributeRef SecTransformMetaAttributeType = 2
	// Deprecated.
	KSecTransformMetaAttributeRequired SecTransformMetaAttributeType = 3
	// Deprecated.
	KSecTransformMetaAttributeRequiresOutboundConnection SecTransformMetaAttributeType = 4
	// Deprecated.
	KSecTransformMetaAttributeStream SecTransformMetaAttributeType = 6
	// Deprecated.
	KSecTransformMetaAttributeValue SecTransformMetaAttributeType = 0
)

func (SecTransformMetaAttributeType) String

type SecTransformRef deprecated

type SecTransformRef = corefoundation.CFTypeRef

SecTransformRef is a Core Foundation type that represents a security transform.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransform

func SecDecodeTransformCreate deprecated

func SecDecodeTransformCreate(DecodeType corefoundation.CFTypeRef, err *corefoundation.CFErrorRef) SecTransformRef

SecDecodeTransformCreate creates a decode transform object.

It panics if SecDecodeTransformCreate is unavailable at run time; use TrySecDecodeTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecDecodeTransformCreate(_:_:)

func SecDecryptTransformCreate deprecated

func SecDecryptTransformCreate(keyRef SecKeyRef, err *corefoundation.CFErrorRef) SecTransformRef

SecDecryptTransformCreate creates a decryption transform object.

It panics if SecDecryptTransformCreate is unavailable at run time; use TrySecDecryptTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecDecryptTransformCreate(_:_:)

func SecDigestTransformCreate deprecated

func SecDigestTransformCreate(digestType corefoundation.CFTypeRef, digestLength int, err *corefoundation.CFErrorRef) SecTransformRef

SecDigestTransformCreate creates a digest transform object.

It panics if SecDigestTransformCreate is unavailable at run time; use TrySecDigestTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecDigestTransformCreate(_:_:_:)

func SecEncodeTransformCreate deprecated

func SecEncodeTransformCreate(encodeType corefoundation.CFTypeRef, err *corefoundation.CFErrorRef) SecTransformRef

SecEncodeTransformCreate creates an encode transform object.

It panics if SecEncodeTransformCreate is unavailable at run time; use TrySecEncodeTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecEncodeTransformCreate(_:_:)

func SecEncryptTransformCreate deprecated

func SecEncryptTransformCreate(keyRef SecKeyRef, err *corefoundation.CFErrorRef) SecTransformRef

SecEncryptTransformCreate creates an encryption transform object.

It panics if SecEncryptTransformCreate is unavailable at run time; use TrySecEncryptTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecEncryptTransformCreate(_:_:)

func SecSignTransformCreate deprecated

func SecSignTransformCreate(key SecKeyRef, err *corefoundation.CFErrorRef) SecTransformRef

SecSignTransformCreate creates a signing transform object.

It panics if SecSignTransformCreate is unavailable at run time; use TrySecSignTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecSignTransformCreate(_:_:)

func SecTransformCreate deprecated

SecTransformCreate creates a transform computation object.

It panics if SecTransformCreate is unavailable at run time; use TrySecTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformCreate(_:_:)

func SecTransformCreateFromExternalRepresentation deprecated

func SecTransformCreateFromExternalRepresentation(dictionary corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) SecTransformRef

SecTransformCreateFromExternalRepresentation creates a transform instance from a dictionary of parameters.

It panics if SecTransformCreateFromExternalRepresentation is unavailable at run time; use TrySecTransformCreateFromExternalRepresentation to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformCreateFromExternalRepresentation(_:_:)

func SecTransformCreateReadTransformWithReadStream deprecated

func SecTransformCreateReadTransformWithReadStream(inputStream corefoundation.CFReadStreamRef) SecTransformRef

SecTransformCreateReadTransformWithReadStream creates a read transform from a read stream reference.

It panics if SecTransformCreateReadTransformWithReadStream is unavailable at run time; use TrySecTransformCreateReadTransformWithReadStream to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformCreateReadTransformWithReadStream(_:)

func SecTransformFindByName deprecated

func SecTransformFindByName(transform SecGroupTransformRef, name corefoundation.CFStringRef) SecTransformRef

SecTransformFindByName finds a member of a transform group by its name.

It panics if SecTransformFindByName is unavailable at run time; use TrySecTransformFindByName to get an error instead.

Deprecated: Deprecated since macOS 12.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformFindByName(_:_:)

func SecVerifyTransformCreate deprecated

func SecVerifyTransformCreate(key SecKeyRef, signature corefoundation.CFDataRef, err *corefoundation.CFErrorRef) SecTransformRef

SecVerifyTransformCreate creates a verify transform object.

It panics if SecVerifyTransformCreate is unavailable at run time; use TrySecVerifyTransformCreate to get an error instead.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecVerifyTransformCreate(_:_:_:)

func TrySecDecodeTransformCreate

func TrySecDecodeTransformCreate(DecodeType corefoundation.CFTypeRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecDecodeTransformCreate is like SecDecodeTransformCreate but returns an error instead of panicking if SecDecodeTransformCreate is unavailable at run time.

func TrySecDecryptTransformCreate

func TrySecDecryptTransformCreate(keyRef SecKeyRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecDecryptTransformCreate is like SecDecryptTransformCreate but returns an error instead of panicking if SecDecryptTransformCreate is unavailable at run time.

func TrySecDigestTransformCreate

func TrySecDigestTransformCreate(digestType corefoundation.CFTypeRef, digestLength int, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecDigestTransformCreate is like SecDigestTransformCreate but returns an error instead of panicking if SecDigestTransformCreate is unavailable at run time.

func TrySecEncodeTransformCreate

func TrySecEncodeTransformCreate(encodeType corefoundation.CFTypeRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecEncodeTransformCreate is like SecEncodeTransformCreate but returns an error instead of panicking if SecEncodeTransformCreate is unavailable at run time.

func TrySecEncryptTransformCreate

func TrySecEncryptTransformCreate(keyRef SecKeyRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecEncryptTransformCreate is like SecEncryptTransformCreate but returns an error instead of panicking if SecEncryptTransformCreate is unavailable at run time.

func TrySecSignTransformCreate

func TrySecSignTransformCreate(key SecKeyRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecSignTransformCreate is like SecSignTransformCreate but returns an error instead of panicking if SecSignTransformCreate is unavailable at run time.

func TrySecTransformCreate

func TrySecTransformCreate(name corefoundation.CFStringRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecTransformCreate is like SecTransformCreate but returns an error instead of panicking if SecTransformCreate is unavailable at run time.

func TrySecTransformCreateFromExternalRepresentation

func TrySecTransformCreateFromExternalRepresentation(dictionary corefoundation.CFDictionaryRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecTransformCreateFromExternalRepresentation is like SecTransformCreateFromExternalRepresentation but returns an error instead of panicking if SecTransformCreateFromExternalRepresentation is unavailable at run time.

func TrySecTransformCreateReadTransformWithReadStream

func TrySecTransformCreateReadTransformWithReadStream(inputStream corefoundation.CFReadStreamRef) (SecTransformRef, error)

TrySecTransformCreateReadTransformWithReadStream is like SecTransformCreateReadTransformWithReadStream but returns an error instead of panicking if SecTransformCreateReadTransformWithReadStream is unavailable at run time.

func TrySecTransformFindByName

func TrySecTransformFindByName(transform SecGroupTransformRef, name corefoundation.CFStringRef) (SecTransformRef, error)

TrySecTransformFindByName is like SecTransformFindByName but returns an error instead of panicking if SecTransformFindByName is unavailable at run time.

func TrySecVerifyTransformCreate

func TrySecVerifyTransformCreate(key SecKeyRef, signature corefoundation.CFDataRef, err *corefoundation.CFErrorRef) (SecTransformRef, error)

TrySecVerifyTransformCreate is like SecVerifyTransformCreate but returns an error instead of panicking if SecVerifyTransformCreate is unavailable at run time.

type SecTransformStringOrAttributeRef deprecated

type SecTransformStringOrAttributeRef = corefoundation.CFTypeRef

SecTransformStringOrAttributeRef is a type that may be either a string or an attribute reference.

Deprecated: Deprecated since macOS 13.0. SecTransform is no longer supported

See: https://developer.apple.com/documentation/Security/SecTransformStringOrAttribute

type SecTrustCallback

type SecTrustCallback = func(trustRef *SecTrustRef, trustResult 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 uint32

See: https://developer.apple.com/documentation/Security/SecTrustOptionFlags

const (
	// KSecTrustOptionAllowExpired: Allow expired certificates (except for the root certificate).
	KSecTrustOptionAllowExpired SecTrustOptionFlags = 0x1
	// KSecTrustOptionAllowExpiredRoot: Allow expired root certificates.
	KSecTrustOptionAllowExpiredRoot SecTrustOptionFlags = 0x8
	// KSecTrustOptionFetchIssuerFromNet: Allow network downloads of CA certificates.
	KSecTrustOptionFetchIssuerFromNet SecTrustOptionFlags = 0x4
	// KSecTrustOptionImplicitAnchors: Treat properly self-signed certificates as anchors implicitly.
	KSecTrustOptionImplicitAnchors SecTrustOptionFlags = 0x40
	// KSecTrustOptionLeafIsCA: Allow CA certificates as leaf certificates.
	KSecTrustOptionLeafIsCA SecTrustOptionFlags = 0x2
	// KSecTrustOptionRequireRevPerCert: Require a positive revocation check for each certificate.
	KSecTrustOptionRequireRevPerCert SecTrustOptionFlags = 0x10
	// KSecTrustOptionUseTrustSettings: Use TrustSettings instead of anchors.
	KSecTrustOptionUseTrustSettings SecTrustOptionFlags = 0x20
)

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.

It panics if sec_trust_copy_ref is unavailable at run time; use TrySec_trust_copy_ref to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_trust_copy_ref(_:)

func TrySec_trust_copy_ref

func TrySec_trust_copy_ref(trust Sec_trust_t) (SecTrustRef, error)

TrySec_trust_copy_ref is like Sec_trust_copy_ref but returns an error instead of panicking if sec_trust_copy_ref is unavailable at run time.

type SecTrustResultType

type SecTrustResultType uint32

See: https://developer.apple.com/documentation/Security/SecTrustResultType

const (
	// 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
	// Deprecated.
	KSecTrustResultConfirm SecTrustResultType = 2
)

func (SecTrustResultType) String

func (e SecTrustResultType) String() string

type SecTrustSettingsDomain

type SecTrustSettingsDomain uint32

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 uint32

See: https://developer.apple.com/documentation/Security/SecTrustSettingsKeyUsage

const (
	// KSecTrustSettingsKeyUseAny: The key can be used for any purpose.
	KSecTrustSettingsKeyUseAny SecTrustSettingsKeyUsage = 0xffffffff
	// KSecTrustSettingsKeyUseEnDecryptData: The key can be used to encrypt or decrypt data.
	KSecTrustSettingsKeyUseEnDecryptData SecTrustSettingsKeyUsage = 0x2
	// KSecTrustSettingsKeyUseEnDecryptKey: The key can be used to encrypt or decrypt (wrap or unwrap) a key.
	KSecTrustSettingsKeyUseEnDecryptKey SecTrustSettingsKeyUsage = 0x4
	// KSecTrustSettingsKeyUseKeyExchange: The key is a private key that has been shared using a key exchange protocol, such as Diffie-Hellman key exchange.
	KSecTrustSettingsKeyUseKeyExchange SecTrustSettingsKeyUsage = 0x20
	// KSecTrustSettingsKeyUseSignCert: The key can be used to sign a certificate or verify a signature.
	KSecTrustSettingsKeyUseSignCert SecTrustSettingsKeyUsage = 0x8
	// 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 = 0x10
	// KSecTrustSettingsKeyUseSignature: The key can be used to sign data or verify a signature.
	KSecTrustSettingsKeyUseSignature SecTrustSettingsKeyUsage = 0x1
)

func (SecTrustSettingsKeyUsage) String

func (e SecTrustSettingsKeyUsage) String() string

type SecTrustSettingsResult

type SecTrustSettingsResult uint32

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 SecTrustUserSetting deprecated

type SecTrustUserSetting = SecTrustResultType

SecTrustUserSetting is represents user-specified trust settings.

Deprecated: Deprecated since macOS 10.9.

See: https://developer.apple.com/documentation/Security/SecTrustUserSetting

type SecTrustWithErrorCallback

type SecTrustWithErrorCallback = func(trustRef *SecTrustRef, result bool, error_ corefoundation.CFErrorRef)

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.

It panics if sec_certificate_create is unavailable at run time; use TrySec_certificate_create to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_certificate_create(_:)

func Sec_certificate_tFromID added in v0.6.3

func Sec_certificate_tFromID(id objc.ID) Sec_certificate_t

Sec_certificate_tFromID constructs a Sec_certificate_t from an objc.ID.

func TrySec_certificate_create

func TrySec_certificate_create(certificate SecCertificateRef) (Sec_certificate_t, error)

TrySec_certificate_create is like Sec_certificate_create but returns an error instead of panicking if sec_certificate_create is unavailable at run time.

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.

It panics if sec_identity_create is unavailable at run time; use TrySec_identity_create to get an error instead.

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.

It panics if sec_identity_create_with_certificates is unavailable at run time; use TrySec_identity_create_with_certificates to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_identity_create_with_certificates(_:_:)

func Sec_identity_tFromID added in v0.6.3

func Sec_identity_tFromID(id objc.ID) Sec_identity_t

Sec_identity_tFromID constructs a Sec_identity_t from an objc.ID.

func TrySec_identity_create

func TrySec_identity_create(identity SecIdentityRef) (Sec_identity_t, error)

TrySec_identity_create is like Sec_identity_create but returns an error instead of panicking if sec_identity_create is unavailable at run time.

func TrySec_identity_create_with_certificates

func TrySec_identity_create_with_certificates(identity SecIdentityRef, certificates corefoundation.CFArrayRef) (Sec_identity_t, error)

TrySec_identity_create_with_certificates is like Sec_identity_create_with_certificates but returns an error instead of panicking if sec_identity_create_with_certificates is unavailable at run time.

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

func Sec_object_tFromID added in v0.6.3

func Sec_object_tFromID(id objc.ID) Sec_object_t

Sec_object_tFromID constructs a Sec_object_t from an objc.ID.

type Sec_protocol_key_update_t

type Sec_protocol_key_update_t = func(metadata objectivec.Object, complete func())

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

func Sec_protocol_metadata_tFromID added in v0.6.3

func Sec_protocol_metadata_tFromID(id objc.ID) Sec_protocol_metadata_t

Sec_protocol_metadata_tFromID constructs a Sec_protocol_metadata_t from an objc.ID.

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

func Sec_protocol_options_tFromID added in v0.6.3

func Sec_protocol_options_tFromID(id objc.ID) Sec_protocol_options_t

Sec_protocol_options_tFromID constructs a Sec_protocol_options_t from an objc.ID.

type Sec_protocol_verify_t

type Sec_protocol_verify_t = func(metadata objectivec.Object, trust_ref objectivec.Object, complete func(bool))

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.

It panics if sec_trust_create is unavailable at run time; use TrySec_trust_create to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_trust_create(_:)

func Sec_trust_tFromID added in v0.6.3

func Sec_trust_tFromID(id objc.ID) Sec_trust_t

Sec_trust_tFromID constructs a Sec_trust_t from an objc.ID.

func TrySec_trust_create

func TrySec_trust_create(trust SecTrustRef) (Sec_trust_t, error)

TrySec_trust_create is like Sec_trust_create but returns an error instead of panicking if sec_trust_create is unavailable at run time.

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 uint32

See: https://developer.apple.com/documentation/Security/SecureDownloadTrustCallbackResult

const (
	KSecureDownloadDoNotEvaluateSigner SecureDownloadTrustCallbackResult = 0
	KSecureDownloadEvaluateSigner      SecureDownloadTrustCallbackResult = 1
	KSecureDownloadFailEvaluation      SecureDownloadTrustCallbackResult = 2
)

func (SecureDownloadTrustCallbackResult) String added in v0.5.1

type SecureDownloadTrustEvaluateCallback deprecated

type SecureDownloadTrustEvaluateCallback = SecTrustResultType

SecureDownloadTrustEvaluateCallback is optionally queries the user how to handle a failed trust evaluation.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecureDownloadTrustEvaluateCallback

type SecureDownloadTrustSetupCallback deprecated

type SecureDownloadTrustSetupCallback = SecureDownloadTrustCallbackResult

SecureDownloadTrustSetupCallback is determines whether trust for a particular signer should be evaluated.

Deprecated: Deprecated since macOS 12.0.

See: https://developer.apple.com/documentation/Security/SecureDownloadTrustSetupCallback

type SecuritySessionId

type SecuritySessionId = uint32

SecuritySessionId is a type that contains an authorization session identifier.

See: https://developer.apple.com/documentation/Security/SecuritySessionId

const (
	// CallerSecuritySession: A value that is a placeholder for the caller’s session.
	CallerSecuritySession SecuritySessionId = 4294967295
	// NoSecuritySession: Not a valid session.
	NoSecuritySession SecuritySessionId = 0
)

type SessionAttributeBits

type SessionAttributeBits uint32

See: https://developer.apple.com/documentation/Security/SessionAttributeBits

const (
	// SessionHasGraphicAccess: A bit that indicates a graphic subsystem is available.
	SessionHasGraphicAccess SessionAttributeBits = 0x10
	// SessionHasTTY: A bit that indicates `/dev/tty` is available.
	SessionHasTTY SessionAttributeBits = 0x20
	// SessionIsRemote: A bit that indicates the session was initiated over the network.
	SessionIsRemote SessionAttributeBits = 0x1000
	// SessionIsRoot: A bit that indicates the session is the root session.
	SessionIsRoot SessionAttributeBits = 0x1
)

func (SessionAttributeBits) String

func (e SessionAttributeBits) String() string

type SessionCreationFlags

type SessionCreationFlags uint32

See: https://developer.apple.com/documentation/Security/SessionCreationFlags

const (
	// SessionKeepCurrentBootstrap: The caller has allocated sub-bootstrap.
	SessionKeepCurrentBootstrap SessionCreationFlags = 0x8000
)

func (SessionCreationFlags) String

func (e SessionCreationFlags) String() string

type TLSCiphersuite added in v0.6.4

type TLSCiphersuite = Tls_ciphersuite_t

TLSCiphersuite is a Go-name alias for Tls_ciphersuite_t.

type TLSCiphersuiteGroup added in v0.6.4

type TLSCiphersuiteGroup = Tls_ciphersuite_group_t

TLSCiphersuiteGroup is a Go-name alias for Tls_ciphersuite_group_t.

type TLSProtocolVersion added in v0.6.4

type TLSProtocolVersion = Tls_protocol_version_t

TLSProtocolVersion is a Go-name alias for Tls_protocol_version_t.

type Tls_ciphersuite_group_t

type Tls_ciphersuite_group_t uint16

See: https://developer.apple.com/documentation/Security/tls_ciphersuite_group_t

const (
	Tls_ciphersuite_group_ats               Tls_ciphersuite_group_t = 3
	Tls_ciphersuite_group_ats_compatibility Tls_ciphersuite_group_t = 4
	Tls_ciphersuite_group_ats_fcp_v2_1      Tls_ciphersuite_group_t = 5
	Tls_ciphersuite_group_compatibility     Tls_ciphersuite_group_t = 1
	Tls_ciphersuite_group_default           Tls_ciphersuite_group_t = 0
	Tls_ciphersuite_group_legacy            Tls_ciphersuite_group_t = 2
)

func (Tls_ciphersuite_group_t) String added in v0.5.1

func (e Tls_ciphersuite_group_t) String() string

type Tls_ciphersuite_t

type Tls_ciphersuite_t uint16

See: https://developer.apple.com/documentation/Security/tls_ciphersuite_t

const (
	Tls_ciphersuite_AES_128_GCM_SHA256                        Tls_ciphersuite_t = 0x1301
	Tls_ciphersuite_AES_256_GCM_SHA384                        Tls_ciphersuite_t = 0x1302
	Tls_ciphersuite_CHACHA20_POLY1305_SHA256                  Tls_ciphersuite_t = 0x1303
	Tls_ciphersuite_ECDHE_ECDSA_WITH_AES_128_CBC_SHA          Tls_ciphersuite_t = 0xc009
	Tls_ciphersuite_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256       Tls_ciphersuite_t = 0xc023
	Tls_ciphersuite_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256       Tls_ciphersuite_t = 0xc02b
	Tls_ciphersuite_ECDHE_ECDSA_WITH_AES_256_CBC_SHA          Tls_ciphersuite_t = 0xc00a
	Tls_ciphersuite_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384       Tls_ciphersuite_t = 0xc024
	Tls_ciphersuite_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384       Tls_ciphersuite_t = 0xc02c
	Tls_ciphersuite_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 Tls_ciphersuite_t = 0xcca9
	Tls_ciphersuite_ECDHE_RSA_WITH_AES_128_CBC_SHA            Tls_ciphersuite_t = 0xc013
	Tls_ciphersuite_ECDHE_RSA_WITH_AES_128_CBC_SHA256         Tls_ciphersuite_t = 0xc027
	Tls_ciphersuite_ECDHE_RSA_WITH_AES_128_GCM_SHA256         Tls_ciphersuite_t = 0xc02f
	Tls_ciphersuite_ECDHE_RSA_WITH_AES_256_CBC_SHA            Tls_ciphersuite_t = 0xc014
	Tls_ciphersuite_ECDHE_RSA_WITH_AES_256_CBC_SHA384         Tls_ciphersuite_t = 0xc028
	Tls_ciphersuite_ECDHE_RSA_WITH_AES_256_GCM_SHA384         Tls_ciphersuite_t = 0xc030
	Tls_ciphersuite_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256   Tls_ciphersuite_t = 0xcca8
	Tls_ciphersuite_RSA_WITH_AES_128_CBC_SHA                  Tls_ciphersuite_t = 0x2f
	Tls_ciphersuite_RSA_WITH_AES_128_CBC_SHA256               Tls_ciphersuite_t = 0x3c
	Tls_ciphersuite_RSA_WITH_AES_128_GCM_SHA256               Tls_ciphersuite_t = 0x9c
	Tls_ciphersuite_RSA_WITH_AES_256_CBC_SHA                  Tls_ciphersuite_t = 0x35
	Tls_ciphersuite_RSA_WITH_AES_256_CBC_SHA256               Tls_ciphersuite_t = 0x3d
	Tls_ciphersuite_RSA_WITH_AES_256_GCM_SHA384               Tls_ciphersuite_t = 0x9d
	// Deprecated.
	Tls_ciphersuite_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA Tls_ciphersuite_t = 0xc008
	// Deprecated.
	Tls_ciphersuite_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA Tls_ciphersuite_t = 0xc012
	// Deprecated.
	Tls_ciphersuite_RSA_WITH_3DES_EDE_CBC_SHA Tls_ciphersuite_t = 0xa
)

func Sec_protocol_metadata_get_negotiated_tls_ciphersuite

func Sec_protocol_metadata_get_negotiated_tls_ciphersuite(metadata Sec_protocol_metadata_t) Tls_ciphersuite_t

Sec_protocol_metadata_get_negotiated_tls_ciphersuite.

It panics if sec_protocol_metadata_get_negotiated_tls_ciphersuite is unavailable at run time; use TrySec_protocol_metadata_get_negotiated_tls_ciphersuite to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_negotiated_tls_ciphersuite(_:)

func TrySec_protocol_metadata_get_negotiated_tls_ciphersuite

func TrySec_protocol_metadata_get_negotiated_tls_ciphersuite(metadata Sec_protocol_metadata_t) (Tls_ciphersuite_t, error)

TrySec_protocol_metadata_get_negotiated_tls_ciphersuite is like Sec_protocol_metadata_get_negotiated_tls_ciphersuite but returns an error instead of panicking if sec_protocol_metadata_get_negotiated_tls_ciphersuite is unavailable at run time.

func (Tls_ciphersuite_t) String added in v0.5.1

func (e Tls_ciphersuite_t) String() string

type Tls_protocol_version_t

type Tls_protocol_version_t uint16

See: https://developer.apple.com/documentation/Security/tls_protocol_version_t

const (
	// Tls_protocol_version_DTLSv12: The DTLS 1.2 protocol.
	Tls_protocol_version_DTLSv12 Tls_protocol_version_t = 0xfefd
	// Tls_protocol_version_TLSv12: The TLS 1.2 protocol.
	Tls_protocol_version_TLSv12 Tls_protocol_version_t = 0x303
	// Tls_protocol_version_TLSv13: The TLS 1.3 protocol.
	Tls_protocol_version_TLSv13 Tls_protocol_version_t = 0x304
	// Deprecated.
	Tls_protocol_version_DTLSv10 Tls_protocol_version_t = 0xfeff
	// Deprecated.
	Tls_protocol_version_TLSv10 Tls_protocol_version_t = 0x301
	// Deprecated.
	Tls_protocol_version_TLSv11 Tls_protocol_version_t = 0x302
)

func Sec_protocol_metadata_get_negotiated_tls_protocol_version

func Sec_protocol_metadata_get_negotiated_tls_protocol_version(metadata Sec_protocol_metadata_t) Tls_protocol_version_t

Sec_protocol_metadata_get_negotiated_tls_protocol_version.

It panics if sec_protocol_metadata_get_negotiated_tls_protocol_version is unavailable at run time; use TrySec_protocol_metadata_get_negotiated_tls_protocol_version to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_protocol_metadata_get_negotiated_tls_protocol_version(_:)

func Sec_protocol_options_get_default_max_dtls_protocol_version

func Sec_protocol_options_get_default_max_dtls_protocol_version() Tls_protocol_version_t

Sec_protocol_options_get_default_max_dtls_protocol_version.

It panics if sec_protocol_options_get_default_max_dtls_protocol_version is unavailable at run time; use TrySec_protocol_options_get_default_max_dtls_protocol_version to get an error instead.

See: https://developer.apple.com/documentation/Security/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() Tls_protocol_version_t

Sec_protocol_options_get_default_max_tls_protocol_version.

It panics if sec_protocol_options_get_default_max_tls_protocol_version is unavailable at run time; use TrySec_protocol_options_get_default_max_tls_protocol_version to get an error instead.

See: https://developer.apple.com/documentation/Security/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() Tls_protocol_version_t

Sec_protocol_options_get_default_min_dtls_protocol_version.

It panics if sec_protocol_options_get_default_min_dtls_protocol_version is unavailable at run time; use TrySec_protocol_options_get_default_min_dtls_protocol_version to get an error instead.

See: https://developer.apple.com/documentation/Security/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() Tls_protocol_version_t

Sec_protocol_options_get_default_min_tls_protocol_version.

It panics if sec_protocol_options_get_default_min_tls_protocol_version is unavailable at run time; use TrySec_protocol_options_get_default_min_tls_protocol_version to get an error instead.

See: https://developer.apple.com/documentation/Security/sec_protocol_options_get_default_min_tls_protocol_version()

func TrySec_protocol_metadata_get_negotiated_tls_protocol_version

func TrySec_protocol_metadata_get_negotiated_tls_protocol_version(metadata Sec_protocol_metadata_t) (Tls_protocol_version_t, error)

TrySec_protocol_metadata_get_negotiated_tls_protocol_version is like Sec_protocol_metadata_get_negotiated_tls_protocol_version but returns an error instead of panicking if sec_protocol_metadata_get_negotiated_tls_protocol_version is unavailable at run time.

func TrySec_protocol_options_get_default_max_dtls_protocol_version

func TrySec_protocol_options_get_default_max_dtls_protocol_version() (Tls_protocol_version_t, error)

TrySec_protocol_options_get_default_max_dtls_protocol_version is like Sec_protocol_options_get_default_max_dtls_protocol_version but returns an error instead of panicking if sec_protocol_options_get_default_max_dtls_protocol_version is unavailable at run time.

func TrySec_protocol_options_get_default_max_tls_protocol_version

func TrySec_protocol_options_get_default_max_tls_protocol_version() (Tls_protocol_version_t, error)

TrySec_protocol_options_get_default_max_tls_protocol_version is like Sec_protocol_options_get_default_max_tls_protocol_version but returns an error instead of panicking if sec_protocol_options_get_default_max_tls_protocol_version is unavailable at run time.

func TrySec_protocol_options_get_default_min_dtls_protocol_version

func TrySec_protocol_options_get_default_min_dtls_protocol_version() (Tls_protocol_version_t, error)

TrySec_protocol_options_get_default_min_dtls_protocol_version is like Sec_protocol_options_get_default_min_dtls_protocol_version but returns an error instead of panicking if sec_protocol_options_get_default_min_dtls_protocol_version is unavailable at run time.

func TrySec_protocol_options_get_default_min_tls_protocol_version

func TrySec_protocol_options_get_default_min_tls_protocol_version() (Tls_protocol_version_t, error)

TrySec_protocol_options_get_default_min_tls_protocol_version is like Sec_protocol_options_get_default_min_tls_protocol_version but returns an error instead of panicking if sec_protocol_options_get_default_min_tls_protocol_version is unavailable at run time.

func (Tls_protocol_version_t) String

func (e Tls_protocol_version_t) String() string

type X509_validity

type X509_validity struct {
	NotBefore CSSM_X509_TIME
	NotAfter  CSSM_X509_TIME
}

X509_validity

[Full Topic] [Full Topic]: https://developer.apple.com/documentation/Security/x509_validity

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL