Class SoftKonSigner

java.lang.Object
de.gematik.bbriccs.konnektor.SoftKonSigner

public class SoftKonSigner extends Object
  • Method Details

    • signDocument

      public byte[] signDocument(Smartcard smartcard, CryptoSystem cryptoSystem, boolean includeRevocationInfo, byte[] data)
    • signDocument

      public byte[] signDocument(Hba hba, CryptoSystem cryptoSystem, boolean includeRevocationInfo, String data)
      Using an HBA to sign a document will result in a QES signature
      Parameters:
      hba - to be used for the QES
      cryptoSystem - to be used for the QES which can be RSA or ECC
      includeRevocationInfo - if set to true will include OCSP-Response to the signature
      data - to be signed
    • signDocument

      public byte[] signDocument(Hba hba, CryptoSystem cryptoSystem, boolean includeRevocationInfo, byte[] data)
    • signDocument

      public byte[] signDocument(SmcB smcB, CryptoSystem cryptoSystem, boolean includeRevocationInfo, String data)
      Using an SMC-B to sign a document will result in a non-QES signature
      Parameters:
      smcB - to be used for the non-QES
      cryptoSystem - to be used for the non-QES which can be RSA or ECC
      includeRevocationInfo - if set to true will include OCSP-Response to the signature
      data - to be signed
    • signDocument

      public byte[] signDocument(SmcB smcB, CryptoSystem cryptoSystem, boolean includeRevocationInfo, byte[] data)