SAP ABAP Data Element SEC_XML_DSIG_TYPE (Type of the XML Signature)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SEC (Application Component) Security
     SXML_SEC (Package) Security Tools for Streamed XML Reader / Writer
Basic Data
Data Element SEC_XML_DSIG_TYPE
Short Description Type of the XML Signature  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SEC_XML_DSIG_TYPE    
Data Type CHAR   Character String 
Length 3    
Decimal Places 0    
Output Length 3    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Type 
Medium 20 Signature Type 
Long 25 Signature Type 
Heading 20 Signature Type 
Documentation

Definition

The standard defines 3 types of XML Signatures:

  • Enveloped Signatures
  • Enveloping Signatures
  • Detached Signatures

The default of class CL_SEC_SXML_DSIGNATURE is enveloped.

Use

The usage of the type depends on the scenario. Web-Services use detached signatures.

Dependencies

The processing of the data which is signed depend on own structure definition.

Example

  • Enveloped Signatures:

    The signature node is stored as child within the data node:

    <DocumentData>

    <Signature>

    </Signature>

    </DocumentData>

  • Enveloping Signatures:

    The signature node contains the signed data as child:

    <Signature>

    <DocumentData>

    </DocumentData>

    </Signature>

  • Detached Signatures:

    The signature node and the signed data node have no child relation and may not be stored in the same XML document:

    <Signature>

    </Signature>

    <DocumentData>

    </DocumentData>

History
Last changed by/on SAP  20110908 
SAP Release Created in 800