Interface DSSPrivateKeyEntry

  • All Known Implementing Classes:
    KSPrivateKeyEntry

    public interface DSSPrivateKeyEntry
    Interface for a PrivateKey.
    • Method Detail

      • getCertificate

        CertificateToken getCertificate()
        Retrieve the signing certificate
        Returns:
        the certificate
      • getCertificateChain

        CertificateToken[] getCertificateChain()
        Retrieve the certificate chain linked
        Returns:
        the chain of certificates
      • getEncryptionAlgorithm

        EncryptionAlgorithm getEncryptionAlgorithm()
                                            throws DSSException
        Get the EncryptionAlgorithm corresponding to the PrivateKey
        Returns:
        the EncryptionAlgorithm (RSA, ECDSA,...)
        Throws:
        DSSException - if the encryption algorithm cannot be detected