]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: add code for dealing with PKIX public keys.
authorAdam Langley <agl@golang.org>
Fri, 14 Oct 2011 19:11:21 +0000 (15:11 -0400)
committerAdam Langley <agl@golang.org>
Fri, 14 Oct 2011 19:11:21 +0000 (15:11 -0400)
commitb3812bf6dbd423f1b804ebc8ff51502191901bba
treec10a4f7c48fbf22076d3f7d1d72cf5db46d4fefd
parente74dcbeb0f3615fa7bf5732495764c324c5e42e4
crypto/x509: add code for dealing with PKIX public keys.

We also have functions for dealing with PKCS#1 private keys. This
change adds functions for PKIX /public/ keys. Most of the time one
won't be parsing them because they usually come in certificates, but
marshaling them happens and I've previously copied the code from
x509.go for this.

R=bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5286042
src/pkg/crypto/x509/Makefile
src/pkg/crypto/x509/pkcs1.go [new file with mode: 0644]
src/pkg/crypto/x509/x509.go
src/pkg/crypto/x509/x509_test.go