Public Member Functions | |
RepositoryKeyManager (String userName, ContentName keystoreName, PublisherPublicKeyDigest publisher, char[] password) throws ConfigurationException, IOException | |
Constructor. | |
Protected Member Functions | |
Tuple< KeyStoreInfo, OutputStream > | createKeyStoreWriteStream () throws IOException |
Override to give different storage behavior. |
In comparison with BasicKeyManager, this class reads (or writes) the user's private key from (or to) a CCN repository. You actually only need to use a repository key manager the first time you create a keystore. After that, you can use a standard NetworkKeyManager, as long as the data is still in the repo.
org.ccnx.ccn.impl.security.keys.RepositoryKeyManager.RepositoryKeyManager | ( | String | userName, | |
ContentName | keystoreName, | |||
PublisherPublicKeyDigest | publisher, | |||
char[] | password | |||
) | throws ConfigurationException, IOException |
Constructor.
userName | ||
keystoreName | ||
publisher | ||
password |
ConfigurationException | ||
IOException |
Tuple<KeyStoreInfo,OutputStream> org.ccnx.ccn.impl.security.keys.RepositoryKeyManager.createKeyStoreWriteStream | ( | ) | throws IOException [protected] |
Override to give different storage behavior.
Output stream is repo
ContentEncodingException | ||
IOException |
Reimplemented from org.ccnx.ccn.impl.security.keys.NetworkKeyManager.