Record Class OcspResponderService.Registration
java.lang.Object
java.lang.Record
zeroecho.pki.server.OcspResponderService.Registration
- Record Components:
responderId- stable responder identifieralias- unique public responder alias- 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 modes
- Enclosing class:
OcspResponderService
public static record OcspResponderService.Registration(String responderId, String alias, 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)
extends Record
Closed administrator input without server-authoritative timestamps, state, or record commitments.
-
Constructor Summary
ConstructorsConstructorDescriptionRegistration(String responderId, String alias, 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) Creates the default public unsigned-only registration.Registration(String responderId, String alias, 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) Snapshots the typed finite registration input. -
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.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.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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Registration
public Registration(String responderId, String alias, 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) Snapshots the typed finite registration input. -
Registration
public Registration(String responderId, String alias, 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) Creates the default public unsigned-only registration.- Parameters:
responderId- stable responder identifieralias- unique public responder aliasauthorityId- 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 lifetime
-
-
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
-
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
-