Record Class ServerControlOperation.SetOcspResponderActive
java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerControlOperation.SetOcspResponderActive
- Record Components:
responderId- stable OCSP responder identifieractive- desired activation state
- All Implemented Interfaces:
ServerControlOperation
- Enclosing interface:
ServerControlOperation
public static record ServerControlOperation.SetOcspResponderActive(String responderId, boolean active)
extends Record
implements ServerControlOperation
Activates or deactivates one exact responder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServerControlOperation
ServerControlOperation.AcmeDirectoryProfilePrecondition, ServerControlOperation.ActivateBreakGlass, ServerControlOperation.ActivateEnrollmentProfile, ServerControlOperation.BackupArtifactCommand, ServerControlOperation.CancelApproval, ServerControlOperation.ConfigurationChoices, ServerControlOperation.CreateBreakGlass, ServerControlOperation.CreateGrant, ServerControlOperation.CreateRoleAssignment, ServerControlOperation.DeactivateAcmeAccount, ServerControlOperation.DecideApproval, ServerControlOperation.DecideEnrollmentRequest, ServerControlOperation.DeregisterCmpEndpoint, ServerControlOperation.DeregisterEstEndpoint, ServerControlOperation.DeregisterScepEndpoint, ServerControlOperation.EnrollCredentialPublication, ServerControlOperation.EvaluateAuthorization, ServerControlOperation.ExecuteRestore, ServerControlOperation.ExportBackup, ServerControlOperation.ExportBackupStream, ServerControlOperation.InspectAcmeAccount, ServerControlOperation.InspectAcmeDirectory, ServerControlOperation.InspectApproval, ServerControlOperation.InspectAuditView, ServerControlOperation.InspectBreakGlass, ServerControlOperation.InspectCmpEndpoint, ServerControlOperation.InspectDisclosure, ServerControlOperation.InspectEnrollmentProfile, ServerControlOperation.InspectEnrollmentRequest, ServerControlOperation.InspectEstEndpoint, ServerControlOperation.InspectGrant, ServerControlOperation.InspectOcspResponder, ServerControlOperation.InspectPrincipal, ServerControlOperation.InspectRepositoryAlias, ServerControlOperation.InspectRoleAssignment, ServerControlOperation.InspectRoleTemplate, ServerControlOperation.InspectScepEndpoint, ServerControlOperation.IssueCapability, ServerControlOperation.ListAcmeAccounts, ServerControlOperation.ListAcmeDirectories, ServerControlOperation.ListApprovals, ServerControlOperation.ListBreakGlass, ServerControlOperation.ListCapabilities, ServerControlOperation.ListCmpEndpoints, ServerControlOperation.ListEnrollmentProfiles, ServerControlOperation.ListEnrollmentRequests, ServerControlOperation.ListEstEndpoints, ServerControlOperation.ListGrants, ServerControlOperation.ListOcspResponders, ServerControlOperation.ListPrincipals, ServerControlOperation.ListRepositoryAliases, ServerControlOperation.ListRoleAssignments, ServerControlOperation.ListRoleTemplates, ServerControlOperation.ListScepEndpoints, ServerControlOperation.RegisterAcmeDirectory, ServerControlOperation.RegisterCmpEndpoint, ServerControlOperation.RegisterEnrollmentProfile, ServerControlOperation.RegisterEstEndpoint, ServerControlOperation.RegisterOcspResponder, ServerControlOperation.RegisterPrincipal, ServerControlOperation.RegisterScepEndpoint, ServerControlOperation.RemoveRepositoryAlias, ServerControlOperation.RequestApproval, ServerControlOperation.ReserveBackupUpload, ServerControlOperation.RevokeBreakGlass, ServerControlOperation.RevokeCapability, ServerControlOperation.RevokeGrant, ServerControlOperation.RevokeRoleAssignment, ServerControlOperation.SearchAudit, ServerControlOperation.SetAcmeDirectoryActive, ServerControlOperation.SetDisclosure, ServerControlOperation.SetOcspResponderActive, ServerControlOperation.SetPrincipalEnabled, ServerControlOperation.SetRepositoryAlias, ServerControlOperation.SuspendEnrollmentProfile, ServerControlOperation.UpdateEnrollmentProfile, ServerControlOperation.VerifyAuditIntegrity, ServerControlOperation.VerifyBackup -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSetOcspResponderActive(String responderId, boolean active) Validates the operation's immutable input. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the stable operation identity used for authorization and dispatch.Returns the value of theresponderIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
ACTIVATE
Stable operation identity used for authorization and dispatch.- See Also:
-
DEACTIVATE
Stable operation identity used for authorization and dispatch.- See Also:
-
-
Constructor Details
-
SetOcspResponderActive
Validates the operation's immutable input.
-
-
Method Details
-
name
Description copied from interface:ServerControlOperationReturns the stable operation identity used for authorization and dispatch.- Specified by:
namein interfaceServerControlOperation- Returns:
- stable operation identity
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
responderId
Returns the value of theresponderIdrecord component.- Returns:
- the value of the
responderIdrecord component
-
active
-