dss icon indicating copy to clipboard operation
dss copied to clipboard

DSSPrivateKeyEntry expose the wrapped private key

Open vgalloy opened this issue 4 years ago • 0 comments

Motivations: Since DSSPrivateKeyEntry doesn't expose the wrapped private key, methods like SignatureTokenConnection#sign(ToBeSigned, DigestAlgorithm, DSSPrivateKeyEntry) need to cast the DSSPrivateKeyEntry into KSPrivateKeyEntry. This cast doesn't allow user to implements there own DSSPrivateKeyEntry.

Modifications:

  • Add DSSPrivateKeyEntry#getPrivateKey
  • Typo in DSSPrivateKeyEntry doc

vgalloy avatar Apr 10 '20 15:04 vgalloy