Package org.digidoc4j

Interface SignatureToken

    • Method Detail

      • getCertificate

        X509Certificate getCertificate()
        Returns signer certificate
        Returns:
        signer certificate
      • sign

        byte[] sign​(DigestAlgorithm digestAlgorithm,
                    byte[] dataToSign)
        There must be implemented routines needed for signing
        Parameters:
        digestAlgorithm - provides needed information for signing
        dataToSign - data to sign
        Returns:
        signature raw value