Record Class PublicRepositoryGateway.Chain
java.lang.Object
java.lang.Record
zeroecho.pki.server.PublicRepositoryGateway.Chain
- Record Components:
- exact logical authority identifierissuerId- exact issuer generationpathId- exact chain-path identifierorderedCredentialIds- leaf-to-root credential identifierscommitment- immutable path commitmentetag- response entity tagcacheClass- cache policy
- Enclosing class:
PublicRepositoryGateway
public static record PublicRepositoryGateway.Chain(PkiId authorityId, PkiId issuerId, PkiId pathId, List<PkiId> orderedCredentialIds, String commitment, String etag, PublicRepositoryGateway.CacheClass cacheClass)
extends Record
Exact explicit chain path represented as ordered immutable certificate links.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityIdrecord component.Returns the value of thecacheClassrecord component.Returns the value of thecommitmentrecord component.final booleanIndicates whether some other object is "equal to" this one.etag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.issuerId()Returns the value of theissuerIdrecord component.Returns the value of theorderedCredentialIdsrecord component.pathId()Returns the value of thepathIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Chain
-
-
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). -
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
issuerId
-
pathId
-
orderedCredentialIds
Returns the value of theorderedCredentialIdsrecord component.- Returns:
- the value of the
orderedCredentialIdsrecord component
-
commitment
Returns the value of thecommitmentrecord component.- Returns:
- the value of the
commitmentrecord component
-
etag
-
cacheClass
Returns the value of thecacheClassrecord component.- Returns:
- the value of the
cacheClassrecord component
-