public EncryptedServiceClient(IJsonServiceClient client, RSAParameters publicKey)
 {
     Client = client;
     Client.ClearCookies();
     PublicKey          = publicKey;
     ServerPublicKeyXml = publicKey.ToPublicKeyXml();
 }
예제 #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);
 }