bn.h
Name
bn.h -- The big numbers helper functions.
Details
xmlSecOpenSSLNodeGetBNValue ()
BIGNUM* xmlSecOpenSSLNodeGetBNValue (const xmlNodePtr cur,
BIGNUM **a); |
Converts the node content from CryptoBinary format
(http://www.w3.org/TR/xmldsig-core/sec-CryptoBinary)
to a BIGNUM. If no BIGNUM buffer provided then a new
BIGNUM is created (caller is responsible for freeing it).
xmlSecOpenSSLNodeSetBNValue ()
int xmlSecOpenSSLNodeSetBNValue (xmlNodePtr cur,
const BIGNUM *a,
int addLineBreaks); |
Converts BIGNUM to CryptoBinary string
(http://www.w3.org/TR/xmldsig-core/sec-CryptoBinary)
and sets it as the content of the given node. If the
addLineBreaks is set then line breaks are added
before and after the CryptoBinary string.