STS custom encryption RRS feed

  • Question

  • I am building custom STS but dont want to use X509 Security Token, I want to encrypt the message with my own private/public keys how can this be achieved

    Wednesday, December 29, 2010 7:15 PM


All replies

  • Can you elaborate on that a bit?  What sort of keys?  X509 is public/private key.

    Wednesday, December 29, 2010 10:18 PM
  • I want to use sn.exe and generate keys using which I want to encrypt the message.




    Thursday, December 30, 2010 1:19 AM
  • and why? you can use makecert to create your own x509 keys. Where's the difference?
    Dominick Baier | thinktecture | http://www.leastprivilege.com
    Thursday, December 30, 2010 6:19 AM

    I would like to expose the public key(like method on interface) so that I can decrypt the token on different server.

    Thursday, December 30, 2010 2:22 PM
  • That's not very common practice - but at the end of the day - a certificate (plus priv key) is just a byte[]. So no need to reinvent the wheel.
    Dominick Baier | thinktecture | http://www.leastprivilege.com
    • Marked as answer by chintapali Thursday, December 30, 2010 2:59 PM
    Thursday, December 30, 2010 2:40 PM
  • Yes it makes sense to use x509securitytokens. Instead of reinventing the wheel. Thanks


    Thursday, December 30, 2010 2:59 PM