dongshi1868 2018-04-17 11:09
浏览 654
已采纳

golang x509.MarshalPKIXPublicKey与x509.MarshalPKCS1PublicKey()

Can anyone help me understand the difference between MarshalPKIXPublicKey() and MarshalPKCS1PublicKey()?

according to the comment: // MarshalPKIXPublicKey serialises a public key to DER-encoded PKIX format.

// MarshalPKCS1PublicKey converts an RSA public key to PKCS#1, ASN.1 DER form.

what is a DER-encoded PKIX format ?

Thanks

  • 写回答

1条回答 默认 最新

报告相同问题?