Lines Matching refs:Package
18 Verify a given OTA package with the specifed certificate.
44 'This script doesn\'t support verifying ECDSA signed package yet.')
49 def verify_package(cert, package):
50 """Verify the given package with the certificate.
64 print('Package: %s' % (package,))
67 # Read in the package.
68 with open(package) as package_file:
88 print('Package length: %d' % (length,))
105 # Get the signature from the input package.
150 parser.add_argument('package', help='The OTA package to be verified.')
153 verify_package(args.certificate, args.package)