xmlsec.constants
#
Various constants used by the library.
EncryptionType#
- xmlsec.constants.TypeEncContent = 'http://www.w3.org/2001/04/xmlenc#Content'#
- xmlsec.constants.TypeEncElement = 'http://www.w3.org/2001/04/xmlenc#Element'#
KeyData#
- class __KeyData#
Base type for all
KeyDataXXX
constants.
- xmlsec.constants.KeyDataName#
The
<dsig:KeyName>
processing class.
- xmlsec.constants.KeyDataValue#
The
<dsig:KeyValue>
processing class.
- xmlsec.constants.KeyDataRetrievalMethod#
The
<dsig:RetrievalMethod>
processing class.
- xmlsec.constants.KeyDataEncryptedKey#
The
<enc:EncryptedKey>
processing class.
- xmlsec.constants.KeyDataAes#
The AES key klass.
- xmlsec.constants.KeyDataDes#
The DES key klass.
- xmlsec.constants.KeyDataDsa#
The DSA key klass.
- xmlsec.constants.KeyDataEcdsa#
The ECDSA key klass.
- xmlsec.constants.KeyDataHmac#
The DHMAC key klass.
- xmlsec.constants.KeyDataRsa#
The RSA key klass.
- xmlsec.constants.KeyDataX509#
The X509 data klass.
- xmlsec.constants.KeyDataRawX509Cert#
The raw X509 certificate klass.
KeyDataFormat#
- xmlsec.constants.KeyDataFormatUnknown#
the key data format is unknown.
- xmlsec.constants.KeyDataFormatBinary#
the binary key data.
- xmlsec.constants.KeyDataFormatPem#
the PEM key data (cert or public/private key).
- xmlsec.constants.KeyDataFormatDer#
the DER key data (cert or public/private key).
- xmlsec.constants.KeyDataFormatPkcs8Pem#
the PKCS8 PEM private key.
- xmlsec.constants.KeyDataFormatPkcs8Der#
the PKCS8 DER private key.
- xmlsec.constants.KeyDataFormatPkcs12#
the PKCS12 format (bag of keys and certs)
- xmlsec.constants.KeyDataFormatCertPem#
the PEM cert.
- xmlsec.constants.KeyDataFormatCertDer#
the DER cert.
KeyDataType#
- xmlsec.constants.KeyDataTypeUnknown#
The key data type is unknown
- xmlsec.constants.KeyDataTypeNone#
The key data type is unknown
- xmlsec.constants.KeyDataTypePublic#
The key data contain a public key.
- xmlsec.constants.KeyDataTypePrivate#
The key data contain a private key.
- xmlsec.constants.KeyDataTypeSymmetric#
The key data contain a symmetric key.
- xmlsec.constants.KeyDataTypeSession#
The key data contain session key (one time key, not stored in keys manager).
- xmlsec.constants.KeyDataTypePermanent#
The key data contain permanent key (stored in keys manager).
- xmlsec.constants.KeyDataTypeTrusted#
The key data is trusted.
- xmlsec.constants.KeyDataTypeAny#
The key data is trusted.
Namespaces#
- xmlsec.constants.Ns = 'http://www.aleksey.com/xmlsec/2002'#
- xmlsec.constants.DSigNs = 'http://www.w3.org/2000/09/xmldsig#'#
- xmlsec.constants.EncNs = 'http://www.w3.org/2001/04/xmlenc#'#
- xmlsec.constants.XPathNs = 'http://www.w3.org/TR/1999/REC-xpath-19991116'#
- xmlsec.constants.XPath2Ns = 'http://www.w3.org/2002/06/xmldsig-filter2'#
- xmlsec.constants.XPointerNs = 'http://www.w3.org/2001/04/xmldsig-more/xptr'#
- xmlsec.constants.Soap11Ns = 'http://schemas.xmlsoap.org/soap/envelope/'#
- xmlsec.constants.Soap12Ns = 'http://www.w3.org/2002/06/soap-envelope'#
- xmlsec.constants.NsExcC14N = 'http://www.w3.org/2001/10/xml-exc-c14n#'#
- xmlsec.constants.NsExcC14NWithComments = 'http://www.w3.org/2001/10/xml-exc-c14n#WithComments'#
Nodes#
- xmlsec.constants.NodeSignature = 'Signature'#
- xmlsec.constants.NodeSignedInfo = 'SignedInfo'#
- xmlsec.constants.NodeCanonicalizationMethod = 'CanonicalizationMethod'#
- xmlsec.constants.NodeSignatureMethod = 'SignatureMethod'#
- xmlsec.constants.NodeSignatureValue = 'SignatureValue'#
- xmlsec.constants.NodeSignatureProperties = 'SignatureProperties'#
- xmlsec.constants.NodeDigestMethod = 'DigestMethod'#
- xmlsec.constants.NodeDigestValue = 'DigestValue'#
- xmlsec.constants.NodeObject = 'Object'#
- xmlsec.constants.NodeManifest = 'Manifest'#
- xmlsec.constants.NodeEncryptedData = 'EncryptedData'#
- xmlsec.constants.NodeEncryptedKey = 'EncryptedKey'#
- xmlsec.constants.NodeEncryptionMethod = 'EncryptionMethod'#
- xmlsec.constants.NodeEncryptionProperties = 'EncryptionProperties'#
- xmlsec.constants.NodeEncryptionProperty = 'EncryptionProperty'#
- xmlsec.constants.NodeCipherData = 'CipherData'#
- xmlsec.constants.NodeCipherValue = 'CipherValue'#
- xmlsec.constants.NodeCipherReference = 'CipherReference'#
- xmlsec.constants.NodeReference = 'Reference'#
- xmlsec.constants.NodeReferenceList = 'ReferenceList'#
- xmlsec.constants.NodeDataReference = 'DataReference'#
- xmlsec.constants.NodeKeyReference = 'KeyReference'#
- xmlsec.constants.NodeKeyInfo = 'KeyInfo'#
- xmlsec.constants.NodeKeyName = 'KeyName'#
- xmlsec.constants.NodeKeyValue = 'KeyValue'#
- xmlsec.constants.NodeX509Data = 'X509Data'#
Transforms#
- class __Transform#
Base type for all
TransformXXX
constants.
- xmlsec.constants.TransformUsageUnknown#
Transforms usage is unknown or undefined.
- xmlsec.constants.TransformUsageDSigTransform#
Transform could be used in
<dsig:Transform>
.
- xmlsec.constants.TransformUsageC14NMethod#
Transform could be used in
<dsig:CanonicalizationMethod>
.
- xmlsec.constants.TransformUsageDigestMethod#
Transform could be used in
<dsig:DigestMethod>
.
- xmlsec.constants.TransformUsageSignatureMethod#
Transform could be used in
<dsig:SignatureMethod>
.
- xmlsec.constants.TransformUsageEncryptionMethod#
Transform could be used in
<enc:EncryptionMethod>
.
- xmlsec.constants.TransformUsageAny#
Transform could be used for operation.
- xmlsec.constants.TransformInclC14N#
The regular (inclusive) C14N without comments transform klass.
- xmlsec.constants.TransformInclC14NWithComments#
The regular (inclusive) C14N with comments transform klass.
- xmlsec.constants.TransformInclC14N11#
The regular (inclusive) C14N 1.1 without comments transform klass.
- xmlsec.constants.TransformInclC14N11WithComments#
The regular (inclusive) C14N 1.1 with comments transform klass.
- xmlsec.constants.TransformExclC14N#
The exclusive C14N without comments transform klass.
- xmlsec.constants.TransformExclC14NWithComments#
The exclusive C14N with comments transform klass.
- xmlsec.constants.TransformEnveloped#
The “enveloped” transform klass.
- xmlsec.constants.TransformXPath#
The XPath transform klass.
- xmlsec.constants.TransformXPath2#
The XPath2 transform klass.
- xmlsec.constants.TransformXPointer#
The XPointer transform klass.
- xmlsec.constants.TransformXslt#
The XSLT transform klass.
- xmlsec.constants.TransformRemoveXmlTagsC14N#
The “remove all xml tags” transform klass (used before base64 transforms).
- xmlsec.constants.TransformVisa3DHack#
Selects node subtree by given node id string. The only reason why we need this is Visa3D protocol. It doesn’t follow XML/XPointer/XMLDSig specs and allows invalid XPointer expressions in the URI attribute. Since we couldn’t evaluate such expressions thru XPath/XPointer engine, we need to have this hack here.
- xmlsec.constants.TransformAes128Cbc#
The AES128 CBC cipher transform klass.
- xmlsec.constants.TransformAes192Cbc#
The AES192 CBC cipher transform klass.
- xmlsec.constants.TransformAes256Cbc#
The AES256 CBC cipher transform klass.
- xmlsec.constants.TransformKWAes128#
The AES 128 key wrap transform klass.
- xmlsec.constants.TransformKWAes192#
The AES 192 key wrap transform klass.
- xmlsec.constants.TransformKWAes256#
The AES 256 key wrap transform klass.
- xmlsec.constants.TransformDes3Cbc#
The DES3 CBC cipher transform klass.
- xmlsec.constants.TransformKWDes3#
The DES3 key wrap transform klass.
- xmlsec.constants.TransformDsaSha1#
The DSA-SHA1 signature transform klass.
- xmlsec.constants.TransformEcdsaSha1#
The ECDSA-SHA1 signature transform klass.
- xmlsec.constants.TransformEcdsaSha224#
The ECDSA-SHA224 signature transform klass.
- xmlsec.constants.TransformEcdsaSha256#
The ECDSA-SHA256 signature transform klass.
- xmlsec.constants.TransformEcdsaSha384#
The ECDS-SHA384 signature transform klass.
- xmlsec.constants.TransformEcdsaSha512#
The ECDSA-SHA512 signature transform klass.
- xmlsec.constants.TransformHmacMd5#
The HMAC with MD5 signature transform klass.
- xmlsec.constants.TransformHmacRipemd160#
The HMAC with RipeMD160 signature transform klass.
- xmlsec.constants.TransformHmacSha1#
The HMAC with SHA1 signature transform klass.
- xmlsec.constants.TransformHmacSha224#
The HMAC with SHA224 signature transform klass.
- xmlsec.constants.TransformHmacSha256#
The HMAC with SHA256 signature transform klass.
- xmlsec.constants.TransformHmacSha384#
The HMAC with SHA384 signature transform klass.
- xmlsec.constants.TransformHmacSha512#
The HMAC with SHA512 signature transform klass.
- xmlsec.constants.TransformRsaMd5#
The RSA-MD5 signature transform klass.
- xmlsec.constants.TransformRsaRipemd160#
The RSA-RIPEMD160 signature transform klass.
- xmlsec.constants.TransformRsaSha1#
The RSA-SHA1 signature transform klass.
- xmlsec.constants.TransformRsaSha224#
The RSA-SHA224 signature transform klass.
- xmlsec.constants.TransformRsaSha256#
The RSA-SHA256 signature transform klass.
- xmlsec.constants.TransformRsaSha384#
The RSA-SHA384 signature transform klass.
- xmlsec.constants.TransformRsaSha512#
The RSA-SHA512 signature transform klass.
- xmlsec.constants.TransformRsaPkcs1#
The RSA PKCS1 key transport transform klass.
- xmlsec.constants.TransformRsaOaep#
The RSA OAEP key transport transform klass.
- xmlsec.constants.TransformMd5#
The MD5 digest transform klass.
- xmlsec.constants.TransformRipemd160#
The RIPEMD160 digest transform klass.
- xmlsec.constants.TransformSha1#
The SHA1 digest transform klass.
- xmlsec.constants.TransformSha224#
The SHA224 digest transform klass.
- xmlsec.constants.TransformSha256#
The SHA256 digest transform klass.
- xmlsec.constants.TransformSha384#
The SHA384 digest transform klass.
- xmlsec.constants.TransformSha512#
The SHA512 digest transform klass.