package macOS
Import Path
crypto/x509/internal/macos (on golang.org and go.dev )
Dependency Relation
imports 5 packages , and imported by one package
Involved Source Files
d-> corefoundation.go
security.go
corefoundation.s
security.s
Exported Type Names
type
CFRef uintptr
CFRef is an opaque reference to a Core Foundation object. It is a pointer,
but to memory not owned by Go, so not an unsafe.Pointer.
As Outputs Of (6+)
func CFArrayGetValueAtIndex (array CFRef , index int ) CFRef
func CFDictionaryGetValueIfPresent (dict CFRef , key CFString ) (value CFRef , ok bool )
func SecItemExport (cert CFRef ) (data CFRef , err error )
func SecPolicyCopyProperties (policy CFRef ) CFRef
func SecTrustSettingsCopyCertificates (domain SecTrustSettingsDomain ) (certArray CFRef , err error )
func SecTrustSettingsCopyTrustSettings (cert CFRef , domain SecTrustSettingsDomain ) (trustSettings CFRef , err error )
As Inputs Of (12+)
func CFArrayGetCount (array CFRef ) int
func CFArrayGetValueAtIndex (array CFRef , index int ) CFRef
func CFDataGetBytePtr (data CFRef ) uintptr
func CFDataGetLength (data CFRef ) int
func CFDataToSlice (data CFRef ) []byte
func CFDictionaryGetValueIfPresent (dict CFRef , key CFString ) (value CFRef , ok bool )
func CFEqual (a, b CFRef ) bool
func CFNumberGetValue (num CFRef ) (int32 , error )
func CFRelease (ref CFRef )
func SecItemExport (cert CFRef ) (data CFRef , err error )
func SecPolicyCopyProperties (policy CFRef ) CFRef
func SecTrustSettingsCopyTrustSettings (cert CFRef , domain SecTrustSettingsDomain ) (trustSettings CFRef , err error )
Exported Values
The pages are generated with Golds v0.1.6 . (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project and developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds .