通过数字签名登录 [英] Login by Digital signature

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

问题描述

我正在用C#编写项目并在silverlight3中进行设计

它是一个Web应用程序.
我希望该用户应该通过数字签名(DSC)登录

假设"Vikram"购买了我的软件..第一次是vikram

提交他的队形.他还必须附加他的数字签名,这是第一次

他提交了他的DSc,当时我想将他所有的DSC信息存储在我的服务器数据库中...


这意味着如果vikram第二次使用错误的dsc登录,他将不会获得许可
登录网站...
仅允许他使用正确的DSc登录..

现在的主要问题是我该如何验证..

充当服务器,我可以从dsc中获得什么信息以及如何获得..
如果可以的话,请帮我.很久以来,我一直在搜索这个..

在此先感谢

I am making the project as coding in c# and designing in silverlight3

Its a Web application..

I wants that user should login by Digital signature(DSC)

Suppose "Vikram" purchases my software .. first time when vikram

submit his formation.he will also have to attach his digital signature , first time when

he submits his DSc ,at that time I wants to store all his DSC informaion in my server database...


It means if second time vikram logins with the wrong dsc he will not get the permission
to login in a website...
He will only be permitted to login with a right DSc..

Now the main problem is that how can I verify this..

Acting as a server what Information can i get from dsc and how..
please help me if available with I am searching this from a long time..

Thanks in advance

推荐答案

数字签名是什么意思?它从何而来 ?您怎么首先知道它是有效的?
What do you mean by a digital signature ? Where does it come from ? How do you know it''s valid in the first place ?


我正在用c#编写项目并在silverlight3中进行设计

它是一个Web应用程序.
我希望该用户应该通过数字签名(DSC)登录

假设"Vikram"购买了我的软件..第一次是vikram

提交他的队形.他还必须附加他的数字签名,这是第一次

他提交了他的DSc,当时我想将他所有的DSC信息存储在我的服务器数据库中...


这意味着如果vikram第二次使用错误的dsc登录,他将不会获得许可
登录网站...
仅允许他使用正确的DSc登录..

现在的主要问题是我该如何验证..

充当服务器,我可以从dsc中获得什么信息以及如何获得..
如果可以的话,请帮我.很久以来,我一直在搜索这个..

在此先感谢





数字签名(请勿与数字证书混淆)是一种电子签名,可用于验证邮件发件人或文档签名者的身份,并可能确保邮件的原始内容或已发送的文件未更改.数字签名易于运输,不能被他人模仿,并且可以自动加盖时间戳.确保原始签名邮件到达的能力意味着发件人以后无法轻易否认它.
它包含一个公钥和一个私钥..
公共密钥可以共享给任何人,但公共密钥是秘密密钥..


那就是我要问的问题,我该如何验证用户签名...
I am making the project as coding in c# and designing in silverlight3

Its a Web application..

I wants that user should login by Digital signature(DSC)

Suppose "Vikram" purchases my software .. first time when vikram

submit his formation.he will also have to attach his digital signature , first time when

he submits his DSc ,at that time I wants to store all his DSC informaion in my server database...


It means if second time vikram logins with the wrong dsc he will not get the permission
to login in a website...
He will only be permitted to login with a right DSc..

Now the main problem is that how can I verify this..

Acting as a server what Information can i get from dsc and how..
please help me if available with I am searching this from a long time..

Thanks in advance





A digital signature (not to be confused with a digital certificate) is an electronic signature that can be used to authenticate the identity of the sender of a message or the signer of a document, and possibly to ensure that the original content of the message or document that has been sent is unchanged. Digital signatures are easily transportable, cannot be imitated by someone else, and can be automatically time-stamped. The ability to ensure that the original signed message arrived means that the sender cannot easily repudiate it later.
It contains a public key and a private key..
public key can be shared to anyone but public key is a secret key..


And thats the thing i am asking that how can i verify the users signature...


您应该编辑您的帖子,以便我们在回答时可以看到它,您的问题也可以当只有一个答案时,不会显示两个答案.

此处 [ ^ ]是我找到的第一项匹配内容.您是否尝试过搜索自己?

要点是,您拥有与公钥匹配的私钥,并且发送了一些使用这些密钥加密的数据.如果数据未解密,则密钥无效.

You should edit your post, so we can see it when we''re answering, and your question doesn''t show two answers, when it only has one.

Here[^] is the first hit I found. Did you try to search yourself ?

The gist of it is, you have the private key that matches the public key, and some data is sent that''s encrypted using these keys. If the data does not decrypt, then the key is not valid.

写道:​​

如果可以的话,请帮我.我正在很长时间内进行搜索.

please help me if available with I am searching this from a long time.



怪异的,谷歌和30秒让我得到了我需要编写的代码.



Weird, google and 30 seconds got me as much as I''d need to code this.


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

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