DKIM.DkimSigner.GetAlgorithmName C# (CSharp) Method

GetAlgorithmName() private method

private GetAlgorithmName ( ) : string
return string
		private string GetAlgorithmName()
		{
			switch(this.SigningAlgorithm)
			{
				case DKIM.SigningAlgorithm.RSASha1:
					{
						return "rsa-sha1";
					}
				case DKIM.SigningAlgorithm.RSASha256:
					{
						return "rsa-sha256";
					}
				default:
					{
						throw new InvalidOperationException("Invalid SigningAlgorithm");
					}
			}
		}