|
10 | 10 | NAMESPACE = 'http://www.w3.org/2000/09/xmldsig#'
|
11 | 11 |
|
12 | 12 | ENCODING_BASE64 = 'http://www.w3.org/2000/09/xmldsig#base64'
|
| 13 | + |
| 14 | +# digest and signature algorithms (not implemented = commented out) |
13 | 15 | DIGEST_SHA1 = 'http://www.w3.org/2000/09/xmldsig#sha1'
|
14 |
| -ALG_EXC_C14N = 'http://www.w3.org/2001/10/xml-exc-c14n#' |
15 |
| -SIG_DSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1' |
| 16 | +DIGEST_SHA224 = 'http://www.w3.org/2001/04/xmldsig-more#sha224' |
| 17 | +DIGEST_SHA256 = 'http://www.w3.org/2001/04/xmlenc#sha256' |
| 18 | +DIGEST_SHA384 = 'http://www.w3.org/2001/04/xmldsig-more#sha384' |
| 19 | +DIGEST_SHA512 = 'http://www.w3.org/2001/04/xmlenc#sha512' |
| 20 | +DIGEST_RIPEMD160 = 'http://www.w3.org/2001/04/xmlenc#ripemd160' |
| 21 | +digest_default = DIGEST_SHA1 |
| 22 | + |
| 23 | +#SIG_DSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1' |
| 24 | +#SIG_DSA_SHA256 = 'http://www.w3.org/2009/xmldsig11#dsa-sha256' |
| 25 | +#SIG_ECDSA_SHA1 = 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha1' |
| 26 | +#SIG_ECDSA_SHA224 = 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha224' |
| 27 | +#SIG_ECDSA_SHA256 = 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha256' |
| 28 | +#SIG_ECDSA_SHA384 = 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha384' |
| 29 | +#SIG_ECDSA_SHA512 = 'http://www.w3.org/2001/04/xmldsig-more#ECDSA_sha512' |
| 30 | +SIG_RSA_MD5 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-md5' # test framework |
16 | 31 | SIG_RSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#rsa-sha1'
|
| 32 | +SIG_RSA_SHA224 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha224' |
| 33 | +SIG_RSA_SHA256 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256' |
| 34 | +SIG_RSA_SHA384 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384' |
| 35 | +SIG_RSA_SHA512 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512' |
| 36 | +SIG_RSA_RIPMED160 = 'http://www.w3.org/2001/04/xmldsig-more#rsa-ripemd160' |
| 37 | +sig_default = SIG_RSA_SHA1 |
| 38 | + |
17 | 39 | MAC_SHA1 = 'http://www.w3.org/2000/09/xmldsig#hmac-sha1'
|
18 | 40 |
|
19 | 41 | C14N = 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'
|
20 | 42 | C14N_WITH_C = 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments'
|
| 43 | +ALG_EXC_C14N = 'http://www.w3.org/2001/10/xml-exc-c14n#' |
21 | 44 |
|
22 | 45 | TRANSFORM_XSLT = 'http://www.w3.org/TR/1999/REC-xslt-19991116'
|
23 | 46 | TRANSFORM_XPATH = 'http://www.w3.org/TR/1999/REC-xpath-19991116'
|
24 | 47 | TRANSFORM_ENVELOPED = 'http://www.w3.org/2000/09/xmldsig#enveloped-signature'
|
25 | 48 |
|
26 | 49 |
|
| 50 | + |
| 51 | + |
27 | 52 | class CryptoBinary_(SamlBase):
|
28 | 53 | """The http://www.w3.org/2000/09/xmldsig#:CryptoBinary element """
|
29 | 54 |
|
|
0 commit comments