xenc:EncryptedKey
Element information
Namespace: http://www.w3.org/2001/04/xmlenc#
Schema document: xenc-schema.xsd
Type: xenc:EncryptedKeyType
Properties: Global, Qualified
Content
- Sequence [1..1]
- xenc:EncryptionMethod [0..1]
- ds:KeyInfo [0..1]
- xenc:CipherData [1..1]
- xenc:EncryptionProperties [0..1]
- xenc:ReferenceList [0..1]
- xenc:CarriedKeyName [0..1]
from type xenc:EncryptedType
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Id | [0..1] | xsd:ID | from type xenc:EncryptedType | |
Type | [0..1] | xsd:anyURI | from type xenc:EncryptedType | |
MimeType | [0..1] | xsd:string | from type xenc:EncryptedType | |
Encoding | [0..1] | xsd:anyURI | from type xenc:EncryptedType | |
Recipient | [0..1] | xsd:string |
Sample instance
<xenc:EncryptedKey> <xenc:EncryptionMethod Algorithm="http://www.example.com/">Any text, intermingled with: <xenc:KeySize>1</xenc:KeySize> <xenc:OAEPparams>GpM7</xenc:OAEPparams> <!--any element--> </xenc:EncryptionMethod> <ds:KeyInfo>Any text, intermingled with: <ds:KeyName>string</ds:KeyName> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue>GpM7</xenc:CipherValue> </xenc:CipherData> <xenc:EncryptionProperties> <xenc:EncryptionProperty>Any text, intermingled with: <!--any element--> </xenc:EncryptionProperty> </xenc:EncryptionProperties> <xenc:ReferenceList> <xenc:DataReference URI="http://www.example.com/"> <!--any element--> </xenc:DataReference> </xenc:ReferenceList> <xenc:CarriedKeyName>string</xenc:CarriedKeyName> </xenc:EncryptedKey>