Class KeyStoreEntryInfo

java.lang.Object
de.xima.fc.certificate.ms.impl.util.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:
08.04.25
Author:
tobias
  • Constructor Details

    • 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 Details

    • 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.
    • getCertificate

      public X509Certificate getCertificate()
      The certificate associated with this entry. This field is optional and may be null if the entry is not of type ECryptoElementType.CERTIFICATE.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object