Descriptiongo.crypto/ocsp: allow cert-less responses and support making requests.
Some OCSP responses (notably COMODO's) don't use an intermediate
certificate to sign OCSP responses so this change allowed that.
Additionally, a CreateRequest function is added for creating OCSP
requests.
This change makes one API change: SerialNumber becomes a *big.Int to
match crypto/x509. The original code dates to before encoding/asn1
could cope with big.Ints and using a []byte was a workaround for that.
Patch Set 1 #Patch Set 2 : diff -r 1596363fc7e1 https://code.google.com/p/go.crypto/ #Patch Set 3 : diff -r 1596363fc7e1 https://code.google.com/p/go.crypto/ #Patch Set 4 : diff -r 1596363fc7e1 https://code.google.com/p/go.crypto/ #
Total comments: 1
MessagesTotal messages: 3
|