Menu

#34 Signature with an external private key

v1.0 (example)
open
Singature (1)
5
2019-01-12
2019-01-11
No

I'm working on a Public Key Authentication where the private key is located outside the apllication space (smartcard-like behavior). There is the beautiful Identity class for this which has the getSignature() method. But all Signature classes have only setPubKey(byte[] e, byte[] n) method so I have to go tricky way to initialize the Signature object with my PrivateKey. At the same time current setPubKey method internally creates object of the same class (PrivateKey) to use java.security.Signature.

Suggestion:
Include setPubKey(PrivateKey prvKey) method to avoid tricky overrides.
And the same about KeyPair clasess (if possible).

Thank You

Discussion

  • Ashuickor Hendelson

    Sorry: Wrong Category. I don't know how to move it to the Feature Requests

     
  • Ashuickor Hendelson

    One more thing: I'm talking about setPrvKey (not setPubKey)

     
  • Ashuickor Hendelson

    I created a duplicate in "Feature Requests". Please remove this ticket here. Thank You.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.