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
- AbstractSNPGuestWrapper - Class in com.suse.coco.module.snpguest.execution
-
Wrapper to execute the command line tool SNPGuest.
- AbstractSNPGuestWrapper() - Constructor for class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
-
Default constructor.
- AbstractSNPGuestWrapper(Runtime) - Constructor for class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
-
Constructor to specify a runtime.
- appendError(String) - Method in class com.suse.coco.module.pvattest.PvattestWorker
- appendError(String) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- appendError(String, ProcessOutput) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- appendError(String, Exception) - Method in class com.suse.coco.module.pvattest.PvattestWorker
- appendError(String, Exception) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- appendOutput(String, ProcessOutput) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- appendOutput(String, ProcessOutput) - Method in class com.suse.coco.module.pvattest.PvattestWorker
- appendSuccess(String) - Method in class com.suse.coco.module.pvattest.PvattestWorker
- appendSuccess(String) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- appendSuccess(String, ProcessOutput) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- ATTESTATION_PROTECTION_KEY_TAG - Static variable in class com.suse.coco.module.pvattest.PvattestWorker
- ATTESTATION_REQUEST_BIN_TAG - Static variable in class com.suse.coco.module.pvattest.PvattestWorker
- 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.
- attestationProtectionKey - Variable in class com.suse.coco.module.pvattest.model.AttestationReport
- 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.
- AttestationReport - Class in com.suse.coco.module.pvattest.model
-
Represent the data required to verify an attestation report with Pvattest.
- 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.pvattest.model.AttestationReport
- AttestationReport() - Constructor for class com.suse.coco.module.snpguest.model.AttestationReport
- AttestationRequest - Record Class in com.suse.coco.module.pvattest.model
- AttestationRequest(String, String) - Constructor for record class com.suse.coco.module.pvattest.model.AttestationRequest
-
Creates an instance of a
AttestationRequestrecord class. - attestationResponse - Variable in class com.suse.coco.module.pvattest.model.AttestationReport
- AttestationResponse - Record Class in com.suse.coco.module.pvattest.model
- AttestationResponse(String) - Constructor for record class com.suse.coco.module.pvattest.model.AttestationResponse
-
Creates an instance of a
AttestationResponserecord class. - attestationResponseContent - Variable in record class com.suse.coco.module.pvattest.model.AttestationResponse
-
The field for the
attestationResponseContentrecord component. - attestationResponseContent() - Method in record class com.suse.coco.module.pvattest.model.AttestationResponse
-
Returns the value of the
attestationResponseContentrecord component. - 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.
- AttestationWorkerFactory - Interface in com.suse.coco.module
-
A functional interface to create an attestation worker
- 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
- base64AttestationProtectionKey - Variable in record class com.suse.coco.module.pvattest.model.AttestationRequest
-
The field for the
base64AttestationProtectionKeyrecord component. - base64AttestationProtectionKey() - Method in record class com.suse.coco.module.pvattest.model.AttestationRequest
-
Returns the value of the
base64AttestationProtectionKeyrecord component. - base64AttestationRequest - Variable in record class com.suse.coco.module.pvattest.model.AttestationRequest
-
The field for the
base64AttestationRequestrecord component. - base64AttestationRequest() - Method in record class com.suse.coco.module.pvattest.model.AttestationRequest
-
Returns the value of the
base64AttestationRequestrecord component. - baseWorkingDir - Variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- batchSize - Variable in class com.suse.coco.attestation.ProcessingThread
- BERGAMO - Enum constant in enum class com.suse.coco.module.snpguest.model.EpycGeneration
C
- checkCommandNotFailed(ProcessOutput) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- 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.pvattest - package com.suse.coco.module.pvattest
- com.suse.coco.module.pvattest.execution - package com.suse.coco.module.pvattest.execution
- com.suse.coco.module.pvattest.model - package com.suse.coco.module.pvattest.model
- com.suse.coco.module.secureboot - package com.suse.coco.module.secureboot
- 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
- commandExecutor - Variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- 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
- createAttestationRequest(Path, Path) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- createAttestationResult(Path) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- createCore(X509Certificate, boolean, X509Certificate, X509Certificate) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- createDirectoryFor(long, AttestationReport) - Method in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
-
Creates and prepares a new verification directory.
- createNoVerify(String) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Creates an attestation request, with no certificate verification
- createSNPGuestWrapper() - Static method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
-
Creates a SNPGuestWrapper instance with the right version
- createTempBinaryFile(Path, String, String, byte[]) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- createTempDir() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- createTempFile(Path, String, String) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- createTempFile(Path, String, String, String) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- createTemporaryPath(String) - Method in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- createVerify(String, String, String) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Creates an attestation request, with certificate verification, given the certificate contents
- createVerifyDownloadCertificates(String) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Creates an attestation request, with certificate verification, downloading the certificates from IBM website
- createWorker(int) - Method in class com.suse.coco.module.AttestationModuleLoader
-
Create a worker to process an attestation result of the given type
- createWorker(int) - Method in interface com.suse.coco.module.AttestationWorkerFactory
-
Creates an attestation worker
D
- dataAvailableLock - Variable in class com.suse.coco.attestation.ProcessingThread
- dataSource - Variable in class com.suse.coco.attestation.ListeningThread
- DEFAULT_CERTIFICATION_PATH - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- DEFAULT_DIGI_CERT_CA_FILE - Static variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- 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
- directoryProvider - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- displayReport(Path) - Method in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
-
Display the attestation report.
- downloadIbmZHostKeySigningCertificate() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Downloads the IBM host key signing certificate
- downloadIbmZHostKeySigningRevocationLists() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Downloads the IBM host key signing certificate revocation lists
E
- envType - Variable in class com.suse.coco.model.AttestationResult
- envType - Variable in class com.suse.coco.module.pvattest.model.AttestationReport
- envType - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
- EpycGeneration - Enum Class in com.suse.coco.module.snpguest.model
-
EPYC CPU Model, used by SNPGuest to identify what certificates to use during verification.
- EpycGeneration(int) - Constructor for enum class 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.pvattest.model.AttestationReport
- equals(Object) - Method in record class com.suse.coco.module.pvattest.model.AttestationRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.suse.coco.module.pvattest.model.AttestationResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
- equals(Object) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- executeProcess(String...) - Method in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
-
Executes a commandline process
- executorService - Variable in class com.suse.coco.attestation.ProcessingThread
- exitCode - Variable in class com.suse.coco.module.snpguest.execution.ProcessOutput
F
- failed() - Method in record class com.suse.coco.module.pvattest.model.AttestationRequest
- failed() - Method in record class com.suse.coco.module.pvattest.model.AttestationResponse
- FAILED - Enum constant in enum class com.suse.coco.model.AttestationStatus
- FALLBACK_VERSION - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
- fetchVCEK(EpycGeneration, Path, Path) - Method in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
-
Fetch the VCEK from the KDS.
- fetchVCEK(EpycGeneration, Path, Path) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer07Below
-
Fetch the VCEK from the KDS.
- fetchVCEK(EpycGeneration, Path, Path) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer09Above
-
Fetch the VCEK from the KDS.
- findPackageVersion() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Finds the package version
- findVersion() - Static method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
-
tries to find the snpguest tool version
- forceShutdown - Variable in class com.suse.coco.attestation.ListeningThread
- fromValue(int) - Static method in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
- fromValue(int) - Static method in enum class com.suse.coco.module.snpguest.model.EpycGeneration
G
- GENOA - Enum constant in enum class com.suse.coco.module.snpguest.model.EpycGeneration
- 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.pvattest.PvattestModule
- getAdditionalMappers() - Method in class com.suse.coco.module.secureboot.SecureBootModule
- getAdditionalMappers() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
- getAttestationProtectionKey() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- getAttestationResponse() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- 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.pvattest.model.AttestationReport
- 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
- 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
- getDigiCertCACertificate() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Gets the root CA certificate from the local resources
- getEnvType() - Method in class com.suse.coco.model.AttestationResult
- getEnvType() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- getEnvType() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- getExitCode() - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
- getFirstLine(String) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- getHostKeyDocument() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- getId() - Method in class com.suse.coco.model.AttestationResult
- getId() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- getId() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- getInData() - Method in class com.suse.coco.model.AttestationResult
- getLastExecutedCommand() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- 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.pvattest.PvattestModule
- getName() - Method in class com.suse.coco.module.secureboot.SecureBootModule
- getName() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
- getOutput(InputStream, Marker) - Method in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
- getProcessOutput() - Method in class com.suse.coco.model.AttestationResult
- getProcessOutputDetails(ProcessOutput) - Static method in class com.suse.coco.module.snpguest.SNPGuestWorker
- getProcessOutputDetails(ProcessOutput) - Static method in class com.suse.coco.module.pvattest.PvattestWorker
- 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
- getResultByStatusAndType(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.
- getResultType() - Method in class com.suse.coco.model.AttestationResult
- getSecureExecutionHeader() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- getStandardError() - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
- getStandardOutput() - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
- 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.pvattest.PvattestModule
- getSupportedType() - Method in class com.suse.coco.module.secureboot.SecureBootModule
- getSupportedType() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
- 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
- getValue() - Method in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
- getValue() - Method in enum class com.suse.coco.module.snpguest.model.EpycGeneration
- getVCEKPath() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
- getVlekCertificate() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- getWorker() - Method in interface com.suse.coco.module.AttestationModule
-
Builds a worker to process
AttestationResult - getWorker() - Method in class com.suse.coco.module.pvattest.PvattestModule
- getWorker() - Method in class com.suse.coco.module.secureboot.SecureBootModule
- getWorker() - Method in class com.suse.coco.module.snpguest.SNPGuestModule
H
- hashCode() - Method in class com.suse.coco.model.AttestationResult
- hashCode() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- hashCode() - Method in record class com.suse.coco.module.pvattest.model.AttestationRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.suse.coco.module.pvattest.model.AttestationResponse
-
Returns a hash code value for this object.
- hashCode() - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
- hashCode() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- hasStandardError() - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
-
Check if this process output has a non-empty standard error
- hasStandardOutput() - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
-
Check if this process output has a non-empty standard output
- hostKeyDocument - Variable in class com.suse.coco.module.pvattest.model.AttestationReport
I
- IBM_PVATTEST - Static variable in class com.suse.coco.module.pvattest.PvattestModule
-
Result type for report generated by Pvattest
- IBM_Z_HOST_KEY_CERTIFICATE_REVOCATION_LISTS - Static variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- IBM_Z_HOST_KEY_SIGNING_CERTIFICATE - Static variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- IBM_Z16 - Enum constant in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
- IBM_Z17 - Enum constant in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
- IbmZGeneration - Enum Class in com.suse.coco.module.pvattest.model
-
IBM Z series Model
- IbmZGeneration(int) - Constructor for enum class com.suse.coco.module.pvattest.model.IbmZGeneration
- id - Variable in class com.suse.coco.model.AttestationResult
- id - Variable in class com.suse.coco.module.pvattest.model.AttestationReport
- id - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
- inData - Variable in class com.suse.coco.model.AttestationResult
- INDENT_SIZE - Static variable in class com.suse.coco.module.pvattest.PvattestWorker
- INDENT_SIZE - Static variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- 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
- isUsingVlekAttestation() - Method 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
- isVLEKAvailable() - Method in class com.suse.coco.module.snpguest.io.VerificationDirectory
-
Check if the VLEK file exists
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
- logErrorRunningCommand(Exception) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- logger - Variable in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
- 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.pvattest.execution.PvattestWrapper
- LOGGER - Static variable in class com.suse.coco.module.pvattest.PvattestWorker
- LOGGER - Static variable in class com.suse.coco.module.secureboot.SecureBootWorker
- LOGGER - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
- LOGGER - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- LOGGER - Static variable in class com.suse.coco.module.snpguest.SNPGuestWorker
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 - Enum constant in enum class com.suse.coco.module.snpguest.model.EpycGeneration
- moduleLoader - Variable in class com.suse.coco.attestation.ProcessingThread
N
- nextStatus(boolean) - Method in enum class com.suse.coco.model.AttestationStatus
-
Gets next status, depending on success and current status
- NONCE_TAG - Static variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- notFoundSetFallback() - Static method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
- notifyDataAvailable() - Method in class com.suse.coco.attestation.ProcessingThread
-
Notifies the processor that some data is ready to be processed.
O
- outputBuilder - Variable in class com.suse.coco.module.pvattest.PvattestWorker
- outputBuilder - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
P
- path - Variable in class com.suse.coco.module.snpguest.io.VerificationDirectory
- PENDING - Enum constant in enum class com.suse.coco.model.AttestationStatus
- pgConnection - Variable in class com.suse.coco.attestation.ListeningThread
- processAttestationResult(long, AttestationWorkerFactory) - 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
- ProcessOutput - Class in com.suse.coco.module.snpguest.execution
-
Represent the output of the execution of a process
- ProcessOutput(int) - Constructor for class com.suse.coco.module.snpguest.execution.ProcessOutput
-
Builds an instance with only the exit code
- ProcessOutput(int, String, String) - Constructor for class com.suse.coco.module.snpguest.execution.ProcessOutput
-
Default constructor
- processRequest(SqlSession, AttestationResult) - Method in interface com.suse.coco.module.AttestationWorker
-
Process the attestation request of a given attestation result.
- processRequest(SqlSession, AttestationResult) - Method in class com.suse.coco.module.pvattest.PvattestWorker
- processRequest(SqlSession, AttestationResult) - Method in class com.suse.coco.module.secureboot.SecureBootWorker
- processRequest(SqlSession, AttestationResult) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- processVerification(SqlSession, AttestationResult) - Method in interface com.suse.coco.module.AttestationWorker
-
Process the attestation verification of a given attestation result.
- processVerification(SqlSession, AttestationResult) - Method in class com.suse.coco.module.pvattest.PvattestWorker
- processVerification(SqlSession, AttestationResult) - Method in class com.suse.coco.module.secureboot.SecureBootWorker
- processVerification(SqlSession, AttestationResult) - Method in class com.suse.coco.module.snpguest.SNPGuestWorker
- pvattest - Variable in class com.suse.coco.module.pvattest.PvattestWorker
- PVATTEST - Static variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- PVATTEST_PACKAGE - Static variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- PvattestModule - Class in com.suse.coco.module.pvattest
-
Module description for Pvattest
- PvattestModule() - Constructor for class com.suse.coco.module.pvattest.PvattestModule
- PvattestWorker - Class in com.suse.coco.module.pvattest
-
Worker class for verifying the reports with SNPGuest
- PvattestWorker() - Constructor for class com.suse.coco.module.pvattest.PvattestWorker
-
Default constructor.
- PvattestWorker(PvattestWrapper) - Constructor for class com.suse.coco.module.pvattest.PvattestWorker
-
Constructor with explicit dependencies, for unit test only.
- PvattestWrapper - Class in com.suse.coco.module.pvattest.execution
- PvattestWrapper() - Constructor for class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
default constructor
- PvattestWrapper(ShellCommandExecutor) - Constructor for class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Constructor
- PvattestWrapper(ShellCommandExecutor, Path) - Constructor for class com.suse.coco.module.pvattest.execution.PvattestWrapper
Q
- QUEUED - Enum constant in enum class com.suse.coco.model.AttestationStatus
R
- randomNonce - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
- removeAllTempDirsFiles() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- 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
- REQUESTED - Enum constant in enum class com.suse.coco.model.AttestationStatus
- resetTempDirsFiles() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- 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
- runtime - Variable in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
- runtime - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
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
- secureExecutionHeader - Variable in class com.suse.coco.module.pvattest.model.AttestationReport
- secureRandom - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- sequenceFinder - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- service - Variable in class com.suse.coco.attestation.ProcessingThread
- sessionFactory - Variable in class com.suse.coco.attestation.AttestationResultService
- setAttestationProtectionKey(byte[]) - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- setAttestationResponse(byte[]) - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- setAttested(OffsetDateTime) - Method in class com.suse.coco.model.AttestationResult
- setCpuGeneration(IbmZGeneration) - Method in class com.suse.coco.module.pvattest.model.AttestationReport
-
Sets cpu generation as an environment type
- setCpuGeneration(EpycGeneration) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
-
Sets cpu generation as an environment type
- setDescription(String) - Method in class com.suse.coco.model.AttestationResult
- setDetails(String) - Method in class com.suse.coco.model.AttestationResult
- setEnvType(int) - Method in class com.suse.coco.model.AttestationResult
- setEnvType(int) - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- setEnvType(int) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- setHostKeyDocument(String) - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- setId(long) - Method in class com.suse.coco.model.AttestationResult
- setId(long) - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- setId(long) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- setInData(String) - 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
- 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
- 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.
- setRuntime(Runtime) - Static method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
-
Method to specify a runtime.
- setSecureExecutionHeader(byte[]) - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- setStatus(AttestationStatus) - Method in class com.suse.coco.model.AttestationResult
- setVlekCertificate(String) - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- SEV_SNP - Static variable in class com.suse.coco.module.snpguest.SNPGuestModule
-
Result type for report generated by SNPGuest
- SIENA - Enum constant in enum class com.suse.coco.module.snpguest.model.EpycGeneration
- snpGuest - Variable in class com.suse.coco.module.snpguest.SNPGuestWorker
- SNPGUEST - Static variable in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
- SNPGuestModule - Class in com.suse.coco.module.snpguest
-
Module descriptio for SNPGuest
- SNPGuestModule() - Constructor for class com.suse.coco.module.snpguest.SNPGuestModule
- SNPGuestVersion() - Constructor for enum class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory.SNPGuestVersion
- 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, AbstractSNPGuestWrapper, ByteSequenceFinder) - Constructor for class com.suse.coco.module.snpguest.SNPGuestWorker
-
Constructor with explicit dependencies, for unit test only.
- SNPGuestWrapperFactory - Class in com.suse.coco.module.snpguest.execution
- SNPGuestWrapperFactory() - Constructor for class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
- SNPGuestWrapperFactory.SNPGuestVersion - Enum Class in com.suse.coco.module.snpguest.execution
- SNPGuestWrapperVer07Below - Class in com.suse.coco.module.snpguest.execution
- SNPGuestWrapperVer07Below() - Constructor for class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer07Below
-
Default constructor.
- SNPGuestWrapperVer07Below(Runtime) - Constructor for class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer07Below
-
Constructor to specify a runtime.
- SNPGuestWrapperVer09Above - Class in com.suse.coco.module.snpguest.execution
- SNPGuestWrapperVer09Above() - Constructor for class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer09Above
-
Default constructor.
- SNPGuestWrapperVer09Above(Runtime) - Constructor for class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer09Above
-
Constructor to specify a runtime.
- sourceCertificatesDir - Variable in class com.suse.coco.module.snpguest.io.VerificationDirectoryProvider
- sourceDigiCertCaCertificateFile - Variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- standardError - Variable in class com.suse.coco.module.snpguest.execution.ProcessOutput
- standardOutput - Variable in class com.suse.coco.module.snpguest.execution.ProcessOutput
- 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
- statusToListenList() - Static method in enum class com.suse.coco.model.AttestationStatus
-
Gets a list of status to be listened to
- STDERR_MARKER - Static variable in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
- STDOUT_MARKER - Static variable in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
- 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
- SUBMITTED - Enum constant in enum class com.suse.coco.model.AttestationStatus
- succeeded() - Method in record class com.suse.coco.module.pvattest.model.AttestationRequest
- succeeded() - Method in record class com.suse.coco.module.pvattest.model.AttestationResponse
- SUCCEEDED - Enum constant in enum class com.suse.coco.model.AttestationStatus
T
- tempDirAttributes - Variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- tempDirs - Variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- tempFileAttributes - Variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- tempFiles - Variable in class com.suse.coco.module.pvattest.execution.PvattestWrapper
- theSnpguestVersion - Static variable in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory
- 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
- toString() - Method in class com.suse.coco.module.pvattest.model.AttestationReport
- toString() - Method in record class com.suse.coco.module.pvattest.model.AttestationRequest
-
Returns a string representation of this record class.
- toString() - Method in record class com.suse.coco.module.pvattest.model.AttestationResponse
-
Returns a string representation of this record class.
- toString() - Method in class com.suse.coco.module.snpguest.execution.ProcessOutput
- toString() - Method in class com.suse.coco.module.snpguest.model.AttestationReport
- TURIN - Enum constant in enum class com.suse.coco.module.snpguest.model.EpycGeneration
U
- UNKNOWN - Enum constant in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
- UNKNOWN - Enum constant in enum class com.suse.coco.module.snpguest.model.EpycGeneration
- updateConnection(PgConnection) - Method in class com.suse.coco.attestation.ListeningThread
V
- value - Variable in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
- value - Variable in enum class com.suse.coco.module.snpguest.model.EpycGeneration
- valueOf(String) - Static method in enum class com.suse.coco.model.AttestationStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory.SNPGuestVersion
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.suse.coco.module.snpguest.model.EpycGeneration
-
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.
- values() - Static method in enum class com.suse.coco.module.pvattest.model.IbmZGeneration
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory.SNPGuestVersion
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.suse.coco.module.snpguest.model.EpycGeneration
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VCEK_FILE - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectory
-
The VCEK file name
- VER_07_BELOW - Enum constant in enum class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory.SNPGuestVersion
- VER_09_ABOVE - Enum constant in enum class com.suse.coco.module.snpguest.execution.SNPGuestWrapperFactory.SNPGuestVersion
- 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(EpycGeneration, Path, Path) - Method in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
-
Verify the attestation report.
- verifyAttestation(EpycGeneration, Path, Path) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer07Below
-
Verify the attestation report.
- verifyAttestation(EpycGeneration, Path, Path) - Method in class com.suse.coco.module.snpguest.execution.SNPGuestWrapperVer09Above
-
Verify the attestation report.
- verifyAttestationResponse(byte[], byte[], byte[]) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Verifies the validity of an attestation response
- verifyAttestationResponse(String, String, String) - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Verifies the validity of an attestation response
- verifyCertificates(Path) - Method in class com.suse.coco.module.snpguest.execution.AbstractSNPGuestWrapper
-
Verify the certificate chain.
- version() - Method in class com.suse.coco.module.pvattest.execution.PvattestWrapper
-
Returns the pvattest tool version
- VLEK_FILE - Static variable in class com.suse.coco.module.snpguest.io.VerificationDirectory
-
The VLEK file name
- vlekCertificate - Variable in class com.suse.coco.module.snpguest.model.AttestationReport
W
- workerFactoriesMap - Variable in class com.suse.coco.module.AttestationModuleLoader
All Classes and Interfaces|All Packages|Constant Field Values