All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ionic.sdk.agent.key.merge.KeyAttributesMapMerger Maven / Gradle / Ivy

Go to download

The Ionic Java SDK provides an easy-to-use interface to the Ionic Platform.

There is a newer version: 2.9.0
Show newest version
package com.ionic.sdk.agent.key.merge;

import com.ionic.sdk.agent.key.KeyAttributesMap;

/**
 * Interface used during protection key update operations to merge key attributes when needed.
 */
public interface KeyAttributesMapMerger {

    /**
     * Perform key attribute merge operation.
     *
     * @param attributesAreMutable     Specifies if the attributes being merged are mutable or not.
     * @param originalServerAttributes The attributes originally received from the server during a past
     *                                 key create, fetch, or update operation.
     * @param currentServerAttributes  The attributes as they are currently known to the server.
     * @param clientAttributes         The attributes known to the client.
     * @param mergedAttributes         The output attributes resulting from the merge operation.
     * @return An error code indicating the status of the operation.
     */
    int mergeKeyAttributeMaps(boolean attributesAreMutable,
                              KeyAttributesMap originalServerAttributes,
                              KeyAttributesMap currentServerAttributes,
                              KeyAttributesMap clientAttributes,
                              KeyAttributesMap mergedAttributes);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy