[Botan-devel] Misinformation in 1.2.5
Brought to you by:
randombit
|
From: Jack L. <ll...@ac...> - 2003-06-26 16:18:42
|
Hi, What can I say but oops. As you may or may not know, as of Botan 1.2.5, I declared several functions in the X509:: and PKCS8:: namespaces obsolete, and by extension obsoleted the PK key constructors taking a DataSource&. However, I have since discovered that it's quite easy to implement the same functionality in the constructors without using the deprecated X509:: and PKCS8:: functions. Thus, the following functions WILL be removed in 1.2.6: X509::decode PKCS8::decode PKCS8::decrypt_key rather than in 1.3.x as was originally suggested in the docs. The only reason they were staying until 1.3.x is because (I thought) they were needed to implement the constructors. The PK key constructors taking a DataSource& will NOT be removed, and are no longer deprecated. That said, I would strongly suggest you use the X509::load_key and PKCS8::load_key functions rather than the constructors. However, at this point I would think the DataSource& PK constructors will be around until at least the post 1.4.x series. Sorry, Jack |