forked from xmlsec/python-xmlsec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.pxd
More file actions
25 lines (16 loc) · 895 Bytes
/
template.pxd
File metadata and controls
25 lines (16 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from lxml.includes.tree cimport const_xmlChar, xmlNode, xmlDoc
from xmlsec.constants cimport xmlSecTransformId
cdef extern from "xmlsec.h": # xmlsec/templates.h
xmlNode* xmlSecTmplSignatureCreate(
xmlDoc* document, xmlSecTransformId c14n, xmlSecTransformId sign,
const_xmlChar* id) nogil
xmlNode* xmlSecTmplSignatureAddReference(
xmlNode* node, xmlSecTransformId digest,
const_xmlChar* id, const_xmlChar* uri, const_xmlChar* type) nogil
xmlNode* xmlSecTmplReferenceAddTransform(
xmlNode* node, xmlSecTransformId transform) nogil
xmlNode* xmlSecTmplSignatureEnsureKeyInfo(
xmlNode* node, const_xmlChar* id) nogil
xmlNode* xmlSecTmplKeyInfoAddKeyName(xmlNode* node, const_xmlChar* name) nogil
xmlNode* xmlSecTmplKeyInfoAddKeyValue(xmlNode* node) nogil
xmlNode* xmlSecTmplKeyInfoAddX509Data(xmlNode* node) nogil