Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about KeyDumperInterface #430

Closed
lashae opened this issue Jan 3, 2018 · 2 comments
Closed

Question about KeyDumperInterface #430

lashae opened this issue Jan 3, 2018 · 2 comments

Comments

@lashae
Copy link
Contributor

lashae commented Jan 3, 2018

While trying to implement #429 I came across with the KeyDumperInterface:

interface KeyDumperInterface
{
    /**
     * Dumps a key to be shared between parties.
     *
     * @return resource|string
     */
    public function dumpKey();
}

All of the KeyLoaders included within the bundle implements this interface.

I searched the bundle for the usage of dumpKey() method however it seems that it isn't used anywhere. What is the purpose of this interface and required dumpKey method?

@chalasr
Copy link
Collaborator

chalasr commented Jan 10, 2018

It has been added to ease sharing a public/shared key, see #305 for discussion.

@lashae
Copy link
Contributor Author

lashae commented Jan 12, 2018

Thank you for clarification.

@lashae lashae closed this as completed Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants