in sdk/PowerBI.Api/Extensions/AsymmetricKeyEncryptor.cs [13:31]
public AsymmetricKeyEncryptor(GatewayPublicKey publicKey)
{
if (publicKey == null)
{
throw new ArgumentNullException("publicKey");
}
if (string.IsNullOrEmpty(publicKey.Exponent))
{
throw new ArgumentNullException("publicKey.Exponent");
}
if (string.IsNullOrEmpty(publicKey.Modulus))
{
throw new ArgumentNullException("publicKey.Modulus");
}
this.publicKey = publicKey;
}