Enum lair_keystore::store::EntryStore [−][src]
pub enum EntryStore {
TlsCertSelfSignedNewFromEntropy {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>,
options: TlsCertOptions,
},
SignEd25519KeypairNewFromEntropy {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>,
},
AddInitialSignEd25519Keypair {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>,
keypair: EntrySignEd25519,
},
X25519KeypairNewFromEntropy {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>,
},
GetLastEntryIndex {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<KeystoreIndex>>,
},
GetEntryByIndex {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<Arc<LairEntry>>>,
index: KeystoreIndex,
},
GetEntryByPubId {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>,
id: Arc<Vec<u8>>,
},
GetEntryBySni {
span_context: Context,
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>,
sni: CertSni,
},
}
Expand description
persistence manager for entry storage
Variants
generate a new tls cert entry && save it && return it
Fields of TlsCertSelfSignedNewFromEntropy
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>
Response callback - respond to the request.
options: TlsCertOptions
Input parameter.
generate a new signature ed25519 keypair entry && save it && return it
Fields of SignEd25519KeypairNewFromEntropy
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>
Response callback - respond to the request.
add a new signature ed25519 keypair entry that is passed && save it && return it
Fields of AddInitialSignEd25519Keypair
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>
Response callback - respond to the request.
keypair: EntrySignEd25519
Input parameter.
generate a new x25519 keypair entry && save it && return it
Fields of X25519KeypairNewFromEntropy
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>
Response callback - respond to the request.
fetch the highest / most recently added keystore_index
Fields of GetLastEntryIndex
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<KeystoreIndex>>
Response callback - respond to the request.
fetch an entry from the store by keystore index
Fields of GetEntryByIndex
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<Arc<LairEntry>>>
Response callback - respond to the request.
index: KeystoreIndex
Input parameter.
fetch an entry by its 32 byte public identifier for kepair, this is the pub key for tls cert, this is the digest
Fields of GetEntryByPubId
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>
Response callback - respond to the request.
id: Arc<Vec<u8>>
Input parameter.
get a tls cert entry by sni
Fields of GetEntryBySni
span_context: Context
Tracing span from request invocation.
respond: GhostRespond<EntryStoreHandlerResult<(KeystoreIndex, Arc<LairEntry>)>>
Response callback - respond to the request.
sni: CertSni
Input parameter.
Trait Implementations
Process a dispatch event with a given GhostHandler.
Auto Trait Implementations
impl !RefUnwindSafe for EntryStore
impl Send for EntryStore
impl Sync for EntryStore
impl Unpin for EntryStore
impl !UnwindSafe for EntryStore
Blanket Implementations
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more