Trait holochain_keystore::keystore_actor::KeystoreSenderExt[][src]

pub trait KeystoreSenderExt {
    fn get_first_tls_cert(
        &self
    ) -> KeystoreApiFuture<(CertDigest, Cert, CertPrivKey)>;
fn get_or_create_first_tls_cert(
        &self
    ) -> KeystoreApiFuture<(CertDigest, Cert, CertPrivKey)>; }
Expand description

Some legacy APIs to make refactor easier.

Required methods

If we have a TLS cert in lair - return the first one Errors if no certs in lair

If we have a TLS cert in lair - return the first one otherwise, generate a TLS cert and return it

Implementors