XML-Compile-WSS-Signature
view release on metacpan or search on metacpan
dump/encrkey/template view on Meta::CPAN
# Describing complex xenc:EncryptedKey
# {http://www.w3.org/2001/04/xmlenc#}EncryptedKey
#
# Produced by XML::Compile::Translate::Template version undef
# on Thu Jun 26 17:02:34 2025
#
# BE WARNED: in most cases, the example below cannot be used without
# interpretation. The comments will guide you.
#
# xmlns:ds http://www.w3.org/2000/09/xmldsig#
# xmlns:xenc http://www.w3.org/2001/04/xmlenc#
# is a xenc:EncryptedKeyType
{ # is a xsd:ID
# becomes an attribute
Id => "id_0",
# is a xsd:anyURI
# becomes an attribute
Type => "http://example.com",
# is a xsd:string
# becomes an attribute
MimeType => "example",
# is a xsd:anyURI
# becomes an attribute
Encoding => "http://example.com",
# is a xsd:string
# becomes an attribute
Recipient => "example",
# sequence of xenc_EncryptionMethod, ds_KeyInfo,
# xenc_CipherData, xenc_EncryptionProperties
# is a xenc:EncryptionMethodType
# is optional
xenc_EncryptionMethod =>
{ # is a xsd:anyURI
# attribute Algorithm is required
Algorithm => "http://example.com",
# sequence of xenc_KeySize, xenc_OAEPparams, ANY
# is a xsd:integer
# is optional
xenc_KeySize => 42,
# is a xsd:base64Binary
# is optional
xenc_OAEPparams => "decoded bytes",
# any element not in xenc:
# occurs any number of times
ANY => [ "Anything", ], },
# is a ds:KeyInfoType
# is optional
ds_KeyInfo =>
{ # is a xsd:ID
# becomes an attribute
Id => "id_0",
# choice of ds_KeyName, ds_KeyValue, ds_RetrievalMethod,
# ds_X509Data, ds_PGPData, ds_SPKIData, ds_MgmtData, ANY
# occurs 1 <= # <= unbounded times
cho_ds_KeyName =>
[ {
# is a xsd:string
( run in 0.798 second using v1.01-cache-2.11-cpan-71847e10f99 )