public PrivateKey( string modulusInBase64, string exponentInBase64, string pInBase64, string qInBase64, string dPInBase64, string dQInBase64, string inverseQInBase64, string dInBase64) : base(modulusInBase64, exponentInBase64) { p = KeyUtility.GetBytes(pInBase64); q = KeyUtility.GetBytes(qInBase64); dp = KeyUtility.GetBytes(dPInBase64); dq = KeyUtility.GetBytes(dQInBase64); inverseQ = KeyUtility.GetBytes(inverseQInBase64); d = KeyUtility.GetBytes(dInBase64); }
public PublicKey(string modulusInBase64, string exponentInBase64) { modulus = KeyUtility.GetBytes(modulusInBase64); exponent = KeyUtility.GetBytes(exponentInBase64); }