INNER CODE UNIT · Go
Algorithm
go-piv/piv-go · v2/piv/key.go:477
AlgorithmEC256 Algorithm = iota + 1
AlgorithmEC384
AlgorithmEd25519
AlgorithmRSA1024
AlgorithmRSA2048
AlgorithmRSA3072
AlgorithmRSA4096
AlgorithmX25519
)
// PINPolicy represents PIN requirements when signing or decrypting with an
// asymmetric key in a given slot.
type PINPolicy int
// PIN policies supported by this package.
//
// BUG(ericchiang): Caching for PINPolicyOnce isn't supported on YubiKey
// versions older than 4.3.0 due to issues with verifying if a PIN is needed.