Record Class EnrollmentRuntimeConfiguration.CredentialSet
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentRuntimeConfiguration.CredentialSet
- Record Components:
credentialId- stable immutable credential-set identityprotocol- protocol family- logical issuing authorityissuerId- exact retained issuer generationchainPathId- exact retained authority chainsigner- optional response signer, mandatory for EST and SCEPrequestTrustAnchors- explicit CMP request signature trust anchors- canonical public-key commitments allowed RA privilegespbm- optional CMP password-based protection configuration
- Enclosing class:
EnrollmentRuntimeConfiguration
public static record EnrollmentRuntimeConfiguration.CredentialSet(String credentialId, EnrollmentRuntimeConfiguration.Protocol protocol, String authorityId, String issuerId, String chainPathId, Optional<EnrollmentRuntimeConfiguration.Signer> signer, List<Path> requestTrustAnchors, List<String> authorizedRaKeys, Optional<EnrollmentRuntimeConfiguration.Pbm> pbm)
extends Record
Immutable authority-scoped protocol credentials. Changing any retained set
requires a new credential identity; active selection can then move to it.
-
Constructor Summary
ConstructorsConstructorDescriptionCredentialSet(String credentialId, EnrollmentRuntimeConfiguration.Protocol protocol, String authorityId, String issuerId, String chainPathId, Optional<EnrollmentRuntimeConfiguration.Signer> signer, List<Path> requestTrustAnchors, List<String> authorizedRaKeys, Optional<EnrollmentRuntimeConfiguration.Pbm> pbm) Validates the closed protocol capability combination. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityIdrecord component.Returns the value of theauthorizedRaKeysrecord component.Returns the value of thechainPathIdrecord component.Returns the value of thecredentialIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.issuerId()Returns the value of theissuerIdrecord component.pbm()Returns the value of thepbmrecord component.protocol()Returns the value of theprotocolrecord component.Returns the value of therequestTrustAnchorsrecord component.signer()Returns the value of thesignerrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
CredentialSet
public CredentialSet(String credentialId, EnrollmentRuntimeConfiguration.Protocol protocol, String authorityId, String issuerId, String chainPathId, Optional<EnrollmentRuntimeConfiguration.Signer> signer, List<Path> requestTrustAnchors, List<String> authorizedRaKeys, Optional<EnrollmentRuntimeConfiguration.Pbm> pbm) Validates the closed protocol capability combination.
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
credentialId
Returns the value of thecredentialIdrecord component.- Returns:
- the value of the
credentialIdrecord component
-
protocol
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
issuerId
-
chainPathId
Returns the value of thechainPathIdrecord component.- Returns:
- the value of the
chainPathIdrecord component
-
signer
-
requestTrustAnchors
Returns the value of therequestTrustAnchorsrecord component.- Returns:
- the value of the
requestTrustAnchorsrecord component
-
authorizedRaKeys
Returns the value of theauthorizedRaKeysrecord component.- Returns:
- the value of the
authorizedRaKeysrecord component
-
pbm
-