diff options
Diffstat (limited to 'instance.go')
-rw-r--r-- | instance.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/instance.go b/instance.go index 46fcaa9..12415f0 100644 --- a/instance.go +++ b/instance.go @@ -30,6 +30,7 @@ type LogParameters struct { AnchorPool *x509.CertPool // for chain verification AnchorList []*x509.Certificate // for access to the raw certificates Signer crypto.Signer + HashType crypto.Hash // hash function used by Trillian } // NewInstance returns an initialized Instance @@ -70,6 +71,7 @@ func NewLogParameters(treeId int64, prefix string, anchorPath, keyPath string) ( AnchorPool: anchorPool, AnchorList: anchorList, Signer: key, + HashType: crypto.SHA256, }, nil } |