space monkey internal commit export

[katamari commit: 6ac6e9c5673cfc54ebe8f5981d37fa0d71ca7a30]
This commit is contained in:
JT Olds
2014-03-24 14:55:22 -06:00
parent 3124c9db31
commit b42853e994
5 changed files with 99 additions and 18 deletions

View File

@@ -138,11 +138,11 @@ type PrivateKey interface {
MarshalPKCS1PrivateKeyDER() (der_block []byte, err error)
}
func LoadPrivateKey(pem_block []byte) (PrivateKey, error)
func LoadPrivateKeyFromPEM(pem_block []byte) (PrivateKey, error)
type Certificate struct{}
func LoadCertificate(pem_block []byte) (*Certificate, error)
func LoadCertificateFromPEM(pem_block []byte) (*Certificate, error)
func (c *Certificate) MarshalPEM() (pem_block []byte, err error)