A B C D E F G H I L M P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AttestationModule - Interface in com.suse.coco.modules
-
A component that can verify
AttestationResultand - AttestationModuleLoader - Class in com.suse.coco.module
-
Load
AttestationModulefrom the classpath using JavaServiceLoadermechanism. - AttestationModuleLoader() - Constructor for class com.suse.coco.module.AttestationModuleLoader
-
Default constructor.
- AttestationQueueProcessor - Class in com.suse.coco.attestation
-
Process entry in the table suseAttestationResult and executes the proper based on the result type.
- AttestationQueueProcessor(SqlSessionFactory, AttestationResultService, ExecutorService, AttestationModuleLoader, int) - Constructor for class com.suse.coco.attestation.AttestationQueueProcessor
-
Create an attestation queue processor.
- AttestationQueueProcessor(SqlSessionFactory, Configuration, AttestationModuleLoader) - Constructor for class com.suse.coco.attestation.AttestationQueueProcessor
-
Create an attestation queue processor.
- AttestationReport - Class in com.suse.coco.module.snpguest.model
-
Represent the data required to verify an attestation report with SNPGuest.
- AttestationReport() - Constructor for class com.suse.coco.module.snpguest.model.AttestationReport
- AttestationResult - Class in com.suse.coco.model
-
An attestation result that needs to be verified by an
AttestationModule. - AttestationResult() - Constructor for class com.suse.coco.model.AttestationResult
- AttestationResultService - Class in com.suse.coco.attestation
-
Service class to handle
AttestationResultin the database - AttestationResultService() - Constructor for class com.suse.coco.attestation.AttestationResultService
-
Default constructor.
- AttestationResultService(SqlSessionFactory) - Constructor for class com.suse.coco.attestation.AttestationResultService
-
Build a services with the given session factory.
- AttestationStatus - Enum in com.suse.coco.model
- AttestationStatus() - Constructor for enum com.suse.coco.model.AttestationStatus
- AttestationWorker - Interface in com.suse.coco.modules
-
A worker to process and verify attestation results.
- attested - Variable in class com.suse.coco.model.AttestationResult
B
- baseWorkingDir - Variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- batchSize - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
C
- close() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
-
Removes this verification directory and all the files contained within it
- CoCoAttestation - Class in com.suse.coco
-
Application entry class.
- CoCoAttestation() - Constructor for class com.suse.coco.CoCoAttestation
- com.suse.coco - package com.suse.coco
- com.suse.coco.attestation - package com.suse.coco.attestation
- com.suse.coco.configuration - package com.suse.coco.configuration
- com.suse.coco.model - package com.suse.coco.model
- com.suse.coco.module - package com.suse.coco.module
- com.suse.coco.module.snpguest - package com.suse.coco.module.snpguest
- com.suse.coco.module.snpguest.execution - package com.suse.coco.module.snpguest.execution
- com.suse.coco.module.snpguest.io - package com.suse.coco.module.snpguest.io
- com.suse.coco.module.snpguest.model - package com.suse.coco.module.snpguest.model
- com.suse.coco.modules - package com.suse.coco.modules
- Configuration - Interface in com.suse.coco.configuration
-
Application configuration
- configurationSource - Variable in class com.suse.coco.configuration.DefaultConfiguration
- cpuGeneration - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
- createDirectoryFor(long, AttestationReport) - Method in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
-
Creates and prepares a new verification directory.
- createListenerThread() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
- createTemporaryPath(String) - Method in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- createWorker(int) - Method in class com.suse.coco.module.AttestationModuleLoader
-
Create a worker to process an attestation result of the given type
D
- dataAvailable - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
- DEFAULT_CERTIFICATION_PATH - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- DefaultConfiguration - Class in com.suse.coco.configuration
-
Default application configuration.
- DefaultConfiguration() - Constructor for class com.suse.coco.configuration.DefaultConfiguration
-
Default constructor
- description - Variable in class com.suse.coco.model.AttestationResult
- details - Variable in class com.suse.coco.model.AttestationResult
- directoryProvider - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
E
- EpycGeneration - Enum in com.suse.coco.module.snpguest.model
-
EPYC CPU Model, used by SNPGuest to identify what certificates to use during verification.
- EpycGeneration() - Constructor for enum com.suse.coco.module.snpguest.model.EpycGeneration
- equals(Object) - Method in class com.suse.coco.model.AttestationResult
- equals(Object) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- executeProcess(String...) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
-
Executes a commandline process
- executorService - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
F
- FAILED - com.suse.coco.model.AttestationStatus
- fetchVCEK(EpycGeneration, Path, Path) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
-
Fetch the VCEK from the KDS.
G
- GENOA - com.suse.coco.module.snpguest.model.EpycGeneration
- getAdditionalMappers() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
- getAdditionalMappers() - Method in interface com.suse.coco.modules.AttestationModule
-
Additional Mybatis mappers needed by this attestation module.
- getAttested() - Method in class com.suse.coco.model.AttestationResult
- getBasePath() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
- getBatchSize() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the number of attestation results to process at a time.
- getBatchSize() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getCertsPath() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
- getCorePoolSize() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the number of core threads for the queue processor
- getCorePoolSize() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getCpuGeneration() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- getDatabaseConnectionString() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the connection string
- getDatabaseConnectionString() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getDatabasePassword() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the database password
- getDatabasePassword() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getDatabaseUser() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieve the database user
- getDatabaseUser() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getDescription() - Method in class com.suse.coco.model.AttestationResult
- getDetails() - Method in class com.suse.coco.model.AttestationResult
- getId() - Method in class com.suse.coco.model.AttestationResult
- getId() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- getMaximumPoolSize() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the maximum number of threads for the queue processor
- getMaximumPoolSize() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getName() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
- getName() - Method in interface com.suse.coco.modules.AttestationModule
-
Retrieves the name of the attestation module
- getPendingResultByType(Collection<Integer>, int) - Method in class com.suse.coco.attestation.AttestationResultService
-
Retrieve the ids of the available attestation results with the given state and result type.
- getRandomNonce() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- getReport() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- getReportId() - Method in class com.suse.coco.model.AttestationResult
- getReportPath() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
- getResultType() - Method in class com.suse.coco.model.AttestationResult
- getStatus() - Method in class com.suse.coco.model.AttestationResult
- getSupportedResultTypes() - Method in class com.suse.coco.module.AttestationModuleLoader
-
Get the supported result types, aggregated from every
AttestationModuleloaded. - getSupportedType() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
- getSupportedType() - Method in interface com.suse.coco.modules.AttestationModule
-
Retrieves attestation result type that this module is able to verify.
- getThreadKeepAliveInSeconds() - Method in interface com.suse.coco.configuration.Configuration
-
The number of seconds a thread will remain alive even without work to do.
- getThreadKeepAliveInSeconds() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getVCEKPath() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
- getWorker() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
- getWorker() - Method in interface com.suse.coco.modules.AttestationModule
-
Builds a worker to process
AttestationResult
H
- hashCode() - Method in class com.suse.coco.model.AttestationResult
- hashCode() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
I
- id - Variable in class com.suse.coco.model.AttestationResult
- id - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
- isVCEKAvailable() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
-
Check if the VCEK file exists
L
- listenerRunning - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
- listenForAttestationResults() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
- loadModuleMappers(Configuration, AttestationModule) - Static method in class com.suse.coco.module.AttestationModuleLoader
-
Load Mybatis mappers into the current configuration
- loadModules() - Method in class com.suse.coco.module.AttestationModuleLoader
-
Load all the available implementations of
AttestationModulefrom the classpath. - lockAttestationResult(SqlSession, long) - Static method in class com.suse.coco.attestation.AttestationResultService
- LOGGER - Static variable in class com.suse.coco.attestation.AttestationQueueProcessor
- LOGGER - Static variable in class com.suse.coco.attestation.AttestationResultService
- LOGGER - Static variable in class com.suse.coco.CoCoAttestation
- LOGGER - Static variable in class com.suse.coco.module.AttestationModuleLoader
- LOGGER - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
- LOGGER - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- LOGGER - Static variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- logProcessOutput(Marker, InputStream) - Static method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
M
- main(String[]) - Static method in class com.suse.coco.CoCoAttestation
-
Application entry point
- MANDATORY_PROPERTIES - Static variable in class com.suse.coco.configuration.DefaultConfiguration
- MILAN - com.suse.coco.module.snpguest.model.EpycGeneration
- MissingConfigurationException - Exception in com.suse.coco.configuration
-
Thrown when a missing configuration value is not set.
- MissingConfigurationException(String) - Constructor for exception com.suse.coco.configuration.MissingConfigurationException
-
Create a new instance.
- moduleLoader - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
P
- path - Variable in class com.suse.coco.module.snpguest.io.VerificationDirectory
- PENDING - com.suse.coco.model.AttestationStatus
- process(SqlSession, AttestationResult) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- process(SqlSession, AttestationResult) - Method in interface com.suse.coco.modules.AttestationWorker
-
Process the given attestation result.
- processAttestationResult(long, AttestationWorker) - Method in class com.suse.coco.attestation.AttestationResultService
-
Process an attestation result.
R
- randomNonce - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
- report - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
- REPORT_FILE - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectory
-
The report binary file
- reportId - Variable in class com.suse.coco.model.AttestationResult
- resultType - Variable in class com.suse.coco.model.AttestationResult
- run() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
- runtime - Variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
S
- sequenceFinder - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- service - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
- sessionFactory - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
- sessionFactory - Variable in class com.suse.coco.attestation.AttestationResultService
- setAttested(OffsetDateTime) - Method in class com.suse.coco.model.AttestationResult
- setCpuGeneration(EpycGeneration) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- setDescription(String) - Method in class com.suse.coco.model.AttestationResult
- setDetails(String) - Method in class com.suse.coco.model.AttestationResult
- setId(long) - Method in class com.suse.coco.model.AttestationResult
- setId(long) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- setRandomNonce(byte[]) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- setReport(byte[]) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- setReportId(long) - Method in class com.suse.coco.model.AttestationResult
- setResultType(int) - Method in class com.suse.coco.model.AttestationResult
- setStatus(AttestationStatus) - Method in class com.suse.coco.model.AttestationResult
- SEV_SNP - Static variable in class com.suse.coco.module.snpguest.SNPGuestModule
-
Result type for report generated by SNPGuest
- shutdownExecutor() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
- snpGuest - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- SNPGUEST - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
- SNPGuestModule - Class in com.suse.coco.module.snpguest
-
Module descriptio for SNPGuest
- SNPGuestModule() - Constructor for class com.suse.coco.module.snpguest.SNPGuestModule
- SNPGuestWorker - Class in com.suse.coco.module.snpguest
-
Worker class for verifying the reports with SNPGuest
- SNPGuestWorker() - Constructor for class com.suse.coco.module.snpguest.SNPGuestWorker
-
Default constructor.
- SNPGuestWorker(VerificationDirectoryProvider, SNPGuestWrapper, ByteSequenceFinder) - Constructor for class com.suse.coco.module.snpguest.SNPGuestWorker
-
Constructor with explicit dependencies, for unit test only.
- SNPGuestWrapper - Class in com.suse.coco.module.snpguest.execution
-
Wrapper to execute the command line tool SNPGuest.
- SNPGuestWrapper() - Constructor for class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
-
Default constructor.
- SNPGuestWrapper(Runtime) - Constructor for class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
-
Constructor to specify a runtime.
- sourceCertificatesDir - Variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- status - Variable in class com.suse.coco.model.AttestationResult
- STDERR_MARKER - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
- STDOUT_MARKER - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
- stopListenerThread(Thread) - Static method in class com.suse.coco.attestation.AttestationQueueProcessor
- SUCCEEDED - com.suse.coco.model.AttestationStatus
T
- toProperties() - Method in interface com.suse.coco.configuration.Configuration
-
Convert this configuration to a Properties
- toProperties() - Method in class com.suse.coco.configuration.DefaultConfiguration
- toString() - Method in class com.suse.coco.model.AttestationResult
- toString() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
U
- UNKNOWN - com.suse.coco.module.snpguest.model.EpycGeneration
V
- valueOf(String) - Static method in enum com.suse.coco.model.AttestationStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.suse.coco.module.snpguest.model.EpycGeneration
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.suse.coco.model.AttestationStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.suse.coco.module.snpguest.model.EpycGeneration
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VCEK_FILE - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectory
-
The VCEK file name
- VerificationDirectory - Class in com.suse.coco.module.snpguest.io
-
A class representing a verification directory, used to verify an attestation report.
- VerificationDirectory(Path) - Constructor for class com.suse.coco.module.snpguest.io.VerificationDirectory
- VerificationDirectoryProvider - Class in com.suse.coco.module.snpguest.io
-
Creates
VerificationDirectoryused to store the data needed by the SNPGuest tool to perform validation. - VerificationDirectoryProvider() - Constructor for class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
-
Default constructor.
- VerificationDirectoryProvider(Path, Path) - Constructor for class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- verifyAttestation(Path, Path) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
-
Verify the attestation report.
- verifyCertificates(Path) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapper
-
Verify the certificate chain.
W
- workerFactoriesMap - Variable in class com.suse.coco.module.AttestationModuleLoader
All Classes All Packages