Biswatosh wrote:
There should be some utilities for this under nss/cmd/lib, but not the general functions you are describing.Hi,Does there exist any utility to print a SECItem in any radix format and the inverse utilty? That is, given any array of hexas.,octets or of any radix, I shouldbe able to convert it to a SECItem?
Put your secitem util in nss/cmd/lib. NSS has no printing functions, and anything as low as softoken would not be available to applications anyway. You should put your mpi functions in the mpi directory in freebl. Those are only useful for mpi debugging (applications never have direct access to MPI).I searched but could not find and so wrote down this utilty (to do an enhancement on certutil). Now, I am in a fix, as to where should I place the functions? These functions directly deal with mpi routines and SECItems and so I need suggestions as where should I place them so that the basic NSS function structure model is not violated. I see that if I place them in any file, for ex. in rsa.c(I know I should not place it here), it gets compiled and then suppose I make a wrapper function on it in softtoken/pkcs11c.c, then also it gets compiled but when I call this wrapper function from certutul.c, it gives "symbol not defined" error. I can solve it prob. using some changes in this or that .def file/s but as said before, it may be against the basic model. That is why, I need your opinion/son this.
bob
Thanks Biswatosh_______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto