aboutsummaryrefslogtreecommitdiff
path: root/rsa.go
AgeCommit message (Collapse)AuthorFilesLines
2015-03-25reformat everything with gofmtGibheer1-32/+38
Yes, I know that this will more or less destroy the history, but it had to be done. I also adjusted my editor to use gofmt rules by default now.
2015-03-25fix go evt problemGibheer1-4/+5
Go vet reported a problem with the interface of WriteTo returning an int. Line 13: method WriteTo(stream io.Writer) (int, error) should have signature WriteTo(io.Writer) (int64, error) To fix that problem, the interface was changed to return io.WriterTo, which uses int64 for return values.
2015-03-15make raw private key publicGibheer1-1/+1
2015-02-19add documentation to rsa functionsGibheer1-0/+3
2015-02-19add public key loaderGibheer1-0/+4
This adds a way to restore a public key from any data source.
2015-02-18add sign and verification to ecdsaGibheer1-2/+2
This commit adds support to sign and verify messages using ecdsa.
2015-02-18add MarshalPem() to rsa public keyGibheer1-1/+4
2015-02-18add marshal supportGibheer1-3/+6
2015-02-18add pem label for rsaGibheer1-0/+4
2015-02-17add pem support to public keyGibheer1-1/+5
This adds pem support to public keys which can now be handled the same way as private keys.
2015-02-15initial commit for pkiGibheer1-0/+54
pki is a small library to make building some of the crypto stuff easier in go.