pub(crate) fn new(
        root_key_id: Option<u32>,
        root: &KeyPair,
        symbols: SymbolTable,
        authority: Block,
    ) -> Result<Biscuit, error::Token> {
        Self::new_with_rng(
            &mut rand::rngs::OsRng,
            root_key_id,
            root,
            symbols,
            authority,
        )
    }
/// creates a new token
///
/// the public part of the root keypair must be used for verification
creates a new token
the public part of the root keypair must be used for verification
creates a new token the public part of the root keypair must be used for verification
pub(crate) fn new(
        root_key_id: Option<u32>,
        root: &KeyPair,
        symbols: SymbolTable,
        authority: Block,
    ) -> Result<Biscuit, error::Token> {
        Self::new_with_rng(
            &mut rand::rngs::OsRng,
            root_key_id,
            root,
            symbols,
            authority,
        )
    }
pub ( crate ) fn new ( root_key_id : Option < u32 > , root : & KeyPair , symbols : SymbolTable , authority : Block , ) -> Result < Biscuit , error :: Token > { Self :: new_with_rng ( & mut rand :: rngs :: OsRng , root_key_id , root , symbols , authority , ) }
creates a new token
the public part of the root keypair must be used for verification
creates a new token the public part of the root keypair must be used for verification
root_key_id
Option<u32>
root
&KeyPair
symbols
SymbolTable
authority
Block
root_key_id
Option<u32>
root
&KeyPair
symbols
SymbolTable
authority
Block