pub(crate) fn update_parent_hash(&mut self, parent_hash: &[u8]) {
        self.key_package_payload
            .remove_extension(ExtensionType::ParentHash);
        let extension = Extension::ParentHash(ParentHashExtension::new(parent_hash));
        self.key_package_payload.extensions.push(extension);
    }
/// Update the parent hash extension of this key package.
Update the parent hash extension of this key package.
Update the parent hash extension of this key package .
pub(crate) fn update_parent_hash(&mut self, parent_hash: &[u8]) {
        self.key_package_payload
            .remove_extension(ExtensionType::ParentHash);
        let extension = Extension::ParentHash(ParentHashExtension::new(parent_hash));
        self.key_package_payload.extensions.push(extension);
    }
pub ( crate ) fn update_parent_hash ( & mut self , parent_hash : & [ u8 ] ) { self . key_package_payload . remove_extension ( ExtensionType :: ParentHash ) ; let extension = Extension :: ParentHash ( ParentHashExtension :: new ( parent_hash ) ) ; self . key_package_payload . extensions . push ( extension ) ; }
Update the parent hash extension of this key package.
Update the parent hash extension of this key package .
&mut self
parent_hash
&[u8]
&mut self
parent_hash
&[u8]