File: pkix_test.go

package info (click to toggle)
golang-github-foxboron-go-tpm-keyfiles 0.0~git20241207.04534a2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 216 kB
  • sloc: makefile: 9
file content (12 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
package pkix

import "testing"

var key = []byte(`-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0BHjtdoUY4xhfPTfpkyNrp34GLpF
bacHq+W6Jfx5HZ5pVqpQWoTXf/qF+Y+kr4T3t3dlTYkNTx5DcbdZY3mKpw==
-----END PUBLIC KEY-----`)

func TestToTPMPublic(t *testing.T) {
	ToTPMPublic(key)
}