Hi, Apache XML Security C++ library (http://xml.apache.org/security/c/index.html) provides single C++ based cryptographic interface with multiple Crypto API (OpenSSL, NSS, MS-CAPI) based implementation. The Apache XML Security C++ library implements signing, encryption as well as decryption for XML documents. If you download the source, you might able to cross check the OpenSSLbased implementation with the NSS-based implementation for similar functionality. -- Subrata
Graham Leggett wrote: > Hi all, > > I am trying to port some symmetrical encryption / decryption code > using OpenSSL's EVP_CipherUpdate function to NSS, and I am running > into trouble trying to find the API documentation for NSS. > > So far, the closest to documentation that I have found is a list of > the API functions, but none of these functions are in themselves > documented. Most specifically, I need to know what #include files are > required for each function, as my attempts at guessing have been > unsuccessful. > > http://developer.mozilla.org/en/NSS_functions > > So far it looks like PK11_CipherOp is the corresponding function that > I need to use. Is this correct? > > How do I set up the symmetrical key, cipher and digest for > PK11_CipherOp to replace the OpenSSL EVP_BytesToKey function? > > I have managed to find references to some test cases that contain > code, but the test cases aren't documented either, and the variable > names yield few clues as to what each field is used for. > > Is there a set of documentation I am missing? > > Regards, > Graham > -- _______________________________________________ dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

