nvflare.app_opt.confidential_computing.tdx_authorizer module

class TDXAuthorizer(tdx_cli_command: str, config_dir: str)[source]

Bases: CCAuthorizer

generate() str[source]

To generate and return the active CCAuthorizer token.

Returns: token string

get_namespace() str[source]

This returns the namespace of the CCAuthorizer.

Returns: namespace string

verify(token: str) bool[source]

To return the token verification result.

Parameters:

token – bool

Returns: