Searched refs:SIG_ASN1_HEADER (Results 1 – 4 of 4) sorted by relevance
31 SIG_ASN1_HEADER = ( variable
353 common.SIG_ASN1_HEADER, signed_hash,361 common.SIG_ASN1_HEADER, signed_hash,369 common.SIG_ASN1_HEADER, signed_hash,376 bad_asn1_header = b'bad-asn-header'.ljust(len(common.SIG_ASN1_HEADER))386 common.SIG_ASN1_HEADER,
100 data_sha256_hash = common.SIG_ASN1_HEADER + hashlib.sha256(data).digest()
525 if len(signed_data) != len(common.SIG_ASN1_HEADER) + 32:529 if not signed_data.startswith(common.SIG_ASN1_HEADER):533 signed_hash = signed_data[len(common.SIG_ASN1_HEADER):]