github.com/crewjam/saml@v0.4.14/xmlenc/corpus/encrypt-element-aes192-cbc-ref.xml (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!DOCTYPE test [
     3  <!ATTLIST PaymentInfo 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#aes192-cbc" />
    19      <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
    20        <KeyName>jeb</KeyName>
    21      </KeyInfo>
    22      <CipherData>
    23        <CipherReference URI="">
    24          <Transforms>
    25            <Transform xmlns="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
    26              <XPath xmlns:rep="http://www.example.org/repository">self::text()[parent::rep:CipherValue[@Id="example1"]]</XPath>
    27            </Transform>
    28            <Transform xmlns="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://www.w3.org/2000/09/xmldsig#base64" />
    29          </Transforms>
    30        </CipherReference>
    31      </CipherData>
    32    </EncryptedData>
    33    <CipherValue xmlns="http://www.example.org/repository" Id="example1">
    34      zih1MFU6Px1m2U1lSEIV9LUIsnb3SIWBfRHlRrOWKFFFcVvXiE6z3nCbkNYMuy1T
    35      nPwXDd9/BkOGiPuFT2jixN7Zowe2ANK1dZXKVjZ1+ACx+Kg17U+EMPEuq481OW7e
    36      wm0vnbur0L2lCXb4DP7c6sotV89W53v2MlaYqWHhlBO/zasqwhl6q/c/L/GdPUHH
    37      ovKZ+24ZWYktxCLEXMslIAysQ0UFBLolrtC/7XDgYY9s4UvbedgeqbrdnxQ4LiRn
    38      L+aKN1bnKF3KlWKCJFvVrRESriGPBfpasWA/A1LOK333a8LaOlS7RFamflfICk+t
    39      VqCspVnIs6vBBtrGLI5SsJS+rh1r42jI/h/ivELUOmUq1sZCFQvEhx7AiHi4/9SY
    40      LWcR4w3ZH3aqFL/XtAzKYQ==
    41    </CipherValue>
    42  </PurchaseOrder>