Package com.suse.coco.module.secureboot
Class SecureBootModule
java.lang.Object
com.suse.coco.module.secureboot.SecureBootModule
- All Implemented Interfaces:
AttestationModule
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intResult type for report generated by SNPGuest -
Constructor Summary
Constructors -
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
-
Field Details
-
SECURE_BOOT
public static final int SECURE_BOOTResult type for report generated by SNPGuest- See Also:
-
-
Constructor Details
-
SecureBootModule
public SecureBootModule()
-
-
Method Details
-
getName
Description copied from interface:AttestationModuleRetrieves the name of the attestation module- Specified by:
getNamein interfaceAttestationModule- Returns:
- the unique name of this module
-
getSupportedType
public int getSupportedType()Description copied from interface:AttestationModuleRetrieves 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- Specified by:
getSupportedTypein interfaceAttestationModule- Returns:
- the supported result type
-
getWorker
Description copied from interface:AttestationModuleBuilds a worker to processAttestationResult- Specified by:
getWorkerin interfaceAttestationModule- Returns:
- a new instance of
AttestationWorker
-
getAdditionalMappers
Description copied from interface:AttestationModuleAdditional Mybatis mappers needed by this attestation module.- Specified by:
getAdditionalMappersin interfaceAttestationModule- Returns:
- a list of resources processable by
ClassLoader.getSystemResource(String)
-