![]() |
The following steps describe how to export the Audit log signature. Starting in Release 8.0, setting the signing key material is not a prerequisite to defining an Audit Log feature but it is a prerequisite to exporting the Audit Log Signature. Therefore, ensure that the signing key material is set before invoking this or the action will fail.
1. Retrieve the instance of AMT_AuditLog, where the “Name” key equals “Intel(r) AMT:Audit Log”.
2. Invoke AMT_AuditALog.ExportAuditLogSignature.
|
• To ensure you retrieve the correct signature, Intel recommends that you wrap the ExportAuditSignature method with the lock and unlock methods (see Lock and Unlock the Audit Log). • Support for SHA1 was implemented in Release 4.0 and deprecated in Release 11.0. • Support for SHA2-256 and SHA2-384 was implemented in Release 6.0.. |
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
$auditLogRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_AuditLog WHERE Name='Intel(r) AMT:Audit Log'")
$inputObject =$auditLogRef.CreateMethodInput("ExportAuditLogSignature")
$inputObject.SetProperty("SigningMechanism","0")
$outputObject =$auditLogRef.InvokeMethod($inputObject)
$returnValue =$outputObject.GetProperty("ReturnValue")
if($returnValue -like "0")
{
$totalRecordCount =$outputObject.GetProperty("TotalRecordCount")
$signatureMechanism =$outputObject.GetProperty("SignatureMechanism")
$signature =$outputObject.GetProperty("Signature")
$uuid =$outputObject.GetProperty("UUID")
$fqdn =$outputObject.GetProperty("FQDN")
$lengthOfCertificates =$outputObject.GetProperty("LengthOfCertificates")
}
Instance Diagram
Classes Used in This Flow
SDK Sample
If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.
See Also: |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |