in Notation.Plugin.AzureKeyVault/Protocol/DescribeKey.cs [21:40]
public DescribeKeyRequest(string contractVersion, string keyId)
{
if (string.IsNullOrEmpty(contractVersion))
{
throw new ArgumentNullException(nameof(contractVersion), "ContractVersion must not be null or empty");
}
if (string.IsNullOrEmpty(keyId))
{
throw new ArgumentNullException(nameof(keyId), "KeyId must not be null or empty");
}
if (contractVersion != Protocol.ContractVersion)
{
throw new ValidationException($"Unsupported contract version: {contractVersion}");
}
ContractVersion = contractVersion;
KeyId = keyId;
}