docs/tuf/signed
Miloslav Trmač d5c080ae9c Add cryptoservice.GenerateTestingCertificate
Various tests have been calling trustmanager.NewCertificate and
open-coding most of cryptoservice.GenerateCertificate.  So, add
cryptoservice.GenerateTestingCertificate.  It differs only by using
crypto.Signer instead of data.PrivateKey because the tests
have a crypto.Signer more frequently available, and converting
from data.PrivateKey to crypto.Signer is easier than the other way.

This will make it easier to add policy parameters which the tests don't
care about to trustmanager.NewCertificate and
cryptoservice.GenerateCertificate in the future.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
2015-12-09 20:02:10 +01:00
..
ed25519.go Fix bug with ED25519 cryptoservice's ListKeys 2015-12-07 15:01:40 -08:00
ed25519_test.go Fix bug with ED25519 cryptoservice's ListKeys 2015-12-07 15:01:40 -08:00
errors.go fixing error message and moving signing operations up a level 2015-11-12 01:12:14 -08:00
interface.go updating commend and renaming test per comments 2015-11-30 16:53:08 -08:00
sign.go updating per Diogo's comments 2015-11-12 01:12:14 -08:00
sign_test.go Add cryptoservice.GenerateTestingCertificate 2015-12-09 20:02:10 +01:00
verifiers.go adding gotuf to notary 2015-10-27 16:36:06 -07:00
verifiers_test.go Don't use elliptic.P224() 2015-10-30 20:44:05 +01:00
verify.go fixing error message and moving signing operations up a level 2015-11-12 01:12:14 -08:00
verify_test.go fixing error message and moving signing operations up a level 2015-11-12 01:12:14 -08:00