INNER CODE UNIT · Go

TouchPolicy

go-piv/piv-go · v2/piv/key.go:520

	TouchPolicyNever TouchPolicy = iota + 1
	TouchPolicyAlways
	TouchPolicyCached
)

// Origin represents whether a key was generated on the hardware, or has been
// imported into it.
type Origin int

// Origins supported by this package.
const (
	OriginGenerated Origin = iota + 1
	OriginImported
)

const (
	tagPINPolicy   = 0xaa
	tagTouchPolicy = 0xab

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…