INNER CODE UNIT · Go
func
go-piv/piv-go · v2/piv/key.go:464
func (s Slot) String() string {
return strconv.FormatUint(uint64(s.Key), 16)
}
// Algorithm represents a specific algorithm and bit size supported by the PIV
// specification.
type Algorithm int
// Algorithms supported by this package. Note that not all cards will support
// every algorithm.
//
// For algorithm discovery, see: https://github.com/ericchiang/piv-go/issues/1
const (
AlgorithmEC256 Algorithm = iota + 1
AlgorithmEC384
AlgorithmEd25519
AlgorithmRSA1024
AlgorithmRSA2048