Enum CertificateAuditAction
- All Implemented Interfaces:
IAuditAction<CertificateEntity>, Serializable, Comparable<CertificateAuditAction>
public enum CertificateAuditAction
extends Enum<CertificateAuditAction>
implements IAuditAction<CertificateEntity>
Represents the different actions that can be audited for certificates. Each action includes a message and optional
details, formatted for localization.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAuditDetails(CertificateEntity certificate, Locale locale, AuditParameter... params) Returns the localized details for an audit entry for this action.getAuditMessage(CertificateEntity certificate, Locale locale, AuditParameter... params) Returns the localized message for an audit entry for this action.Returns the basic CRUD action type associated with this audit action.static CertificateAuditActionReturns the enum constant of this type with the specified name.static CertificateAuditAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GENERATE
-
DELETE
-
EXPORT
-
EXPORT_PRIVATE_KEY
-
EXPORT_PUBLIC_KEY
-
EXPORT_WITH_PRIVATE_KEY
-
EXPORT_CSR
-
IMPORT
-
UPDATE_BY_IMPORT_CA_RESPONSE
-
RENEW
-
UPDATE_METADATA
-
-
Field Details
-
PARAM_ISSUER_CERTIFICATE
- See Also:
-
PARAM_RENEWED_CERTIFICATE
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getAuditDetails
public String getAuditDetails(CertificateEntity certificate, Locale locale, AuditParameter... params) Description copied from interface:IAuditActionReturns the localized details for an audit entry for this action.- Specified by:
getAuditDetailsin interfaceIAuditAction<CertificateEntity>- Parameters:
certificate- the entity being auditedlocale- the locale for localizationparams- optional parameters for additional context- Returns:
- the localized details
-
getAuditMessage
public String getAuditMessage(CertificateEntity certificate, Locale locale, AuditParameter... params) Description copied from interface:IAuditActionReturns the localized message for an audit entry for this action.- Specified by:
getAuditMessagein interfaceIAuditAction<CertificateEntity>- Parameters:
certificate- the entity being auditedlocale- the locale for localizationparams- optional parameters for additional context- Returns:
- the localized message
-
getCrudActionType
Description copied from interface:IAuditActionReturns the basic CRUD action type associated with this audit action.- Specified by:
getCrudActionTypein interfaceIAuditAction<CertificateEntity>- Returns:
- the CRUD action type
-