Package com.suse.coco.module
Interface AttestationModule
- All Known Implementing Classes:
SecureBootModule
public interface AttestationModule
A component that can verify
AttestationResult and-
Method Summary
Modifier and TypeMethodDescriptionAdditional Mybatis mappers needed by this attestation module.getName()Retrieves the name of the attestation moduleintRetrieves attestation result type that this module is able to verify.Builds a worker to processAttestationResult
-
Method Details
-
getName
String getName()Retrieves the name of the attestation module- Returns:
- the unique name of this module
-
getSupportedType
int getSupportedType()Retrieves attestation result type that this module is able to verify. Please refer to uyuni codebase, class com/suse/manager/model/attestation/CoCoResultType.java for a list of possible values- Returns:
- the supported result type
-
getWorker
AttestationWorker getWorker()Builds a worker to processAttestationResult- Returns:
- a new instance of
AttestationWorker
-
getAdditionalMappers
Additional Mybatis mappers needed by this attestation module.- Returns:
- a list of resources processable by
ClassLoader.getSystemResource(String)
-