PKI-based curriculum design elective system