Class PublicRepositoryGateway
java.lang.Object
zeroecho.pki.server.PublicRepositoryGateway
Transport-neutral, read-only disclosed repository gateway.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordSafe request identity, without certificate or bearer-token logging fields.static final recordSafe public authority metadata.static enumCache policy classes with distinct privacy semantics.static final recordExact explicit chain path represented as ordered immutable certificate links.static final recordLifecycle-owned binary response descriptor. -
Method Summary
Modifier and TypeMethodDescriptionauthorities(Optional<PkiId> after, int limit) Returns one bounded keyset page of exposed public authority metadata.Returns one exact exposed authority.chainPath(PkiId authorityId, PkiId issuerId, PkiId pathId, PublicRepositoryGateway.Access access) Resolves one explicit chain path without constructing or preferring a path.credential(PkiId credentialId, PublicRepositoryGateway.Access access) Opens one exact leaf certificate; object identity alone grants no access.currentChain(PkiId authorityId, PublicRepositoryGateway.Access access) Resolves the stable chain route only through CURRENT_CHAIN metadata.currentCrl(PkiId authorityId, PublicRepositoryGateway.Access access) Resolves the stable current-CRL route only through CURRENT_CRL metadata.currentDeltaCrl(PkiId authorityId, PublicRepositoryGateway.Access access) Resolves the stable current-delta-CRL route only through CURRENT_DELTA_CRL metadata.issuerCertificate(PkiId authorityId, PkiId issuerId, PublicRepositoryGateway.Access access) Opens one exact issuer-generation certificate after disclosure enforcement.statusObject(PkiId statusObjectId, PublicRepositoryGateway.Access access) Opens one exact status object after role and disclosure checks.
-
Method Details
-
authorities
Returns one bounded keyset page of exposed public authority metadata.- Parameters:
after- optional exclusive authority cursorlimit- positive maximum result count- Returns:
- bounded immutable authority page
-
authority
Returns one exact exposed authority.- Parameters:
authorityId- exact exposed authority identifier- Returns:
- safe public authority metadata
-
issuerCertificate
public PublicRepositoryGateway.Content issuerCertificate(PkiId authorityId, PkiId issuerId, PublicRepositoryGateway.Access access) Opens one exact issuer-generation certificate after disclosure enforcement.- Parameters:
authorityId- exact exposed authority identifierissuerId- exact issuer generationaccess- authenticated or capability request authority- Returns:
- lifecycle-owned certificate response
-
chainPath
public PublicRepositoryGateway.Chain chainPath(PkiId authorityId, PkiId issuerId, PkiId pathId, PublicRepositoryGateway.Access access) Resolves one explicit chain path without constructing or preferring a path.- Parameters:
authorityId- exact exposed authority identifierissuerId- exact issuer generationpathId- exact chain pathaccess- authenticated or capability request authority- Returns:
- exact disclosed chain path
-
currentChain
public PublicRepositoryGateway.Chain currentChain(PkiId authorityId, PublicRepositoryGateway.Access access) Resolves the stable chain route only through CURRENT_CHAIN metadata.- Parameters:
authorityId- exact exposed authority identifieraccess- authenticated or capability request authority- Returns:
- currently aliased disclosed chain path
-
credential
public PublicRepositoryGateway.Content credential(PkiId credentialId, PublicRepositoryGateway.Access access) Opens one exact leaf certificate; object identity alone grants no access.- Parameters:
credentialId- exact credential identifieraccess- authenticated or capability request authority- Returns:
- lifecycle-owned certificate response
-
statusObject
public PublicRepositoryGateway.Content statusObject(PkiId statusObjectId, PublicRepositoryGateway.Access access) Opens one exact status object after role and disclosure checks.- Parameters:
statusObjectId- exact status-object identifieraccess- authenticated or capability request authority- Returns:
- lifecycle-owned status-object response
-
currentDeltaCrl
public PublicRepositoryGateway.Content currentDeltaCrl(PkiId authorityId, PublicRepositoryGateway.Access access) Resolves the stable current-delta-CRL route only through CURRENT_DELTA_CRL metadata.- Parameters:
authorityId- exact exposed authority identifieraccess- authenticated or capability request authority- Returns:
- lifecycle-owned current delta-CRL response
-
currentCrl
public PublicRepositoryGateway.Content currentCrl(PkiId authorityId, PublicRepositoryGateway.Access access) Resolves the stable current-CRL route only through CURRENT_CRL metadata.- Parameters:
authorityId- exact exposed authority identifieraccess- authenticated or capability request authority- Returns:
- lifecycle-owned current CRL response
-