aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-07-12add support for signing for rsaGibheer1-2/+12
This adds finally support to sign and verify messages using an RSA private and public key. The method used is PKCS1v15, as it was the easiest to implement first. There is also PSS available in go, so that could be implemented later.
2015-07-11implement rsa public keyGibheer1-1/+7
This finally adds support for the rsa public key.
2015-04-01add crl urls to the certificatesGibheer1-0/+2
2015-03-30add extended key usage for certificatesGibheer1-2/+4
2015-03-25reformat everything with gofmtGibheer7-313/+385
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-25provide more documentation for certificate typesGibheer1-0/+9
2015-03-25fix variable names for golintGibheer1-17/+17
2015-03-25refine documentation after report of golintGibheer1-3/+5
2015-03-25fix go evt problemGibheer4-11/+15
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-24add more flags to certificate optionsGibheer1-0/+13
This adds the IsCA and ca length options to define, if the resulting certificate should be a CA.
2015-03-16add more documentation to ecdsaGibheer1-10/+17
2015-03-16add documentationGibheer1-8/+24
2015-03-16Merge branch 'certificate'Gibheer2-0/+172
This adds the API to generate certificates in the same way certificate sign requests were built. It works but still lacks some features and fields.
2015-03-16adjust comments on ecdsa a bitGibheer1-2/+2
2015-03-16implement marshal pem interface for certificatesGibheer1-1/+10
2015-03-16finalize creation of a certificateGibheer2-7/+85
With the options it is now finished. The only stuff left to do is to add all options provided by the go API. But this should be sufficient.
2015-03-15add certificate functionalityGibheer1-3/+33
2015-03-15refine certificate sign request workingsGibheer1-31/+41
2015-03-15first draft of a certificate systemGibheer1-0/+45
2015-03-15make raw private key publicGibheer3-3/+3
2015-02-19add documentation to rsa functionsGibheer1-0/+3
2015-02-19add public key loaderGibheer3-9/+34
This adds a way to restore a public key from any data source.
2015-02-18add sign and verification to ecdsaGibheer4-11/+32
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 test for public keyGibheer1-2/+6
2015-02-18add marshal supportGibheer1-3/+6
2015-02-18add proper comment for functionGibheer1-0/+1
2015-02-18add first batch of testsGibheer1-0/+66
2015-02-18add pem label for rsaGibheer1-0/+4
2015-02-17add pem support to public keyGibheer4-4/+19
This adds pem support to public keys which can now be handled the same way as private keys.
2015-02-15add authors fileGibheer1-0/+3
2015-02-15add licenseGibheer1-0/+13
2015-02-15initial commit for pkiGibheer5-0/+176
pki is a small library to make building some of the crypto stuff easier in go.