nvflare.app_opt.confidential_computing.az_cvm_authorizer module

class AZCVMAuthorizer(attester_binary='AttestationClient', maa_endpoint='sharedeus2.eus2.attest.azure.net')[source]

Bases: CCAuthorizer

generate()[source]

Generates and returns the active CCAuthorizer token.

Returns:

token string

get_namespace() str[source]

Returns the namespace of the CCAuthorizer.

Returns:

namespace string

verify(token)[source]

Returns the token verification result.

Parameters:

token – str

Returns:

a boolean value indicating the token verification result