private void AssertPrivateKey() { if (PrivateKey == null) throw new InvalidOperationException("This key should be a private key for such operation"); }