IsRevoked() public method

Check whether this (sub)key has a revocation signature on it.
public IsRevoked ( ) : bool
return bool
		/// <summary>
		/// Perform basic validation of key. Check if revoked or expired.
		/// </summary>
		/// <param name="pubKey"></param>
		/// <returns></returns>
		public bool IsKeyValid(PgpPublicKey pubKey)
		{
			if (pubKey.IsRevoked())
				return false;

			// Check if key has expired
			if (pubKey.GetValidSeconds() != 0)
			{
				var expireTime = pubKey.CreationTime.AddSeconds(pubKey.GetValidSeconds());
				if (DateTime.Now > expireTime)
					return false;
			}

			return true;
		}