我可以通过C#以数字方式登录图像 [英] Can I digitally sign in images by C#

查看:67
本文介绍了我可以通过C#以数字方式登录图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以通过c#



我已尝试过:



我的问题是如何对这些图像进行数字签名?如果我签署JPG或Tiff,签名是否会附加到这些文件中(因为它发生在PDF或MS word等文档文件中)?如果是这样,它存储在文件元数据字段中,还是留在外面?我可以提取签名数据吗?请注意我希望单独签署这些图像,并且不希望转换为PDF等任何其他格式。此外,我不希望使用电子邮件客户端签名。

Can i digitally sign in Images by c#

What I have tried:

My question is how to digitally sign these images? If I sign JPG or Tiff , whether signature will get attached to these files (as it happens in document files like PDF or MS word etc)? If so where it get store in file metadata fields , or remain outside? Can i extract signature data? Please note I wish to sign these images Individually and do not want to get converted into any other format like PDF. Also I donot wish to sign it using email client.

推荐答案

图像实际上并非设计用于数字签名。正如SuvenduShekharGiri建议的一个解决方案是创建一个分离的签名,然后将它放在图像附近。然而这与附加签名不同(就像在DOCX,PDF等文档中完成的那样)。



尽管如此,我的问题是什么是你这样做的真正目的是什么?你想要实现什么目标?

就像一个FYI你可以使用隐写术在图像中插入你隐藏的水印或版权内容,这样你就可以检测您的图像是否有某些变化。
Images were really not designed for the digital signing purposes. As SuvenduShekharGiri suggested one solution would be to create a detached signature and you would place it near the image. However this is not the same as attaching the signature (like it is done in DOCX, PDF, etc. documents).

Nevertheless the question that I have is what is your true purpose for doing this, what exactly do you want to achieve?
Just as an FYI you could use steganography to insert your hidden watermark or copyright content inside an image, with this you would be able to detect if some changes were made on your image.


这篇关于我可以通过C#以数字方式登录图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆