Top |
SECItem * xmlSecNssNodeGetBigNumValue (PRArenaPool *arena
,const xmlNodePtr cur
,SECItem *a
);
Converts the node content from CryptoBinary format (http://www.w3.org/TR/xmldsig-core/sec-CryptoBinary) to a SECItem. If no SECItem object provided then a new one is created (caller is responsible for freeing it).
int xmlSecNssNodeSetBigNumValue (xmlNodePtr cur
,const SECItem *a
,int addLineBreaks
);
Converts SECItem 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.