use sos_core::AccountId;
pub struct PrivateIdentity {
pub(super) account_id: AccountId,
#[allow(dead_code)]
pub(super) shared_private: age::x25519::Identity,
pub(super) shared_public: age::x25519::Recipient,
}
impl PrivateIdentity {
pub fn account_id(&self) -> &AccountId {
&self.account_id
}
pub fn recipient(&self) -> &age::x25519::Recipient {
&self.shared_public
}
}