Nils Larsch wrote: > > lonestar (sent by Nabble.com) wrote: > > well, i2d stands for "internal to DER" however the EC public key is not > really DER encoded
but the EC public key is passed as an internal struct, which should be defined in ASN.1 notation. Nils Larsch wrote: > > - it's simply the public key encoded as an octet string > (or a sequence of bytes) => it's called o2i_ECPublicKey ... > > And as far as I know the internal structs are defined in ASN.1 notation. Together with the Distinguished Encoding Rules (DER) it should be possible to generate an interoperable encoding that can be interpreted on every machine. So if the public key struct (or the internals of it) is defined in ASN.1 notation, then it should also be possible to define a function like i2d_ECPublicKey. Or do I misunderstand something? -- View this message in context: http://www.nabble.com/ECDSA---serializing-EC-public-key-into-a-DER-encoded-stream-tf1879892.html#a5163371 Sent from the OpenSSL - Dev forum at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
