alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Apache CXF example source code file (encrypted_body_content_signed_missing_signed_header.xml)

This example Apache CXF source code file (encrypted_body_content_signed_missing_signed_header.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Apache CXF tags/keywords

algorithm, algorithm, element, encdataid-2, encdataid-3, enckeyid-abc47216f428e59fbb12658617495832, enckeyid-abc47216f428e59fbb12658617495832, id, id, id-30584859, type, uri, uri, valuetype

The Apache CXF encrypted_body_content_signed_missing_signed_header.xml source code

<?xml version="1.0" encoding="UTF-8"?>
  <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <xenc:EncryptedData Id="EncDataId-2" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
</ds:KeyInfo>z6Y9s/XZuo+3uVX5P7Y86qCuFdMJEKQCuWOvKw+7ZIq52AVqa2aY/hE/zqAK57Exjw2WoH9HzdB8
rGeEF8rHKITvKQaRJ07sYVUuwJvcufHNtur9CZnZ2inf1KsN+fMRIZC7J0Cs7CTy1iBTV1KtCsYu
iA8ZWOJpNHZNj2XAPz0UyZc9kzGoiwUEdlVjg9U/BvVKclKE4+mMVLf+isItgRf/BXojfAUTCEAj
iStWHTrQHUaJMdN/e+NtqWStCo+D</xenc:CipherValue>
    <xenc:EncryptedData Id="EncDataId-3" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
</ds:KeyInfo>4zjArZfnms5JdBwZxdVOyDXZmvhlVfIJP5k717osUBbUVB5Dj87x68dOVj7cLxRYfWHspaNVbtAn
1ocxBoTvHADqR7Sh1JNPBWm+f5o8bKovGaaU9SOkWqVVwBtwH4mcQLCWdi5Tenx26jA6MT6IoPmo
BLexkuI3LWGglM1sl1ShaEJKuBzvKciQ8nskDYTMhxsOe7zcjbXvF2O51AgT3uSHmKIUgcNS1CiS
xc98I151meQ/ZfJdVLtoIGcJMVzN</xenc:CipherValue>
  <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="1">
<wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
</ds:KeyInfo>jytBfe6E8Ocz9s0AF/a9FE5Qxs1evWTz72/lj8hYGySuavJkIqSRYBF8f5DO4b5+KXav4/U75992b1IZYwPkPlnuctb5PKkyAq86UJMLBa9cETH6w5qy+AlZ7OkISFhVrGAe3WJ0gA0BQpzQ9Mz15dUTUK947GIHvvx6ynS+ZTU=MIIBmDCCAQECBEZu1OowDQYJKoZIhvcNAQEEBQAwEjEQMA4GA1UEAxMHbXlBbGlhczAgFw0wNzA2MTIxNzE2MjZaGA80NzQ1MDUwOTE3MTYyNlowEjEQMA4GA1UEAxMHbXlBbGlhczCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApeOd8EfprmTD+6/nOe3nK3eXFlPsaiRnz5+R3gA6xz4WOOOQX7l1Pa4S65TZmVOxkfPzP+rFvbOJ4sn7ct0EtMiAYuqwnDiHVkqYIhz5WkoPBQet6J7dtcPIAEI9i5Mmf5gsiIMTo8UxqXnsrjCNX6MSrLFr2yspdR/xFYK5IqkCAwEAATANBgkqhkiG9w0BAQQFAAOBgQB/nqtFF6u4FJI90JS+RogSTYFc9mngpvXv8WJsfdR+IQovdFjzqCufOAGPctuq6olgW1A5DRNLIQwr7sIPUhHBFZssuggwEQtF/lvJ51MGhp+pqySbpcPo31WppQO+t4Zsu78DZO4GB3Njr1MqOnux5gPGHftujzlJh31SpkEfjA==
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/>
<ds:Reference URI="#Id-30584859">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<ds:DigestValue>REbdQ6X9JOPKCedEA8tVlczv3qQ=
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>O8C+F3mfetlM4dtL4fS8mmSKMF4=
<ds:KeyInfo Id="KeyId-ABC47216F428E59FBB12658617496453">
<wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="STRId-ABC47216F428E59FBB12658617496454" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
</ds:KeyInfo>
</ds:Signature>
  <soap:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Id-30584859" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
</ds:KeyInfo>mhWsm41139+e0zPxnVTbi4/+gEvKAVcvZj6F2TJR7V97WnzZkYiGALfYWjRPGJYlAry507ry0fuf
5YVOgsRetD3gewGGd0BfC50W4iaSXuYBFDuAT1lHAa/2AsVt1uocKTb5JyqeIpInea58MpXvjgG9
O5cq6pGi9yyzo/W9w/bca4qDPZ7z27zsSlKzJ+NYOUPkaCyXJ9wOWZGCcm7eRu6h1FCPjnWxhn+i
wvlCx0mR/ZJexR5Xegett1H1MGofgQipbyqYAOfsQznU7rGe2dUjNVg25XagUVqMDt0+9c0OqtO0
KHenFoTJA8vGRPk5jVIicMbegmvrXxnpmHR44pIPjllpZ3rKukLeBS7e/7ju0T4mb9Ashz38YalL
K2SpGMuDgRP9c89a6kNX7wifM5HGpCQK7e10nHVqbUggSA4uQPfqKroLLh2O4CC2yDLxmE8SQrgu
eT3OFjeU1kxGoAT7FO0kqVWNcYjhsfOJt7T1DVGdP8vobhmf1JXDVqhHmmXgGfJNWgqcCkbqvFv2
Uw==</xenc:CipherValue>
</soap:Envelope>

Other Apache CXF examples (source code examples)

Here is a short list of links related to this Apache CXF encrypted_body_content_signed_missing_signed_header.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.