Skip to content

XML Encryption Support

Remold edited this page Jul 6, 2015 · 1 revision

OpenConext Engine has very limited support for:

  • EncryptedAssertion
  • EncryptedID
  • EncryptedAttribute

##EncryptedAssertion

<saml:EncryptedAssertion>
    <xenc:EncryptedData Id="ID041" Type="http://www.oxygenxml.com/" MimeType="MimeType7" Encoding="http://www.oxygenxml.com/">
        <xenc:EncryptionMethod Algorithm="http://www.oxygenxml.com/">
        </xenc:EncryptionMethod>
        <ds:KeyInfo Id="ID042">
            <ds:KeyName>KeyName1</ds:KeyName>
        </ds:KeyInfo>
        <xenc:CipherData>
            <xenc:CipherReference URI="http://www.oxygenxml.com/">
            </xenc:CipherReference>
        </xenc:CipherData>
        <xenc:EncryptionProperties Id="ID043">
            <xenc:EncryptionProperty Target="http://www.oxygenxml.com/" Id="ID044">
            </xenc:EncryptionProperty>
            <xenc:EncryptionProperty Target="http://www.oxygenxml.com/" Id="ID045">
            </xenc:EncryptionProperty>
        </xenc:EncryptionProperties>
    </xenc:EncryptedData>
    <xenc:EncryptedKey Recipient="Recipient2" Id="ID046" Type="http://www.oxygenxml.com/" MimeType="MimeType8" Encoding="http://www.oxygenxml.com/">
       ...
    </xenc:EncryptedKey>
    <xenc:EncryptedKey Recipient="Recipient3" Id="ID051" Type="http://www.oxygenxml.com/" MimeType="MimeType9" Encoding="http://www.oxygenxml.com/">
        ...
    </xenc:EncryptedKey>
</saml:EncryptedAssertion>

##EncryptedData

<xenc:EncryptedData>
    <ds:KeyInfo>
        <xenc:EncryptedKey>
            <xenc:CipherData>
                <xenc:CipherValue>ABCD</xenc:CipherValue>
            </xenc:CipherData>
        </xenc:EncryptedKey>
    </ds:KeyInfo>
    <xenc:CipherData>
        <xenc:CipherValue>ABC</xenc:CipherValue>
    </xenc:CipherData>
</xenc:EncryptedData>

Supported EntryptionMethods:

##EncryptedKey

<xenc:EncryptedKey>
   ...
</xenc:EncryptedKey>
<xenc:EncryptedKey>
    ...
</xenc:EncryptedKey>

Unused by EngineBlock.

Clone this wiki locally