Interface DSSPrivateKeyEntry

All Known Subinterfaces:
DSSPrivateKeyAccessEntry
All Known Implementing Classes:
KSPrivateKeyEntry

public interface DSSPrivateKeyEntry
Interface for a PrivateKey.
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.model.x509.CertificateToken
    Retrieve the signing certificate
    eu.europa.esig.dss.model.x509.CertificateToken[]
    Retrieve the certificate chain linked
    eu.europa.esig.dss.enumerations.EncryptionAlgorithm
    Get the EncryptionAlgorithm corresponding to the PrivateKey
  • Method Details

    • getCertificate

      eu.europa.esig.dss.model.x509.CertificateToken getCertificate()
      Retrieve the signing certificate
      Returns:
      the certificate
    • getCertificateChain

      eu.europa.esig.dss.model.x509.CertificateToken[] getCertificateChain()
      Retrieve the certificate chain linked
      Returns:
      the chain of certificates
    • getEncryptionAlgorithm

      eu.europa.esig.dss.enumerations.EncryptionAlgorithm getEncryptionAlgorithm()
      Get the EncryptionAlgorithm corresponding to the PrivateKey
      Returns:
      the EncryptionAlgorithm (RSA, ECDSA,...)