Sha256: 7f3b6968960c8b526d9184588261dcfe1d46df4d4f141a984eced6906f7def14

Contents?: true

Size: 995 Bytes

Versions: 16

Compression:

Stored size: 995 Bytes

Contents

// +build darwin,ios

package keychain

/*
#cgo LDFLAGS: -framework CoreFoundation -framework Security

#include <CoreFoundation/CoreFoundation.h>
#include <Security/Security.h>
*/
import "C"

var AccessibleKey = attrKey(C.CFTypeRef(C.kSecAttrAccessible))
var accessibleTypeRef = map[Accessible]C.CFTypeRef{
	AccessibleWhenUnlocked:                   C.CFTypeRef(C.kSecAttrAccessibleWhenUnlocked),
	AccessibleAfterFirstUnlock:               C.CFTypeRef(C.kSecAttrAccessibleAfterFirstUnlock),
	AccessibleAlways:                         C.CFTypeRef(C.kSecAttrAccessibleAlways),
	AccessibleWhenPasscodeSetThisDeviceOnly:  C.CFTypeRef(C.kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly),
	AccessibleWhenUnlockedThisDeviceOnly:     C.CFTypeRef(C.kSecAttrAccessibleWhenUnlockedThisDeviceOnly),
	AccessibleAfterFirstUnlockThisDeviceOnly: C.CFTypeRef(C.kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly),
	AccessibleAccessibleAlwaysThisDeviceOnly: C.CFTypeRef(C.kSecAttrAccessibleAlwaysThisDeviceOnly),
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby_snowflake_client-1.3.7 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.6 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.5 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.4 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.4.pre.debug ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.3.pre.debug ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.2 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.1 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.3.0 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.2.1 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.2.0 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.1.1 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.1.0 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.0.2 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.0.1 ext/vendor/github.com/99designs/go-keychain/ios.go
ruby_snowflake_client-1.0.0 ext/vendor/github.com/99designs/go-keychain/ios.go