<s> import struct <EOL> from handshake import * <EOL> class StatusRequestExtension ( TLSExtension ) : <EOL> OCSP = <NUM_LIT:1> <EOL> def __init__ ( self ) : <EOL> TLSExtension . __init__ ( self ) <EOL> @ classmethod <EOL> def create ( cls , status_type = OCSP ) : <EOL> data = struct . pack ( '<STR_LIT>' , <NUM_LIT:5> , status_type , <NUM_LIT:0> , <NUM_LIT:0> ) <EOL> return TLSExtension . create ( TLSExtension . StatusRequest , data ) </s>
