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