Lines Matching refs:AftlError

54 class AftlError(Exception):  class
89 raise AftlError('Error decoding: {}'.format(perr))
216 raise AftlError('Invalid leaf_index value: {}'.format(leaf_index))
218 raise AftlError('Invalid tree_size value: {}'.format(tree_size))
221 raise AftlError(err_str.format(leaf_index, tree_size))
223 raise AftlError('Inclusion proof not provided.')
225 raise AftlError('No leaf hash provided.')
273 raise AftlError('Invalid structure for AftlImageHeader.')
285 raise AftlError('Invalid structure for AftlImageHeader')
436 raise AftlError('Invalid structure for AftlIcpEntry')
542 raise AftlError('Invalid AftlIcpEntry structure')
702 raise AftlError('Invalid structure for TrillianLogRootDescriptor.')
723 raise AftlError('Invalid structure for TrillianLogRootDescriptor.')
824 raise AftlError("Invalid byte_size character: {}. It must be a "
830 raise AftlError("Not enough data to read size: {}".format(byte_size))
833 raise AftlError("Not enough data to read value: "
864 raise AftlError("Invalid byte_size to store {} bytes".format(len(value)))
918 raise AftlError('unknown hash algorithm: {}'.format(hash_algorithm))
922 raise AftlError('unknown signature algorithm: {}'.format(
979 raise AftlError('Failed to convert version incremental to an ASCII'
986 raise AftlError('Failed to convert description to an UTF-8 string')
1015 raise AftlError('Failed to sign VBMetaPrimaryAnnotation with '
1035 raise AftlError('Unable to encode version incremental to ASCII')
1040 raise AftlError('Unable to encode description to UTF-8')
1155 raise AftlError("Not enough data to parse leaf header")
1159 raise AftlError("Unknown leaf type: {}".format(leaf_type))
1213 raise AftlError('Unable to encode the leaf header')
1267 raise AftlError("Incorrect leaf type")
1331 raise AftlError('Invalid AftlImageHeader.')
1347 raise AftlError('Validation of ICP entry {} failed.'.format(i))
1354 raise AftlError('Invalid AftlImage.')
1405 raise AftlError('Invalid AftlImage structure.')
1500 raise AftlError('Failed to import module: ({}).\n{}'.format(e, err_str))
1521 raise AftlError('Error: grpc failure ({})'.format(e))
1607 except AftlError as e:
1625 except AftlError as e:
1706 raise AftlError('Manufacturer keys not of size 4096: {}'.format(
1796 except AftlError as e:
2243 except AftlError as e: