Package eu.europa.esig.dss.pki.model
Interface CertEntity
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JAXBCertEntity
An interface representing a certificate entity with essential properties.
This interface defines methods to access key information, certificate chain, the certificate token, and the encryption algorithm associated with the certificate entity.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets the certificate chain associated with this certificate entity.Gets the certificate token associated with this certificate entity.Gets the encryption algorithm associated with this certificate entity.Gets the private key associated with this certificate entity.
-
Method Details
-
getPrivateKey
PrivateKey getPrivateKey()Gets the private key associated with this certificate entity.- Returns:
- private key as a
PrivateKey
object
-
getCertificateChain
List<CertificateToken> getCertificateChain()Gets the certificate chain associated with this certificate entity.- Returns:
- a list of
CertificateToken
objects representing the certificate chain.
-
getCertificateToken
CertificateToken getCertificateToken()Gets the certificate token associated with this certificate entity.- Returns:
- the certificate token as a
CertificateToken
object.
-
getEncryptionAlgorithm
EncryptionAlgorithm getEncryptionAlgorithm()Gets the encryption algorithm associated with this certificate entity.- Returns:
- the encryption algorithm as an
EncryptionAlgorithm
object.
-