I need to convert below java code to C#. In this code we need jwt token signed with private key and certificate.
public String sign(String plainText) thro