Hi,

I've code for dumping the very raw rsa _public_ key in base-64 per:
  https://www.rfc-editor.org/rfc/rfc4025.html#section-2.6
  https://www.rfc-editor.org/rfc/rfc3110#section-2
but would like to also dump it in a format that is more friendly to
crypto tools, notably something from the PEM family such as:
- RSA PUBLIC KEY being ASN.1: SEQUENCE ( M E )
- PUBLIC KEY above + ASN.1 to indicate it is rsa
are there any routines for helping with this?

I see cmds/btoa has code for dumping binary as PEM but that isn't public.

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-tech-crypto/CAJeAr6sei-%3DgM-n044DxjORzwdhj0URw1k_jnxwYCNx1ZRQNnw%40mail.gmail.com.

Reply via email to