Class AttestationReport
java.lang.Object
com.suse.coco.module.pvattest.model.AttestationReport
Represent the data required to verify an attestation report with Pvattest.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]private byte[]private intprivate Stringprivate longprivate byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]byte[]intlonggetId()byte[]inthashCode()voidsetAttestationProtectionKey(byte[] attestationProtectionKeyIn) voidsetAttestationResponse(byte[] attestationResponseIn) voidsetCpuGeneration(IbmZGeneration generationIn) Sets cpu generation as an environment typevoidsetEnvType(int envTypeIn) voidsetHostKeyDocument(String hostKeyDocumentIn) voidsetId(long idIn) voidsetSecureExecutionHeader(byte[] secureExecutionHeaderIn) toString()
-
Field Details
-
id
private long id -
envType
private int envType -
hostKeyDocument
-
secureExecutionHeader
private byte[] secureExecutionHeader -
attestationProtectionKey
private byte[] attestationProtectionKey -
attestationResponse
private byte[] attestationResponse
-
-
Constructor Details
-
AttestationReport
public AttestationReport()
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long idIn) -
getEnvType
public int getEnvType() -
setEnvType
public void setEnvType(int envTypeIn) -
getHostKeyDocument
-
setHostKeyDocument
-
getSecureExecutionHeader
public byte[] getSecureExecutionHeader() -
setSecureExecutionHeader
public void setSecureExecutionHeader(byte[] secureExecutionHeaderIn) -
getAttestationProtectionKey
public byte[] getAttestationProtectionKey() -
setAttestationProtectionKey
public void setAttestationProtectionKey(byte[] attestationProtectionKeyIn) -
getAttestationResponse
public byte[] getAttestationResponse() -
setAttestationResponse
public void setAttestationResponse(byte[] attestationResponseIn) -
getCpuGeneration
-
setCpuGeneration
Sets cpu generation as an environment type- Parameters:
generationIn- the IBM Z series cpu generation
-
equals
-
hashCode
public int hashCode() -
toString
-