Re: Asymmetric key pairs storage format



I would be interested to store RSA and DSA key pairs (that is, both
private and public keys) to persistent storage in a platform-
independent way. I am not aware of any officially anointed formats out
there for this purpose, but maybe somebody in this forum knows better.

ASN.1 definitions exist to store encoded keys in a standard way.
The chosen encoding is usually BER.

Check out for instance RFC3279, RFC3447, etc.
.