Class KeyStoreEntryDetails

java.lang.Object
de.xima.fc.certificate.mgmt.io.KeyStoreEntryDetails
All Implemented Interfaces:
Serializable

public final class KeyStoreEntryDetails extends Object implements Serializable
See Also:
  • Constructor Details

    • KeyStoreEntryDetails

      public KeyStoreEntryDetails(String alias, ECryptoElementType cryptoElementType, CertificateDetails certificateDetails)
      Creates a new KeyStoreEntryDetails instance.
      Parameters:
      alias - The alias of the keystore entry. This is a unique identifier for the entry within the keystore.
      cryptoElementType - The type of cryptographic element. This indicates whether the entry is a private key, a certificate, or another type.
      certificateDetails - Information about the X.509 certificate associated with this entry. This includes details such as the subject name, fingerprint, and usage information of the certificate. This field is optional and may be null if the entry is not of type ECryptoElementType.CERTIFICATE.
      See Also:
  • 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 cryptographic element. This indicates whether the entry is a private key, a certificate, or another type.
    • getCertificateDetails

      public CertificateDetails getCertificateDetails()
      Information about the X.509 certificate associated with this entry. This includes details such as the subject name, fingerprint, and usage information of the certificate. This field is optional and may be null if the entry is not of type ECryptoElementType.CERTIFICATE.
      See Also:
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object