• Home
  • Raw
  • Download

Lines Matching refs:AftlError

54 class AftlError(Exception):
78 AftlError: If openssl cannot decode the PEM file.
89 raise AftlError('Error decoding: {}'.format(perr))
213 AftlError: If invalid parameters are passed in.
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.')
258 AftlError: If invalid structure for AftlImageHeader.
273 raise AftlError('Invalid structure for AftlImageHeader.')
282 AftlError: If invalid structure for AftlImageHeader.
285 raise AftlError('Invalid structure for AftlImageHeader')
384 AftlError: If data does not represent a well-formed AftlIcpEntry.
436 raise AftlError('Invalid structure for AftlIcpEntry')
538 AftlError: If invalid entry structure.
542 raise AftlError('Invalid AftlIcpEntry structure')
702 raise AftlError('Invalid structure for TrillianLogRootDescriptor.')
720 AftlError: If invalid entry structure.
723 raise AftlError('Invalid structure for TrillianLogRootDescriptor.')
817 AftlError: If |byte_size| is not a known format character, or if not
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: "
854 AftlError: If |byte_size| is not a known format character, or if
864 raise AftlError("Invalid byte_size to store {} bytes".format(len(value)))
909 AftlError: If the hash algorithm or signature algorithm value is
918 raise AftlError('unknown hash algorithm: {}'.format(hash_algorithm))
922 raise AftlError('unknown signature algorithm: {}'.format(
972 AftlError: If an error occured while parsing the annotation.
979 raise AftlError('Failed to convert version incremental to an ASCII'
986 raise AftlError('Failed to convert description to an UTF-8 string')
1004 AftlError: If an error occured while signing the annotation.
1015 raise AftlError('Failed to sign VBMetaPrimaryAnnotation with '
1029 AftlError: If the encoding failed.
1035 raise AftlError('Unable to encode version incremental to ASCII')
1040 raise AftlError('Unable to encode description to UTF-8')
1104 AftlError: If the encoding failed.
1147 AftlError: If the header cannot be decoded; or if the leaf type is
1155 raise AftlError("Not enough data to parse leaf header")
1159 raise AftlError("Unknown leaf type: {}".format(leaf_type))
1177 AftlError: If the leaf type is incorrect; or if the decoding failed.
1191 AftlError: If the encoding failed.
1207 AftlError: If the encoding failed.
1213 raise AftlError('Unable to encode the leaf header')
1262 AftlError if the leaf type is incorrect; or if the decoding failed.
1267 raise AftlError("Incorrect leaf type")
1286 AftlError: If the encoding failed.
1325 AftlError: If the data does not represent a well-formed AftlImage.
1331 raise AftlError('Invalid AftlImageHeader.')
1347 raise AftlError('Validation of ICP entry {} failed.'.format(i))
1354 raise AftlError('Invalid AftlImage.')
1400 AftlError: If invalid AFTL image structure.
1405 raise AftlError('Invalid AftlImage structure.')
1470 AftlError: If grpc or the proto modules cannot be loaded, if there is an
1490 AftlError: If grpc or the proto modules cannot be loaded, if there is an
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:
1696 AftlError: If grpc or the proto modules cannot be loaded, if there is an
1706 raise AftlError('Manufacturer keys not of size 4096: {}'.format(
1796 except AftlError as e:
2243 except AftlError as e:
2245 sys.stderr.write('Unhandled AftlError occured: {}\n'.format(e))