SAP ABAP Data Element SEC_XML_DSIG_HASH (Hash Algorithms for the XML Message Digest)
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_HASH
Short Description Hash Algorithms for the XML Message Digest  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SEC_XML_DSIG_HASH    
Data Type CHAR   Character String 
Length 20    
Decimal Places 0    
Output Length 20    
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 Hash 
Medium 20 Hash 
Long 25 Hash 
Heading 20 Hash 
Documentation

Definition

Following hash algorithms are supported:

  • SHA-1
  • SHA-256
  • SHA-384
  • SHA-512

The algorithm MD5 is also defined in the standard but due to the security problems with its strengthen it should not longer be used and therefore it is not listed here.

Use

Calculate a message digest of the XML data which should be signed. See also class CL_ABAP_MESSAGE_DIGEST.

Dependencies

ABAP Kernel and its hash algorithms.

Example

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