[ietf-dkim] A question about public key formats
John Levine
johnl at iecc.com
Mon May 25 05:05:23 PDT 2009
>get_public_key_string: Return the Base64/DER-encoded PKCS1
>representation of the public key. (the DER form)
>get_public_key_x509_string: Return the Base64/DER-encoded
>representation of the "subject public key", suitable for use in X509
>certificates. (the PEM form)
>It's not entirely clear to me from RFC4871 which of those is the
>correct one to use
Looking at some of the DKIM libraries, it appears that the openssl
code will accept either one, so this is underspecified. I agree that
PEM is what people typically use.
R's,
John
More information about the ietf-dkim
mailing list