Uses of Class
org.biscuitsec.biscuit.token.Block
-
Packages that use Block Package Description org.biscuitsec.biscuit.token Classes related to creating and verifying Biscuit tokensorg.biscuitsec.biscuit.token.builder Builder interface to create tokens and caveatsorg.biscuitsec.biscuit.token.format Serializing code -
-
Uses of Block in org.biscuitsec.biscuit.token
Methods in org.biscuitsec.biscuit.token that return types with arguments of type Block Modifier and Type Method Description static io.vavr.control.Either<Error.FormatError,Block>Block. deserialize(Schema.Block b, io.vavr.control.Option<PublicKey> externalKey)Deserializes a block from its Protobuf representationstatic io.vavr.control.Either<Error.FormatError,Block>Block. from_bytes(byte[] slice, io.vavr.control.Option<PublicKey> externalKey)Deserializes a Block from a byte arrayMethods in org.biscuitsec.biscuit.token with parameters of type Block Modifier and Type Method Description BiscuitBiscuit. attenuate(SecureRandom rng, KeyPair keypair, Block block)Generates a new token from an existing one and a new blockUnverifiedBiscuitUnverifiedBiscuit. attenuate(SecureRandom rng, KeyPair keypair, Block block)Generates a new token from an existing one and a new blockstatic BiscuitBiscuit. make(SecureRandom rng, KeyPair root, Integer root_key_id, SymbolTable symbols, Block authority)Creates a tokenstatic BiscuitBiscuit. make(SecureRandom rng, KeyPair root, SymbolTable symbols, Block authority)Creates a token -
Uses of Block in org.biscuitsec.biscuit.token.builder
Methods in org.biscuitsec.biscuit.token.builder that return Block Modifier and Type Method Description BlockBlock. build() -
Uses of Block in org.biscuitsec.biscuit.token.format
Methods in org.biscuitsec.biscuit.token.format that return types with arguments of type Block Modifier and Type Method Description io.vavr.Tuple3<Block,ArrayList<Block>,HashMap<Long,List<Long>>>SerializedBiscuit. extractBlocks(SymbolTable symbols)io.vavr.Tuple3<Block,ArrayList<Block>,HashMap<Long,List<Long>>>SerializedBiscuit. extractBlocks(SymbolTable symbols)Methods in org.biscuitsec.biscuit.token.format with parameters of type Block Modifier and Type Method Description io.vavr.control.Either<Error.FormatError,SerializedBiscuit>SerializedBiscuit. append(KeyPair next, Block newBlock)io.vavr.control.Either<Error.FormatError,SerializedBiscuit>SerializedBiscuit. appendThirdParty(KeyPair next, Block newBlock)static io.vavr.control.Either<Error.FormatError,SerializedBiscuit>SerializedBiscuit. make(KeyPair root, io.vavr.control.Option<Integer> root_key_id, Block authority, KeyPair next)static io.vavr.control.Either<Error.FormatError,SerializedBiscuit>SerializedBiscuit. make(KeyPair root, Block authority, KeyPair next)
-