def setUp(self):
    sct_proto = client_pb2.SignedCertificateTimestamp()
    sct_proto.version = client_pb2.V1
    sct_proto.id.key_id = 'EXAMPLE_KEY'.decode('hex')
    sct_proto.timestamp = 1365427532443
    sct_proto.signature.hash_algorithm = client_pb2.DigitallySigned.SHA256
    sct_proto.signature.sig_algorithm = client_pb2.DigitallySigned.ECDSA
    sct_proto.signature.signature = '304502210089de897f603e590b1aa0d7c4236c2f697e90602795f7a469215fda5eEXAMPLE_KEY EXAMPLE_KEY4122b3cd8b89fc77a48c'.decode('hex')
    self._sct_proto = sct_proto
def setUp(self):
    sct_proto = client_pb2.SignedCertificateTimestamp()
    sct_proto.version = client_pb2.V1
    sct_proto.id.key_id = 'EXAMPLE_KEY'.decode('hex')
    sct_proto.timestamp = 1365427532443
    sct_proto.signature.hash_algorithm = client_pb2.DigitallySigned.SHA256
    sct_proto.signature.sig_algorithm = client_pb2.DigitallySigned.ECDSA
    sct_proto.signature.signature = '304502210089de897f603e590b1aa0d7c4236c2f697e90602795f7a469215fda5eEXAMPLE_KEY EXAMPLE_KEY4122b3cd8b89fc77a48c'.decode('hex')
    self._sct_proto = sct_proto