Code development platform for open source projects from the European Union institutions

Skip to content

DSSPrivateKeyEntry expose the wrapped private key

Pierrick VANDENBROUCKE requested to merge github/fork/vgalloy/develop into develop

Created by: vgalloy

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

Merge request reports