Files
sing-box-extended-mirror/adapter/certificate_darwin.go
T

18 lines
315 B
Go
Raw Normal View History

2026-04-24 09:04:27 +08:00
//go:build darwin && cgo
package adapter
import "unsafe"
type AppleAnchors interface {
Retain() AppleAnchors
Release()
// Ref returns the underlying CFArrayRef, or nil if the anchor set is empty.
Ref() unsafe.Pointer
}
type AppleCertificateStore interface {
CertificateStore
AppleAnchors() AppleAnchors
}