'Return a complete INTEGER DER element, fully encoded as a TLV.'

def encode(self):

    self.payload = long_to_bytes(self.value)
    if (bord(self.payload[0]) > 127):
        self.payload = (bchr(0) + self.payload)
    return DerObject.encode(self)
