Interface PairwiseIdStore

    • Method Detail

      • getBySourceValue

        @Nullable
        PairwiseId getBySourceValue​(@Nonnull
                                    PairwiseId pid,
                                    boolean allowCreate)
                             throws IOException
        Populate the pairwise ID field for the input object based on the supplied values.

        The input object must contain values for issuer and recipient entityIDs and the principal name, and the pairwise ID will be populated as applicable on output.

        The object returned, if non-null, may be, but does not have to be, the same physical object used as input. The original input object should not be referenced further.

        Parameters:
        pid - object to populate
        allowCreate - true iff the caller is authorizing the issuance of a new identifier
        Returns:
        object for the given inputs or null if none exists
        Throws:
        IOException - if an error occurs accessing the store