public EncryptedServiceClient(IJsonServiceClient client, RSAParameters publicKey) { Client = client; Client.ClearCookies(); PublicKey = publicKey; ServerPublicKeyXml = publicKey.ToPublicKeyXml(); }
public EncryptedServiceClient(IJsonServiceClient client, RSAParameters publicKey) { Client = client; Client.ClearCookies(); PublicKey = publicKey; ServerPublicKeyXml = publicKey.ToPublicKeyXml(); KeyId = Convert.ToBase64String(publicKey.Modulus).Substring(0, 7); }