

@classmethod
def register(cls, name, public_key_type, create_verifier):
    'Register a signature key type.\n\n        :param name: the name of the signature key type\n        :param public_key_type: e.g. RSAPublicKey, DSAPublicKey, etc.\n        :param create_verifier: a function to create a verifier for this type\n        '
    cls._REGISTERED_TYPES[name] = cls(name, public_key_type, create_verifier)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/signature_utils.py SignatureKeyType.register/original