This backend is used to verify a BrowserID assertion.
returns the registered verifier, building it if necessary.
Check for a valid signature on the given JWT.
Verify the given BrowserID assertion.
This method parses a BrowserID identity assertion, verifies the bundled chain of certificates and signatures, and returns the extracted email address and audience.
If the ‘audience’ argument is given, it first verifies that the audience of the assertion matches the one given. This can help avoid doing lots of crypto for assertions that can’t be valid. If you don’t specify an audience, you MUST validate the audience value returned by this method.
If the ‘now’ argument is given, it is used as the current time in milliseconds. This lets you verify expired assertions, e.g. for testing purposes.
Verify a signed chain of certificates.
This function checks the signatures on the given chain of JWT certificates. It looks up the public key for the issuer of the first certificate, then uses each certificate in turn to check the signature on its successor.
If the entire chain is valid then to final certificate is returned.
This backend is used to allocate or get a node for a service to a given user.
Simple in-memory INodeAssignment backend.
This is useful for testing purposes and probably not much else.