Documentation ¶
Index ¶
- func MkECDSA(t *testing.T, a elliptic.Curve) ecdsa.PrivateKey
- func MkImportableKey(t *testing.T, tpm transport.TPMCloser, keytype tpm2.TPMAlgID, bits int, ...) (*key.SSHTPMKey, error)
- func MkKey(t *testing.T, tpm transport.TPMCloser, keytype tpm2.TPMAlgID, bits int, ...) (*key.SSHTPMKey, error)
- func MkRSA(t *testing.T, bits int) rsa.PrivateKey
- func MustRand(size int) []byte
- type KeyFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MkImportableKey ¶
func MkImportableKey(t *testing.T, tpm transport.TPMCloser, keytype tpm2.TPMAlgID, bits int, pin []byte, comment string) (*key.SSHTPMKey, error)
Helper to make an importable key
Types ¶
Click to show internal directories.
Click to hide internal directories.