Hello everybody!
I’m developing powershell script to automate HLK/HCK signing process. Now I have to do the last thing - to save and sign .hckx/.hlkx file. And upload it to the portal.
I have token with my certificate. (SafeNet one)
I’m doing this:
$ProjectSaveFile = [IO.Path]::ChangeExtension($Project.Name, “hlkx”)
$cert = Get-Item Cert:\CurrentUser\My\HF86GJ8HG58DJ7J4K99K9J4GF8DKKD9
$rawData = $cert.GetRawCertData()
$password = new-obect System.Security.SecureString
$password = ‘MyPasswordHere’
$certificate = new-object X509Certificate($rawData, $password)
$PackageWriter.Save("C:\AutoHLK\submissions" + $projectSaveFile, $certificate)
So in the end I really got my file, but when I upload it to the portal and have everything signed I got only two buttons Download initial package and Download certification report.
There’s no button “Download signed files”