Record Class OcspResponderService.Responder
java.lang.Object
java.lang.Record
zeroecho.pki.server.OcspResponderService.Responder
- Record Components:
responderId- stable responder identifieralias- unique public responder aliasrealmId- owning security realm- logical authority identifierissuerId- exact issuer generation identifiersigningMode- issuer or delegated signing moderesponderCredentialId- exact responder certificate identifiersigningKeyRef- exact signing-key referencechainPathId- responder certificate-chain path identifiersignatureAlgorithm- signature algorithm identifiersignatureBindingId- optional explicit signature bindingsignatureBindingCommitment- expected binding or registry commitmentresponderIdForm- OCSP responder-identifier representationresponseValidity- positive response validitynoncePolicy- request nonce policymaximumNonceBytes- maximum accepted nonce size in bytesacceptedHashes- accepted certificate-identifier hash algorithmsmaximumRequestBytes- maximum encoded request size in bytesmaximumEntries- maximum certificate identifiers per requestcacheLifetime- positive response-cache lifetimerequestAuthenticationMode- signed-request authentication policyrequesterTrustPolicy- requester trust policy required by signed modesstate- durable activation statecreatedAt- server-authoritative creation timeconfigurationCommitment- SHA-256 commitment to the complete configuration
- Enclosing class:
OcspResponderService
public static record OcspResponderService.Responder(String responderId, String alias, RealmId realmId, PkiId authorityId, PkiId issuerId, OcspResponderService.SigningMode signingMode, PkiId responderCredentialId, KeyRef signingKeyRef, PkiId chainPathId, String signatureAlgorithm, Optional<String> signatureBindingId, String signatureBindingCommitment, OcspResponseService.ResponderId responderIdForm, Duration responseValidity, OcspResponderService.NoncePolicy noncePolicy, int maximumNonceBytes, Set<OcspResponseService.CertIdHash> acceptedHashes, int maximumRequestBytes, int maximumEntries, Duration cacheLifetime, OcspResponderService.RequestAuthenticationMode requestAuthenticationMode, Optional<OcspResponderService.RequesterTrustPolicy> requesterTrustPolicy, OcspResponderService.State state, Instant createdAt, String configurationCommitment)
extends Record
Strict versioned responder binding.
-
Constructor Summary
ConstructorsConstructorDescriptionResponder(String responderId, String alias, RealmId realmId, PkiId authorityId, PkiId issuerId, OcspResponderService.SigningMode signingMode, PkiId responderCredentialId, KeyRef signingKeyRef, PkiId chainPathId, String signatureAlgorithm, Optional<String> signatureBindingId, String signatureBindingCommitment, OcspResponseService.ResponderId responderIdForm, Duration responseValidity, OcspResponderService.NoncePolicy noncePolicy, int maximumNonceBytes, Set<OcspResponseService.CertIdHash> acceptedHashes, int maximumRequestBytes, int maximumEntries, Duration cacheLifetime, OcspResponderService.RequestAuthenticationMode requestAuthenticationMode, Optional<OcspResponderService.RequesterTrustPolicy> requesterTrustPolicy, OcspResponderService.State state, Instant createdAt, String configurationCommitment) Validates all finite immutable dependencies and the record commitment. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacceptedHashesrecord component.alias()Returns the value of thealiasrecord component.Returns the value of theauthorityIdrecord component.Returns the value of thecacheLifetimerecord component.Returns the value of thechainPathIdrecord component.Returns the value of theconfigurationCommitmentrecord component.Returns the value of thecreatedAtrecord 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.intReturns the value of themaximumEntriesrecord component.intReturns the value of themaximumNonceBytesrecord component.intReturns the value of themaximumRequestBytesrecord component.Returns the value of thenoncePolicyrecord component.realmId()Returns the value of therealmIdrecord component.Returns the value of therequestAuthenticationModerecord component.Returns the value of therequesterTrustPolicyrecord component.Returns the value of theresponderCredentialIdrecord component.Returns the value of theresponderIdrecord component.Returns the value of theresponderIdFormrecord component.Returns the value of theresponseValidityrecord component.Returns the value of thesignatureAlgorithmrecord component.Returns the value of thesignatureBindingCommitmentrecord component.Returns the value of thesignatureBindingIdrecord component.Returns the value of thesigningKeyRefrecord component.Returns the value of thesigningModerecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Responder
public Responder(String responderId, String alias, RealmId realmId, PkiId authorityId, PkiId issuerId, OcspResponderService.SigningMode signingMode, PkiId responderCredentialId, KeyRef signingKeyRef, PkiId chainPathId, String signatureAlgorithm, Optional<String> signatureBindingId, String signatureBindingCommitment, OcspResponseService.ResponderId responderIdForm, Duration responseValidity, OcspResponderService.NoncePolicy noncePolicy, int maximumNonceBytes, Set<OcspResponseService.CertIdHash> acceptedHashes, int maximumRequestBytes, int maximumEntries, Duration cacheLifetime, OcspResponderService.RequestAuthenticationMode requestAuthenticationMode, Optional<OcspResponderService.RequesterTrustPolicy> requesterTrustPolicy, OcspResponderService.State state, Instant createdAt, String configurationCommitment) Validates all finite immutable dependencies and the record commitment.
-
-
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. 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
-
alias
-
realmId
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
issuerId
-
signingMode
Returns the value of thesigningModerecord component.- Returns:
- the value of the
signingModerecord component
-
responderCredentialId
Returns the value of theresponderCredentialIdrecord component.- Returns:
- the value of the
responderCredentialIdrecord component
-
signingKeyRef
Returns the value of thesigningKeyRefrecord component.- Returns:
- the value of the
signingKeyRefrecord component
-
chainPathId
Returns the value of thechainPathIdrecord component.- Returns:
- the value of the
chainPathIdrecord component
-
signatureAlgorithm
Returns the value of thesignatureAlgorithmrecord component.- Returns:
- the value of the
signatureAlgorithmrecord component
-
signatureBindingId
Returns the value of thesignatureBindingIdrecord component.- Returns:
- the value of the
signatureBindingIdrecord component
-
signatureBindingCommitment
Returns the value of thesignatureBindingCommitmentrecord component.- Returns:
- the value of the
signatureBindingCommitmentrecord component
-
responderIdForm
Returns the value of theresponderIdFormrecord component.- Returns:
- the value of the
responderIdFormrecord component
-
responseValidity
Returns the value of theresponseValidityrecord component.- Returns:
- the value of the
responseValidityrecord component
-
noncePolicy
Returns the value of thenoncePolicyrecord component.- Returns:
- the value of the
noncePolicyrecord component
-
maximumNonceBytes
public int maximumNonceBytes()Returns the value of themaximumNonceBytesrecord component.- Returns:
- the value of the
maximumNonceBytesrecord component
-
acceptedHashes
Returns the value of theacceptedHashesrecord component.- Returns:
- the value of the
acceptedHashesrecord component
-
maximumRequestBytes
public int maximumRequestBytes()Returns the value of themaximumRequestBytesrecord component.- Returns:
- the value of the
maximumRequestBytesrecord component
-
maximumEntries
public int maximumEntries()Returns the value of themaximumEntriesrecord component.- Returns:
- the value of the
maximumEntriesrecord component
-
cacheLifetime
Returns the value of thecacheLifetimerecord component.- Returns:
- the value of the
cacheLifetimerecord component
-
requestAuthenticationMode
Returns the value of therequestAuthenticationModerecord component.- Returns:
- the value of the
requestAuthenticationModerecord component
-
requesterTrustPolicy
Returns the value of therequesterTrustPolicyrecord component.- Returns:
- the value of the
requesterTrustPolicyrecord component
-
state
-
createdAt
-
configurationCommitment
Returns the value of theconfigurationCommitmentrecord component.- Returns:
- the value of the
configurationCommitmentrecord component
-