github.com/crewjam/saml@v0.4.14/xmlenc/corpus/encrypt-element-aes256-cbc-retrieved-kw-aes256.xml (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!DOCTYPE test [
     3  <!ATTLIST EncryptedKey Id ID #IMPLIED>
     4  ]>
     5  <PurchaseOrder xmlns="urn:example:po">
     6    <Items>
     7      <Item Code="001-001-001" Quantity="1">
     8        spade
     9      </Item>
    10      <Item Code="001-001-002" Quantity="1">
    11        shovel
    12      </Item>
    13    </Items>
    14    <ShippingAddress>
    15      Dig PLC, 1 First Ave, Dublin 1, Ireland
    16    </ShippingAddress>
    17    <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
    18      <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc" />
    19      <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
    20        <RetrievalMethod Type="http://www.w3.org/2001/04/xmlenc#EncryptedKey" URI="#encrypt-key-0" />
    21      </KeyInfo>
    22      <CipherData>
    23        <CipherValue>
    24          cudR6Hg0xqhrOjbvQz4C/WOdHbcB7Duc+xFxbObkfkW6jXweDOf8Tq87FPbj5bby
    25          oCLbWqq3ap/zx/gN8Xv3Fj6fYUz3dIb1wzXy7B0/3me7i4fBHyGropflLi7iEag2
    26          WU7aGJ0CA9/jQr6Td2qhH0CDU47QN9eK/PVMPPfLX1D1A90uK32wPn+SCysE58Q3
    27          rCi7Jwo+OsrxT0qqjP82T3FjVi0i/dsnPb5GQWLE3/y7OsIuknuMRO4mWma+bO/m
    28          aAN9JNeom5Kn3IKHCK2+kyx+LsGo2daKxF7RF9QqlaA/imsMS4trRjZjYhgfgm96
    29          kb1l4AI7VZcfRXwYdzLqKNHty6ZxbSQBMeEca0mEuIbor7IH34641a/BuFME/BLm
    30          MoVaLUCE0rg1e1U0S18UCg==
    31        </CipherValue>
    32      </CipherData>
    33    </EncryptedData>
    34    <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
    35      <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#" Id="encrypt-key-0">
    36        <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256" />
    37        <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
    38          <KeyName>jed</KeyName>
    39        </KeyInfo>
    40        <CipherData>
    41          <CipherValue>
    42            bsL63D0hPN6EOyzdgfEmKsAAvoJiGM+Wp9a9KZM92IKdl7s3YSntRg==
    43          </CipherValue>
    44        </CipherData>
    45      </EncryptedKey>
    46    </KeyInfo>
    47  </PurchaseOrder>