Files
GmSSL/go/certificate.go
2017-05-08 15:12:44 +08:00

21 lines
358 B
Go

/* +build cgo */
package gmssl
/*
#include <openssl/x509.h>
#include <openssl/pem.h>
*/
import "C"
import (
"errors"
)
func GetAttributesFromCertificate(cert string) (map[string]string, error) {
return nil, errors.New("Not implemented")
}
func GetPublicKeyFromCertificate(cert string) (*PublicKey, error) {
return nil, errors.New("Not implemented")
}