Lines Matching refs:key_dict
559 key_dict = {}
576 key_dict['keytype'] = keytype
577 key_dict['scheme'] = scheme
578 key_dict['keyid'] = default_keyid
579 key_dict['keyid_hash_algorithms'] = securesystemslib.settings.HASH_ALGORITHMS
580 key_dict['keyval'] = key_value
582 return key_dict, keyids
612 def create_signature(key_dict, data):
690 securesystemslib.formats.ANYKEY_SCHEMA.check_match(key_dict)
698 keytype = key_dict['keytype']
699 scheme = key_dict['scheme']
700 public = key_dict['keyval']['public']
701 private = key_dict['keyval']['private']
702 keyid = key_dict['keyid']
747 def verify_signature(key_dict, signature, data):
823 securesystemslib.formats.ANYKEY_SCHEMA.check_match(key_dict)
830 if key_dict['keyid'] != signature['keyid']:
832 ' ' + repr(key_dict['keyid']) + ' ) in the given key does not match'
844 public = key_dict['keyval']['public']
845 keytype = key_dict['keytype']
846 scheme = key_dict['scheme']