TAsymmetricKeyType
Bun

type

crypto.AsymmetricKeyType

type AsymmetricKeyType = 'dh' | 'dsa' | 'ec' | 'ed25519' | 'ed448' | MLDSAKeyType | MLKEMKeyType | 'rsa-pss' | 'rsa' | SLHDSAKeyType | 'x25519' | 'x448'

Referenced types

type MLDSAKeyType = `ml-dsa-${44 | 65 | 87}`
type MLKEMKeyType = `ml-kem-${1024 | 512 | 768}`
type SLHDSAKeyType = `slh-dsa-${'sha2' | 'shake'}-${128 | 192 | 256}${'f' | 's'}`