cfxdb.xbrmm.offer¶
Classes¶
Index: key_id -> offer_id |
|
Data encryption key offerings by XBR providers. |
|
Persisted data encryption key offers. |
|
Expand methods on the class code generated by flatc. |
Module Contents¶
- class IndexOfferByKey(slot=None, compress=None)[source]¶
Bases:
zlmdb.MapUuidUuidIndex: key_id -> offer_id
- class Offer(from_fbs=None)[source]¶
Bases:
objectData encryption key offerings by XBR providers.
- property api: uuid.UUID[source]¶
ID of the API the encrypted data (this key is for) is provided under.
- Returns:
- property categories: dict[source]¶
Dictionary of optional user defined categories the specific data that is provided falls under.
- property copies: int[source]¶
Optional maximum number of times this data encryption key is to be sold or 0 for unlimited.
- property expires: numpy.datetime64[source]¶
Optional data at which this offer expires (epoch time in ns).
- property remaining: int[source]¶
Remaining number of copies to be sold (if “copies” is set >0, otherwise 0).
- property seller_authid: str[source]¶
WAMP session authid of the caller that originally placed this offer.
- property seller_session_id: int[source]¶
WAMP session ID of the caller that originally placed this offer.
- property signature: bytes[source]¶
Seller delegate signature for the offer. The signature covers all information of the original offer placement request and requestor.
- property timestamp: numpy.datetime64[source]¶
Offer transaction time (epoch time in ns)
- property uri: str[source]¶
URI under which the data encrypted with the key offered is provided under.
- property valid_from: numpy.datetime64[source]¶
Timestamp from which the offer is valid (epoch time in ns).
- class Offers(slot=None, compress=None, build=None, cast=None)[source]¶
Bases:
zlmdb.MapUuidFlatBuffersPersisted data encryption key offers.
Map
zlmdb.MapBytes32FlatBuffersfromoffer_idtocfxdb.xbr.Offer
- class _OfferGen[source]¶
Bases:
cfxdb.gen.xbrmm.Offer.OfferExpand methods on the class code generated by flatc.
FIXME: come up with a PR for flatc to generated this stuff automatically.