Interface ConcurrentContentSigner

    • Method Detail

      • getAlgorithm

        SignAlgo getAlgorithm()
        Returns the algorithm.
        Returns:
        algorithm
      • isMac

        boolean isMac()
      • getSha1OfMacKey

        byte[] getSha1OfMacKey()
      • getSigningKey

        Key getSigningKey()
        Get the signing key.
        Returns:
        the signing key if possible. null may be returned.
      • setPublicKey

        void setPublicKey​(PublicKey publicKey)
        Sets the public key.
        Parameters:
        publicKey - Public key of this signer. Must not be null.
      • getCertificate

        X509Cert getCertificate()
      • setCertificateChain

        void setCertificateChain​(X509Cert[] certchain)
        Set the CertificateChain.
        Parameters:
        certchain - Certificate chain of this signer. Could be null.
      • getCertificateChain

        X509Cert[] getCertificateChain()
      • initialize

        void initialize​(String conf,
                        org.xipki.password.PasswordResolver passwordResolver)
                 throws XiSecurityException
        Initializes me.
        Parameters:
        conf - Configuration. Could be null.
        passwordResolver - Password resolver. Could be null.
        Throws:
        XiSecurityException - if error during the initialization occurs.
      • isHealthy

        boolean isHealthy()