Class KeyStoreEntryInfo


  • public class KeyStoreEntryInfo
    extends Object
    Represents information about an entry in a keystore. This class is used to encapsulate details such as the alias, the type of the keystore entry, the certificate fingerprint, and its certificate usage information.
    Since:
    8.5.0
    Author:
    tobias
    • Constructor Detail

      • KeyStoreEntryInfo

        public KeyStoreEntryInfo​(String alias,
                                 ECryptoElementType cryptoElementType,
                                 X509Certificate certificate)
        Creates a new KeyStoreEntryInfo instance.
        Parameters:
        alias - The alias of the keystore entry. This is a unique identifier for the entry within the keystore.
        cryptoElementType - The type of the keystore entry. This indicates whether the entry is a private key, a certificate, or another type.
        certificate - The certificate associated with this entry. This field is optional and may be null if the entry is not of type ECryptoElementType.CERTIFICATE.
    • Method Detail

      • getAlias

        public String getAlias()
        The alias of the keystore entry. This is a unique identifier for the entry within the keystore.
      • getCryptoElementType

        public ECryptoElementType getCryptoElementType()
        The type of the keystore entry. This indicates whether the entry is a private key, a certificate, or another type.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object