|
sc14n
3.1.0
|
Perform C14N transformation of XML document. More...
Public Types | |
| enum class | Tran { Default = 0x00 , Entire = 0x00 , OmitByTag = 0x01 , SubsetByTag = 0x02 , OmitById = 0x11 , SubsetById = 0x12 } |
| Transformation option to specify the document part to be canonicalized. More... | |
| enum class | TranMethod { Inclusive = 0x0 , Exclusive = 0x100 , InclusiveWithComments = 0x800 , ExclusiveWithComments = 0x900 } |
| Transformation method. More... | |
| enum class | DigAlg { Default = 0x0 , Sha1 = 0x0 , Sha256 = 0x2000 , Sha384 = 0x3000 , Sha512 = 0x5000 } |
| Message digest algorithm. More... | |
| enum | AdvOpts : unsigned int { None = 0x0 , Flatten = 0x10000 } |
| Advanced option flags. More... | |
Static Public Member Functions | |
| static int | File2File (const std::string &outFile, const std::string &xmlFile, const std::string &nameOrId="", const Tran tranOpt=Tran::Entire, const TranMethod tranMethod=TranMethod::Inclusive, const std::string &exclParams="", const AdvOpts advOpts=AdvOpts::None) |
| Perform C14N transformation of XML document (file-to-file). More... | |
| static std::string | File2String (const std::string &xmlFile, const std::string &nameOrId="", const Tran tranOpt=Tran::Entire, const TranMethod tranMethod=TranMethod::Inclusive, const std::string &exclParams="", const AdvOpts advOpts=AdvOpts::None) |
| Perform C14N transformation of XML document (file-to-string). More... | |
| static std::string | File2Digest (const std::string &xmlFile, const std::string &nameOrId="", const Tran tranOpt=Tran::Entire, const DigAlg digAlg=DigAlg::Sha1, const TranMethod tranMethod=TranMethod::Inclusive, const std::string &exclParams="", const AdvOpts advOpts=AdvOpts::None) |
| Compute digest value of C14N transformation of XML document (file-to-digest). More... | |
| static std::string | String2String (const std::string &xmlData, const std::string &nameOrId="", const Tran tranOpt=Tran::Entire, const TranMethod tranMethod=TranMethod::Inclusive, const std::string &exclParams="", const AdvOpts advOpts=AdvOpts::None) |
| Perform C14N transformation of XML document (string-to-string). More... | |
| static std::string | String2Digest (const std::string &xmlData, const std::string &nameOrId="", const Tran tranOpt=Tran::Entire, const DigAlg digAlg=DigAlg::Sha1, const TranMethod tranMethod=TranMethod::Inclusive, const std::string &exclParams="", const AdvOpts advOpts=AdvOpts::None) |
| Compute digest value of C14N transformation of XML document (string-to-digest). More... | |
Perform C14N transformation of XML document.
| enum sc14n::C14n::AdvOpts : unsigned int |
|
strong |
|
strong |
Transformation option to specify the document part to be canonicalized.
|
strong |
|
static |
Compute digest value of C14N transformation of XML document (file-to-digest).
| xmlFile | Name of input XML file. |
| nameOrId | Tag name or Id to include or omit. |
| tranOpt | Transformation option [default=Tran::Entire]. |
| digAlg | Digest algorithm [default=DigAlg::Sha1]. |
| tranMethod | Transformation method [default=TranMethod::Inclusive]. |
| exclParams | InclusiveNamespaces PrefixList parameter for exclusive c14n [default = ""]. |
| advOpts | Advanced option flags. |
|
static |
Perform C14N transformation of XML document (file-to-file).
| outFile | Name of output file to create. |
| xmlFile | Name of input XML file. |
| nameOrId | Tag name or Id to include or omit. |
| tranOpt | Transformation option [default=Tran.Entire]. |
| tranMethod | Transformation method [default=TranMethod.Inclusive]. |
| exclParams | InclusiveNamespaces PrefixList parameter for exclusive c14n [default = ""]. |
| advOpts | Advanced option flags. |
|
static |
Perform C14N transformation of XML document (file-to-string).
| xmlFile | Name of input XML file. |
| nameOrId | Tag name or Id to include or omit. |
| tranOpt | Transformation option [default=Tran::Entire]. |
| tranMethod | Transformation method [default=TranMethod::Inclusive]. |
| exclParams | InclusiveNamespaces PrefixList parameter for exclusive c14n [default = ""]. |
| advOpts | Advanced option flags. |
|
static |
Compute digest value of C14N transformation of XML document (string-to-digest).
| xmlData | String containing XML data. |
| nameOrId | Tag name or Id to include or omit. |
| tranOpt | Transformation option [default=Tran::Entire]. |
| digAlg | Digest algorithm [default=DigAlg::Sha1]. |
| tranMethod | Transformation method [default=TranMethod::Inclusive]. |
| exclParams | InclusiveNamespaces PrefixList parameter for exclusive c14n [default = ""]. |
| advOpts | Advanced option flags. |
|
static |
Perform C14N transformation of XML document (string-to-string).
| xmlData | String containing XML data. |
| nameOrId | Tag name or Id to include or omit. |
| tranOpt | Transformation option [default=Tran::Entire]. |
| tranMethod | Transformation method [default=TranMethod::Inclusive]. |
| exclParams | InclusiveNamespaces PrefixList parameter for exclusive c14n [default = ""]. |
| advOpts | Advanced option flags. |