Interface AttestationModule

All Known Implementing Classes:
SecureBootModule

public interface AttestationModule
A component that can verify AttestationResult and
  • 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 process AttestationResult
      Returns:
      a new instance of AttestationWorker
    • getAdditionalMappers

      default List<String> getAdditionalMappers()
      Additional Mybatis mappers needed by this attestation module.
      Returns:
      a list of resources processable by ClassLoader.getSystemResource(String)