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
37 lines (24 loc) · 1.42 KB
/
template.pxd
File metadata and controls
37 lines (24 loc) · 1.42 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
from lxml.includes.tree cimport const_xmlChar, xmlNode, xmlDoc
from .constants cimport xmlSecTransformId
cdef extern from "xmlsec.h": # xmlsec/templates.h
xmlNode* xmlSecTmplSignatureCreateNsPref(
xmlDoc* document, xmlSecTransformId c14n, xmlSecTransformId sign,
const_xmlChar* id, const_xmlChar* ns) 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
xmlNode* xmlSecTmplKeyInfoAddEncryptedKey(
xmlNode* keyInfoNode, xmlSecTransformId encMethodId,
const_xmlChar *id, const_xmlChar *type, const_xmlChar *recipient) nogil
xmlNode* xmlSecTmplEncDataCreate(
xmlDoc* doc, xmlSecTransformId encMethodId, const_xmlChar *id,
const_xmlChar *type, const_xmlChar *mimeType, const_xmlChar *encoding) nogil
xmlNode* xmlSecTmplEncDataEnsureKeyInfo(xmlNode* encNode, const_xmlChar *id) nogil
xmlNode* xmlSecTmplEncDataEnsureCipherValue(xmlNode* encNode) nogil