Move key generation tests to separate ns.
Add created-at, revoked?, and expires-at to key-info.
Test generated keyring.
Test encryption streams.
Clean up data stream functions.