Package de.xima.fc.certificate.mgmt.io
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyStoreEntryDetails(String alias, ECryptoElementType cryptoElementType, CertificateDetails certificateDetails)Creates a newKeyStoreEntryDetailsinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAlias()The alias of the keystore entry.CertificateDetailsgetCertificateDetails()Information about the X.509 certificate associated with this entry.ECryptoElementTypegetCryptoElementType()The type of cryptographic element.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
KeyStoreEntryDetails
public KeyStoreEntryDetails(String alias, ECryptoElementType cryptoElementType, CertificateDetails certificateDetails)
Creates a newKeyStoreEntryDetailsinstance.- 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 typeECryptoElementType.CERTIFICATE.- See Also:
getCryptoElementType()
-
-
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 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 typeECryptoElementType.CERTIFICATE.- See Also:
getCryptoElementType()
-
-