Hot answers tagged

2

Since your thumbprint is being returned as a System.String you actually cannot easily convert it to a System.Byte. I have not gotten a full example that you are doing to work completely but will show you how I convert the thumbprint, and it seems to work: $encode = [System.Text.Encoding]::UTF8 $r1 = $encode.GetBytes($thumbprint) $sha = New-Object ...



Only top voted, non community-wiki answers of a minimum length are eligible