Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPubkeyFromCert ¶
GetPubkeyFromCert gets the pubkey from certificate
Types ¶
type Cert ¶
type Sm2Cert ¶
type Sm2Cert struct { *x509.Certificate *sm2.PrivateKey }
Sm2Cert defines sm2 signed X509 certificate
type X509Cert ¶
type X509Cert struct { *x509.Certificate PrivateKey interface{} }
X509Cert defines custom X509 certificate
Click to show internal directories.
Click to hide internal directories.