Signature with an external private key
Status: Alpha
Brought to you by:
ymnk
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
Sorry: Wrong Category. I don't know how to move it to the Feature Requests
One more thing: I'm talking about setPrvKey (not setPubKey)
I created a duplicate in "Feature Requests". Please remove this ticket here. Thank You.