Package com.suse.coco.module.snpguest
Class SNPGuestModule
- java.lang.Object
-
- com.suse.coco.module.snpguest.SNPGuestModule
-
- All Implemented Interfaces:
AttestationModule
public class SNPGuestModule extends java.lang.Object implements AttestationModule
Module descriptio for SNPGuest
-
-
Field Summary
Fields Modifier and Type Field Description static intSEV_SNPResult type for report generated by SNPGuest
-
Constructor Summary
Constructors Constructor Description SNPGuestModule()
-
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
-
SEV_SNP
public static final int SEV_SNP
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)
-
-