Constructors
constructor
-
Parameters
-
label: string
-
hex: number
-
Properties
Static ECDSA
ECDSA
: KeyType = new KeyType('ECDSA', 0x12, SignatureScheme.ECDSAwithSHA256)
Static EDDSA
EDDSA
: KeyType = new KeyType('EDDSA', 0x14, SignatureScheme.EDDSAwithSHA512)
Static SM2
SM2
: KeyType = new KeyType('SM2', 0x13, SignatureScheme.SM2withSM3)
Type of key. ECDSA is the default one to use.