Documentation ¶
Index ¶
- func CreateEmptyCFTypeRefSlice() []C.CFTypeRef
- func ExportFromKeychain(itemRefsToExport []C.CFTypeRef, isAskForPassword bool) ([]byte, error)
- func GetCertificateDataFromIdentityRef(identityRef C.CFTypeRef) (*x509.Certificate, error)
- func ReleaseIdentityWithRefList(refItems []IdentityWithRefModel)
- func ReleaseRef(refItem C.CFTypeRef)
- type IdentityWithRefModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEmptyCFTypeRefSlice ¶
CreateEmptyCFTypeRefSlice ...
func ExportFromKeychain ¶
ExportFromKeychain ...
func GetCertificateDataFromIdentityRef ¶
func GetCertificateDataFromIdentityRef(identityRef C.CFTypeRef) (*x509.Certificate, error)
GetCertificateDataFromIdentityRef ...
func ReleaseIdentityWithRefList ¶
func ReleaseIdentityWithRefList(refItems []IdentityWithRefModel)
ReleaseIdentityWithRefList ...
Types ¶
type IdentityWithRefModel ¶
IdentityWithRefModel ...
func FindAndValidateIdentity ¶
func FindAndValidateIdentity(identityLabel string) (*IdentityWithRefModel, error)
FindAndValidateIdentity ...
IMPORTANT: you have to C.CFRelease the returned items (one-by-one)!! you can use the ReleaseIdentityWithRefList method to do that
func FindIdentity ¶
func FindIdentity(identityLabel string) ([]IdentityWithRefModel, error)
FindIdentity ...
IMPORTANT: you have to C.CFRelease the returned items (one-by-one)!! you can use the ReleaseIdentityWithRefList method to do that
Click to show internal directories.
Click to hide internal directories.