/** * Represents a request to update aes exchange keys following the creation of a new key pair for a data owner. */ import { MaintenanceTask } from '../../icc-api/model/MaintenanceTask'; export interface KeyPairUpdateRequest { /** * New public key of the data owner, in hex-encoded spki format. */ readonly newPublicKey: string; /** * Id of the data owner which created a new key pair and wants to regain access to his exchange keys. */ readonly concernedDataOwnerId: string; /** * @internal this field is intended for internal use only and may be changed in future without notice */ readonly originalTask?: MaintenanceTask; } export declare namespace KeyPairUpdateRequest { /** * Create a key pair update request from a maintenance task. */ function fromMaintenanceTask(task: MaintenanceTask): KeyPairUpdateRequest; } export declare namespace KeyPairUpdateRequest { /** * @internal this field is intended for internal use only and may be changed in future without notice */ const OWNER_ID_PROP_ID = "dataOwnerConcernedId"; /** * @internal this field is intended for internal use only and may be changed in future without notice */ const OWNER_PUB_PROP_ID = "dataOwnerConcernedPubKey"; /** * @internal this field is intended for internal use only and may be changed in future without notice */ const TASK_TYPE = MaintenanceTask.TaskTypeEnum.KeyPairUpdate; }