0
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
Gibheer b6c44317f5 add proper pem interface
This should finally resolve the completely broken and wrong API to get a
pem representation of a resource.
2017-05-12 15:27:44 +02:00
Gibheer fd88bca287 fix result type
The returned type must be io.WriterTo to make it fit the Pemmer
interface.
2016-09-29 21:52:25 +02:00
Gibheer 2ad03c8f80 move certificate and certificate request to pemmer
This makes them use the Pemmer interface and therefore doesn't require
any weird control code to handle these two special cases.
2016-09-18 17:39:29 +02:00
Gibheer 1fa31fbdee add crl urls to the certificates 2015-04-01 21:17:42 +02:00
Gibheer 04899fd373 add extended key usage for certificates 2015-03-30 20:44:31 +02:00
Gibheer 301d931ad7 reformat everything with gofmt
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-25 20:36:21 +01:00
Gibheer b3f621a312 provide more documentation for certificate types 2015-03-25 20:29:10 +01:00
Gibheer a11b67a64e add more flags to certificate options
This adds the IsCA and ca length options to define, if the resulting
certificate should be a CA.
2015-03-24 21:19:44 +01:00
Gibheer 2b74dbb334 implement marshal pem interface for certificates 2015-03-16 17:10:46 +01:00
Gibheer 362fe8ff38 finalize creation of a certificate
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-16 16:48:42 +01:00
Gibheer d4d2d4c09b add certificate functionality 2015-03-15 21:38:04 +01:00
Gibheer e0ec6b1bef refine certificate sign request workings 2015-03-15 20:45:35 +01:00
Gibheer 09a8380b7a first draft of a certificate system 2015-03-15 20:06:47 +01:00