PKSig

Base class for public-key signatures

Notes: This class implements an interface for a standard public-key signature scheme. A public key signature consists of three algorithms: (keygen, sign, verify).

class PKSig.PKSig[source]

Bases: charm.toolbox.schemebase.SchemeBase

checkProperty(schemeObj, _reqProps)[source]
getProperty()[source]
keygen(securityparam)[source]
printProperties()[source]
setProperty(secDef=None, assumption=None, messageSpace=None, secModel=None, **kwargs)[source]
sign(pk, sk, message)[source]
updateProperty(scheme, secDef=None, assumption=None, messageSpace=None, secModel=None, **kwargs)[source]
verify(pk, message, sig)[source]