github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbcrypto/algotype.go (about)

     1  // Copyright 2018 Keybase, Inc. All rights reserved. Use of
     2  // this source code is governed by the included BSD license.
     3  
     4  package kbcrypto
     5  
     6  type AlgoType int
     7  
     8  const (
     9  	KIDPGPBase    AlgoType = 0x00
    10  	KIDPGPRsa     AlgoType = 0x1
    11  	KIDPGPElgamal AlgoType = 0x10
    12  	KIDPGPDsa     AlgoType = 0x11
    13  	KIDPGPEcdh    AlgoType = 0x12
    14  	KIDPGPEcdsa   AlgoType = 0x13
    15  	KIDPGPEddsa   AlgoType = 0x16
    16  	KIDNaclEddsa  AlgoType = 0x20
    17  	KIDNaclDH     AlgoType = 0x21
    18  
    19  	SigKbEddsa AlgoType = KIDNaclEddsa
    20  )