Searched refs:sig (Results 1 – 6 of 6) sorted by relevance
237 if sig := b.uint32(); sig != fileHeaderSignature {255 if sig := b.uint32(); sig != directoryHeaderSignature {458 if sig := b.uint32(); sig != directory64LocSignature {480 if sig := b.uint32(); sig != directory64EndSignature {
463 sig := make([]byte, 4)464 binary.LittleEndian.PutUint32(sig, directoryEndSignature)466 copy(b[i:i+4], sig)
225 Signature sig = Signature.getInstance(getSignatureAlgorithm(signingKey)); in signWholeFile() local226 sig.initSign(signingKey); in signWholeFile()245 sig.update(buffer, 0, bytesRead); in signWholeFile()251 sig.sign(sigBlock, 1, sigBlock.length - 1); in signWholeFile()
113 sig = common.RunAndCheckOutput(cmd, stdout=subprocess.PIPE)115 digest_line = sig.rstrip().split('\n')[-1]
371 should_add_signature_to_list = lambda sig,lists: extract_package( argument372 sig) in packages_needing_list and not lists
27 % openssl dgst -binary -sha1 -sign testkey.pem FILE > FILE.sig