[botan-devel] EC_Domain_Params serialisation

Eugene N neverov.biks.07.1 at gmail.com
Fri Apr 8 07:07:44 EDT 2011


Hello

Thanks for a quick responce.

So, i can (and should) use the two functions i included in my first letter?

Is it ok to interchage SecureVector and MemoryRegion (the func params are
different).?

Eugene

2011/4/8 Jack Lloyd <lloyd at randombit.net>

>
> Functionally, yes. DER is a strict subset of BER that is easier to parse.
>
> On Fri, Apr 08, 2011 at 01:43:46PM +0300, Eugene N wrote:
> > Hello
> >
> > I have encountered a problem connected with EC_Domain_Params
> serialization.
> >
> > Apparently we can form params from ber-encoded buffer
> >
> >       EC_Domain_Params(const MemoryRegion<byte>& ber_encoding);
> >
> > But the opposite process(serialisation) is not clear to me...
> >
> >       SecureVector<byte> DER_encode(EC_Domain_Params_Encoding form)
> const;
> >
> > Is DER same thing as BER?
> >
> > I would like to know how to go about it!
> >
> > Thanks
> >
> > Eugene
>
> > _______________________________________________
> > botan-devel mailing list
> > botan-devel at randombit.net
> > http://lists.randombit.net/mailman/listinfo/botan-devel
>
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20110408/229c1c80/attachment.html>


More information about the botan-devel mailing list