B4J Question Create a CMS/PKCS#7 digital signature using Bouncy Castle

Discussion in 'B4J Questions' started by avalle, Jun 24, 2018.

  1. avalle

    avalle Active Member Licensed User

    I need to create a server application that generates CMS or PKCS#7 digital signatures.
    Using the Bouncy Castle library would help as it has all the required functions.

    However I have no idea on how to write a wrapper to use it and all the libraries I've seen here using BC were focused on encryption rather than signatures.
    In addition having some samples code to calculate the signature would help a lot.

    Does anyone have something about it?

  2. Erel

    Erel Administrator Staff Member Licensed User

    Another option is to call OpenSSL with jShell.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice