Class ExchangeOperations

java.lang.Object
co.ankatech.ankasecure.keymanagement.ExchangeOperations

public final class ExchangeOperations extends Object
The tenant's cryptographic exchanges: drafts, validation, activation and the lifecycle of an active exchange. Obtained from AuthenticatedKeyManagementSdk.exchanges(). The exchange routes carry no tenant in their path: the Admin API takes it from the token, like every other operation here.

 ExchangeDetailResponse draft = sdk.exchanges().create(new ExchangeCreateRequest().name("payroll-to-bank"));
 ValidationResultResponse verdict = sdk.exchanges().validate(draft.getId());
 
  • Method Details