Uses of Interface
co.ankatech.keymanagement.client.keymanagement.invoker.ApiCallback
Packages that use ApiCallback
Package
Description
-
Uses of ApiCallback in co.ankatech.keymanagement.client.keymanagement.api
Methods in co.ankatech.keymanagement.client.keymanagement.api with parameters of type ApiCallbackModifier and TypeMethodDescriptionokhttp3.CallCryptographicExchangesApi.activateExchangeAsync(UUID id, ActivateRequest activateRequest, ApiCallback<ExchangeDetailResponse> _callback) Activate Exchange (READY -> ACTIVE) — every live grant starts to authorize (asynchronously) Moves a READY Exchange to ACTIVE.okhttp3.CallCryptographicExchangesApi.activateExchangeCall(UUID id, ActivateRequest activateRequest, ApiCallback _callback) Build call for activateExchangeokhttp3.CallTenantResourcesKeyLifecycleApi.analyzeKeystoreAsync(UUID tenantId, File keystore, File metadata, File password, ApiCallback<KeystoreAnalysisResponse> _callback) Analyze a keystore (PKCS#12 / JKS) WITHOUT importing it (read-only preview) (asynchronously) Inspects a PKCS#12 or JKS keystore and reports, per alias, the detected algorithm, the projected Stable KID, and the cryptographic purpose derived from the certificate's X.509 KeyUsage (ENCRYPT_DECRYPT, SIGN_VERIFY, or AMBIGUOUS), by S2S-proxying to the cryptographic service.okhttp3.CallTenantResourcesKeyLifecycleApi.analyzeKeystoreCall(UUID tenantId, File keystore, File metadata, File password, ApiCallback _callback) Build call for analyzeKeystoreokhttp3.CallTenantResourcesKeyLifecycleApi.archiveKeyAsync(UUID tenantId, String kid, ArchiveKeyRequest archiveKeyRequest, ApiCallback<Void> _callback) Archive a cryptographic key (asynchronously) Moves a revoked key to archived state for compliance/audit retention.okhttp3.CallTenantResourcesKeyLifecycleApi.archiveKeyCall(UUID tenantId, String kid, ArchiveKeyRequest archiveKeyRequest, ApiCallback _callback) Build call for archiveKeyokhttp3.CallTenantResourcesKeyLifecycleApi.cancelKeyDestructionAsync(UUID tenantId, String kid, ApiCallback<Void> _callback) Cancel a scheduled key destruction (asynchronously) Cancels a key's scheduled destruction before the platform runs it: every scheduled destruction order of the key ends CANCELLED, every version waiting for destruction returns to the status it had before the request was approved, and the key reads ARCHIVED again.okhttp3.CallTenantResourcesKeyLifecycleApi.cancelKeyDestructionCall(UUID tenantId, String kid, ApiCallback _callback) Build call for cancelKeyDestructionokhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.cancelKeyMaterialVersionDestructionAsync(UUID tenantId, String stableKid, Integer version, ApiCallback<MaterialVersionResponse> _callback) Cancel a scheduled version destruction (asynchronously) Cancels the scheduled destruction the version belongs to, before the platform runs it: the version's own destruction order, or the destruction of the whole key it was scheduled with, which is cancelled as a whole.okhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.cancelKeyMaterialVersionDestructionCall(UUID tenantId, String stableKid, Integer version, ApiCallback _callback) Build call for cancelKeyMaterialVersionDestructionokhttp3.CallTenantQuorumApprovalApi.cancelTenantQuorumRequestAsync(UUID tenantId, UUID requestId, ApiCallback<QuorumRequestResponse> _callback) Cancel one's own quorum approval request (asynchronously) The requester withdraws a request still waiting; it ends CANCELLED and nothing runs.okhttp3.CallTenantQuorumApprovalApi.cancelTenantQuorumRequestCall(UUID tenantId, UUID requestId, ApiCallback _callback) Build call for cancelTenantQuorumRequestokhttp3.CallCryptographicExchangesApi.cloneExchangeAsync(UUID id, CloneRequest cloneRequest, ApiCallback<ExchangeDetailResponse> _callback) Clone Exchange to DRAFT (asynchronously) Copies references and metadata from the source Exchange into a new Exchange in DRAFT. cloned_from_exchange_id is populated for provenance.okhttp3.CallCryptographicExchangesApi.cloneExchangeCall(UUID id, CloneRequest cloneRequest, ApiCallback _callback) Build call for cloneExchangeokhttp3.CallExchangeContextsApi.closeExchangeContextAsync(UUID tenantId, UUID contextId, CloseExchangeContextRequest closeExchangeContextRequest, ApiCallback<ExchangeContextResponse> _callback) Close Exchange Context (permanent, non-reversible) (asynchronously) Moves the Exchange Context to CLOSED, which is terminal, and in the same transaction revokes every non-terminal Cryptographic Exchange in it with terminal cause CONTEXT_CLOSED and retires every live Capability Grant in it, whatever owns the grant.okhttp3.CallExchangeContextsApi.closeExchangeContextCall(UUID tenantId, UUID contextId, CloseExchangeContextRequest closeExchangeContextRequest, ApiCallback _callback) Build call for closeExchangeContextokhttp3.CallConstraintPoliciesApi.compareConstraintPolicyVersionsAsync(UUID tenantId, UUID baseVersionId, UUID targetVersionId, ApiCallback<ConstraintPolicyVersionComparison> _callback) Compare two versions of a constraint policy (asynchronously) The fields whose value differs between two versions of one policy, each with its value in the base and in the target version.okhttp3.CallConstraintPoliciesApi.compareConstraintPolicyVersionsCall(UUID tenantId, UUID baseVersionId, UUID targetVersionId, ApiCallback _callback) Build call for compareConstraintPolicyVersionsokhttp3.CallCapabilityGrantsApi.createCapabilityGrantAsync(UUID tenantId, CreateCapabilityGrantRequest createCapabilityGrantRequest, ApiCallback<CapabilityGrantResponse> _callback) Create Capability Grant (asynchronously) Creates a grant owned by no other governance object (ownerType INDEPENDENT).okhttp3.CallCapabilityGrantsApi.createCapabilityGrantCall(UUID tenantId, CreateCapabilityGrantRequest createCapabilityGrantRequest, ApiCallback _callback) Build call for createCapabilityGrantokhttp3.CallConstraintPoliciesApi.createConstraintPolicyAsync(UUID tenantId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback<ConstraintPolicyResponse> _callback) Create constraint policy (asynchronously) Constraint types: `max_usage` (absolute cap per grant), `valid_from`/`valid_until` (temporal gate), `rate_limit` (per-grant throttle over a fixed one-minute window, approximate: a burst across a minute boundary can briefly reach twice the rate — 0 = emergency freeze, null = unlimited), `revoke_on_use` (single use: the grant is consumed by its first admitted invocation, whether or not the operation succeeds, and cannot be used again; it authorizes one operation, not one message).okhttp3.CallConstraintPoliciesApi.createConstraintPolicyCall(UUID tenantId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback _callback) Build call for createConstraintPolicyokhttp3.CallCryptographicExchangesApi.createExchangeAsync(ExchangeCreateRequest exchangeCreateRequest, ApiCallback<ExchangeDetailResponse> _callback) Create a Cryptographic Exchange in DRAFT (asynchronously) Creates one directed relationship in DRAFT: an <code>origin</code> and a <code>destination</code>, each an application of the tenant (<code>applicationId</code>) or an external counterparty (<code>counterparty</code>, with an optional <code>counterpartyTypeId</code>), never external on both ends, in one Exchange Context.okhttp3.CallCryptographicExchangesApi.createExchangeCall(ExchangeCreateRequest exchangeCreateRequest, ApiCallback _callback) Build call for createExchangeokhttp3.CallExchangeContextsApi.createExchangeContextAsync(UUID tenantId, CreateExchangeContextRequest createExchangeContextRequest, ApiCallback<ExchangeContextResponse> _callback) Create an Exchange Context in the tenant (asynchronously) Creates a governed business scenario owned by the tenant.okhttp3.CallExchangeContextsApi.createExchangeContextCall(UUID tenantId, CreateExchangeContextRequest createExchangeContextRequest, ApiCallback _callback) Build call for createExchangeContextokhttp3.CallCryptographicExchangesApi.createExchangeGrantAsync(UUID id, ExchangeGrantRequest exchangeGrantRequest, ApiCallback<CapabilityGrantResponse> _callback) Add a Capability Grant to an Exchange (asynchronously) Creates a Capability Grant owned by the Exchange, in the Exchange's Exchange Context, on any non-terminal Exchange.okhttp3.CallCryptographicExchangesApi.createExchangeGrantCall(UUID id, ExchangeGrantRequest exchangeGrantRequest, ApiCallback _callback) Build call for createExchangeGrantokhttp3.CallInternalCryptoUseCasesApi.createInternalCryptoUseCaseAsync(UUID tenantId, CreateInternalCryptoUseCaseRequest createInternalCryptoUseCaseRequest, ApiCallback<InternalCryptoUseCaseResponse> _callback) Provision an internal crypto use case (asynchronously) Composes an authorization overlay over keys that <b>already exist</b>, for the calling application's self-use scenario.okhttp3.CallInternalCryptoUseCasesApi.createInternalCryptoUseCaseCall(UUID tenantId, CreateInternalCryptoUseCaseRequest createInternalCryptoUseCaseRequest, ApiCallback _callback) Build call for createInternalCryptoUseCaseokhttp3.CallTenantApplicationsApi.createKeyAsync(UUID tenantId, OrchestrationKeyRequest orchestrationKeyRequest, ApiCallback<OrchestrationKeyResponse> _callback) Create a cryptographic key (asynchronously) Creates a cryptographic key in the tenant's keystore.okhttp3.CallTenantApplicationsApi.createKeyCall(UUID tenantId, OrchestrationKeyRequest orchestrationKeyRequest, ApiCallback _callback) Build call for createKeyokhttp3.CallConstraintPoliciesApi.deleteConstraintPolicyAsync(UUID tenantId, UUID policyId, ApiCallback<Void> _callback) Soft-delete constraint policy (asynchronously) Refused while an active Capability Grant or Cryptographic Exchange still references the policy: the 409 names how many of each; revoke them first, then delete the policy.okhttp3.CallConstraintPoliciesApi.deleteConstraintPolicyCall(UUID tenantId, UUID policyId, ApiCallback _callback) Build call for deleteConstraintPolicyokhttp3.CallExchangeContextsApi.deleteExchangeContextAsync(UUID tenantId, UUID contextId, ApiCallback<Void> _callback) Soft-delete a CLOSED or PENDING_ACTIVATION Exchange Context (asynchronously)okhttp3.CallExchangeContextsApi.deleteExchangeContextCall(UUID tenantId, UUID contextId, ApiCallback _callback) Build call for deleteExchangeContextokhttp3.CallCryptographicExchangesApi.discardDraftAsync(UUID id, Integer version, ApiCallback<Void> _callback) Discard a draft (DRAFT/READY) Exchange (asynchronously) Soft-deletes an Exchange that has NOT yet been activated.okhttp3.CallCryptographicExchangesApi.discardDraftCall(UUID id, Integer version, ApiCallback _callback) Build call for discardDraftokhttp3.CallTenantResourcesKeyLifecycleApi.exportKeyAsync(UUID tenantId, String kid, ApiCallback<AdminKeyExportResponse> _callback) Export public key material and metadata for a key (public-only) (asynchronously) Returns the PUBLIC key material and full operational metadata for a key.okhttp3.CallTenantResourcesKeyLifecycleApi.exportKeyCall(UUID tenantId, String kid, ApiCallback _callback) Build call for exportKeyokhttp3.CallCryptographicActorsApi.getActorAsync(UUID tenantId, UUID actorId, ApiCallback<ActorResponse> _callback) Get actor details (asynchronously)okhttp3.CallCryptographicActorsApi.getActorCall(UUID tenantId, UUID actorId, ApiCallback _callback) Build call for getActorokhttp3.CallTenantApplicationsApi.getApplicationAsync(UUID tenantId, UUID applicationId, ApiCallback<ApplicationResponse> _callback) Get application details (asynchronously) Returns the stored record of one live application of the tenant: identity, lifecycle, business identity, ownership (including the owner's and the technical contact's e-mail addresses), risk classification and metadata.okhttp3.CallTenantApplicationsApi.getApplicationCall(UUID tenantId, UUID applicationId, ApiCallback _callback) Build call for getApplicationokhttp3.CallCryptographicExchangesApi.getByIdAsync(UUID id, ApiCallback<ExchangeDetailResponse> _callback) Get Cryptographic Exchange detail (asynchronously) Returns the full eager-loaded Exchange detail.okhttp3.CallCryptographicExchangesApi.getByIdCall(UUID id, ApiCallback _callback) Build call for getByIdokhttp3.CallCapabilityGrantsApi.getCapabilityGrantAsync(UUID tenantId, UUID grantId, ApiCallback<CapabilityGrantResponse> _callback) Get Capability Grant (asynchronously)okhttp3.CallCapabilityGrantsApi.getCapabilityGrantCall(UUID tenantId, UUID grantId, ApiCallback _callback) Build call for getCapabilityGrantokhttp3.CallCapabilityGrantsApi.getCapabilityGrantEffectiveRestrictionsAsync(UUID tenantId, UUID grantId, OffsetDateTime at, ApiCallback<CapabilityGrantEffectiveRestrictions> _callback) Get the restrictions that governed a Capability Grant at an instant (asynchronously) The Constraint Policy version in force for the grant at <code>at</code> (now when omitted), with its limits and its weekday and time-of-day schedule, read from the grant's assignment history.okhttp3.CallCapabilityGrantsApi.getCapabilityGrantEffectiveRestrictionsCall(UUID tenantId, UUID grantId, OffsetDateTime at, ApiCallback _callback) Build call for getCapabilityGrantEffectiveRestrictionsokhttp3.CallConstraintPoliciesApi.getConstraintPolicyAsync(UUID tenantId, UUID policyId, ApiCallback<ConstraintPolicyResponse> _callback) Get constraint policy (asynchronously)okhttp3.CallConstraintPoliciesApi.getConstraintPolicyCall(UUID tenantId, UUID policyId, ApiCallback _callback) Build call for getConstraintPolicyokhttp3.CallConstraintPoliciesApi.getConstraintPolicyVersionAsync(UUID tenantId, UUID policyId, Integer version, ApiCallback<ConstraintPolicyVersionResponse> _callback) Get one version of a constraint policy (asynchronously) One version of the policy, by its number: the limits and schedule a grant pinned to it enforces, who wrote it and when, and how many live Capability Grants are pinned to it now.okhttp3.CallConstraintPoliciesApi.getConstraintPolicyVersionCall(UUID tenantId, UUID policyId, Integer version, ApiCallback _callback) Build call for getConstraintPolicyVersionokhttp3.CallCounterpartyTypeCatalogTenantApi.getCounterpartyTypeAsync(UUID tenantId, UUID id, ApiCallback<CounterpartyTypeResponse> _callback) Get a counterparty type by id (asynchronously) Visible scopes: own tenant-local + any platform-global.okhttp3.CallCounterpartyTypeCatalogTenantApi.getCounterpartyTypeCall(UUID tenantId, UUID id, ApiCallback _callback) Build call for getCounterpartyTypeokhttp3.CallExchangeContextsApi.getExchangeContextAsync(UUID tenantId, UUID contextId, ApiCallback<ExchangeContextResponse> _callback) Get Exchange Context details (asynchronously)okhttp3.CallExchangeContextsApi.getExchangeContextCall(UUID tenantId, UUID contextId, ApiCallback _callback) Build call for getExchangeContextokhttp3.CallInternalCryptoUseCasesApi.getInternalCryptoUseCaseAsync(UUID tenantId, UUID useCaseId, ApiCallback<InternalCryptoUseCaseResponse> _callback) Get internal crypto use case detail (asynchronously) Returns the aggregate with all 7 child entity references, in any state: a REVOKED use case is returned with the members that say why it ended.okhttp3.CallInternalCryptoUseCasesApi.getInternalCryptoUseCaseCall(UUID tenantId, UUID useCaseId, ApiCallback _callback) Build call for getInternalCryptoUseCaseokhttp3.CallTenantResourcesKeyLifecycleApi.getKeyLifecycleCauseVerdictsAsync(UUID tenantId, String kid, ApiCallback<KeyLifecycleCauseVerdictsResponse> _callback) Project what each lifecycle act, under each cause, does to this key's read path (asynchronously) Returns, for the key {kid}, the server verdict the suspend, revoke, archive and reactivate dialogs render: for every lifecycle act and every <code>KeyLifecycleCause</code>, whether DECRYPT, VERIFY and the REENCRYPT / RESIGN <em>source</em> legs stop, continue, or stop on some material versions only.okhttp3.CallTenantResourcesKeyLifecycleApi.getKeyLifecycleCauseVerdictsCall(UUID tenantId, String kid, ApiCallback _callback) Build call for getKeyLifecycleCauseVerdictsokhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.getKeyMaterialVersionAsync(UUID tenantId, String stableKid, Integer version, ApiCallback<MaterialVersionResponse> _callback) Get a specific material version (asynchronously)okhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.getKeyMaterialVersionCall(UUID tenantId, String stableKid, Integer version, ApiCallback _callback) Build call for getKeyMaterialVersionokhttp3.CallTenantResourcesKeyLifecycleApi.getKeyMetadataAsync(UUID tenantId, String kid, ApiCallback<AdminKeyResponse> _callback) Get key metadata (asynchronously) Retrieves operational metadata for a single cryptographic key.okhttp3.CallTenantResourcesKeyLifecycleApi.getKeyMetadataCall(UUID tenantId, String kid, ApiCallback _callback) Build call for getKeyMetadataokhttp3.CallKeyRotationScheduleApi.getKeyRotationScheduleAsync(UUID tenantId, String kid, ApiCallback<KeyRotationScheduleView> _callback) Get the key's rotation schedule (asynchronously) Returns the key's effective automatic-rotation schedule.okhttp3.CallKeyRotationScheduleApi.getKeyRotationScheduleCall(UUID tenantId, String kid, ApiCallback _callback) Build call for getKeyRotationScheduleokhttp3.CallTenantQuorumApprovalApi.getTenantQuorumRequestAsync(UUID tenantId, UUID requestId, ApiCallback<QuorumRequestResponse> _callback) Read one quorum approval request (asynchronously) One request of the tenant, with every decision.okhttp3.CallTenantQuorumApprovalApi.getTenantQuorumRequestCall(UUID tenantId, UUID requestId, ApiCallback _callback) Build call for getTenantQuorumRequestokhttp3.CallTenantResourcesKeyLifecycleApi.importKeyAsync(UUID tenantId, KeyImportRequest keyImportRequest, ApiCallback<KeyExportResponse> _callback) Import a PUBLIC key (simple or composite) into the tenant keystore (asynchronously) Imports public key material for a simple or composite (hybrid) key, by S2S-proxying to the cryptographic service.okhttp3.CallTenantResourcesKeyLifecycleApi.importKeyCall(UUID tenantId, KeyImportRequest keyImportRequest, ApiCallback _callback) Build call for importKeyokhttp3.CallTenantResourcesKeyLifecycleApi.importKeystoreAsync(UUID tenantId, File keystore, File metadata, File password, ApiCallback<KeystoreImportResponse> _callback) Import a keystore (PKCS#12 / JKS) into the tenant keystore (asynchronously) Imports private keys and trusted certificates from a PKCS#12 or JKS keystore into the tenant keystore, by S2S-proxying to the cryptographic service.okhttp3.CallTenantResourcesKeyLifecycleApi.importKeystoreCall(UUID tenantId, File keystore, File metadata, File password, ApiCallback _callback) Build call for importKeystoreokhttp3.CallCryptographicActorsApi.listApplicationActorsAsync(UUID tenantId, UUID applicationId, ApiCallback<List<ActorResponse>> _callback) List actors under a specific Application (asynchronously) Returns every non-deleted Cryptographic Actor owned by the supplied Application.okhttp3.CallCryptographicActorsApi.listApplicationActorsCall(UUID tenantId, UUID applicationId, ApiCallback _callback) Build call for listApplicationActorsokhttp3.CallTenantApplicationsApi.listApplicationsAsync(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback<PageApplicationResponse> _callback) List applications (paginated) (asynchronously) Returns a paginated view of machine-to-machine applications registered under the tenant.okhttp3.CallTenantApplicationsApi.listApplicationsCall(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback _callback) Build call for listApplicationsokhttp3.CallCapabilityGrantsApi.listCapabilityGrantPolicyAssignmentsAsync(UUID tenantId, UUID grantId, ApiCallback<List<CapabilityGrantPolicyAssignment>> _callback) List the Constraint Policy versions a Capability Grant has been pinned to (asynchronously) The grant's assignments in order, from the pin it was created with to the one in force now.okhttp3.CallCapabilityGrantsApi.listCapabilityGrantPolicyAssignmentsCall(UUID tenantId, UUID grantId, ApiCallback _callback) Build call for listCapabilityGrantPolicyAssignmentsokhttp3.CallCapabilityGrantsApi.listCapabilityGrantsAsync(UUID tenantId, UUID actorId, String assetKid, UUID exchangeContextId, UUID constraintPolicyId, Integer page, Integer size, List<String> sort, ApiCallback<PageCapabilityGrantResponse> _callback) List Capability Grants in tenant (asynchronously) Returns the Capability Grants of the tenant that `getCapabilityGrant` can read: every grant in force, plus every grant retired because it was used up (revoke-on-use, or its maximum use count reached), which carries its `consumption` (time, use count, cause).okhttp3.CallCapabilityGrantsApi.listCapabilityGrantsCall(UUID tenantId, UUID actorId, String assetKid, UUID exchangeContextId, UUID constraintPolicyId, Integer page, Integer size, List<String> sort, ApiCallback _callback) Build call for listCapabilityGrantsokhttp3.CallConstraintPoliciesApi.listConstraintPoliciesAsync(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback<PageConstraintPolicyResponse> _callback) List constraint policies in tenant (asynchronously)okhttp3.CallConstraintPoliciesApi.listConstraintPoliciesCall(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback _callback) Build call for listConstraintPoliciesokhttp3.CallConstraintPoliciesApi.listConstraintPolicyVersionsAsync(UUID tenantId, UUID policyId, ApiCallback<List<ConstraintPolicyVersionResponse>> _callback) List the versions of a constraint policy (asynchronously) Every version of the policy, oldest first.okhttp3.CallConstraintPoliciesApi.listConstraintPolicyVersionsCall(UUID tenantId, UUID policyId, ApiCallback _callback) Build call for listConstraintPolicyVersionsokhttp3.CallCounterpartyTypeCatalogTenantApi.listCounterpartyTypesAsync(UUID tenantId, ApiCallback<List<CounterpartyTypeResponse>> _callback) List counterparty types visible to this tenant (asynchronously) Returns the UNION of platform-global rows (tenant_id IS NULL) and the caller tenant's local rows.okhttp3.CallCounterpartyTypeCatalogTenantApi.listCounterpartyTypesCall(UUID tenantId, ApiCallback _callback) Build call for listCounterpartyTypesokhttp3.CallCryptographicExchangesApi.listExchangesAsync(String status, String counterparty, UUID applicationId, String relationship, UUID exchangeContextId, UUID ownerPrincipalId, String nameSearch, Integer page, Integer size, String sortBy, String sortDirection, ApiCallback<PageExchangeListItemResponse> _callback) List Cryptographic Exchanges (asynchronously) Returns a paginated list of Exchanges in the caller's tenant, each with its endpoints, relationship, Exchange Context, status and grants.okhttp3.CallCryptographicExchangesApi.listExchangesCall(String status, String counterparty, UUID applicationId, String relationship, UUID exchangeContextId, UUID ownerPrincipalId, String nameSearch, Integer page, Integer size, String sortBy, String sortDirection, ApiCallback _callback) Build call for listExchangesokhttp3.CallInternalCryptoUseCasesApi.listInternalCryptoUseCasesAsync(UUID tenantId, String status, Integer page, Integer size, List<String> sort, ApiCallback<PageInternalCryptoUseCaseResponse> _callback) List internal crypto use cases for the tenant (asynchronously) Paginated list of the tenant's use cases, each with its validity window (`validFrom`, `validUntil`).okhttp3.CallInternalCryptoUseCasesApi.listInternalCryptoUseCasesCall(UUID tenantId, String status, Integer page, Integer size, List<String> sort, ApiCallback _callback) Build call for listInternalCryptoUseCasesokhttp3.CallTenantResourcesKeyLifecycleApi.listKeyDestructionOrdersAsync(UUID tenantId, String kid, ApiCallback<List<KeyDestructionOrderView>> _callback) List a key's destruction orders (asynchronously) Lists, newest first, what the approval of each destruction request of the key scheduled: the versions it destroys, when it runs (`eligibleFrom`), the cooling-off period and where it came from, the quorum request that approved it, and how it ended — SCHEDULED, EXECUTED, CANCELLED or FAILED.okhttp3.CallTenantResourcesKeyLifecycleApi.listKeyDestructionOrdersCall(UUID tenantId, String kid, ApiCallback _callback) Build call for listKeyDestructionOrdersokhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.listKeyMaterialVersionsAsync(UUID tenantId, String stableKid, ApiCallback<List<MaterialVersionResponse>> _callback) List materials in the lineage (version descending) (asynchronously)okhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.listKeyMaterialVersionsCall(UUID tenantId, String stableKid, ApiCallback _callback) Build call for listKeyMaterialVersionsokhttp3.CallKeyRotationScheduleApi.listKeyRotationExecutionsAsync(UUID tenantId, String kid, Integer page, Integer size, ApiCallback<KeyRotationExecutionsResponse> _callback) List a key's automatic rotation executions (asynchronously) Returns the key's automatic-rotation schedule as the scheduling service holds it and one page of its executions, latest due first: the next planned rotation, and every past one with its result.okhttp3.CallKeyRotationScheduleApi.listKeyRotationExecutionsCall(UUID tenantId, String kid, Integer page, Integer size, ApiCallback _callback) Build call for listKeyRotationExecutionsokhttp3.CallTenantResourcesKeyLifecycleApi.listKeysAsync(UUID tenantId, String status, String origin, Boolean restricted, String kty, String conformance, Integer page, Integer size, List<String> sort, ApiCallback<PageAdminKeyResponse> _callback) List keys for tenant (paginated) (asynchronously) Returns a paginated view of cryptographic keys owned by the specified tenant, optionally filtered by lifecycle status.okhttp3.CallTenantResourcesKeyLifecycleApi.listKeysCall(UUID tenantId, String status, String origin, Boolean restricted, String kty, String conformance, Integer page, Integer size, List<String> sort, ApiCallback _callback) Build call for listKeysokhttp3.CallTenantResourcesAlgorithmsCatalogApi.listSupportedAlgorithmsAsync(UUID tenantId, String category, String status, Integer minSecurityLevel, Integer maxSecurityLevel, Set<String> keyOps, Set<String> standards, Set<String> kty, Set<String> alg, Set<String> compositeMode, ApiCallback<List<SupportedAlgorithm>> _callback) Get permitted algorithms for tenant (policy-filtered) (asynchronously) Returns cryptographic algorithms filtered by tenant-specific algorithm policies. ## Policy Resolution 1.okhttp3.CallTenantResourcesAlgorithmsCatalogApi.listSupportedAlgorithmsCall(UUID tenantId, String category, String status, Integer minSecurityLevel, Integer maxSecurityLevel, Set<String> keyOps, Set<String> standards, Set<String> kty, Set<String> alg, Set<String> compositeMode, ApiCallback _callback) Build call for listSupportedAlgorithmsokhttp3.CallCryptographicActorsApi.listTenantActorsAsync(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback<PageActorResponse> _callback) List actors in tenant (asynchronously) Returns every non-deleted Cryptographic Actor across every Application in the supplied tenant.okhttp3.CallCryptographicActorsApi.listTenantActorsCall(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback _callback) Build call for listTenantActorsokhttp3.CallExchangeContextsApi.listTenantExchangeContextsAsync(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback<PageExchangeContextResponse> _callback) List Exchange Contexts in tenant (asynchronously)okhttp3.CallExchangeContextsApi.listTenantExchangeContextsCall(UUID tenantId, Integer page, Integer size, List<String> sort, ApiCallback _callback) Build call for listTenantExchangeContextsokhttp3.CallTenantQuorumApprovalApi.listTenantQuorumRequestsAsync(UUID tenantId, String status, String operation, String target, Integer page, Integer size, ApiCallback<QuorumRequestPageResponse> _callback) List the tenant's quorum approval requests (asynchronously) The tenant's quorum requests, newest first.okhttp3.CallTenantQuorumApprovalApi.listTenantQuorumRequestsCall(UUID tenantId, String status, String operation, String target, Integer page, Integer size, ApiCallback _callback) Build call for listTenantQuorumRequestsokhttp3.CallTenantResourcesKeyLifecycleApi.markKeyForDestructionAsync(UUID tenantId, String kid, MarkForDestructionRequest markForDestructionRequest, ApiCallback<QuorumRequestResponse> _callback) Request the destruction of an archived key (asynchronously) Requests the destruction of an ARCHIVED key.okhttp3.CallTenantResourcesKeyLifecycleApi.markKeyForDestructionCall(UUID tenantId, String kid, MarkForDestructionRequest markForDestructionRequest, ApiCallback _callback) Build call for markKeyForDestructionokhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.markKeyMaterialVersionForDestructionAsync(UUID tenantId, String stableKid, Integer version, MaterialMarkForDestructionRequest materialMarkForDestructionRequest, ApiCallback<QuorumRequestResponse> _callback) Request the destruction of a material version (asynchronously) Requests the destruction of one RETIRED, REVOKED or PENDING_PRIMARY material version.okhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.markKeyMaterialVersionForDestructionCall(UUID tenantId, String stableKid, Integer version, MaterialMarkForDestructionRequest materialMarkForDestructionRequest, ApiCallback _callback) Build call for markKeyMaterialVersionForDestructionokhttp3.CallTenantResourcesKeyLifecycleApi.patchKeyMetadataAsync(UUID tenantId, String kid, AdminKeyMergePatchRequest adminKeyMergePatchRequest, ApiCallback<QuorumRequestResponse> _callback) Update key metadata (JSON Merge-Patch) (asynchronously) Applies RFC 7396 JSON Merge-Patch to update key metadata fields.okhttp3.CallTenantResourcesKeyLifecycleApi.patchKeyMetadataCall(UUID tenantId, String kid, AdminKeyMergePatchRequest adminKeyMergePatchRequest, ApiCallback _callback) Build call for patchKeyMetadataokhttp3.CallCapabilityGrantsApi.previewCapabilityGrantAsync(UUID tenantId, CreateCapabilityGrantRequest createCapabilityGrantRequest, ApiCallback<ConferralPlanResponse> _callback) Preview a Capability Grant creation — writes nothing (asynchronously) Returns the verdict `createCapabilityGrant` would return for this exact body, and the scopes it would confer, without creating anything.okhttp3.CallCapabilityGrantsApi.previewCapabilityGrantCall(UUID tenantId, CreateCapabilityGrantRequest createCapabilityGrantRequest, ApiCallback _callback) Build call for previewCapabilityGrantokhttp3.CallCryptographicExchangesApi.previewExchangeActivationAsync(UUID id, ApiCallback<ExchangeActivationPreviewResponse> _callback) Preview what activating or resuming this Exchange would confer — writes nothing (asynchronously) Returns, grant by grant, the verdict <code>activateExchange</code> (or, for a SUSPENDED Exchange, <code>resumeExchange</code>) would return, and the operation scopes each grant would confer, without writing anything.okhttp3.CallCryptographicExchangesApi.previewExchangeActivationCall(UUID id, ApiCallback _callback) Build call for previewExchangeActivationokhttp3.CallTenantResourcesKeyLifecycleApi.reactivateKeyAsync(UUID tenantId, String kid, ApiCallback<Void> _callback) Reactivate a suspended cryptographic key (asynchronously) Reactivates a key that was previously suspended, restoring it to its pre-suspension status.okhttp3.CallTenantResourcesKeyLifecycleApi.reactivateKeyCall(UUID tenantId, String kid, ApiCallback _callback) Build call for reactivateKeyokhttp3.CallInternalCryptoUseCasesApi.renewInternalCryptoUseCaseAsync(UUID tenantId, UUID useCaseId, ApiCallback<InternalCryptoUseCaseResponse> _callback) Renew a use case's validity window (asynchronously) Extends the validity window: <code>validUntil</code> becomes one year after the later of now and its current value, so renewing early never shortens what is left.okhttp3.CallInternalCryptoUseCasesApi.renewInternalCryptoUseCaseCall(UUID tenantId, UUID useCaseId, ApiCallback _callback) Build call for renewInternalCryptoUseCaseokhttp3.CallCapabilityGrantsApi.replaceCapabilityGrantPolicyVersionAsync(UUID tenantId, UUID grantId, ReplaceCapabilityGrantPolicyVersionRequest replaceCapabilityGrantPolicyVersionRequest, ApiCallback<CapabilityGrantPolicyAssignment> _callback) Re-pin a Capability Grant to another Constraint Policy version (asynchronously) Pins the grant to the named Constraint Policy version, which governs it from the next request on.okhttp3.CallCapabilityGrantsApi.replaceCapabilityGrantPolicyVersionCall(UUID tenantId, UUID grantId, ReplaceCapabilityGrantPolicyVersionRequest replaceCapabilityGrantPolicyVersionRequest, ApiCallback _callback) Build call for replaceCapabilityGrantPolicyVersionokhttp3.CallKeyRotationScheduleApi.replaceKeyRotationScheduleAsync(UUID tenantId, String kid, KeyRotationScheduleRequest keyRotationScheduleRequest, ApiCallback<KeyRotationScheduleView> _callback) Replace the key's rotation schedule (asynchronously) Full replacement (PUT) of the key's schedule.okhttp3.CallKeyRotationScheduleApi.replaceKeyRotationScheduleCall(UUID tenantId, String kid, KeyRotationScheduleRequest keyRotationScheduleRequest, ApiCallback _callback) Build call for replaceKeyRotationScheduleokhttp3.CallCryptographicExchangesApi.resumeExchangeAsync(UUID id, ResumeExchangeRequest resumeExchangeRequest, ApiCallback<ExchangeDetailResponse> _callback) Resume Exchange (SUSPENDED -> ACTIVE) — shares scope with activate (asynchronously) Returns a SUSPENDED Cryptographic Exchange to ACTIVE and republishes every Capability Grant the Exchange owns projection.okhttp3.CallCryptographicExchangesApi.resumeExchangeCall(UUID id, ResumeExchangeRequest resumeExchangeRequest, ApiCallback _callback) Build call for resumeExchangeokhttp3.CallExchangeContextsApi.resumeExchangeContextAsync(UUID tenantId, UUID contextId, ApiCallback<ExchangeContextResponse> _callback) Resume SUSPENDED Exchange Context back to ACTIVE (asynchronously)okhttp3.CallExchangeContextsApi.resumeExchangeContextCall(UUID tenantId, UUID contextId, ApiCallback _callback) Build call for resumeExchangeContextokhttp3.CallInternalCryptoUseCasesApi.resumeInternalCryptoUseCaseAsync(UUID tenantId, UUID useCaseId, ApiCallback<InternalCryptoUseCaseResponse> _callback) Resume a SUSPENDED use case (asynchronously) Transitions the aggregate SUSPENDED → ACTIVE and <b>cascades to the owned Cryptographic Actor</b>, which returns to <code>ACTIVE</code> and has its signed effective-status envelope republished, so crypto operations and new token requests both succeed again.okhttp3.CallInternalCryptoUseCasesApi.resumeInternalCryptoUseCaseCall(UUID tenantId, UUID useCaseId, ApiCallback _callback) Build call for resumeInternalCryptoUseCaseokhttp3.CallCapabilityGrantsApi.revokeCapabilityGrantAsync(UUID tenantId, UUID grantId, RevokeCapabilityGrantRequest revokeCapabilityGrantRequest, ApiCallback<Void> _callback) Revoke a Capability Grant (asynchronously) Revokes the grant: its authorization ends at once, and the grant stays readable as revoked.okhttp3.CallCapabilityGrantsApi.revokeCapabilityGrantCall(UUID tenantId, UUID grantId, RevokeCapabilityGrantRequest revokeCapabilityGrantRequest, ApiCallback _callback) Build call for revokeCapabilityGrantokhttp3.CallCryptographicExchangesApi.revokeExchangeAsync(UUID id, RevokeExchangeRequest revokeExchangeRequest, ApiCallback<ExchangeDetailResponse> _callback) Revoke Exchange (any non-terminal -> REVOKED) — irreversible (asynchronously) Moves a non-terminal Cryptographic Exchange to REVOKED, populates <code>revokedAt</code> / <code>revokedBy</code> / <code>revokedReason</code> atomically with the transition, and invalidates the linked Capability Grant projection.okhttp3.CallCryptographicExchangesApi.revokeExchangeCall(UUID id, RevokeExchangeRequest revokeExchangeRequest, ApiCallback _callback) Build call for revokeExchangeokhttp3.CallCryptographicExchangesApi.revokeExchangeGrantAsync(UUID id, UUID grantId, RevokeExchangeGrantRequest revokeExchangeGrantRequest, ApiCallback<Void> _callback) Revoke a Capability Grant of an Exchange (asynchronously) Revokes one grant the Exchange owns, with the operator's reason.okhttp3.CallCryptographicExchangesApi.revokeExchangeGrantCall(UUID id, UUID grantId, RevokeExchangeGrantRequest revokeExchangeGrantRequest, ApiCallback _callback) Build call for revokeExchangeGrantokhttp3.CallInternalCryptoUseCasesApi.revokeInternalCryptoUseCaseAsync(UUID tenantId, UUID useCaseId, RevokeInternalCryptoUseCaseRequest revokeInternalCryptoUseCaseRequest, ApiCallback<Void> _callback) Revoke a use case (terminal) (asynchronously) Transitions ACTIVE/SUSPENDED/EXPIRED → REVOKED with the terminal cause OPERATOR_REVOKED.okhttp3.CallInternalCryptoUseCasesApi.revokeInternalCryptoUseCaseCall(UUID tenantId, UUID useCaseId, RevokeInternalCryptoUseCaseRequest revokeInternalCryptoUseCaseRequest, ApiCallback _callback) Build call for revokeInternalCryptoUseCaseokhttp3.CallTenantResourcesKeyLifecycleApi.revokeKeyAsync(UUID tenantId, String kid, RevokeKeyRequest revokeKeyRequest, ApiCallback<Void> _callback) Revoke a cryptographic key (asynchronously) Marks a key as REVOKED.okhttp3.CallTenantResourcesKeyLifecycleApi.revokeKeyCall(UUID tenantId, String kid, RevokeKeyRequest revokeKeyRequest, ApiCallback _callback) Build call for revokeKeyokhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.revokeKeyMaterialVersionAsync(UUID tenantId, String stableKid, Integer version, MaterialRevokeRequest materialRevokeRequest, ApiCallback<MaterialVersionResponse> _callback) Revoke a single material version (asynchronously) Allowed only when material status is RETIRED or PENDING_PRIMARY.okhttp3.CallCryptographicIdentityLifecycleMaterialVersionsApi.revokeKeyMaterialVersionCall(UUID tenantId, String stableKid, Integer version, MaterialRevokeRequest materialRevokeRequest, ApiCallback _callback) Build call for revokeKeyMaterialVersionokhttp3.CallTenantResourcesKeyLifecycleApi.rotateKeyAsync(UUID tenantId, String kid, RotationRequest rotationRequest, String idempotencyKey, ApiCallback<KeySummaryResponse> _callback) Rotate a cryptographic key (advance its material version) (asynchronously) Advances the Stable KID {kid} to a NEW PRIMARY material version.okhttp3.CallTenantResourcesKeyLifecycleApi.rotateKeyCall(UUID tenantId, String kid, RotationRequest rotationRequest, String idempotencyKey, ApiCallback _callback) Build call for rotateKeyokhttp3.CallTenantResourcesKeyLifecycleApi.rotationAdmissibilityAsync(UUID tenantId, String kid, ApiCallback<RotationAdmissibilityResponse> _callback) Preview rotation admissibility for a source key (console-facing) (asynchronously) Returns the server-authoritative rotation admissibility verdict for the source key {kid}: for every algorithm in the tenant catalogue, whether the key may rotate to it and why.okhttp3.CallTenantResourcesKeyLifecycleApi.rotationAdmissibilityCall(UUID tenantId, String kid, ApiCallback _callback) Build call for rotationAdmissibilityokhttp3.CallCryptographicExchangesApi.suspendExchangeAsync(UUID id, SuspendExchangeRequest suspendExchangeRequest, ApiCallback<ExchangeDetailResponse> _callback) Suspend Exchange (ACTIVE -> SUSPENDED) (asynchronously) Moves an ACTIVE Cryptographic Exchange to SUSPENDED and withdraws every grant it owns from runtime authorization, so the next request any of them would authorize is denied.okhttp3.CallCryptographicExchangesApi.suspendExchangeCall(UUID id, SuspendExchangeRequest suspendExchangeRequest, ApiCallback _callback) Build call for suspendExchangeokhttp3.CallExchangeContextsApi.suspendExchangeContextAsync(UUID tenantId, UUID contextId, SuspendExchangeContextRequest suspendExchangeContextRequest, ApiCallback<ExchangeContextResponse> _callback) Suspend Exchange Context (invalidates all dependent grants) (asynchronously) Transitions the Exchange Context to SUSPENDED and propagates an invalidation to every replica of the cryptographic service, which drops its cached entry for every grant bound to this context.okhttp3.CallExchangeContextsApi.suspendExchangeContextCall(UUID tenantId, UUID contextId, SuspendExchangeContextRequest suspendExchangeContextRequest, ApiCallback _callback) Build call for suspendExchangeContextokhttp3.CallInternalCryptoUseCasesApi.suspendInternalCryptoUseCaseAsync(UUID tenantId, UUID useCaseId, SuspendInternalCryptoUseCaseRequest suspendInternalCryptoUseCaseRequest, ApiCallback<InternalCryptoUseCaseResponse> _callback) Suspend an ACTIVE use case (asynchronously) Transitions the aggregate ACTIVE → SUSPENDED and <b>cascades to the owned Cryptographic Actor</b>, which is what actually stops the workload: the actor moves to <code>SUSPENDED</code> and its signed effective-status envelope is published, so the cryptographic service answers <code>403 actor-suspended</code> on the next crypto call — including one presented with an already-issued, still-valid JWT — and the authentication service answers <code>401 invalid_client</code> for a new token request.okhttp3.CallInternalCryptoUseCasesApi.suspendInternalCryptoUseCaseCall(UUID tenantId, UUID useCaseId, SuspendInternalCryptoUseCaseRequest suspendInternalCryptoUseCaseRequest, ApiCallback _callback) Build call for suspendInternalCryptoUseCaseokhttp3.CallTenantResourcesKeyLifecycleApi.suspendKeyAsync(UUID tenantId, String kid, SuspendKeyRequest suspendKeyRequest, ApiCallback<Void> _callback) Suspend a cryptographic key (asynchronously) Temporarily suspends a key for security incident investigation.okhttp3.CallTenantResourcesKeyLifecycleApi.suspendKeyCall(UUID tenantId, String kid, SuspendKeyRequest suspendKeyRequest, ApiCallback _callback) Build call for suspendKeyokhttp3.CallConstraintPoliciesApi.updateConstraintPolicyAsync(UUID tenantId, UUID policyId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback<ConstraintPolicyResponse> _callback) Update constraint policy (PATCH semantics — full replace of editable fields) (asynchronously) The edit writes the policy's next immutable version; the response carries its number in `version`.okhttp3.CallConstraintPoliciesApi.updateConstraintPolicyCall(UUID tenantId, UUID policyId, CreateConstraintPolicyRequest createConstraintPolicyRequest, ApiCallback _callback) Build call for updateConstraintPolicyokhttp3.CallCryptographicExchangesApi.updateExchangeAsync(UUID id, ExchangeUpdateRequest exchangeUpdateRequest, ApiCallback<ExchangeDetailResponse> _callback) Update Exchange in DRAFT or READY (asynchronously) PATCH-style update.okhttp3.CallCryptographicExchangesApi.updateExchangeCall(UUID id, ExchangeUpdateRequest exchangeUpdateRequest, ApiCallback _callback) Build call for updateExchangeokhttp3.CallExchangeContextsApi.updateExchangeContextAsync(UUID tenantId, UUID contextId, UpdateExchangeContextRequest updateExchangeContextRequest, ApiCallback<ExchangeContextResponse> _callback) Update Exchange Context metadata (PATCH) (asynchronously)okhttp3.CallExchangeContextsApi.updateExchangeContextCall(UUID tenantId, UUID contextId, UpdateExchangeContextRequest updateExchangeContextRequest, ApiCallback _callback) Build call for updateExchangeContextokhttp3.CallCryptographicExchangesApi.validateExchangeAsync(UUID id, ApiCallback<ValidationResultResponse> _callback) Validate Exchange (DRAFT to READY) (asynchronously) Runs the reference and coherence predicates: the Exchange names its Exchange Context and both endpoints (an origin and a destination, at least one of them an application of the tenant), every Key ID a live grant of the Exchange names is a live key in the caller's tenant, and the validity window is coherent (<code>effectiveFrom</code> strictly before <code>effectiveUntil</code>).okhttp3.CallCryptographicExchangesApi.validateExchangeCall(UUID id, ApiCallback _callback) Build call for validateExchange -
Uses of ApiCallback in co.ankatech.keymanagement.client.keymanagement.invoker
Methods in co.ankatech.keymanagement.client.keymanagement.invoker with parameters of type ApiCallbackModifier and TypeMethodDescriptionokhttp3.CallApiClient.buildCall(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build HTTP call with the given options.okhttp3.RequestApiClient.buildRequest(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.<T> voidApiClient.executeAsync(okhttp3.Call call, ApiCallback<T> callback) <T> voidApiClient.executeAsync(okhttp3.Call call, Type returnType, ApiCallback<T> callback) Execute HTTP call asynchronously.Constructors in co.ankatech.keymanagement.client.keymanagement.invoker with parameters of type ApiCallbackModifierConstructorDescriptionProgressRequestBody(okhttp3.RequestBody requestBody, ApiCallback callback) ProgressResponseBody(okhttp3.ResponseBody responseBody, ApiCallback callback)