Package com.suse.coco.module.secureboot
Class SecureBootModule
- java.lang.Object
-
- com.suse.coco.module.secureboot.SecureBootModule
-
- All Implemented Interfaces:
AttestationModule
public class SecureBootModule extends java.lang.Object implements AttestationModule
-
-
Field Summary
Fields Modifier and Type Field Description static intSECURE_BOOTResult type for report generated by SNPGuest
-
Constructor Summary
Constructors Constructor Description SecureBootModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getAdditionalMappers()Additional Mybatis mappers needed by this attestation module.java.lang.StringgetName()Retrieves the name of the attestation moduleintgetSupportedType()Retrieves attestation result type that this module is able to verify.AttestationWorkergetWorker()Builds a worker to processAttestationResult
-
-
-
Field Detail
-
SECURE_BOOT
public static final int SECURE_BOOT
Result type for report generated by SNPGuest- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String 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
public AttestationWorker getWorker()
Description copied from interface:AttestationModuleBuilds a worker to processAttestationResult- Specified by:
getWorkerin interfaceAttestationModule- Returns:
- a new instance of
AttestationWorker
-
getAdditionalMappers
public java.util.List<java.lang.String> 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)
-
-