Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- abortConnection() - Method in class com.suse.coco.attestation.ListeningThread
- AbstractProcessorThread - Class in com.suse.coco.attestation
-
Base class for the threads used by the
AttestationQueueProcessor. - AbstractProcessorThread(String) - Constructor for class com.suse.coco.attestation.AbstractProcessorThread
- AttestationModule - Interface in com.suse.coco.module
-
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(DataSource, 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.
- 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 Class in com.suse.coco.model
- AttestationStatus() - Constructor for enum class com.suse.coco.model.AttestationStatus
- AttestationWorker - Interface in com.suse.coco.module
-
A worker to process and verify attestation results.
- attested - Variable in class com.suse.coco.model.AttestationResult
- await() - Method in class com.suse.coco.attestation.AbstractProcessorThread
-
Wait for this thread to complete its processing.
- awaitTermination() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
-
Wait indefinitely for the processor to complete.
B
- batchSize - Variable in class com.suse.coco.attestation.ProcessingThread
C
- 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.secureboot - package com.suse.coco.module.secureboot
- Configuration - Interface in com.suse.coco.configuration
-
Application configuration
- configurationSource - Variable in class com.suse.coco.configuration.DefaultConfiguration
- CONNECTION_PROPERTIES - Static variable in class com.suse.coco.configuration.DefaultConfiguration
- connectionLock - Variable in class com.suse.coco.attestation.ListeningThread
- createWorker(int) - Method in class com.suse.coco.module.AttestationModuleLoader
-
Create a worker to process an attestation result of the given type
D
- dataAvailableLock - Variable in class com.suse.coco.attestation.ProcessingThread
- dataSource - Variable in class com.suse.coco.attestation.ListeningThread
- DefaultConfiguration - Class in com.suse.coco.configuration
-
Default application configuration.
- DefaultConfiguration() - Constructor for class com.suse.coco.configuration.DefaultConfiguration
-
Default constructor
- DefaultConfiguration(ConfigurationSource) - Constructor for class com.suse.coco.configuration.DefaultConfiguration
- description - Variable in class com.suse.coco.model.AttestationResult
- details - Variable in class com.suse.coco.model.AttestationResult
E
- equals(Object) - Method in class com.suse.coco.model.AttestationResult
- executorService - Variable in class com.suse.coco.attestation.ProcessingThread
F
- FAILED - Enum constant in enum class com.suse.coco.model.AttestationStatus
- forceShutdown - Variable in class com.suse.coco.attestation.ListeningThread
G
- getAdditionalMappers() - Method in interface com.suse.coco.module.AttestationModule
-
Additional Mybatis mappers needed by this attestation module.
- getAdditionalMappers() - Method in class com.suse.coco.module.secureboot.SecureBootModule
- getAttested() - Method in class com.suse.coco.model.AttestationResult
- 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
- 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
- getDatabaseConnectionString() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the connection string
- getDatabaseConnectionString() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getDatabaseHostString() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the database hostname string
- getDatabaseHostString() - Method in class com.suse.coco.configuration.DefaultConfiguration
- getDatabaseNameString() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the database name string
- getDatabaseNameString() - 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
- getDatabasePort() - Method in interface com.suse.coco.configuration.Configuration
-
Retrieves the database port integer
- getDatabasePort() - 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
- 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 interface com.suse.coco.module.AttestationModule
-
Retrieves the name of the attestation module
- getName() - Method in class com.suse.coco.module.secureboot.SecureBootModule
- 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.
- getProcessOutput() - Method in class com.suse.coco.model.AttestationResult
- getReportId() - Method in class com.suse.coco.model.AttestationResult
- 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 interface com.suse.coco.module.AttestationModule
-
Retrieves attestation result type that this module is able to verify.
- getSupportedType() - Method in class com.suse.coco.module.secureboot.SecureBootModule
- 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
- getWorker() - Method in interface com.suse.coco.module.AttestationModule
-
Builds a worker to process
AttestationResult - getWorker() - Method in class com.suse.coco.module.secureboot.SecureBootModule
H
- hashCode() - Method in class com.suse.coco.model.AttestationResult
I
- id - Variable in class com.suse.coco.model.AttestationResult
- isRunning() - Method in class com.suse.coco.attestation.AbstractProcessorThread
-
Check if this thread is currently running.
- isRunning() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
-
Check if this attestation processor is running
L
- listeningThread - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
- listeningThread - Variable in class com.suse.coco.attestation.ProcessingThread
- ListeningThread - Class in com.suse.coco.attestation
-
Listener thread of the
AttestationQueueProcessor. - ListeningThread(DataSource) - Constructor for class com.suse.coco.attestation.ListeningThread
-
Builds a listener thread
- 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.AttestationResultService
- LOGGER - Static variable in class com.suse.coco.attestation.ListeningThread
- LOGGER - Static variable in class com.suse.coco.attestation.ProcessingThread
- 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.secureboot.SecureBootWorker
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
- moduleLoader - Variable in class com.suse.coco.attestation.ProcessingThread
N
- notifyDataAvailable() - Method in class com.suse.coco.attestation.ProcessingThread
-
Notifies the processor that some data is ready to be processed.
P
- PENDING - Enum constant in enum class com.suse.coco.model.AttestationStatus
- pgConnection - Variable in class com.suse.coco.attestation.ListeningThread
- process(SqlSession, AttestationResult) - Method in interface com.suse.coco.module.AttestationWorker
-
Process the given attestation result.
- process(SqlSession, AttestationResult) - Method in class com.suse.coco.module.secureboot.SecureBootWorker
- processAttestationResult(long, AttestationWorker) - Method in class com.suse.coco.attestation.AttestationResultService
-
Process an attestation result.
- processingThread - Variable in class com.suse.coco.attestation.AttestationQueueProcessor
- processingThread - Variable in class com.suse.coco.attestation.ListeningThread
- ProcessingThread - Class in com.suse.coco.attestation
-
Main processing thread of the
AttestationQueueProcessor. - ProcessingThread(AttestationResultService, ExecutorService, AttestationModuleLoader, int) - Constructor for class com.suse.coco.attestation.ProcessingThread
- processOutput - Variable in class com.suse.coco.model.AttestationResult
R
- 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.ListeningThread
- run() - Method in class com.suse.coco.attestation.ProcessingThread
- running - Variable in class com.suse.coco.attestation.AbstractProcessorThread
S
- SECURE_BOOT - Static variable in class com.suse.coco.module.secureboot.SecureBootModule
-
Result type for report generated by SNPGuest
- SecureBootModule - Class in com.suse.coco.module.secureboot
- SecureBootModule() - Constructor for class com.suse.coco.module.secureboot.SecureBootModule
- SecureBootWorker - Class in com.suse.coco.module.secureboot
- SecureBootWorker() - Constructor for class com.suse.coco.module.secureboot.SecureBootWorker
- service - Variable in class com.suse.coco.attestation.ProcessingThread
- sessionFactory - Variable in class com.suse.coco.attestation.AttestationResultService
- setAttested(OffsetDateTime) - Method in class com.suse.coco.model.AttestationResult
- 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
- setListeningThread(ListeningThread) - Method in class com.suse.coco.attestation.ProcessingThread
- setProcessingThread(ProcessingThread) - Method in class com.suse.coco.attestation.ListeningThread
- setProcessOutput(String) - Method in class com.suse.coco.model.AttestationResult
- setReportId(long) - Method in class com.suse.coco.model.AttestationResult
- setResultType(int) - Method in class com.suse.coco.model.AttestationResult
- setRunning(boolean) - Method in class com.suse.coco.attestation.AbstractProcessorThread
-
Specify that this thread has already stopped it's processing and should not be considered as running.
- setStatus(AttestationStatus) - Method in class com.suse.coco.model.AttestationResult
- start() - Method in class com.suse.coco.attestation.AbstractProcessorThread
-
Starts the processing of the thread.
- start() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
-
Start the execution of the queue processor.
- start() - Method in class com.suse.coco.attestation.ListeningThread
- start() - Method in class com.suse.coco.attestation.ProcessingThread
- status - Variable in class com.suse.coco.model.AttestationResult
- stop() - Method in class com.suse.coco.attestation.AbstractProcessorThread
-
Stops the processing of the thread, if it is running.
- stop() - Method in class com.suse.coco.attestation.AttestationQueueProcessor
-
Interrupts the execution of this processor.
- stop() - Method in class com.suse.coco.attestation.ListeningThread
- SUCCEEDED - Enum constant in enum class com.suse.coco.model.AttestationStatus
T
- thread - Variable in class com.suse.coco.attestation.AbstractProcessorThread
- 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
U
- updateConnection(PgConnection) - Method in class com.suse.coco.attestation.ListeningThread
V
- valueOf(String) - Static method in enum class com.suse.coco.model.AttestationStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.suse.coco.model.AttestationStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- workerFactoriesMap - Variable in class com.suse.coco.module.AttestationModuleLoader
All Classes and Interfaces|All Packages|Constant Field Values