Saturday, August 13, 2016

Security: how to sign a message

How to SIGN a message: http://www.java2s.com/Code/Java/Security/SignatureTest.htm

Classes involved:

https://docs.oracle.com/javase/7/docs/api/java/security/KeyPairGenerator.html

https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html
https://docs.oracle.com/javase/7/docs/api/java/security/KeyPair.html
https://docs.oracle.com/javase/7/docs/api/java/security/PublicKey.html
https://docs.oracle.com/javase/7/docs/api/java/security/PrivateKey.html
https://docs.oracle.com/javase/7/docs/api/java/security/Signature.html
Code is available also here in Eclipse workspace:
https://github.com/vernetto/JavaMonAmour/tree/master/workspace

No comments:

Post a Comment

comments where you are promoting your business will be marked as SPAM :o)