Hi Natxo,
You can also use "crypto/x509" x509.ParseCertificate() after pem.Decode() 
from "encoding/pem", if you
are only loading certificates and want a more rigorous way to determine the 
certificate's contents.
Example 
here: 
https://github.com/glycerine/rpc25519/blob/master/selfcert/step5_viewcert.go#L24
- Jason

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/0773014c-92e0-4725-86f9-619564026525n%40googlegroups.com.

Reply via email to