Skip to main content

OwnerPromotionRequest

Type Alias OwnerPromotionRequest 

Source
pub type OwnerPromotionRequest = Signed<OwnerPromotionRequestBody>;

Aliased Type§

pub struct OwnerPromotionRequest { /* private fields */ }

Implementations§

Source§

impl OwnerPromotionRequest

Source

pub fn signed( promotion_id: OwnerPromotionId, root: &StoreRootRef, promoter_registration: StoreDeviceRegistrationRef, promoter: &StoreDeviceRegistration, promoter_owner_grant: MembershipGrantId, member_pubkey: String, member_grant: MembershipGrantId, member_registration: StoreDeviceRegistrationRef, predecessor_membership: StoreMembershipStateRef, predecessor_devices: StoreDeviceStateRef, finalization: OwnerPromotionFinalization, signer: &UserKeypair, ) -> Result<Self, StoreProtocolError>

Source

pub fn verify( &self, root: &StoreRootRef, promoter: &StoreDeviceRegistration, ) -> Result<(), StoreProtocolError>