Uses of Class
com.clevercloud.biscuit.token.Block
-
Packages that use Block Package Description com.clevercloud.biscuit.token Classes related to creating and verifying Biscuit tokenscom.clevercloud.biscuit.token.builder Builder interface to create tokens and caveatscom.clevercloud.biscuit.token.format Serializing code -
-
Uses of Block in com.clevercloud.biscuit.token
Methods in com.clevercloud.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)Deserializes a block from its Protobuf representationstatic io.vavr.control.Either<Error.FormatError,Block>Block. from_bytes(byte[] slice)Deserializes a Block from a byte arrayMethods in com.clevercloud.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, SymbolTable symbols, Block authority)Deprecated.static BiscuitBiscuit. make(SecureRandom rng, KeyPair root, io.vavr.control.Option<Integer> root_key_id, SymbolTable symbols, Block authority)Creates a token -
Uses of Block in com.clevercloud.biscuit.token.builder
Methods in com.clevercloud.biscuit.token.builder that return Block Modifier and Type Method Description BlockBlock. build() -
Uses of Block in com.clevercloud.biscuit.token.format
Methods in com.clevercloud.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)static io.vavr.control.Either<Error.FormatError,SerializedBiscuit>SerializedBiscuit. make(KeyPair root, Block authority, KeyPair next)static io.vavr.control.Either<Error.FormatError,SerializedBiscuit>SerializedBiscuit. make(KeyPair root, io.vavr.control.Option<Integer> root_key_id, Block authority, KeyPair next)
-