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:
- 8.5.0
- Author:
- tobias
-
-
Constructor Summary
Constructors Constructor Description KeyStoreEntryInfo(String alias, ECryptoElementType cryptoElementType, X509Certificate certificate)Creates a newKeyStoreEntryInfoinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetAlias()The alias of the keystore entry.X509CertificategetCertificate()The certificate associated with this entry.ECryptoElementTypegetCryptoElementType()The type of the keystore entry.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
KeyStoreEntryInfo
public KeyStoreEntryInfo(String alias, ECryptoElementType cryptoElementType, X509Certificate certificate)
Creates a newKeyStoreEntryInfoinstance.- 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 typeECryptoElementType.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.
-
getCertificate
public X509Certificate getCertificate()
The certificate associated with this entry. This field is optional and may be null if the entry is not of typeECryptoElementType.CERTIFICATE.
-
canEqual
protected boolean canEqual(Object other)
-
-