forked from xmlsec/python-xmlsec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.pxd
More file actions
119 lines (106 loc) · 4.53 KB
/
constants.pxd
File metadata and controls
119 lines (106 loc) · 4.53 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
from lxml.includes.tree cimport const_xmlChar
cdef extern from "xmlsec.h": # xmlsec/strings.h
# Global namespaces.
const_xmlChar* xmlSecNs
const_xmlChar* xmlSecDSigNs
const_xmlChar* xmlSecEncNs
const_xmlChar* xmlSecXkmsNs
const_xmlChar* xmlSecXPathNs
const_xmlChar* xmlSecXPath2Ns
const_xmlChar* xmlSecXPointerNs
const_xmlChar* xmlSecSoap11Ns
const_xmlChar* xmlSecSoap12Ns
# Digital signature nodes.
const_xmlChar* xmlSecNodeSignature
const_xmlChar* xmlSecNodeSignedInfo
const_xmlChar* xmlSecNodeCanonicalizationMethod
const_xmlChar* xmlSecNodeSignatureMethod
const_xmlChar* xmlSecNodeSignatureValue
const_xmlChar* xmlSecNodeDigestMethod
const_xmlChar* xmlSecNodeDigestValue
const_xmlChar* xmlSecNodeObject
const_xmlChar* xmlSecNodeManifest
const_xmlChar* xmlSecNodeSignatureProperties
# Encypted nodes
const_xmlChar* xmlSecNodeEncryptedData
const_xmlChar* xmlSecNodeEncryptedKey
const_xmlChar* xmlSecNodeEncryptionMethod
const_xmlChar* xmlSecNodeEncryptionProperties
const_xmlChar* xmlSecNodeEncryptionProperty
const_xmlChar* xmlSecNodeCipherData
const_xmlChar* xmlSecNodeCipherValue
const_xmlChar* xmlSecNodeCipherReference
const_xmlChar* xmlSecNodeReferenceList
const_xmlChar* xmlSecNodeDataReference
const_xmlChar* xmlSecNodeKeyReference
const_xmlChar* xmlSecNodeKeyInfo
# encryption types
const_xmlChar* xmlSecTypeEncContent
const_xmlChar* xmlSecTypeEncElement
ctypedef unsigned int xmlSecTransformUsage
cdef enum:
xmlSecTransformUsageUnknown=0x0000
xmlSecTransformUsageDSigTransform=0x0001
xmlSecTransformUsageC14NMethod=0x0002
xmlSecTransformUsageDigestMethod=0x0004
xmlSecTransformUsageSignatureMethod=0x0008
xmlSecTransformUsageEncryptionMethod=0x0010
xmlSecTransformUsageAny=0xFFFF
# Transform ids
cdef struct _xmlSecTransformKlass:
const_xmlChar* name
const_xmlChar* href
xmlSecTransformUsage usage
ctypedef _xmlSecTransformKlass *xmlSecTransformId
xmlSecTransformId xmlSecTransformInclC14NId
xmlSecTransformId xmlSecTransformInclC14NWithCommentsId
xmlSecTransformId xmlSecTransformInclC14N11Id
xmlSecTransformId xmlSecTransformInclC14N11WithCommentsId
xmlSecTransformId xmlSecTransformExclC14NId
xmlSecTransformId xmlSecTransformExclC14NWithCommentsId
xmlSecTransformId xmlSecTransformEnvelopedId
xmlSecTransformId xmlSecTransformXPathId
xmlSecTransformId xmlSecTransformXPath2Id
xmlSecTransformId xmlSecTransformXPointerId
xmlSecTransformId xmlSecTransformXsltId
xmlSecTransformId xmlSecTransformRemoveXmlTagsC14NId
xmlSecTransformId xmlSecTransformVisa3DHackId
xmlSecTransformId xmlSecTransformAes128CbcId
xmlSecTransformId xmlSecTransformAes192CbcId
xmlSecTransformId xmlSecTransformAes256CbcId
xmlSecTransformId xmlSecTransformKWAes128Id
xmlSecTransformId xmlSecTransformKWAes192Id
xmlSecTransformId xmlSecTransformKWAes256Id
xmlSecTransformId xmlSecTransformDes3CbcId
xmlSecTransformId xmlSecTransformKWDes3Id
xmlSecTransformId xmlSecTransformDsaSha1Id
xmlSecTransformId xmlSecTransformEcdsaSha1Id
xmlSecTransformId xmlSecTransformEcdsaSha224Id
xmlSecTransformId xmlSecTransformEcdsaSha256Id
xmlSecTransformId xmlSecTransformEcdsaSha384Id
xmlSecTransformId xmlSecTransformEcdsaSha512Id
xmlSecTransformId xmlSecTransformHmacMd5Id
xmlSecTransformId xmlSecTransformHmacRipemd160Id
xmlSecTransformId xmlSecTransformHmacSha1Id
xmlSecTransformId xmlSecTransformHmacSha224Id
xmlSecTransformId xmlSecTransformHmacSha256Id
xmlSecTransformId xmlSecTransformHmacSha384Id
xmlSecTransformId xmlSecTransformHmacSha512Id
xmlSecTransformId xmlSecTransformMd5Id
xmlSecTransformId xmlSecTransformRipemd160Id
xmlSecTransformId xmlSecTransformRsaMd5Id
xmlSecTransformId xmlSecTransformRsaRipemd160Id
xmlSecTransformId xmlSecTransformRsaSha1Id
xmlSecTransformId xmlSecTransformRsaSha224Id
xmlSecTransformId xmlSecTransformRsaSha256Id
xmlSecTransformId xmlSecTransformRsaSha384Id
xmlSecTransformId xmlSecTransformRsaSha512Id
xmlSecTransformId xmlSecTransformRsaPkcs1Id
xmlSecTransformId xmlSecTransformRsaOaepId
xmlSecTransformId xmlSecTransformSha1Id
xmlSecTransformId xmlSecTransformSha224Id
xmlSecTransformId xmlSecTransformSha256Id
xmlSecTransformId xmlSecTransformSha384Id
xmlSecTransformId xmlSecTransformSha512Id
cdef class _Transform(object):
cdef xmlSecTransformId target