Security Functions

No overview available.

Symbols

Functions

AuthorizationCopyRightsAsyncAuthorizationPluginCreateCMSDecoderCopySignerTimestampWithPolicyCMSEncoderCopySignerTimestampWithPolicyCMSEncoderSetSignerAlgorithmSecAccessControlGetTypeIDSecAsn1AllocCopySecAsn1AllocCopyItemSecAsn1AllocItemSecAsn1CoderCreateSecAsn1CoderReleaseSecAsn1DecodeSecAsn1DecodeDataSecAsn1EncodeItemSecAsn1MallocSecAsn1OidCompareSecCertificateCopyNormalizedIssuerSequenceSecCertificateCopyNormalizedSubjectSequence
SecCodeCheckValidity

Performs dynamic validation of signed code.

SecCodeCheckValidityWithErrors

Performs dynamic validation of signed code and returns detailed error information in the case of failure.

SecCodeCopyDesignatedRequirement

Retrieves the designated code requirement of signed code.

SecCodeCopyGuestWithAttributes

Asks a code host to identify one of its guests given the type and value of specific attributes of the guest code.

SecCodeCopyHost

Retrieves the code object for the host of specified guest code.

SecCodeCopyPath

Retrieves the location on disk of signed code, given a code or static code object.

SecCodeCopySelf

Retrieves the code object for the code making the call.

SecCodeCopySigningInformation

Retrieves various pieces of information from a code signature.

SecCodeCopyStaticCode

Locates the origin of running code and returns a static code object representing the code in the file system.

SecCodeGetTypeID

Returns the unique identifier of the opaque type to which a SecCodeRef object belongs.

SecCodeMapMemory

Asks the kernel to accept the signing information currently attached to a code object and uses it to validate memory page-ins.

SecDecodeTransformCreate

Creates an decode computation object.

SecDecryptTransformCreate

Creates an encryption SecTransform object.

SecDecryptTransformGetTypeID

Returns the CFTypeID for a decrypt transform.

SecDigestTransformCreate

Creates a digest computation object.

SecDigestTransformGetTypeID

Return the CFTypeID of a SecDigestTransform

SecEncodeTransformCreate

Creates an encode computation object.

SecEncryptTransformCreate

Creates an encryption SecTransform object.

SecEncryptTransformGetTypeID

Returns the CFTypeID for a decrypt transform.

SecGroupTransformGetTypeID

Return the CFTypeID for a SecTransformGroup.

SecHostCreateGuest

Creates a new guest and describes its initial properties.

SecHostRemoveGuest

Removes a guest from a host.

SecHostSelectGuest

Makes the calling thread the proxy for a specified guest.

SecHostSelectedGuest

Retrieves the handle for the guest currently selected for the calling thread.

SecHostSetGuestStatus

Updates the status and attributes of a particular guest.

SecHostSetHostingPort

Tells the Code Signing Services hosting subsystem that the calling code will directly respond to hosting inquiries over the given port.

SecKeyCopyAttributes
SecKeyCopyExternalRepresentation

Returns an external representation of the given key suitable for the key's type.

SecKeyCopyKeyExchangeResultSecKeyCopyPublicKeySecKeyCreateDecryptedDataSecKeyCreateEncryptedDataSecKeyCreateRandomKeySecKeyCreateSignatureSecKeyCreateWithDataSecKeyIsAlgorithmSupportedSecKeyVerifySignatureSecPolicyCreateRevocationSecPolicyCreateWithProperties
SecRequirementCopyData

Extracts a binary form of a code requirement from a code requirement object.

SecRequirementCopyString

Converts a code requirement object into text form.

SecRequirementCreateWithData

Creates a code requirement object from the binary form of a code requirement.

SecRequirementCreateWithString

Creates a code requirement object by compiling a valid text representation of a code requirement.

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.

SecRequirementGetTypeID

Returns the unique identifier of the opaque type to which a SecRequirementRef object belongs.

SecSignTransformCreate

Creates a sign computation object.

SecStaticCodeCheckValidity

Validates a static code object.

SecStaticCodeCheckValidityWithErrors

Performs static validation of static signed code and returns detailed error information in the case of failure.

SecStaticCodeCreateWithPath

Creates a static code object representing the code at a specified file system path.

SecStaticCodeCreateWithPathAndAttributes

Creates a static code object representing the code at a specified file system path and an attributes dictionary.

SecStaticCodeGetTypeID

Returns the unique identifier of the opaque type to which a SecStaticCodeRef object belongs.

SecTaskCopySigningIdentifierSecTaskCopyValueForEntitlementSecTaskCopyValuesForEntitlementsSecTaskCreateFromSelfSecTaskCreateWithAuditTokenSecTaskGetTypeID
SecTranformCustomGetAttribute

Allow a custom transform to get an attribute value

Deprecated
SecTransformConnectTransforms

Pipe fitting for transforms.

SecTransformCopyExternalRepresentation

Create a CFDictionaryRef that contains enough information to be able to recreate a transform.

SecTransformCreate

Creates a transform computation object.

SecTransformCreateFromExternalRepresentation

Creates a transform instance from a CFDictionary of parameters.

SecTransformCreateGroupTransform

Create a SecGroupTransformRef that acts as a container for a set of connected transforms.

SecTransformCreateReadTransformWithReadStream

Creates a read transform from a CFReadStreamRef

SecTransformCustomGetAttribute

Allow a custom transform to get an attribute value

SecTransformCustomSetAttribute

Allow a custom transform to set an attribute value

SecTransformExecute

Executes a Transform or transform group synchronously.

SecTransformExecuteAsync

Executes Transform or transform group asynchronously.

SecTransformFindByName

Finds a member of a transform group by its name.

SecTransformGetAttribute

Get the current value of a transform attribute.

SecTransformGetTypeID

Return the CFTypeID for a SecTransform.

SecTransformNoData

Returns back A CFTypeRef from inside a processData override that says that while no data is being returned the transform is still active and awaiting data.

SecTransformPushbackAttribute

Allows for putting a single value back for a specific attribute. This will stop the flow of data into the specified attribute until any attribute is changed for the transform instance bound to the ref parameter.

SecTransformRegister

Register a new custom transform so that it may be used to process data

SecTransformSetAttribute

Set a static value as the value of an attribute in a transform. This is useful for things like iteration counts and other non-changing values.

SecTransformSetAttributeAction

Be notified when a attribute is set. The supplied block is called when the attribute is set. This can be done for a specific named attribute or all attributes.

SecTransformSetDataAction

Change the way a custom transform will do data processing. When the action parameter is kSecTransformActionProcessData The newAction block will change the way that input data is processed to become the output data. When the action parameter is kSecTransformActionInternalizeExtraData it will change the way a custom transform reads in data to be imported into the transform.

SecTransformSetTransformActionSecTrustCopyResultSecTrustGetNetworkFetchAllowedSecTrustSetNetworkFetchAllowedSecTrustSetOCSPResponse
SecVerifyTransformCreate

Creates a verify computation object.

SecureDownloadCopyCreationDateSecureDownloadCopyNameSecureDownloadCopyTicketLocationSecureDownloadCopyURLsSecureDownloadCreateWithTicketSecureDownloadFinishedSecureDownloadGetDownloadSizeSecureDownloadReleaseSecureDownloadUpdateWithDataSessionCreateSessionGetInfo